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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | val fmul_be_f: #f:field -> x:felem f -> i:nat{i < bits f.t} -> res_y:tuple2 (felem f) (felem f) -> felem f & felem f | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let fmul_be_f #f x i (res, y) =
let res = mask_add x y res i in
let y = mask_shift_right_mod y in
(res, y) | val fmul_be_f: #f:field -> x:felem f -> i:nat{i < bits f.t} -> res_y:tuple2 (felem f) (felem f) -> felem f & felem f
let fmul_be_f #f x i (res, y) = | false | null | false | let res = mask_add x y res i in
let y = mask_shift_right_mod y in
(res, y) | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Spec.GaloisField.felem",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.bits",
"Spec.GaloisField.__proj__GF__item__t",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.Mktuple2",
"Prims.eq2",
"Lib.IntTypes.int_t",
"Lib.IntTypes.SEC",
"Prims.... | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fmul_be_f: #f:field -> x:felem f -> i:nat{i < bits f.t} -> res_y:tuple2 (felem f) (felem f) -> felem f & felem f | [] | Spec.GaloisField.fmul_be_f | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
x: Spec.GaloisField.felem f ->
i: Prims.nat{i < Lib.IntTypes.bits (GF?.t f)} ->
res_y: (Spec.GaloisField.felem f * Spec.GaloisField.felem f)
-> Spec.GaloisField.felem f * Spec.GaloisField.felem f | {
"end_col": 10,
"end_line": 76,
"start_col": 31,
"start_line": 73
} |
Prims.Tot | val store_felem_be (#f: field) (e: felem f) : lbytes (numbytes f.t) | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let store_felem_be (#f:field) (e:felem f): lbytes (numbytes f.t) = uint_to_bytes_be #f.t #SEC e | val store_felem_be (#f: field) (e: felem f) : lbytes (numbytes f.t)
let store_felem_be (#f: field) (e: felem f) : lbytes (numbytes f.t) = | false | null | false | uint_to_bytes_be #f.t #SEC e | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Spec.GaloisField.felem",
"Lib.ByteSequence.uint_to_bytes_be",
"Spec.GaloisField.__proj__GF__item__t",
"Lib.IntTypes.SEC",
"Lib.ByteSequence.lbytes",
"Lib.IntTypes.numbytes"
] | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val store_felem_be (#f: field) (e: felem f) : lbytes (numbytes f.t) | [] | Spec.GaloisField.store_felem_be | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | e: Spec.GaloisField.felem f -> Lib.ByteSequence.lbytes (Lib.IntTypes.numbytes (GF?.t f)) | {
"end_col": 95,
"end_line": 24,
"start_col": 67,
"start_line": 24
} |
Prims.Tot | val load_felem_le (#f: field) (b: lbytes (numbytes f.t)) : felem f | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let load_felem_le (#f:field) (b:lbytes (numbytes f.t)) : felem f = reverse #f.t (load_felem_be #f b) | val load_felem_le (#f: field) (b: lbytes (numbytes f.t)) : felem f
let load_felem_le (#f: field) (b: lbytes (numbytes f.t)) : felem f = | false | null | false | reverse #f.t (load_felem_be #f b) | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Lib.ByteSequence.lbytes",
"Lib.IntTypes.numbytes",
"Spec.GaloisField.__proj__GF__item__t",
"Spec.GaloisField.reverse",
"Spec.GaloisField.load_felem_be",
"Spec.GaloisField.felem"
] | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val load_felem_le (#f: field) (b: lbytes (numbytes f.t)) : felem f | [] | Spec.GaloisField.load_felem_le | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Lib.ByteSequence.lbytes (Lib.IntTypes.numbytes (GF?.t f)) -> Spec.GaloisField.felem f | {
"end_col": 100,
"end_line": 30,
"start_col": 67,
"start_line": 30
} |
Prims.Tot | val store_felem_le (#f: field) (e: felem f) : lbytes (numbytes f.t) | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let store_felem_le (#f:field) (e:felem f) : lbytes (numbytes f.t) = store_felem_be #f (reverse #f.t e) | val store_felem_le (#f: field) (e: felem f) : lbytes (numbytes f.t)
let store_felem_le (#f: field) (e: felem f) : lbytes (numbytes f.t) = | false | null | false | store_felem_be #f (reverse #f.t e) | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Spec.GaloisField.felem",
"Spec.GaloisField.store_felem_be",
"Spec.GaloisField.reverse",
"Spec.GaloisField.__proj__GF__item__t",
"Lib.ByteSequence.lbytes",
"Lib.IntTypes.numbytes"
] | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val store_felem_le (#f: field) (e: felem f) : lbytes (numbytes f.t) | [] | Spec.GaloisField.store_felem_le | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | e: Spec.GaloisField.felem f -> Lib.ByteSequence.lbytes (Lib.IntTypes.numbytes (GF?.t f)) | {
"end_col": 102,
"end_line": 31,
"start_col": 68,
"start_line": 31
} |
Prims.Tot | val get_ith_bit: #f:field -> x:felem f -> i:nat{i < bits f.t} ->
Tot (r:felem f{v r == v x / pow2 (bits f.t - 1 - i) % 2}) | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let get_ith_bit #f x i =
logand_mask (x >>. size (bits f.t - 1 - i)) one 1;
(x >>. size (bits f.t - 1 - i)) &. one | val get_ith_bit: #f:field -> x:felem f -> i:nat{i < bits f.t} ->
Tot (r:felem f{v r == v x / pow2 (bits f.t - 1 - i) % 2})
let get_ith_bit #f x i = | false | null | false | logand_mask (x >>. size (bits f.t - 1 - i)) one 1;
(x >>. size (bits f.t - 1 - i)) &. one | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Spec.GaloisField.felem",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.bits",
"Spec.GaloisField.__proj__GF__item__t",
"Lib.IntTypes.op_Amp_Dot",
"Lib.IntTypes.SEC",
"Lib.IntTypes.op_Greater_Greater_Dot",
"Lib.IntTypes.size",
"Prims.op_Subtraction",
"... | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val get_ith_bit: #f:field -> x:felem f -> i:nat{i < bits f.t} ->
Tot (r:felem f{v r == v x / pow2 (bits f.t - 1 - i) % 2}) | [] | Spec.GaloisField.get_ith_bit | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | x: Spec.GaloisField.felem f -> i: Prims.nat{i < Lib.IntTypes.bits (GF?.t f)}
-> r:
Spec.GaloisField.felem f
{Lib.IntTypes.v r == Lib.IntTypes.v x / Prims.pow2 (Lib.IntTypes.bits (GF?.t f) - 1 - i) % 2} | {
"end_col": 40,
"end_line": 57,
"start_col": 2,
"start_line": 56
} |
Prims.Tot | val load_felem_be (#f: field) (b: lbytes (numbytes f.t)) : felem f | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let load_felem_be (#f:field) (b:lbytes (numbytes f.t)) : felem f = uint_from_bytes_be #f.t #SEC b | val load_felem_be (#f: field) (b: lbytes (numbytes f.t)) : felem f
let load_felem_be (#f: field) (b: lbytes (numbytes f.t)) : felem f = | false | null | false | uint_from_bytes_be #f.t #SEC b | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Lib.ByteSequence.lbytes",
"Lib.IntTypes.numbytes",
"Spec.GaloisField.__proj__GF__item__t",
"Lib.ByteSequence.uint_from_bytes_be",
"Lib.IntTypes.SEC",
"Spec.GaloisField.felem"
] | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val load_felem_be (#f: field) (b: lbytes (numbytes f.t)) : felem f | [] | Spec.GaloisField.load_felem_be | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Lib.ByteSequence.lbytes (Lib.IntTypes.numbytes (GF?.t f)) -> Spec.GaloisField.felem f | {
"end_col": 97,
"end_line": 23,
"start_col": 67,
"start_line": 23
} |
Prims.Tot | val mask_shift_right_mod: #f:field -> y:felem f ->
Tot (r:felem f{r == (if v (get_ith_bit y (bits f.t - 1)) = 1 then (y >>. 1ul) `fadd` f.irred else (y >>. 1ul))}) | [
{
"abbrev": false,
"full_module": "Lib.ByteSequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.LoopCombinators",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let mask_shift_right_mod #f y =
logxor_lemma (y >>. 1ul) zero;
(y >>. 1ul) `fadd` (f.irred &. eq_mask #f.t (get_ith_bit y (bits f.t - 1)) one) | val mask_shift_right_mod: #f:field -> y:felem f ->
Tot (r:felem f{r == (if v (get_ith_bit y (bits f.t - 1)) = 1 then (y >>. 1ul) `fadd` f.irred else (y >>. 1ul))})
let mask_shift_right_mod #f y = | false | null | false | logxor_lemma (y >>. 1ul) zero;
(y >>. 1ul) `fadd` (f.irred &. eq_mask #f.t (get_ith_bit y (bits f.t - 1)) one) | {
"checked_file": "Spec.GaloisField.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
... | [
"total"
] | [
"Spec.GaloisField.field",
"Spec.GaloisField.felem",
"Spec.GaloisField.fadd",
"Lib.IntTypes.op_Greater_Greater_Dot",
"Spec.GaloisField.__proj__GF__item__t",
"Lib.IntTypes.SEC",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.op_Amp_Dot",
"Spec.GaloisField.__proj__GF__item__irred",
"Lib.IntTypes.eq_mask",... | [] | module Spec.GaloisField
open Lib.IntTypes
open Lib.Sequence
open Lib.LoopCombinators
open Lib.ByteSequence
(* We represent GF(2^n) by uint_t along with some irreducible polynomial also of type uint_t *)
(* Consequently this module is specialized for GF(8/16/32/64/128) but can be generalized to other sizes if needed ... | false | false | Spec.GaloisField.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mask_shift_right_mod: #f:field -> y:felem f ->
Tot (r:felem f{r == (if v (get_ith_bit y (bits f.t - 1)) = 1 then (y >>. 1ul) `fadd` f.irred else (y >>. 1ul))}) | [] | Spec.GaloisField.mask_shift_right_mod | {
"file_name": "specs/Spec.GaloisField.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | y: Spec.GaloisField.felem f
-> r:
Spec.GaloisField.felem f
{ r ==
(match
Lib.IntTypes.v (Spec.GaloisField.get_ith_bit y (Lib.IntTypes.bits (GF?.t f) - 1)) = 1
with
| true -> Spec.GaloisField.fadd (y >>. 1ul) (GF?.irred f)
| _ -> y >>. 1ul) } | {
"end_col": 81,
"end_line": 69,
"start_col": 2,
"start_line": 68
} |
Prims.Tot | val ghash_incremental0 (h y_prev: quad32) (x: seq quad32) : quad32 | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let ghash_incremental0 (h:quad32) (y_prev:quad32) (x:seq quad32) : quad32 =
if length x > 0 then ghash_incremental h y_prev x else y_prev | val ghash_incremental0 (h y_prev: quad32) (x: seq quad32) : quad32
let ghash_incremental0 (h y_prev: quad32) (x: seq quad32) : quad32 = | false | null | false | if length x > 0 then ghash_incremental h y_prev x else y_prev | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Types_s.quad32",
"FStar.Seq.Base.seq",
"Prims.op_GreaterThan",
"FStar.Seq.Base.length",
"Vale.AES.GHash_BE.ghash_incremental",
"Prims.bool"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_incremental0 (h y_prev: quad32) (x: seq quad32) : quad32 | [] | Vale.AES.GHash_BE.ghash_incremental0 | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.Def.Types_s.quad32 ->
y_prev: Vale.Def.Types_s.quad32 ->
x: FStar.Seq.Base.seq Vale.Def.Types_s.quad32
-> Vale.Def.Types_s.quad32 | {
"end_col": 63,
"end_line": 117,
"start_col": 2,
"start_line": 117
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let poly128 = p:poly{degree p < 128} | let poly128 = | false | null | false | p: poly{degree p < 128} | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"Vale.Math.Poly2_s.poly",
"Prims.b2t",
"Prims.op_LessThan",
"Vale.Math.Poly2_s.degree"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"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 poly128 : Type0 | [] | Vale.AES.GHash_BE.poly128 | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 36,
"end_line": 28,
"start_col": 14,
"start_line": 28
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let ghash_incremental = opaque_make ghash_incremental_def | let ghash_incremental = | false | null | false | opaque_make ghash_incremental_def | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Opaque_s.opaque_make",
"Vale.Def.Types_s.quad32",
"FStar.Seq.Base.seq",
"Vale.AES.GHash_BE.ghash_incremental_def"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_incremental : _: Vale.Def.Types_s.quad32 ->
_: Vale.Def.Types_s.quad32 ->
_: FStar.Seq.Base.seq Vale.Def.Types_s.quad32
-> Prims.Tot Vale.Def.Types_s.quad32 | [] | Vale.AES.GHash_BE.ghash_incremental | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
_: Vale.Def.Types_s.quad32 ->
_: Vale.Def.Types_s.quad32 ->
_: FStar.Seq.Base.seq Vale.Def.Types_s.quad32
-> Prims.Tot Vale.Def.Types_s.quad32 | {
"end_col": 76,
"end_line": 87,
"start_col": 43,
"start_line": 87
} | |
FStar.Pervasives.Lemma | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let ghash_incremental_reveal = opaque_revealer (`%ghash_incremental) ghash_incremental ghash_incremental_def | let ghash_incremental_reveal = | false | null | true | opaque_revealer (`%ghash_incremental) ghash_incremental ghash_incremental_def | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"lemma"
] | [
"Vale.Def.Opaque_s.opaque_revealer",
"Vale.Def.Types_s.quad32",
"FStar.Seq.Base.seq",
"Vale.AES.GHash_BE.ghash_incremental",
"Vale.AES.GHash_BE.ghash_incremental_def"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | false | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_incremental_reveal : _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.GHash_BE.ghash_incremental == Vale.AES.GHash_BE.ghash_incremental_def) | [] | Vale.AES.GHash_BE.ghash_incremental_reveal | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.GHash_BE.ghash_incremental == Vale.AES.GHash_BE.ghash_incremental_def) | {
"end_col": 120,
"end_line": 88,
"start_col": 43,
"start_line": 88
} | |
Prims.Tot | val hkeys_reqs_priv (hkeys: seq quad32) (h_BE: quad32) : Vale.Def.Prop_s.prop0 | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let hkeys_reqs_priv (hkeys:seq quad32) (h_BE:quad32) : Vale.Def.Prop_s.prop0
=
let h = of_quad32 h_BE in
length hkeys >= 3 /\
index hkeys 2 == h_BE /\
of_quad32 (index hkeys 0) == gf128_power h 1 /\
of_quad32 (index hkeys 1) == gf128_power h 2 | val hkeys_reqs_priv (hkeys: seq quad32) (h_BE: quad32) : Vale.Def.Prop_s.prop0
let hkeys_reqs_priv (hkeys: seq quad32) (h_BE: quad32) : Vale.Def.Prop_s.prop0 = | false | null | false | let h = of_quad32 h_BE in
length hkeys >= 3 /\ index hkeys 2 == h_BE /\ of_quad32 (index hkeys 0) == gf128_power h 1 /\
of_quad32 (index hkeys 1) == gf128_power h 2 | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.quad32",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"FStar.Seq.Base.length",
"Prims.eq2",
"FStar.Seq.Base.index",
"Vale.Math.Poly2_s.poly",
"Vale.Math.Poly2.Bits_s.of_quad32",
"Vale.AES.GHash_BE.gf128_power",
"Vale.Def.Prop_s.prop0"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"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 hkeys_reqs_priv (hkeys: seq quad32) (h_BE: quad32) : Vale.Def.Prop_s.prop0 | [] | Vale.AES.GHash_BE.hkeys_reqs_priv | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | hkeys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> h_BE: Vale.Def.Types_s.quad32
-> Vale.Def.Prop_s.prop0 | {
"end_col": 46,
"end_line": 51,
"start_col": 3,
"start_line": 46
} |
Prims.Tot | val fun_seq_quad32_BE_poly128 (s: seq quad32) : (int -> poly128) | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let fun_seq_quad32_BE_poly128 (s:seq quad32) : (int -> poly128) =
fun (i:int) -> if 0 <= i && i < length s then of_quad32 (index s i) else zero | val fun_seq_quad32_BE_poly128 (s: seq quad32) : (int -> poly128)
let fun_seq_quad32_BE_poly128 (s: seq quad32) : (int -> poly128) = | false | null | false | fun (i: int) -> if 0 <= i && i < length s then of_quad32 (index s i) else zero | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.quad32",
"Prims.int",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"FStar.Seq.Base.length",
"Vale.Math.Poly2.Bits_s.of_quad32",
"FStar.Seq.Base.index",
"Prims.bool",
"Vale.Math.Poly2_s.zero",
"Vale.AES.GHash_BE.poly128"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"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 fun_seq_quad32_BE_poly128 (s: seq quad32) : (int -> poly128) | [] | Vale.AES.GHash_BE.fun_seq_quad32_BE_poly128 | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> _: Prims.int -> Vale.AES.GHash_BE.poly128 | {
"end_col": 79,
"end_line": 31,
"start_col": 2,
"start_line": 31
} |
Prims.Tot | val ghash_poly (h init: poly) (data: (int -> poly128)) (j k: int) : Tot poly (decreases (k - j)) | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let rec ghash_poly (h:poly) (init:poly) (data:int -> poly128) (j:int) (k:int) : Tot poly (decreases (k - j)) =
if k <= j then init else
gf128_mul_rev (ghash_poly h init data j (k - 1) +. data (k - 1)) h | val ghash_poly (h init: poly) (data: (int -> poly128)) (j k: int) : Tot poly (decreases (k - j))
let rec ghash_poly (h init: poly) (data: (int -> poly128)) (j k: int) : Tot poly (decreases (k - j)) = | false | null | false | if k <= j then init else gf128_mul_rev (ghash_poly h init data j (k - 1) +. data (k - 1)) h | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total",
""
] | [
"Vale.Math.Poly2_s.poly",
"Prims.int",
"Vale.AES.GHash_BE.poly128",
"Prims.op_LessThanOrEqual",
"Prims.bool",
"Vale.AES.GF128.gf128_mul_rev",
"Vale.Math.Poly2.op_Plus_Dot",
"Vale.AES.GHash_BE.ghash_poly",
"Prims.op_Subtraction"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_poly (h init: poly) (data: (int -> poly128)) (j k: int) : Tot poly (decreases (k - j)) | [
"recursion"
] | Vale.AES.GHash_BE.ghash_poly | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.Math.Poly2_s.poly ->
init: Vale.Math.Poly2_s.poly ->
data: (_: Prims.int -> Vale.AES.GHash_BE.poly128) ->
j: Prims.int ->
k: Prims.int
-> Prims.Tot Vale.Math.Poly2_s.poly | {
"end_col": 68,
"end_line": 35,
"start_col": 2,
"start_line": 34
} |
Prims.Tot | val ghash_incremental_def (h_BE y_prev: quad32) (x: seq quad32) : Tot quad32 (decreases %[length x]) | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let rec ghash_incremental_def (h_BE:quad32) (y_prev:quad32) (x:seq quad32) : Tot quad32 (decreases %[length x]) =
if length x = 0 then y_prev else
let y_i_minus_1 = ghash_incremental_def h_BE y_prev (all_but_last x) in
let x_i = last x in
let xor_BE = quad32_xor y_i_minus_1 x_i in
gf128_mul_BE xor_BE h_BE | val ghash_incremental_def (h_BE y_prev: quad32) (x: seq quad32) : Tot quad32 (decreases %[length x])
let rec ghash_incremental_def (h_BE y_prev: quad32) (x: seq quad32)
: Tot quad32 (decreases %[length x]) = | false | null | false | if length x = 0
then y_prev
else
let y_i_minus_1 = ghash_incremental_def h_BE y_prev (all_but_last x) in
let x_i = last x in
let xor_BE = quad32_xor y_i_minus_1 x_i in
gf128_mul_BE xor_BE h_BE | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total",
""
] | [
"Vale.Def.Types_s.quad32",
"FStar.Seq.Base.seq",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length",
"Prims.bool",
"Vale.AES.GHash_BE_s.gf128_mul_BE",
"Vale.Def.Types_s.quad32_xor",
"FStar.Seq.Properties.last",
"Vale.AES.GHash_BE.ghash_incremental_def",
"Vale.Lib.Seqs_s.all_but_last"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_incremental_def (h_BE y_prev: quad32) (x: seq quad32) : Tot quad32 (decreases %[length x]) | [
"recursion"
] | Vale.AES.GHash_BE.ghash_incremental_def | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h_BE: Vale.Def.Types_s.quad32 ->
y_prev: Vale.Def.Types_s.quad32 ->
x: FStar.Seq.Base.seq Vale.Def.Types_s.quad32
-> Prims.Tot Vale.Def.Types_s.quad32 | {
"end_col": 26,
"end_line": 86,
"start_col": 2,
"start_line": 82
} |
Prims.Tot | val ghash_unroll (h prev: poly) (data: (int -> poly128)) (k: int) (m n: nat) : poly | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let rec ghash_unroll (h:poly) (prev:poly) (data:int -> poly128) (k:int) (m n:nat) : poly =
let d = data (k + m) in
let p = gf128_power h (n + 1) in
if m = 0 then (prev +. d) *. p else
ghash_unroll h prev data k (m - 1) (n + 1) +. d *. p | val ghash_unroll (h prev: poly) (data: (int -> poly128)) (k: int) (m n: nat) : poly
let rec ghash_unroll (h prev: poly) (data: (int -> poly128)) (k: int) (m n: nat) : poly = | false | null | false | let d = data (k + m) in
let p = gf128_power h (n + 1) in
if m = 0 then (prev +. d) *. p else ghash_unroll h prev data k (m - 1) (n + 1) +. d *. p | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"Vale.Math.Poly2_s.poly",
"Prims.int",
"Vale.AES.GHash_BE.poly128",
"Prims.nat",
"Prims.op_Equality",
"Vale.Math.Poly2.op_Star_Dot",
"Vale.Math.Poly2.op_Plus_Dot",
"Prims.bool",
"Vale.AES.GHash_BE.ghash_unroll",
"Prims.op_Subtraction",
"Prims.op_Addition",
"Vale.AES.GHash_BE.gf128_power"
] | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_unroll (h prev: poly) (data: (int -> poly128)) (k: int) (m n: nat) : poly | [
"recursion"
] | Vale.AES.GHash_BE.ghash_unroll | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.Math.Poly2_s.poly ->
prev: Vale.Math.Poly2_s.poly ->
data: (_: Prims.int -> Vale.AES.GHash_BE.poly128) ->
k: Prims.int ->
m: Prims.nat ->
n: Prims.nat
-> Vale.Math.Poly2_s.poly | {
"end_col": 54,
"end_line": 61,
"start_col": 90,
"start_line": 57
} |
FStar.Pervasives.Lemma | val lemma_add_mul_zero_low (a0 a1 b0 b1: poly)
: Lemma (requires a1 == zero \/ b1 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a0 b0) | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let lemma_add_mul_zero_low (a0 a1 b0 b1:poly) : Lemma
(requires a1 == zero \/ b1 == zero)
(ensures add (mul a0 b0) (mul a1 b1) == mul a0 b0)
=
lemma_mul_commute a1 b1;
lemma_mul_zero a1;
lemma_mul_zero b1;
lemma_add_zero (mul a0 b0) | val lemma_add_mul_zero_low (a0 a1 b0 b1: poly)
: Lemma (requires a1 == zero \/ b1 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a0 b0)
let lemma_add_mul_zero_low (a0 a1 b0 b1: poly)
: Lemma (requires a1 == zero \/ b1 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a0 b0) = | false | null | true | lemma_mul_commute a1 b1;
lemma_mul_zero a1;
lemma_mul_zero b1;
lemma_add_zero (mul a0 b0) | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"lemma"
] | [
"Vale.Math.Poly2_s.poly",
"Vale.Math.Poly2.lemma_add_zero",
"Vale.Math.Poly2_s.mul",
"Prims.unit",
"Vale.Math.Poly2.lemma_mul_zero",
"Vale.Math.Poly2.lemma_mul_commute",
"Prims.l_or",
"Prims.eq2",
"Vale.Math.Poly2_s.zero",
"Prims.squash",
"Vale.Math.Poly2_s.add",
"Prims.Nil",
"FStar.Pervasiv... | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | false | Vale.AES.GHash_BE.fsti | {
"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_add_mul_zero_low (a0 a1 b0 b1: poly)
: Lemma (requires a1 == zero \/ b1 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a0 b0) | [] | Vale.AES.GHash_BE.lemma_add_mul_zero_low | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a0: Vale.Math.Poly2_s.poly ->
a1: Vale.Math.Poly2_s.poly ->
b0: Vale.Math.Poly2_s.poly ->
b1: Vale.Math.Poly2_s.poly
-> FStar.Pervasives.Lemma (requires a1 == Vale.Math.Poly2_s.zero \/ b1 == Vale.Math.Poly2_s.zero)
(ensures
Vale.Math.Poly2_s.add (Vale.Math.Poly2_s.mul a0 b0) (Vale.Math.... | {
"end_col": 28,
"end_line": 182,
"start_col": 2,
"start_line": 179
} |
FStar.Pervasives.Lemma | val lemma_add_mul_zero_high (a0 a1 b0 b1: poly)
: Lemma (requires a0 == zero \/ b0 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a1 b1) | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let lemma_add_mul_zero_high (a0 a1 b0 b1:poly) : Lemma
(requires a0 == zero \/ b0 == zero)
(ensures add (mul a0 b0) (mul a1 b1) == mul a1 b1)
=
lemma_mul_commute a0 b0;
lemma_mul_zero a0;
lemma_mul_zero b0;
lemma_add_commute (mul a0 b0) (mul a1 b1);
lemma_add_zero (mul a1 b1) | val lemma_add_mul_zero_high (a0 a1 b0 b1: poly)
: Lemma (requires a0 == zero \/ b0 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a1 b1)
let lemma_add_mul_zero_high (a0 a1 b0 b1: poly)
: Lemma (requires a0 == zero \/ b0 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a1 b1) = | false | null | true | lemma_mul_commute a0 b0;
lemma_mul_zero a0;
lemma_mul_zero b0;
lemma_add_commute (mul a0 b0) (mul a1 b1);
lemma_add_zero (mul a1 b1) | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"lemma"
] | [
"Vale.Math.Poly2_s.poly",
"Vale.Math.Poly2.lemma_add_zero",
"Vale.Math.Poly2_s.mul",
"Prims.unit",
"Vale.Math.Poly2.lemma_add_commute",
"Vale.Math.Poly2.lemma_mul_zero",
"Vale.Math.Poly2.lemma_mul_commute",
"Prims.l_or",
"Prims.eq2",
"Vale.Math.Poly2_s.zero",
"Prims.squash",
"Vale.Math.Poly2_s... | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | false | Vale.AES.GHash_BE.fsti | {
"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_add_mul_zero_high (a0 a1 b0 b1: poly)
: Lemma (requires a0 == zero \/ b0 == zero) (ensures add (mul a0 b0) (mul a1 b1) == mul a1 b1) | [] | Vale.AES.GHash_BE.lemma_add_mul_zero_high | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a0: Vale.Math.Poly2_s.poly ->
a1: Vale.Math.Poly2_s.poly ->
b0: Vale.Math.Poly2_s.poly ->
b1: Vale.Math.Poly2_s.poly
-> FStar.Pervasives.Lemma (requires a0 == Vale.Math.Poly2_s.zero \/ b0 == Vale.Math.Poly2_s.zero)
(ensures
Vale.Math.Poly2_s.add (Vale.Math.Poly2_s.mul a0 b0) (Vale.Math.... | {
"end_col": 28,
"end_line": 192,
"start_col": 2,
"start_line": 188
} |
Prims.Tot | val ghash_unroll_back (h prev: poly) (data: (int -> poly128)) (k: int) (n m: nat) : poly | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math.Poly2.Words",
"short_module": null
},
{
"abbrev": fal... | false | let rec ghash_unroll_back (h:poly) (prev:poly) (data:int -> poly128) (k:int) (n m:nat) : poly =
let d = data (k + (n - 1 - m)) in
let p = gf128_power h (m + 1) in
let v = if m = n - 1 then prev +. d else d in
if m = 0 then v *. p else
ghash_unroll_back h prev data k n (m - 1) +. v *. p | val ghash_unroll_back (h prev: poly) (data: (int -> poly128)) (k: int) (n m: nat) : poly
let rec ghash_unroll_back (h prev: poly) (data: (int -> poly128)) (k: int) (n m: nat) : poly = | false | null | false | let d = data (k + (n - 1 - m)) in
let p = gf128_power h (m + 1) in
let v = if m = n - 1 then prev +. d else d in
if m = 0 then v *. p else ghash_unroll_back h prev data k n (m - 1) +. v *. p | {
"checked_file": "Vale.AES.GHash_BE.fsti.checked",
"dependencies": [
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Words.fsti.checked",
"Vale.Math.Poly2.Lemmas.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Math.Poly2.Bits.fsti.checked",
"Vale.Math.Poly2.fsti.checked",
... | [
"total"
] | [
"Vale.Math.Poly2_s.poly",
"Prims.int",
"Vale.AES.GHash_BE.poly128",
"Prims.nat",
"Prims.op_Equality",
"Vale.Math.Poly2.op_Star_Dot",
"Prims.bool",
"Vale.Math.Poly2.op_Plus_Dot",
"Vale.AES.GHash_BE.ghash_unroll_back",
"Prims.op_Subtraction",
"Vale.AES.GHash_BE.gf128_power",
"Prims.op_Addition"
... | [] | module Vale.AES.GHash_BE
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.AES.GHash_BE_s
open Vale.AES.GF128_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCM_helpers_BE
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open FStar.Seq
open Vale.Math.Poly2_s
open Vale.Math.Poly2
open Va... | false | true | Vale.AES.GHash_BE.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_unroll_back (h prev: poly) (data: (int -> poly128)) (k: int) (n m: nat) : poly | [
"recursion"
] | Vale.AES.GHash_BE.ghash_unroll_back | {
"file_name": "vale/code/crypto/aes/Vale.AES.GHash_BE.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.Math.Poly2_s.poly ->
prev: Vale.Math.Poly2_s.poly ->
data: (_: Prims.int -> Vale.AES.GHash_BE.poly128) ->
k: Prims.int ->
n: Prims.nat ->
m: Prims.nat
-> Vale.Math.Poly2_s.poly | {
"end_col": 53,
"end_line": 69,
"start_col": 95,
"start_line": 64
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
... | false | let map (k: eqtype) v =
M.t k (option v) | let map (k: eqtype) v = | false | null | false | M.t k (option v) | {
"checked_file": "LowStar.Lib.AssocList.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList2.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.c... | [
"total"
] | [
"Prims.eqtype",
"FStar.Map.t",
"FStar.Pervasives.Native.option"
] | [] | module LowStar.Lib.AssocList
/// A Low*, stateful associative list that exposes a map-like interface.
module B = LowStar.Buffer
module HS = FStar.HyperStack
module G = FStar.Ghost
module L = FStar.List.Tot
module U32 = FStar.UInt32
module ST = FStar.HyperStack.ST
module M = FStar.Map
module LL2 = LowStar.Lib.LinkedL... | false | true | LowStar.Lib.AssocList.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 map : k: Prims.eqtype -> v: Type -> Type | [] | LowStar.Lib.AssocList.map | {
"file_name": "krmllib/LowStar.Lib.AssocList.fsti",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | k: Prims.eqtype -> v: Type -> Type | {
"end_col": 18,
"end_line": 28,
"start_col": 2,
"start_line": 28
} | |
Prims.Tot | val solve (#a: Type) (#[tcresolve ()] ev: a) : Tot a | [
{
"abbrev": false,
"full_module": "FStar.Reflection.Types (* for `decls` *)",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Effect",
"short_module": null
},
... | false | let solve (#a:Type) (#[tcresolve ()] ev : a) : Tot a = ev | val solve (#a: Type) (#[tcresolve ()] ev: a) : Tot a
let solve (#a: Type) (#[tcresolve ()] ev: a) : Tot a = | false | null | false | ev | {
"checked_file": "FStar.Tactics.Typeclasses.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.Types.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Tactics.Typeclasses.fsti"
} | [
"total"
] | [] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Tactics.Typeclasses.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 solve (#a: Type) (#[tcresolve ()] ev: a) : Tot a | [] | FStar.Tactics.Typeclasses.solve | {
"file_name": "ulib/FStar.Tactics.Typeclasses.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a | {
"end_col": 64,
"end_line": 41,
"start_col": 62,
"start_line": 41
} |
Steel.ST.Effect.Ghost.STGhost | val scalar_unique (#opened: _) (#t: Type) (v1 v2: t) (p1 p2: P.perm) (r: ref (scalar t))
: STGhost unit
opened
((pts_to r (mk_fraction (scalar t) (mk_scalar v1) p1))
`star`
(pts_to r (mk_fraction (scalar t) (mk_scalar v2) p2)))
(fun _ ->
(pts_to r (mk_fraction (scalar t) ... | [
{
"abbrev": true,
"full_module": "Steel.FractionalPermission",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
... | false | let scalar_unique
(#opened: _)
(#t: Type)
(v1 v2: t)
(p1 p2: P.perm)
(r: ref (scalar t))
: STGhost unit opened
(pts_to r (mk_fraction (scalar t) (mk_scalar v1) p1) `star` pts_to r (mk_fraction (scalar t) (mk_scalar v2) p2))
(fun _ -> pts_to r (mk_fraction (scalar t) (mk_scalar v1) p1) `star` pts_to r ... | val scalar_unique (#opened: _) (#t: Type) (v1 v2: t) (p1 p2: P.perm) (r: ref (scalar t))
: STGhost unit
opened
((pts_to r (mk_fraction (scalar t) (mk_scalar v1) p1))
`star`
(pts_to r (mk_fraction (scalar t) (mk_scalar v2) p2)))
(fun _ ->
(pts_to r (mk_fraction (scalar t) ... | true | null | false | fractional_permissions_theorem (mk_scalar v1) (mk_scalar v2) p1 p2 r;
mk_scalar_inj v1 v2 P.full_perm P.full_perm | {
"checked_file": "Steel.ST.C.Types.Scalar.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.IndefiniteDescription.fsti.checked",
"FSt... | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"Steel.ST.C.Types.Base.ref",
"Steel.ST.C.Types.Scalar.scalar_t",
"Steel.ST.C.Types.Scalar.scalar",
"Steel.ST.C.Types.Scalar.mk_scalar_inj",
"Steel.FractionalPermission.full_perm",
"Prims.unit",
"Steel.ST.C.Types.Base.fractional_permissions_th... | [] | module Steel.ST.C.Types.Scalar
open Steel.ST.Util
include Steel.ST.C.Types.Base
module P = Steel.FractionalPermission
// To be extracted as: t
[@@noextract_to "krml"] // primitive
val scalar_t ( [@@@strictly_positive] t: Type0) : Type0
[@@noextract_to "krml"] // proof-only
val scalar (t: Type) : typedef (scalar_t t)
... | false | false | Steel.ST.C.Types.Scalar.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 scalar_unique (#opened: _) (#t: Type) (v1 v2: t) (p1 p2: P.perm) (r: ref (scalar t))
: STGhost unit
opened
((pts_to r (mk_fraction (scalar t) (mk_scalar v1) p1))
`star`
(pts_to r (mk_fraction (scalar t) (mk_scalar v2) p2)))
(fun _ ->
(pts_to r (mk_fraction (scalar t) ... | [] | Steel.ST.C.Types.Scalar.scalar_unique | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Scalar.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
v1: t ->
v2: t ->
p1: Steel.FractionalPermission.perm ->
p2: Steel.FractionalPermission.perm ->
r: Steel.ST.C.Types.Base.ref (Steel.ST.C.Types.Scalar.scalar t)
-> Steel.ST.Effect.Ghost.STGhost Prims.unit | {
"end_col": 45,
"end_line": 48,
"start_col": 2,
"start_line": 47
} |
Steel.ST.Effect.ST | val read (#t: Type) (#v: Ghost.erased (scalar_t t)) (r: ref (scalar t))
: ST t
(pts_to r v)
(fun _ -> pts_to r v)
(exists v0 p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p)
(fun v1 -> forall v0 p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p ==> v0 == v1
) | [
{
"abbrev": true,
"full_module": "Steel.FractionalPermission",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
... | false | let read (#t: Type) (#v: Ghost.erased (scalar_t t)) (r: ref (scalar t)) : ST t
(pts_to r v)
(fun _ -> pts_to r v)
(exists v0 p . Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p)
(fun v1 -> forall v0 p . (* {:pattern (mk_fraction (scalar t) (mk_scalar v0) p)} *) Ghost.reveal v == mk_fraction (scalar t)... | val read (#t: Type) (#v: Ghost.erased (scalar_t t)) (r: ref (scalar t))
: ST t
(pts_to r v)
(fun _ -> pts_to r v)
(exists v0 p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p)
(fun v1 -> forall v0 p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p ==> v0 == v1
)
le... | true | null | false | let v0 =
FStar.IndefiniteDescription.indefinite_description_tot _
(fun v0 -> exists p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p)
in
let p =
FStar.IndefiniteDescription.indefinite_description_tot _
(fun p -> Ghost.reveal v == mk_fraction (scalar t) (mk_scalar (Ghost.reveal v0)) p)
in
let prf... | {
"checked_file": "Steel.ST.C.Types.Scalar.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.IndefiniteDescription.fsti.checked",
"FSt... | [] | [
"FStar.Ghost.erased",
"Steel.ST.C.Types.Scalar.scalar_t",
"Steel.ST.C.Types.Base.ref",
"Steel.ST.C.Types.Scalar.scalar",
"Steel.ST.Util.return",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.ST.C.Types.Base.pts_to",
"Steel.Effect.Common.vprop",
"Prims.uni... | [] | module Steel.ST.C.Types.Scalar
open Steel.ST.Util
include Steel.ST.C.Types.Base
module P = Steel.FractionalPermission
// To be extracted as: t
[@@noextract_to "krml"] // primitive
val scalar_t ( [@@@strictly_positive] t: Type0) : Type0
[@@noextract_to "krml"] // proof-only
val scalar (t: Type) : typedef (scalar_t t)
... | false | false | Steel.ST.C.Types.Scalar.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 read (#t: Type) (#v: Ghost.erased (scalar_t t)) (r: ref (scalar t))
: ST t
(pts_to r v)
(fun _ -> pts_to r v)
(exists v0 p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p)
(fun v1 -> forall v0 p. Ghost.reveal v == mk_fraction (scalar t) (mk_scalar v0) p ==> v0 == v1
) | [] | Steel.ST.C.Types.Scalar.read | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Scalar.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | r: Steel.ST.C.Types.Base.ref (Steel.ST.C.Types.Scalar.scalar t) -> Steel.ST.Effect.ST t | {
"end_col": 11,
"end_line": 126,
"start_col": 1,
"start_line": 111
} |
Prims.Tot | val t : Type0 | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Buffer.Aux",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Base",
"short_module": null
},
{
"a... | false | let t = t | val t : Type0
let t = | false | null | false | t | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [
"total"
] | [
"EverParse3d.InputStream.Buffer.Aux.t"
] | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64 | false | true | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val t : Type0 | [] | EverParse3d.InputStream.Buffer.t | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 9,
"end_line": 8,
"start_col": 8,
"start_line": 8
} |
Prims.Tot | val _tlen (x: t) : Tot Type0 | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Buffer.Aux",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Base",
"short_module": null
},
{
"a... | false | let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len }) | val _tlen (x: t) : Tot Type0
let _tlen (x: t) : Tot Type0 = | false | null | false | (len: U64.t{U64.v len == U32.v x.len}) | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [
"total"
] | [
"EverParse3d.InputStream.Buffer.t",
"FStar.UInt64.t",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt64.n",
"FStar.UInt32.n",
"FStar.UInt64.v",
"FStar.UInt32.v",
"FStar.Ghost.reveal",
"FStar.UInt32.t",
"EverParse3d.InputStream.Buffer.Aux.__proj__Mkinput_buffer__item__l... | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t) | false | true | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val _tlen (x: t) : Tot Type0 | [] | EverParse3d.InputStream.Buffer._tlen | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.InputStream.Buffer.t -> Type0 | {
"end_col": 43,
"end_line": 15,
"start_col": 2,
"start_line": 15
} |
Prims.Ghost | val _get_suffix (x y: t)
: Ghost (Seq.seq U8.t) (requires (x `_is_prefix_of` y)) (ensures (fun _ -> True)) | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Buffer.Aux",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Base",
"short_module": null
},
{
"a... | false | let _get_suffix
(x y: t)
: Ghost (Seq.seq U8.t)
(requires (x `_is_prefix_of` y))
(ensures (fun _ -> True))
= Seq.slice (Ghost.reveal y.g_all) (U32.v x.len) (U32.v y.len) | val _get_suffix (x y: t)
: Ghost (Seq.seq U8.t) (requires (x `_is_prefix_of` y)) (ensures (fun _ -> True))
let _get_suffix (x y: t)
: Ghost (Seq.seq U8.t) (requires (x `_is_prefix_of` y)) (ensures (fun _ -> True)) = | false | null | false | Seq.slice (Ghost.reveal y.g_all) (U32.v x.len) (U32.v y.len) | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [] | [
"EverParse3d.InputStream.Buffer.t",
"FStar.Seq.Base.slice",
"FStar.UInt8.t",
"FStar.Ghost.reveal",
"FStar.Seq.Base.seq",
"EverParse3d.InputStream.Buffer.Aux.__proj__Mkinput_buffer__item__g_all",
"FStar.UInt32.v",
"FStar.UInt32.t",
"EverParse3d.InputStream.Buffer.Aux.__proj__Mkinput_buffer__item__len... | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | false | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val _get_suffix (x y: t)
: Ghost (Seq.seq U8.t) (requires (x `_is_prefix_of` y)) (ensures (fun _ -> True)) | [] | EverParse3d.InputStream.Buffer._get_suffix | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.InputStream.Buffer.t -> y: EverParse3d.InputStream.Buffer.t
-> Prims.Ghost (FStar.Seq.Base.seq FStar.UInt8.t) | {
"end_col": 62,
"end_line": 44,
"start_col": 2,
"start_line": 44
} |
Prims.Pure | val uint32_to_uint64 (x: U32.t) : Pure U64.t (requires True) (ensures (fun y -> U64.v y == U32.v x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module":... | false | let uint32_to_uint64
(x: U32.t)
: Pure U64.t
(requires True)
(ensures (fun y -> U64.v y == U32.v x))
= FStar.Int.Cast.uint32_to_uint64 x | val uint32_to_uint64 (x: U32.t) : Pure U64.t (requires True) (ensures (fun y -> U64.v y == U32.v x))
let uint32_to_uint64 (x: U32.t) : Pure U64.t (requires True) (ensures (fun y -> U64.v y == U32.v x)) = | false | null | false | FStar.Int.Cast.uint32_to_uint64 x | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [] | [
"FStar.UInt32.t",
"FStar.Int.Cast.uint32_to_uint64",
"FStar.UInt64.t",
"Prims.l_True",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt64.n",
"FStar.UInt32.n",
"FStar.UInt64.v",
"FStar.UInt32.v"
] | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | false | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint32_to_uint64 (x: U32.t) : Pure U64.t (requires True) (ensures (fun y -> U64.v y == U32.v x)) | [] | EverParse3d.InputStream.Buffer.uint32_to_uint64 | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt32.t -> Prims.Pure FStar.UInt64.t | {
"end_col": 35,
"end_line": 81,
"start_col": 2,
"start_line": 81
} |
Prims.Tot | val _is_prefix_of (x y: t) : Tot prop | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Buffer.Aux",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Base",
"short_module": null
},
{
"a... | false | let _is_prefix_of
(x y: t)
: Tot prop
= x.len0 == y.len0 /\
x.buf == y.buf /\
x.perm_of == y.perm_of /\
U32.v x.len <= U32.v y.len /\
x.pos == y.pos /\
x.g_all_buf == y.g_all_buf /\
Ghost.reveal x.g_all == Seq.slice (Ghost.reveal y.g_all) 0 (U32.v x.len) | val _is_prefix_of (x y: t) : Tot prop
let _is_prefix_of (x y: t) : Tot prop = | false | null | false | x.len0 == y.len0 /\ x.buf == y.buf /\ x.perm_of == y.perm_of /\ U32.v x.len <= U32.v y.len /\
x.pos == y.pos /\ x.g_all_buf == y.g_all_buf /\
Ghost.reveal x.g_all == Seq.slice (Ghost.reveal y.g_all) 0 (U32.v x.len) | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [
"total"
] | [
"EverParse3d.InputStream.Buffer.t",
"Prims.l_and",
"Prims.eq2",
"FStar.Ghost.erased",
"FStar.UInt32.t",
"EverParse3d.InputStream.Buffer.Aux.__proj__Mkinput_buffer__item__len0",
"EverParse3d.InputBuffer.input_buffer_t",
"FStar.Ghost.reveal",
"EverParse3d.InputStream.Buffer.Aux.__proj__Mkinput_buffer_... | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | true | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val _is_prefix_of (x y: t) : Tot prop | [] | EverParse3d.InputStream.Buffer._is_prefix_of | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.InputStream.Buffer.t -> y: EverParse3d.InputStream.Buffer.t -> Prims.prop | {
"end_col": 74,
"end_line": 37,
"start_col": 2,
"start_line": 31
} |
Prims.Pure | val uint64_to_uint32 (x: U64.t)
: Pure U32.t (requires (U64.v x < 4294967296)) (ensures (fun y -> U32.v y == U64.v x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module":... | false | let uint64_to_uint32
(x: U64.t)
: Pure U32.t
(requires (U64.v x < 4294967296))
(ensures (fun y -> U32.v y == U64.v x))
= FStar.Math.Lemmas.modulo_lemma (U64.v x) 4294967296;
FStar.Int.Cast.uint64_to_uint32 x | val uint64_to_uint32 (x: U64.t)
: Pure U32.t (requires (U64.v x < 4294967296)) (ensures (fun y -> U32.v y == U64.v x))
let uint64_to_uint32 (x: U64.t)
: Pure U32.t (requires (U64.v x < 4294967296)) (ensures (fun y -> U32.v y == U64.v x)) = | false | null | false | FStar.Math.Lemmas.modulo_lemma (U64.v x) 4294967296;
FStar.Int.Cast.uint64_to_uint32 x | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [] | [
"FStar.UInt64.t",
"FStar.Int.Cast.uint64_to_uint32",
"Prims.unit",
"FStar.Math.Lemmas.modulo_lemma",
"FStar.UInt64.v",
"FStar.UInt32.t",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt32.n",
"FStar.UInt64.n",
"FStar.UInt32.v"
] | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | false | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint64_to_uint32 (x: U64.t)
: Pure U32.t (requires (U64.v x < 4294967296)) (ensures (fun y -> U32.v y == U64.v x)) | [] | EverParse3d.InputStream.Buffer.uint64_to_uint32 | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt64.t -> Prims.Pure FStar.UInt32.t | {
"end_col": 35,
"end_line": 91,
"start_col": 2,
"start_line": 90
} |
Prims.Ghost | val _get_read (x: t) (h: HS.mem)
: Ghost (Seq.seq U8.t)
(requires (_live x h))
(ensures (fun y -> Ghost.reveal x.g_all == y `Seq.append` (_get_remaining x h))) | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Buffer.Aux",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Base",
"short_module": null
},
{
"a... | false | let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq U8.t)
(requires (_live x h))
(ensures (fun y -> Ghost.reveal x.g_all == y `Seq.append` _get_remaining x h))
=
let i = U32.v (B.deref h x.pos) in
Seq.lemma_split x.g_all i;
Seq.slice x.g_all 0 i | val _get_read (x: t) (h: HS.mem)
: Ghost (Seq.seq U8.t)
(requires (_live x h))
(ensures (fun y -> Ghost.reveal x.g_all == y `Seq.append` (_get_remaining x h)))
let _get_read (x: t) (h: HS.mem)
: Ghost (Seq.seq U8.t)
(requires (_live x h))
(ensures (fun y -> Ghost.reveal x.g_all == y `Seq... | false | null | false | let i = U32.v (B.deref h x.pos) in
Seq.lemma_split x.g_all i;
Seq.slice x.g_all 0 i | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [] | [
"EverParse3d.InputStream.Buffer.t",
"FStar.Monotonic.HyperStack.mem",
"FStar.Seq.Base.slice",
"FStar.UInt8.t",
"FStar.Ghost.reveal",
"FStar.Seq.Base.seq",
"EverParse3d.InputStream.Buffer.Aux.__proj__Mkinput_buffer__item__g_all",
"Prims.unit",
"FStar.Seq.Properties.lemma_split",
"FStar.UInt.uint_t"... | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | false | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val _get_read (x: t) (h: HS.mem)
: Ghost (Seq.seq U8.t)
(requires (_live x h))
(ensures (fun y -> Ghost.reveal x.g_all == y `Seq.append` (_get_remaining x h))) | [] | EverParse3d.InputStream.Buffer._get_read | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.InputStream.Buffer.t -> h: FStar.Monotonic.HyperStack.mem
-> Prims.Ghost (FStar.Seq.Base.seq FStar.UInt8.t) | {
"end_col": 23,
"end_line": 26,
"start_col": 1,
"start_line": 23
} |
FStar.Pervasives.Lemma | val _is_prefix_of_prop (x y: t) (h: HS.mem)
: Lemma (requires (_live x h /\ x `_is_prefix_of` y))
(ensures
(_live y h /\ (_get_read y h) `Seq.equal` (_get_read x h) /\
(_get_remaining y h) `Seq.equal` ((_get_remaining x h) `Seq.append` (_get_suffix x y)))) | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Buffer.Aux",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverParse3d.InputStream.Base",
"short_module": null
},
{
"a... | false | let _is_prefix_of_prop
(x: t)
(y: t)
(h: HS.mem)
: Lemma
(requires (
_live x h /\
x `_is_prefix_of` y
))
(ensures (
_live y h /\
_get_read y h `Seq.equal` _get_read x h /\
_get_remaining y h `Seq.equal` (_get_remaining x h `Seq.append` _get_suffix x y)
))
=
assert (_live y h);
... | val _is_prefix_of_prop (x y: t) (h: HS.mem)
: Lemma (requires (_live x h /\ x `_is_prefix_of` y))
(ensures
(_live y h /\ (_get_read y h) `Seq.equal` (_get_read x h) /\
(_get_remaining y h) `Seq.equal` ((_get_remaining x h) `Seq.append` (_get_suffix x y))))
let _is_prefix_of_prop (x y: t) (h:... | false | null | true | assert (_live y h);
assert ((_get_read y h) `Seq.equal` (_get_read x h));
assert ((_get_remaining y h) `Seq.equal` ((_get_remaining x h) `Seq.append` (_get_suffix x y))) | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [
"lemma"
] | [
"EverParse3d.InputStream.Buffer.t",
"FStar.Monotonic.HyperStack.mem",
"Prims._assert",
"FStar.Seq.Base.equal",
"FStar.UInt8.t",
"EverParse3d.InputStream.Buffer.Aux._get_remaining",
"FStar.Seq.Base.append",
"EverParse3d.InputStream.Buffer._get_suffix",
"Prims.unit",
"EverParse3d.InputStream.Buffer.... | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | false | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val _is_prefix_of_prop (x y: t) (h: HS.mem)
: Lemma (requires (_live x h /\ x `_is_prefix_of` y))
(ensures
(_live y h /\ (_get_read y h) `Seq.equal` (_get_read x h) /\
(_get_remaining y h) `Seq.equal` ((_get_remaining x h) `Seq.append` (_get_suffix x y)))) | [] | EverParse3d.InputStream.Buffer._is_prefix_of_prop | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: EverParse3d.InputStream.Buffer.t ->
y: EverParse3d.InputStream.Buffer.t ->
h: FStar.Monotonic.HyperStack.mem
-> FStar.Pervasives.Lemma
(requires
EverParse3d.InputStream.Buffer.Aux._live x h /\
EverParse3d.InputStream.Buffer._is_prefix_of x y)
(ensures
EverParse3d.In... | {
"end_col": 91,
"end_line": 66,
"start_col": 2,
"start_line": 64
} |
Prims.Tot | val inst : input_stream_inst t | [
{
"abbrev": true,
"full_module": "EverParse3d.Readable",
"short_module": "IR"
},
{
"abbrev": true,
"full_module": "EverParse3d.InputBuffer",
"short_module": "IB"
},
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LP"
},
{
"abbrev": true,
... | false | let inst = {
live = _live;
footprint = _footprint;
perm_footprint = _perm_footprint;
live_not_unused_in = begin fun x h ->
()
end;
len_all = begin fun x ->
uint32_to_uint64 x.len
end;
get_all = begin fun x ->
Ghost.reveal x.g_all
end;
get_remaining = begin fun x h ->
_get_rema... | val inst : input_stream_inst t
let inst = | false | null | false | {
live = _live;
footprint = _footprint;
perm_footprint = _perm_footprint;
live_not_unused_in = (fun x h -> ());
len_all = (fun x -> uint32_to_uint64 x.len);
get_all = (fun x -> Ghost.reveal x.g_all);
get_remaining = (fun x h -> _get_remaining x h);
get_read = (fun x h -> _get_read x h);
preserved = (f... | {
"checked_file": "EverParse3d.InputStream.Buffer.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
... | [
"total"
] | [
"EverParse3d.InputStream.Base.Mkinput_stream_inst",
"EverParse3d.InputStream.Buffer.Aux.input_buffer",
"EverParse3d.InputStream.Buffer.Aux._live",
"EverParse3d.InputStream.Buffer.Aux._footprint",
"EverParse3d.InputStream.Buffer.Aux._perm_footprint",
"FStar.Monotonic.HyperStack.mem",
"Prims.unit",
"Eve... | [] | module EverParse3d.InputStream.Buffer
open EverParse3d.InputStream.Buffer.Aux
(* Implementation for single buffers *)
module U64 = FStar.UInt64
let t = t
inline_for_extraction
noextract
let _tlen
(x: t)
: Tot Type0
= (len: U64.t { U64.v len == U32.v x.len })
let _get_read
(x: t)
(h: HS.mem)
: Ghost (Seq.seq ... | false | true | EverParse3d.InputStream.Buffer.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inst : input_stream_inst t | [] | EverParse3d.InputStream.Buffer.inst | {
"file_name": "src/3d/prelude/buffer/EverParse3d.InputStream.Buffer.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.InputStream.Base.input_stream_inst EverParse3d.InputStream.Buffer.t | {
"end_col": 6,
"end_line": 231,
"start_col": 2,
"start_line": 99
} |
Prims.Tot | val aead_decrypt:aead_decrypt_st M256 | [
{
"abbrev": false,
"full_module": "Hacl.Poly1305_256",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Fields",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Chacha20Poly1305",
"short_module": null
},
{
"abbrev"... | false | let aead_decrypt : aead_decrypt_st M256 =
chacha20poly1305_aead_decrypt_higher #M256 True Hacl.Chacha20.Vec256.chacha20_encrypt_256 poly1305_do_256 | val aead_decrypt:aead_decrypt_st M256
let aead_decrypt:aead_decrypt_st M256 = | false | null | false | chacha20poly1305_aead_decrypt_higher #M256
True
Hacl.Chacha20.Vec256.chacha20_encrypt_256
poly1305_do_256 | {
"checked_file": "Hacl.Chacha20Poly1305_256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Poly1305_256.fsti.checked",
"Hacl.Meta.Chacha20Poly1305.fst.checked",
"Hacl.Impl.Poly1305.Fields.fst.checked",
"Hacl.Impl.Chacha20Poly1305.PolyCore.fst.checked",
"Hacl.Impl.Chacha20Poly130... | [
"total"
] | [
"Hacl.Meta.Chacha20Poly1305.chacha20poly1305_aead_decrypt_higher",
"Hacl.Impl.Poly1305.Fields.M256",
"Prims.l_True",
"Hacl.Chacha20.Vec256.chacha20_encrypt_256",
"Hacl.Chacha20Poly1305_256.poly1305_do_256"
] | [] | module Hacl.Chacha20Poly1305_256
open Hacl.Meta.Chacha20Poly1305
open Hacl.Impl.Chacha20Poly1305
open Hacl.Impl.Poly1305.Fields
open Hacl.Poly1305_256
#set-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0"
[@CInline]
private
let poly1305_padded_256 = Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded #M256
[@CInl... | false | false | Hacl.Chacha20Poly1305_256.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val aead_decrypt:aead_decrypt_st M256 | [] | Hacl.Chacha20Poly1305_256.aead_decrypt | {
"file_name": "code/chacha20poly1305/Hacl.Chacha20Poly1305_256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Chacha20Poly1305.aead_decrypt_st Hacl.Impl.Poly1305.Fields.M256 | {
"end_col": 107,
"end_line": 55,
"start_col": 2,
"start_line": 55
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Poly1305_256",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Fields",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Chacha20Poly1305",
"short_module": null
},
{
"abbrev"... | false | let poly1305_padded_256 = Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded #M256 | let poly1305_padded_256 = | false | null | false | Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded #M256 | {
"checked_file": "Hacl.Chacha20Poly1305_256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Poly1305_256.fsti.checked",
"Hacl.Meta.Chacha20Poly1305.fst.checked",
"Hacl.Impl.Poly1305.Fields.fst.checked",
"Hacl.Impl.Chacha20Poly1305.PolyCore.fst.checked",
"Hacl.Impl.Chacha20Poly130... | [
"total"
] | [
"Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded",
"Hacl.Impl.Poly1305.Fields.M256"
] | [] | module Hacl.Chacha20Poly1305_256
open Hacl.Meta.Chacha20Poly1305
open Hacl.Impl.Chacha20Poly1305
open Hacl.Impl.Poly1305.Fields
open Hacl.Poly1305_256
#set-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0"
[@CInline] | false | true | Hacl.Chacha20Poly1305_256.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val poly1305_padded_256 : Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded_st Hacl.Impl.Poly1305.Fields.M256 | [] | Hacl.Chacha20Poly1305_256.poly1305_padded_256 | {
"file_name": "code/chacha20poly1305/Hacl.Chacha20Poly1305_256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded_st Hacl.Impl.Poly1305.Fields.M256 | {
"end_col": 83,
"end_line": 12,
"start_col": 26,
"start_line": 12
} | |
Prims.Tot | val aead_encrypt:aead_encrypt_st M256 | [
{
"abbrev": false,
"full_module": "Hacl.Poly1305_256",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Fields",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Chacha20Poly1305",
"short_module": null
},
{
"abbrev"... | false | let aead_encrypt : aead_encrypt_st M256 =
chacha20poly1305_aead_encrypt_higher #M256 True poly1305_do_256 Hacl.Chacha20.Vec256.chacha20_encrypt_256 | val aead_encrypt:aead_encrypt_st M256
let aead_encrypt:aead_encrypt_st M256 = | false | null | false | chacha20poly1305_aead_encrypt_higher #M256
True
poly1305_do_256
Hacl.Chacha20.Vec256.chacha20_encrypt_256 | {
"checked_file": "Hacl.Chacha20Poly1305_256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Poly1305_256.fsti.checked",
"Hacl.Meta.Chacha20Poly1305.fst.checked",
"Hacl.Impl.Poly1305.Fields.fst.checked",
"Hacl.Impl.Chacha20Poly1305.PolyCore.fst.checked",
"Hacl.Impl.Chacha20Poly130... | [
"total"
] | [
"Hacl.Meta.Chacha20Poly1305.chacha20poly1305_aead_encrypt_higher",
"Hacl.Impl.Poly1305.Fields.M256",
"Prims.l_True",
"Hacl.Chacha20Poly1305_256.poly1305_do_256",
"Hacl.Chacha20.Vec256.chacha20_encrypt_256"
] | [] | module Hacl.Chacha20Poly1305_256
open Hacl.Meta.Chacha20Poly1305
open Hacl.Impl.Chacha20Poly1305
open Hacl.Impl.Poly1305.Fields
open Hacl.Poly1305_256
#set-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0"
[@CInline]
private
let poly1305_padded_256 = Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded #M256
[@CInl... | false | false | Hacl.Chacha20Poly1305_256.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val aead_encrypt:aead_encrypt_st M256 | [] | Hacl.Chacha20Poly1305_256.aead_encrypt | {
"file_name": "code/chacha20poly1305/Hacl.Chacha20Poly1305_256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Chacha20Poly1305.aead_encrypt_st Hacl.Impl.Poly1305.Fields.M256 | {
"end_col": 107,
"end_line": 33,
"start_col": 2,
"start_line": 33
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Poly1305_256",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Fields",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Impl.Chacha20Poly1305",
"short_module": null
},
{
"abbrev"... | false | let poly1305_do_256 = chacha20poly1305_poly1305_do_higher #M256 True poly1305_finish poly1305_init poly1305_padded_256 | let poly1305_do_256 = | false | null | false | chacha20poly1305_poly1305_do_higher #M256 True poly1305_finish poly1305_init poly1305_padded_256 | {
"checked_file": "Hacl.Chacha20Poly1305_256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Poly1305_256.fsti.checked",
"Hacl.Meta.Chacha20Poly1305.fst.checked",
"Hacl.Impl.Poly1305.Fields.fst.checked",
"Hacl.Impl.Chacha20Poly1305.PolyCore.fst.checked",
"Hacl.Impl.Chacha20Poly130... | [
"total"
] | [
"Hacl.Meta.Chacha20Poly1305.chacha20poly1305_poly1305_do_higher",
"Hacl.Impl.Poly1305.Fields.M256",
"Prims.l_True",
"Hacl.Poly1305_256.poly1305_finish",
"Hacl.Poly1305_256.poly1305_init",
"Hacl.Chacha20Poly1305_256.poly1305_padded_256"
] | [] | module Hacl.Chacha20Poly1305_256
open Hacl.Meta.Chacha20Poly1305
open Hacl.Impl.Chacha20Poly1305
open Hacl.Impl.Poly1305.Fields
open Hacl.Poly1305_256
#set-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0"
[@CInline]
private
let poly1305_padded_256 = Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded #M256
[@CInl... | false | true | Hacl.Chacha20Poly1305_256.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val poly1305_do_256 : Hacl.Meta.Chacha20Poly1305.chacha20poly1305_poly1305_do_higher_t Prims.l_True | [] | Hacl.Chacha20Poly1305_256.poly1305_do_256 | {
"file_name": "code/chacha20poly1305/Hacl.Chacha20Poly1305_256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Meta.Chacha20Poly1305.chacha20poly1305_poly1305_do_higher_t Prims.l_True | {
"end_col": 118,
"end_line": 16,
"start_col": 22,
"start_line": 16
} | |
FStar.HyperStack.ST.Stack | val fdifference:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h a /\ live h b /\ live h out /\
eq_or_disjoint a b /\ eq_or_disjoint a out /\ eq_or_disjoint b out /\
F51.felem_fits h a (1, 2, 1, 1, 1) /\
F51.felem_fits h b (1, 2, 1, 1, 1)
)
(ensures fun h... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let fdifference out a b =
BN.fsub out a b | val fdifference:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h a /\ live h b /\ live h out /\
eq_or_disjoint a b /\ eq_or_disjoint a out /\ eq_or_disjoint b out /\
F51.felem_fits h a (1, 2, 1, 1, 1) /\
F51.felem_fits h b (1, 2, 1, 1, 1)
)
(ensures fun h... | true | null | false | BN.fsub out a b | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"Hacl.Impl.Curve25519.Field51.fsub",
"Prims.unit"
] | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fdifference:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h a /\ live h b /\ live h out /\
eq_or_disjoint a b /\ eq_or_disjoint a out /\ eq_or_disjoint b out /\
F51.felem_fits h a (1, 2, 1, 1, 1) /\
F51.felem_fits h b (1, 2, 1, 1, 1)
)
(ensures fun h... | [] | Hacl.Bignum25519.fdifference | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> b: Hacl.Bignum25519.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 17,
"end_line": 69,
"start_col": 2,
"start_line": 69
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let mask_51 = u64 0x7ffffffffffff | let mask_51 = | false | null | false | u64 0x7ffffffffffff | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [
"total"
] | [
"Lib.IntTypes.u64"
] | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mask_51 : u4: Lib.IntTypes.uint64{Lib.IntTypes.v u4 == 0x7ffffffffffff} | [] | Hacl.Bignum25519.mask_51 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | u4: Lib.IntTypes.uint64{Lib.IntTypes.v u4 == 0x7ffffffffffff} | {
"end_col": 33,
"end_line": 24,
"start_col": 14,
"start_line": 24
} | |
FStar.HyperStack.ST.Stack | val fsum:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h a /\ live h b /\ live h out /\
eq_or_disjoint a b /\ eq_or_disjoint a out /\ eq_or_disjoint b out /\
F51.felem_fits h a (1, 2, 1, 1, 1) /\
F51.felem_fits h b (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 ... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let fsum out a b =
BN.fadd out a b | val fsum:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h a /\ live h b /\ live h out /\
eq_or_disjoint a b /\ eq_or_disjoint a out /\ eq_or_disjoint b out /\
F51.felem_fits h a (1, 2, 1, 1, 1) /\
F51.felem_fits h b (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 ... | true | null | false | BN.fadd out a b | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"Hacl.Impl.Curve25519.Field51.fadd",
"Prims.unit"
] | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsum:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h a /\ live h b /\ live h out /\
eq_or_disjoint a b /\ eq_or_disjoint a out /\ eq_or_disjoint b out /\
F51.felem_fits h a (1, 2, 1, 1, 1) /\
F51.felem_fits h b (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 ... | [] | Hacl.Bignum25519.fsum | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> b: Hacl.Bignum25519.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 17,
"end_line": 64,
"start_col": 2,
"start_line": 64
} |
Prims.Pure | val carry51:
#m:S51.scale64{m < 8192}
-> l:uint64
-> cin:uint64 ->
Pure (uint64 & uint64)
(requires
S51.felem_fits1 l m /\
S51.felem_fits1 cin 1)
(ensures fun (l0, l1) ->
v l + v cin == v l1 * pow2 51 + v l0 /\
S51.felem_fits1 l0 1 /\ uint_v l1 < m + 1) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let carry51 l cin =
let l' = l +! cin in
mod_mask_lemma l' 51ul;
assert (v (mod_mask #U64 #SEC 51ul) == v mask_51);
FStar.Math.Lemmas.pow2_modulo_modulo_lemma_1 (v l') 51 64;
FStar.Math.Lemmas.euclidean_division_definition (v l') (pow2 51);
FStar.Math.Lemmas.pow2_minus 64 51;
(l' &. mask_51, l' >>. 51ul) | val carry51:
#m:S51.scale64{m < 8192}
-> l:uint64
-> cin:uint64 ->
Pure (uint64 & uint64)
(requires
S51.felem_fits1 l m /\
S51.felem_fits1 cin 1)
(ensures fun (l0, l1) ->
v l + v cin == v l1 * pow2 51 + v l0 /\
S51.felem_fits1 l0 1 /\ uint_v l1 < m + 1)
let carry51 l cin = | false | null | false | let l' = l +! cin in
mod_mask_lemma l' 51ul;
assert (v (mod_mask #U64 #SEC 51ul) == v mask_51);
FStar.Math.Lemmas.pow2_modulo_modulo_lemma_1 (v l') 51 64;
FStar.Math.Lemmas.euclidean_division_definition (v l') (pow2 51);
FStar.Math.Lemmas.pow2_minus 64 51;
(l' &. mask_51, l' >>. 51ul) | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Spec.Curve25519.Field51.Definition.scale64",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.uint64",
"FStar.Pervasives.Native.Mktuple2",
"Lib.IntTypes.op_Amp_Dot",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Hacl.Bignum25519.mask_51",
"Lib.IntTypes.op_Greater_Greater_Dot",
"FStar.UInt32.__ui... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val carry51:
#m:S51.scale64{m < 8192}
-> l:uint64
-> cin:uint64 ->
Pure (uint64 & uint64)
(requires
S51.felem_fits1 l m /\
S51.felem_fits1 cin 1)
(ensures fun (l0, l1) ->
v l + v cin == v l1 * pow2 51 + v l0 /\
S51.felem_fits1 l0 1 /\ uint_v l1 < m + 1) | [] | Hacl.Bignum25519.carry51 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | l: Lib.IntTypes.uint64 -> cin: Lib.IntTypes.uint64
-> Prims.Pure (Lib.IntTypes.uint64 * Lib.IntTypes.uint64) | {
"end_col": 30,
"end_line": 92,
"start_col": 19,
"start_line": 85
} |
FStar.HyperStack.ST.Stack | val make_u64_5:
b:lbuffer uint64 5ul
-> s0:uint64 -> s1:uint64 -> s2:uint64 -> s3:uint64 -> s4:uint64 ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.as_felem h1 b == (s0, s1, s2, s3, s4) /\
F51.as_nat h1 b == S51.as_nat5 (s0, s1, s2, s3, s4)... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let make_u64_5 b s0 s1 s2 s3 s4 =
b.(0ul) <- s0;
b.(1ul) <- s1;
b.(2ul) <- s2;
b.(3ul) <- s3;
b.(4ul) <- s4 | val make_u64_5:
b:lbuffer uint64 5ul
-> s0:uint64 -> s1:uint64 -> s2:uint64 -> s3:uint64 -> s4:uint64 ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.as_felem h1 b == (s0, s1, s2, s3, s4) /\
F51.as_nat h1 b == S51.as_nat5 (s0, s1, s2, s3, s4)... | true | null | false | b.(0ul) <- s0;
b.(1ul) <- s1;
b.(2ul) <- s2;
b.(3ul) <- s3;
b.(4ul) <- s4 | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.Buffer.op_Array_Assignment",
"Prims.unit"
] | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val make_u64_5:
b:lbuffer uint64 5ul
-> s0:uint64 -> s1:uint64 -> s2:uint64 -> s3:uint64 -> s4:uint64 ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.as_felem h1 b == (s0, s1, s2, s3, s4) /\
F51.as_nat h1 b == S51.as_nat5 (s0, s1, s2, s3, s4)... | [] | Hacl.Bignum25519.make_u64_5 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
b: Lib.Buffer.lbuffer Lib.IntTypes.uint64 5ul ->
s0: Lib.IntTypes.uint64 ->
s1: Lib.IntTypes.uint64 ->
s2: Lib.IntTypes.uint64 ->
s3: Lib.IntTypes.uint64 ->
s4: Lib.IntTypes.uint64
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 15,
"end_line": 31,
"start_col": 2,
"start_line": 27
} |
FStar.HyperStack.ST.Stack | val reduce:
out:felem ->
Stack unit
(requires fun h -> live h out /\ F51.mul_inv_t h out)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 1, 1, 1, 1) /\
F51.fevalh h0 out == F51.fevalh h1 out /\
F51.fevalh h1 out == F51.as_nat h1 out
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let reduce out =
let (o0, o1, o2, o3, o4) = (out.(0ul), out.(1ul), out.(2ul), out.(3ul), out.(4ul)) in
let (f0, f1, f2, f3, f4) = Hacl.Spec.Curve25519.Field51.carry_felem5_full (o0, o1, o2, o3, o4) in
let (f0, f1, f2, f3, f4) = Hacl.Spec.Curve25519.Field51.subtract_p5 (f0, f1, f2, f3, f4) in
Math.Lemmas.small_m... | val reduce:
out:felem ->
Stack unit
(requires fun h -> live h out /\ F51.mul_inv_t h out)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 1, 1, 1, 1) /\
F51.fevalh h0 out == F51.fevalh h1 out /\
F51.fevalh h1 out == F51.as_nat h1 out
)
let reduce out = | true | null | false | let o0, o1, o2, o3, o4 = (out.(0ul), out.(1ul), out.(2ul), out.(3ul), out.(4ul)) in
let f0, f1, f2, f3, f4 = Hacl.Spec.Curve25519.Field51.carry_felem5_full (o0, o1, o2, o3, o4) in
let f0, f1, f2, f3, f4 = Hacl.Spec.Curve25519.Field51.subtract_p5 (f0, f1, f2, f3, f4) in
Math.Lemmas.small_mod (S51.as_nat5 (f0, f1, f2, f3... | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"Lib.IntTypes.uint64",
"Hacl.Bignum25519.make_u64_5",
"Prims.unit",
"FStar.Math.Lemmas.small_mod",
"Hacl.Spec.Curve25519.Field51.Definition.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"Spec.Curve25519.prime",
"Hacl.Spec.Curve25519.Field51.Definition.felem5",
"Hacl.Spec.... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val reduce:
out:felem ->
Stack unit
(requires fun h -> live h out /\ F51.mul_inv_t h out)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 1, 1, 1, 1) /\
F51.fevalh h0 out == F51.fevalh h1 out /\
F51.fevalh h1 out == F51.as_nat h1 out
) | [] | Hacl.Bignum25519.reduce | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 31,
"end_line": 248,
"start_col": 16,
"start_line": 243
} |
FStar.HyperStack.ST.Stack | val make_one:
b:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.mul_inv_t h1 b /\
F51.fevalh h1 b == SC.one
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let make_one b =
b.(0ul) <- u64 1;
b.(1ul) <- u64 0;
b.(2ul) <- u64 0;
b.(3ul) <- u64 0;
b.(4ul) <- u64 0;
assert_norm (S51.as_nat5 (u64 1, u64 0, u64 0, u64 0, u64 0) % Spec.Curve25519.prime == 1) | val make_one:
b:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.mul_inv_t h1 b /\
F51.fevalh h1 b == SC.one
)
let make_one b = | true | null | false | b.(0ul) <- u64 1;
b.(1ul) <- u64 0;
b.(2ul) <- u64 0;
b.(3ul) <- u64 0;
b.(4ul) <- u64 0;
assert_norm (S51.as_nat5 (u64 1, u64 0, u64 0, u64 0, u64 0) % Spec.Curve25519.prime == 1) | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Hacl.Spec.Curve25519.Field51.Definition.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.u64",
"Spec.Curve25519.prime",
"Prims.unit... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val make_one:
b:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.mul_inv_t h1 b /\
F51.fevalh h1 b == SC.one
) | [] | Hacl.Bignum25519.make_one | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Lib.Buffer.lbuffer Lib.IntTypes.uint64 5ul -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 92,
"end_line": 59,
"start_col": 2,
"start_line": 54
} |
FStar.HyperStack.ST.Stack | val fsquare:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ eq_or_disjoint a out /\
F51.felem_fits h a (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == F51.fevalh h0 a `SC.fmul` F51... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let fsquare out a =
push_frame();
let tmp = create 5ul (u128 0) in
BN.fsqr out a tmp;
pop_frame() | val fsquare:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ eq_or_disjoint a out /\
F51.felem_fits h a (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == F51.fevalh h0 a `SC.fmul` F51... | true | null | false | push_frame ();
let tmp = create 5ul (u128 0) in
BN.fsqr out a tmp;
pop_frame () | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Curve25519.Field51.fsqr",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U128",
"Lib.IntTypes.SEC",
"FStar.UInt32.uint_to_t",
"FStar.UInt32.t",
"Lib.Buffer.create",
"Hacl.Impl.C... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsquare:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ eq_or_disjoint a out /\
F51.felem_fits h a (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == F51.fevalh h0 a `SC.fmul` F51... | [] | Hacl.Bignum25519.fsquare | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 216,
"start_col": 2,
"start_line": 213
} |
FStar.HyperStack.ST.Stack | val make_zero:
b:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.mul_inv_t h1 b /\
F51.fevalh h1 b == SC.zero
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let make_zero b =
b.(0ul) <- u64 0;
b.(1ul) <- u64 0;
b.(2ul) <- u64 0;
b.(3ul) <- u64 0;
b.(4ul) <- u64 0;
assert_norm (S51.as_nat5 (u64 0, u64 0, u64 0, u64 0, u64 0) % Spec.Curve25519.prime == 0) | val make_zero:
b:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.mul_inv_t h1 b /\
F51.fevalh h1 b == SC.zero
)
let make_zero b = | true | null | false | b.(0ul) <- u64 0;
b.(1ul) <- u64 0;
b.(2ul) <- u64 0;
b.(3ul) <- u64 0;
b.(4ul) <- u64 0;
assert_norm (S51.as_nat5 (u64 0, u64 0, u64 0, u64 0, u64 0) % Spec.Curve25519.prime == 0) | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Hacl.Spec.Curve25519.Field51.Definition.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.u64",
"Spec.Curve25519.prime",
"Prims.unit... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val make_zero:
b:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
F51.mul_inv_t h1 b /\
F51.fevalh h1 b == SC.zero
) | [] | Hacl.Bignum25519.make_zero | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Lib.Buffer.lbuffer Lib.IntTypes.uint64 5ul -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 92,
"end_line": 51,
"start_col": 2,
"start_line": 46
} |
FStar.HyperStack.ST.Stack | val fsquare_times_inplace:
out:felem
-> n:size_t{v n > 0} ->
Stack unit
(requires fun h -> live h out /\ F51.felem_fits h out (1, 2, 1, 1, 1))
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh h1 out == Hacl.Spec.Curve25519.Finv.pow (F51... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let fsquare_times_inplace output count =
push_frame();
let tmp = create 5ul (u128 0) in
Hacl.Curve25519_51.fsquare_times output output tmp count;
pop_frame() | val fsquare_times_inplace:
out:felem
-> n:size_t{v n > 0} ->
Stack unit
(requires fun h -> live h out /\ F51.felem_fits h out (1, 2, 1, 1, 1))
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh h1 out == Hacl.Spec.Curve25519.Finv.pow (F51... | true | null | false | push_frame ();
let tmp = create 5ul (u128 0) in
Hacl.Curve25519_51.fsquare_times output output tmp count;
pop_frame () | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_GreaterThan",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Curve25519_51.fsquare_times",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Lib.IntTypes.int_t",
... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsquare_times_inplace:
out:felem
-> n:size_t{v n > 0} ->
Stack unit
(requires fun h -> live h out /\ F51.felem_fits h out (1, 2, 1, 1, 1))
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh h1 out == Hacl.Spec.Curve25519.Finv.pow (F51... | [] | Hacl.Bignum25519.fsquare_times_inplace | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n > 0}
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 232,
"start_col": 2,
"start_line": 229
} |
FStar.HyperStack.ST.Stack | val fmul:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ live h b /\
F51.felem_fits h a (9, 10, 9, 9, 9) /\
F51.felem_fits h b (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fev... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let fmul output input input2 =
push_frame();
let tmp = create 10ul (u128 0) in
BN.fmul output input input2 tmp;
pop_frame() | val fmul:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ live h b /\
F51.felem_fits h a (9, 10, 9, 9, 9) /\
F51.felem_fits h b (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fev... | true | null | false | push_frame ();
let tmp = create 10ul (u128 0) in
BN.fmul output input input2 tmp;
pop_frame () | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Curve25519.Field51.fmul",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U128",
"Lib.IntTypes.SEC",
"FStar.UInt32.uint_to_t",
"FStar.UInt32.t",
"Lib.Buffer.create",
"Hacl.Impl.C... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fmul:
out:felem
-> a:felem
-> b:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ live h b /\
F51.felem_fits h a (9, 10, 9, 9, 9) /\
F51.felem_fits h b (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fev... | [] | Hacl.Bignum25519.fmul | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> b: Hacl.Bignum25519.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 122,
"start_col": 2,
"start_line": 119
} |
FStar.HyperStack.ST.Stack | val fsquare_times:
out:felem
-> a:felem
-> n:size_t{v n > 0} ->
Stack unit
(requires fun h -> live h out /\ live h a /\ disjoint out a /\
F51.felem_fits h a (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh ... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let fsquare_times output input count =
push_frame();
let tmp = create 5ul (u128 0) in
Hacl.Curve25519_51.fsquare_times output input tmp count;
pop_frame() | val fsquare_times:
out:felem
-> a:felem
-> n:size_t{v n > 0} ->
Stack unit
(requires fun h -> live h out /\ live h a /\ disjoint out a /\
F51.felem_fits h a (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh ... | true | null | false | push_frame ();
let tmp = create 5ul (u128 0) in
Hacl.Curve25519_51.fsquare_times output input tmp count;
pop_frame () | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_GreaterThan",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Curve25519_51.fsquare_times",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Lib.IntTypes.int_t",
... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsquare_times:
out:felem
-> a:felem
-> n:size_t{v n > 0} ->
Stack unit
(requires fun h -> live h out /\ live h a /\ disjoint out a /\
F51.felem_fits h a (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh ... | [] | Hacl.Bignum25519.fsquare_times | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
out: Hacl.Bignum25519.felem ->
a: Hacl.Bignum25519.felem ->
n: Lib.IntTypes.size_t{Lib.IntTypes.v n > 0}
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 224,
"start_col": 2,
"start_line": 221
} |
FStar.HyperStack.ST.Stack | val inverse:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ disjoint a out /\
F51.felem_fits h a (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh h1 out == SC.fpow (F51.fevalh... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let inverse out a =
push_frame();
let tmp = create 10ul (u128 0) in
Hacl.Curve25519_51.finv out a tmp;
pop_frame() | val inverse:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ disjoint a out /\
F51.felem_fits h a (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh h1 out == SC.fpow (F51.fevalh... | true | null | false | push_frame ();
let tmp = create 10ul (u128 0) in
Hacl.Curve25519_51.finv out a tmp;
pop_frame () | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Curve25519_51.finv",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U128",
"Lib.IntTypes.SEC",
"FStar.UInt32.uint_to_t",
"FStar.UInt32.t",
"Lib.Buffer.create",
"Hacl.Impl.Curve25519.... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inverse:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ disjoint a out /\
F51.felem_fits h a (1, 2, 1, 1, 1)
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (1, 2, 1, 1, 1) /\
F51.fevalh h1 out == SC.fpow (F51.fevalh... | [] | Hacl.Bignum25519.inverse | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 239,
"start_col": 2,
"start_line": 236
} |
FStar.HyperStack.ST.Stack | val reduce_513:
a:felem ->
Stack unit
(requires fun h -> live h a /\
F51.felem_fits h a (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc a) h0 h1 /\
F51.fevalh h1 a == F51.fevalh h0 a /\
F51.mul_inv_t h1 a
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let reduce_513 a =
let (f0, f1, f2, f3, f4) = (a.(0ul), a.(1ul), a.(2ul), a.(3ul), a.(4ul)) in
let tmp0, c0 = carry51 #9 f0 (u64 0) in
let tmp1, c1 = carry51 #10 f1 c0 in
let tmp2, c2 = carry51 #9 f2 c1 in
let tmp3, c3 = carry51 #9 f3 c2 in
let tmp4, c4 = carry51 #9 f4 c3 in
assert (S51.felem_fits5 (tmp0,... | val reduce_513:
a:felem ->
Stack unit
(requires fun h -> live h a /\
F51.felem_fits h a (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc a) h0 h1 /\
F51.fevalh h1 a == F51.fevalh h0 a /\
F51.mul_inv_t h1 a
)
let reduce_513 a = | true | null | false | let f0, f1, f2, f3, f4 = (a.(0ul), a.(1ul), a.(2ul), a.(3ul), a.(4ul)) in
let tmp0, c0 = carry51 #9 f0 (u64 0) in
let tmp1, c1 = carry51 #10 f1 c0 in
let tmp2, c2 = carry51 #9 f2 c1 in
let tmp3, c3 = carry51 #9 f3 c2 in
let tmp4, c4 = carry51 #9 f4 c3 in
assert (S51.felem_fits5 (tmp0, tmp1, tmp2, tmp3, tmp4) (1, 1, 1, ... | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"Lib.IntTypes.uint64",
"Hacl.Bignum25519.make_u64_5",
"Prims.unit",
"Hacl.Spec.Curve25519.Field51.lemma_mul_inv",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Lib.IntTypes.op_Plus_Bang",
"FStar.Pervasives.Native.tupl... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val reduce_513:
a:felem ->
Stack unit
(requires fun h -> live h a /\
F51.felem_fits h a (9, 10, 9, 9, 9)
)
(ensures fun h0 _ h1 -> modifies (loc a) h0 h1 /\
F51.fevalh h1 a == F51.fevalh h0 a /\
F51.mul_inv_t h1 a
) | [] | Hacl.Bignum25519.reduce_513 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 41,
"end_line": 114,
"start_col": 18,
"start_line": 95
} |
FStar.HyperStack.ST.Stack | val make_u64_10:
b:lbuffer uint64 10ul
-> s0:uint64 -> s1:uint64 -> s2:uint64 -> s3:uint64 -> s4:uint64
-> s5:uint64 -> s6:uint64 -> s7:uint64 -> s8:uint64 -> s9:uint64 ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
(let s = as_seq h1 b in
Se... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let make_u64_10 b s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 =
b.(0ul) <- s0;
b.(1ul) <- s1;
b.(2ul) <- s2;
b.(3ul) <- s3;
b.(4ul) <- s4;
b.(5ul) <- s5;
b.(6ul) <- s6;
b.(7ul) <- s7;
b.(8ul) <- s8;
b.(9ul) <- s9 | val make_u64_10:
b:lbuffer uint64 10ul
-> s0:uint64 -> s1:uint64 -> s2:uint64 -> s3:uint64 -> s4:uint64
-> s5:uint64 -> s6:uint64 -> s7:uint64 -> s8:uint64 -> s9:uint64 ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
(let s = as_seq h1 b in
Se... | true | null | false | b.(0ul) <- s0;
b.(1ul) <- s1;
b.(2ul) <- s2;
b.(3ul) <- s3;
b.(4ul) <- s4;
b.(5ul) <- s5;
b.(6ul) <- s6;
b.(7ul) <- s7;
b.(8ul) <- s8;
b.(9ul) <- s9 | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.Buffer.op_Array_Assignment",
"Prims.unit"
] | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val make_u64_10:
b:lbuffer uint64 10ul
-> s0:uint64 -> s1:uint64 -> s2:uint64 -> s3:uint64 -> s4:uint64
-> s5:uint64 -> s6:uint64 -> s7:uint64 -> s8:uint64 -> s9:uint64 ->
Stack unit
(requires fun h -> live h b)
(ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\
(let s = as_seq h1 b in
Se... | [] | Hacl.Bignum25519.make_u64_10 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
b: Lib.Buffer.lbuffer Lib.IntTypes.uint64 10ul ->
s0: Lib.IntTypes.uint64 ->
s1: Lib.IntTypes.uint64 ->
s2: Lib.IntTypes.uint64 ->
s3: Lib.IntTypes.uint64 ->
s4: Lib.IntTypes.uint64 ->
s5: Lib.IntTypes.uint64 ->
s6: Lib.IntTypes.uint64 ->
s7: Lib.IntTypes.uint64 ->
s8: Lib.IntTy... | {
"end_col": 15,
"end_line": 43,
"start_col": 2,
"start_line": 34
} |
FStar.HyperStack.ST.Stack | val store_51:
output:lbuffer uint8 32ul
-> input:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h input /\ live h output /\ F51.mul_inv_t h input)
(ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\
as_seq h1 output == BSeq.nat_to_bytes_le 32 (F51.fevalh h0 input)
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let store_51 output input =
let h0 = ST.get () in
push_frame ();
let u64s = create 4ul (u64 0) in
BN.store_felem u64s input;
let h1 = ST.get () in
assert (as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (F51.fevalh h0 input));
uints_to_bytes_le 4ul output u64s;
BSeq.uints_to_bytes_le_nat_lemma #U64 #SEC 4 (F5... | val store_51:
output:lbuffer uint8 32ul
-> input:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h input /\ live h output /\ F51.mul_inv_t h input)
(ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\
as_seq h1 output == BSeq.nat_to_bytes_le 32 (F51.fevalh h0 input)
)
let store_51 o... | true | null | false | let h0 = ST.get () in
push_frame ();
let u64s = create 4ul (u64 0) in
BN.store_felem u64s input;
let h1 = ST.get () in
assert (as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (F51.fevalh h0 input));
uints_to_bytes_le 4ul output u64s;
BSeq.uints_to_bytes_le_nat_lemma #U64 #SEC 4 (F51.fevalh h0 input);
pop_frame () | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.uint64",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Lib.ByteSequence.uints_to_bytes_le_nat_lemma",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Hacl.Impl.Ed25519.Field51.fevalh",
"Lib.ByteBuffer.uints_to_bytes... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val store_51:
output:lbuffer uint8 32ul
-> input:lbuffer uint64 5ul ->
Stack unit
(requires fun h -> live h input /\ live h output /\ F51.mul_inv_t h input)
(ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\
as_seq h1 output == BSeq.nat_to_bytes_le 32 (F51.fevalh h0 input)
) | [] | Hacl.Bignum25519.store_51 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
output: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
input: Lib.Buffer.lbuffer Lib.IntTypes.uint64 5ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 14,
"end_line": 288,
"start_col": 27,
"start_line": 279
} |
FStar.HyperStack.ST.Stack | val times_d:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\
F51.mul_inv_t h a
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == Spec.Ed25519.d `SC.fmul` F51.fevalh h0 a
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let times_d out a =
push_frame();
let d = create 5ul (u64 0) in
d.(0ul) <- u64 0x00034dca135978a3;
d.(1ul) <- u64 0x0001a8283b156ebd;
d.(2ul) <- u64 0x0005e7a26001c029;
d.(3ul) <- u64 0x000739c663a03cbb;
d.(4ul) <- u64 0x00052036cee2b6ff;
assert_norm (S51.as_nat5 (u64 0x00034dca135978a3, u64 0x0001a8283... | val times_d:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\
F51.mul_inv_t h a
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == Spec.Ed25519.d `SC.fmul` F51.fevalh h0 a
)
let times_d out a = | true | null | false | push_frame ();
let d = create 5ul (u64 0) in
d.(0ul) <- u64 0x00034dca135978a3;
d.(1ul) <- u64 0x0001a8283b156ebd;
d.(2ul) <- u64 0x0005e7a26001c029;
d.(3ul) <- u64 0x000739c663a03cbb;
d.(4ul) <- u64 0x00052036cee2b6ff;
assert_norm (S51.as_nat5 (u64 0x00034dca135978a3,
u64 0x0001a8283b156ebd,
u64 0x0005... | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Bignum25519.fmul",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Hacl.Spec.Curve25519.Field51.Definition.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.uint64",
"Lib.Int... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val times_d:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\
F51.mul_inv_t h a
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == Spec.Ed25519.d `SC.fmul` F51.fevalh h0 a
) | [] | Hacl.Bignum25519.times_d | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 192,
"start_col": 2,
"start_line": 181
} |
FStar.HyperStack.ST.Stack | val times_2d:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\
F51.mul_inv_t h a
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == 2 `SC.fmul` Spec.Ed25519.d `SC.fmul` F51.fevalh h0 a
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let times_2d out a =
push_frame();
let d2 = create 5ul (u64 0) in
d2.(0ul) <- u64 0x00069b9426b2f159;
d2.(1ul) <- u64 0x00035050762add7a;
d2.(2ul) <- u64 0x0003cf44c0038052;
d2.(3ul) <- u64 0x0006738cc7407977;
d2.(4ul) <- u64 0x0002406d9dc56dff;
fmul out d2 a;
assert_norm (S51.as_nat5 (u64 0x00069b942... | val times_2d:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\
F51.mul_inv_t h a
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == 2 `SC.fmul` Spec.Ed25519.d `SC.fmul` F51.fevalh h0 a
)
let times_2... | true | null | false | push_frame ();
let d2 = create 5ul (u64 0) in
d2.(0ul) <- u64 0x00069b9426b2f159;
d2.(1ul) <- u64 0x00035050762add7a;
d2.(2ul) <- u64 0x0003cf44c0038052;
d2.(3ul) <- u64 0x0006738cc7407977;
d2.(4ul) <- u64 0x0002406d9dc56dff;
fmul out d2 a;
assert_norm (S51.as_nat5 (u64 0x00069b9426b2f159,
u64 0x00035050762add7... | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Hacl.Spec.Curve25519.Field51.Definition.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.uint64",
"Lib.IntTypes.u64",
"Spec.Curve25... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val times_2d:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\
F51.mul_inv_t h a
)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.mul_inv_t h1 out /\
F51.fevalh h1 out == 2 `SC.fmul` Spec.Ed25519.d `SC.fmul` F51.fevalh h0 a
) | [] | Hacl.Bignum25519.times_2d | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 208,
"start_col": 2,
"start_line": 197
} |
FStar.HyperStack.ST.Stack | val load_51:
output:lbuffer uint64 5ul
-> input:lbuffer uint8 32ul ->
Stack unit
(requires fun h -> live h output /\ live h input)
(ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\
F51.felem_fits h1 output (1, 1, 1, 1, 1) /\
F51.as_nat h1 output == (BSeq.nat_from_bytes_le (as_seq h0 in... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let load_51 output input =
push_frame ();
let u64s = create 4ul (u64 0) in
let h0 = ST.get () in
uints_from_bytes_le #U64 u64s input;
let h1 = ST.get () in
BSeq.uints_from_bytes_le_nat_lemma #U64 #SEC #4 (as_seq h0 input);
assert (BSeq.nat_from_intseq_le (as_seq h1 u64s) == BSeq.nat_from_bytes_le (as_seq ... | val load_51:
output:lbuffer uint64 5ul
-> input:lbuffer uint8 32ul ->
Stack unit
(requires fun h -> live h output /\ live h input)
(ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\
F51.felem_fits h1 output (1, 1, 1, 1, 1) /\
F51.as_nat h1 output == (BSeq.nat_from_bytes_le (as_seq h0 in... | true | null | false | push_frame ();
let u64s = create 4ul (u64 0) in
let h0 = ST.get () in
uints_from_bytes_le #U64 u64s input;
let h1 = ST.get () in
BSeq.uints_from_bytes_le_nat_lemma #U64 #SEC #4 (as_seq h0 input);
assert (BSeq.nat_from_intseq_le (as_seq h1 u64s) == BSeq.nat_from_bytes_le (as_seq h0 input));
let u64s3 = u64s.(3ul) in
u64... | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.uint8",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val load_51:
output:lbuffer uint64 5ul
-> input:lbuffer uint8 32ul ->
Stack unit
(requires fun h -> live h output /\ live h input)
(ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\
F51.felem_fits h1 output (1, 1, 1, 1, 1) /\
F51.as_nat h1 output == (BSeq.nat_from_bytes_le (as_seq h0 in... | [] | Hacl.Bignum25519.load_51 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
output: Lib.Buffer.lbuffer Lib.IntTypes.uint64 5ul ->
input: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 14,
"end_line": 276,
"start_col": 2,
"start_line": 252
} |
FStar.HyperStack.ST.Stack | val times_2:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ F51.mul_inv_t h a)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (2, 4, 2, 2, 2) /\
F51.fevalh h1 out == 2 `SC.fmul` F51.fevalh h0 a
) | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Field51",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "SL51"
},
{
... | false | let times_2 out a =
(**) let h0 = ST.get() in
let a0 = a.(0ul) in
let a1 = a.(1ul) in
let a2 = a.(2ul) in
let a3 = a.(3ul) in
let a4 = a.(4ul) in
let o0 = u64 2 *. a0 in
let o1 = u64 2 *. a1 in
let o2 = u64 2 *. a2 in
let o3 = u64 2 *. a3 in
let o4 = u64 2 *. a4 in
make_u64_5 out o0 o1 o2 o3 o4;... | val times_2:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ F51.mul_inv_t h a)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (2, 4, 2, 2, 2) /\
F51.fevalh h1 out == 2 `SC.fmul` F51.fevalh h0 a
)
let times_2 out a = | true | null | false | let h0 = ST.get () in
let a0 = a.(0ul) in
let a1 = a.(1ul) in
let a2 = a.(2ul) in
let a3 = a.(3ul) in
let a4 = a.(4ul) in
let o0 = u64 2 *. a0 in
let o1 = u64 2 *. a1 in
let o2 = u64 2 *. a2 in
let o3 = u64 2 *. a3 in
let o4 = u64 2 *. a4 in
make_u64_5 out o0 o1 o2 o3 o4;
let h1 = ST.get () in
assert (S51.felem_fits1 a... | {
"checked_file": "Hacl.Bignum25519.fst.checked",
"dependencies": [
"Spec.Ed25519.fst.checked",
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fs... | [] | [
"Hacl.Bignum25519.felem",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.eq2",
"Prims.op_Modulus",
"FStar.Mul.op_Star",
"Hacl.Impl.Ed25519.Field51.fevalh",
"Spec.Curve25519.prime",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"Hacl.Spec.Curve25... | [] | module Hacl.Bignum25519
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module S51 = Hacl.Spec.Curve25519.Field51.Definition
module SL51 = Hacl.Spec.Curve25519.Field51.Lemmas
modu... | false | false | Hacl.Bignum25519.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val times_2:
out:felem
-> a:felem ->
Stack unit
(requires fun h -> live h out /\ live h a /\ F51.mul_inv_t h a)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
F51.felem_fits h1 out (2, 4, 2, 2, 2) /\
F51.fevalh h1 out == 2 `SC.fmul` F51.fevalh h0 a
) | [] | Hacl.Bignum25519.times_2 | {
"file_name": "code/ed25519/Hacl.Bignum25519.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Bignum25519.felem -> a: Hacl.Bignum25519.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 3,
"end_line": 176,
"start_col": 19,
"start_line": 126
} |
FStar.All.ALL | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let eq_typ env t1 t2 =
if Ast.eq_typ t1 t2 then true
else Ast.eq_typ (unfold_typ_abbrev_and_enum env t1) (unfold_typ_abbrev_and_enum env t2) | let eq_typ env t1 t2 = | true | null | false | if Ast.eq_typ t1 t2
then true
else Ast.eq_typ (unfold_typ_abbrev_and_enum env t1) (unfold_typ_abbrev_and_enum env t2) | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [] | [
"Binding.env",
"Ast.typ",
"Ast.eq_typ",
"Prims.bool",
"Binding.unfold_typ_abbrev_and_enum"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 eq_typ : env: Binding.env -> t1: Ast.typ -> t2: Ast.typ -> FStar.All.ALL Prims.bool | [] | Binding.eq_typ | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> t1: Ast.typ -> t2: Ast.typ -> FStar.All.ALL Prims.bool | {
"end_col": 89,
"end_line": 379,
"start_col": 2,
"start_line": 378
} | |
FStar.All.ML | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let eq_typs env ts =
List.for_all (fun (t1, t2) -> eq_typ env t1 t2) ts | let eq_typs env ts = | true | null | false | List.for_all (fun (t1, t2) -> eq_typ env t1 t2) ts | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"Ast.typ",
"FStar.List.for_all",
"Binding.eq_typ",
"Prims.bool"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 eq_typs : env: Binding.env -> ts: Prims.list (Ast.typ * Ast.typ) -> FStar.All.ML Prims.bool | [] | Binding.eq_typs | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> ts: Prims.list (Ast.typ * Ast.typ) -> FStar.All.ML Prims.bool | {
"end_col": 52,
"end_line": 382,
"start_col": 2,
"start_line": 382
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let cast e t t' = { e with v = App (Cast (Some t) t') [e] } | let cast e t t' = | false | null | false | { e with v = App (Cast (Some t) t') [e] } | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Ast.with_meta_t",
"Ast.expr'",
"Ast.integer_type",
"Ast.Mkwith_meta_t",
"Ast.App",
"Ast.Cast",
"FStar.Pervasives.Native.Some",
"Prims.Cons",
"Prims.Nil",
"Ast.__proj__Mkwith_meta_t__item__range",
"Ast.__proj__Mkwith_meta_t__item__comments"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 cast : e: Ast.with_meta_t Ast.expr' -> t: Ast.integer_type -> t': Ast.integer_type
-> Ast.with_meta_t Ast.expr' | [] | Binding.cast | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Ast.with_meta_t Ast.expr' -> t: Ast.integer_type -> t': Ast.integer_type
-> Ast.with_meta_t Ast.expr' | {
"end_col": 57,
"end_line": 384,
"start_col": 20,
"start_line": 384
} | |
FStar.All.ML | val unfold_typ_abbrev_only (_:env) (t:typ) : ML typ | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let rec unfold_typ_abbrev_only (env:env) (t:typ) : ML typ =
match t.v with
| Type_app hd _ [] -> //type abbreviations are not parameterized
begin
match try_lookup env hd with
| Some (Inr (d, _)) ->
begin
match d.d_decl.v with
| TypeAbbrev t _ -> unfold_typ_abbrev_only env t
... | val unfold_typ_abbrev_only (_:env) (t:typ) : ML typ
let rec unfold_typ_abbrev_only (env: env) (t: typ) : ML typ = | true | null | false | match t.v with
| Type_app hd _ [] ->
(match try_lookup env hd with
| Some (Inr (d, _)) ->
(match d.d_decl.v with
| TypeAbbrev t _ -> unfold_typ_abbrev_only env t
| _ -> t)
| _ -> t)
| _ -> t | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.typ",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.typ'",
"Ast.ident",
"Ast.t_kind",
"Ast.decl",
"Ast.either",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Binding.unfold_typ_abbrev_only",
"FStar.Pervasives.Na... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 unfold_typ_abbrev_only (_:env) (t:typ) : ML typ | [
"recursion"
] | Binding.unfold_typ_abbrev_only | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> t: Ast.typ -> FStar.All.ML Ast.typ | {
"end_col": 10,
"end_line": 318,
"start_col": 2,
"start_line": 306
} |
FStar.All.ML | val lookup_enum_cases (e: env) (i: ident) : ML (list ident & typ) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup_enum_cases (e:env) (i:ident)
: ML (list ident & typ)
= match try_lookup_enum_cases e i with
| Some (tags, t) -> tags, t
| _ -> error (Printf.sprintf "Type %s is not an enumeration" (ident_to_string i)) i.range | val lookup_enum_cases (e: env) (i: ident) : ML (list ident & typ)
let lookup_enum_cases (e: env) (i: ident) : ML (list ident & typ) = | true | null | false | match try_lookup_enum_cases e i with
| Some (tags, t) -> tags, t
| _ -> error (Printf.sprintf "Type %s is not an enumeration" (ident_to_string i)) i.range | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Prims.list",
"Ast.typ",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.option",
"Ast.error",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"Ast.__proj__Mkwith_meta_t__item__range",
"Ast.ident'",
"Binding.try_lookup... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_enum_cases (e: env) (i: ident) : ML (list ident & typ) | [] | Binding.lookup_enum_cases | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML (Prims.list Ast.ident * Ast.typ) | {
"end_col": 93,
"end_line": 209,
"start_col": 4,
"start_line": 207
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let _or_ b1 b2 = b1 || b2 | let _or_ b1 b2 = | false | null | false | b1 || b2 | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Prims.bool",
"Prims.op_BarBar"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 _or_ : b1: Prims.bool -> b2: Prims.bool -> Prims.bool | [] | Binding._or_ | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | b1: Prims.bool -> b2: Prims.bool -> Prims.bool | {
"end_col": 25,
"end_line": 401,
"start_col": 17,
"start_line": 401
} | |
FStar.All.ML | val lookup_macro_definition (_:env) (_:ident) : ML (option expr) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup_macro_definition (e:env) (i:ident) =
try
let m = lookup_macro_name e i in
m.macro_defn_t
with
| _ -> None | val lookup_macro_definition (_:env) (_:ident) : ML (option expr)
let lookup_macro_definition (e: env) (i: ident) = | true | null | false | try
let m = lookup_macro_name e i in
m.macro_defn_t
with
| _ -> None | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"FStar.All.try_with",
"FStar.Pervasives.Native.option",
"Ast.expr",
"Prims.unit",
"GlobalEnv.__proj__Mkmacro_signature__item__macro_defn_t",
"GlobalEnv.macro_signature",
"Binding.lookup_macro_name",
"Prims.exn",
"FStar.Pervasives.Native.None"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_macro_definition (_:env) (_:ident) : ML (option expr) | [] | Binding.lookup_macro_definition | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML (FStar.Pervasives.Native.option Ast.expr) | {
"end_col": 13,
"end_line": 196,
"start_col": 2,
"start_line": 192
} |
FStar.All.ML | val check_output_type (ge: global_env) (t: typ) : ML ident | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let check_output_type (ge:global_env) (t:typ) : ML ident =
let err () : ML ident =
error (Printf.sprintf "Type %s is not an output type" (print_typ t)) t.range in
match t.v with
| Type_app i KindOutput [] -> i
| _ -> err () | val check_output_type (ge: global_env) (t: typ) : ML ident
let check_output_type (ge: global_env) (t: typ) : ML ident = | true | null | false | let err () : ML ident =
error (Printf.sprintf "Type %s is not an output type" (print_typ t)) t.range
in
match t.v with
| Type_app i KindOutput [] -> i
| _ -> err () | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.typ",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.typ'",
"Ast.ident",
"Prims.unit",
"Ast.error",
"Ast.__proj__Mkwith_meta_t__item__range",
"Prims.string",
"FStar.Printf.sprintf",
"Ast.print_typ"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 check_output_type (ge: global_env) (t: typ) : ML ident | [] | Binding.check_output_type | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ge: GlobalEnv.global_env -> t: Ast.typ -> FStar.All.ML Ast.ident | {
"end_col": 15,
"end_line": 513,
"start_col": 58,
"start_line": 508
} |
FStar.All.ML | val lookup_macro_name (e: env) (i: ident) : ML macro_signature | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup_macro_name (e:env) (i:ident) : ML macro_signature =
match lookup e i with
| Inr (_, Inr m) -> m
| _ -> error (Printf.sprintf "%s is an unknown operator" (ident_to_string i)) i.range | val lookup_macro_name (e: env) (i: ident) : ML macro_signature
let lookup_macro_name (e: env) (i: ident) : ML macro_signature = | true | null | false | match lookup e i with
| Inr (_, Inr m) -> m
| _ -> error (Printf.sprintf "%s is an unknown operator" (ident_to_string i)) i.range | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.decl",
"GlobalEnv.macro_signature",
"Ast.either",
"Ast.typ",
"FStar.Pervasives.Native.tuple2",
"GlobalEnv.decl_attributes",
"Ast.error",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"Ast.__proj__Mkwith_meta_t__item__range",
"Ast.ident'",
"Binding.lookup"
... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_macro_name (e: env) (i: ident) : ML macro_signature | [] | Binding.lookup_macro_name | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML GlobalEnv.macro_signature | {
"end_col": 87,
"end_line": 189,
"start_col": 2,
"start_line": 187
} |
FStar.All.ML | val global_env_of_env (e:env) : ML global_env | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let global_env_of_env e = e.globals | val global_env_of_env (e:env) : ML global_env
let global_env_of_env e = | true | null | false | e.globals | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Binding.__proj__Mkenv__item__globals",
"GlobalEnv.global_env"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 global_env_of_env (e:env) : ML global_env | [] | Binding.global_env_of_env | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> FStar.All.ML GlobalEnv.global_env | {
"end_col": 35,
"end_line": 68,
"start_col": 26,
"start_line": 68
} |
Prims.Tot | val typedef_names (d: decl) : option typedef_names | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let typedef_names (d:decl) : option typedef_names =
match d.d_decl.v with
| Record td _ _ _
| CaseType td _ _ -> Some td
| _ -> None | val typedef_names (d: decl) : option typedef_names
let typedef_names (d: decl) : option typedef_names = | false | null | false | match d.d_decl.v with
| Record td _ _ _ | CaseType td _ _ -> Some td
| _ -> None | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Ast.decl",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Ast.typedef_names",
"Prims.list",
"Ast.param",
"FStar.Pervasives.Native.option",
"Ast.expr",
"Ast.record",
"FStar.Pervasives.Native.Some",
"Ast.switch_case",
"FStar.Pervasives.Native.None"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 typedef_names (d: decl) : option typedef_names | [] | Binding.typedef_names | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | d: Ast.decl -> FStar.Pervasives.Native.option Ast.typedef_names | {
"end_col": 13,
"end_line": 93,
"start_col": 2,
"start_line": 90
} |
FStar.All.ALL | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let is_enum (e:env) (t:typ) =
match t.v with
| Type_app i KindSpec [] ->
Some? (try_lookup_enum_cases e i)
| _ -> false | let is_enum (e: env) (t: typ) = | true | null | false | match t.v with
| Type_app i KindSpec [] -> Some? (try_lookup_enum_cases e i)
| _ -> false | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [] | [
"Binding.env",
"Ast.typ",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.typ'",
"Ast.ident",
"FStar.Pervasives.Native.uu___is_Some",
"FStar.Pervasives.Native.tuple2",
"Prims.list",
"Prims.bool",
"FStar.Pervasives.Native.option",
"Binding.try_lookup_enum_cases"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 is_enum : e: Binding.env -> t: Ast.typ -> FStar.All.ALL Prims.bool | [] | Binding.is_enum | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> t: Ast.typ -> FStar.All.ALL Prims.bool | {
"end_col": 14,
"end_line": 215,
"start_col": 2,
"start_line": 212
} | |
FStar.All.ML | val unfold_typ_abbrev_and_enum (env: env) (t: typ) : ML typ | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let rec unfold_typ_abbrev_and_enum (env:env) (t:typ) : ML typ =
match t.v with
| Type_app hd _ [] -> //type abbreviations are not parameterized
begin
match lookup env hd with
| Inr (d, _) ->
begin
match d.d_decl.v with
| TypeAbbrev t _ -> unfold_typ_abbrev_and_enum env t
... | val unfold_typ_abbrev_and_enum (env: env) (t: typ) : ML typ
let rec unfold_typ_abbrev_and_enum (env: env) (t: typ) : ML typ = | true | null | false | match t.v with
| Type_app hd _ [] ->
(match lookup env hd with
| Inr (d, _) ->
(match d.d_decl.v with
| TypeAbbrev t _ -> unfold_typ_abbrev_and_enum env t
| Enum t _ _ -> unfold_typ_abbrev_and_enum env t
| _ -> t)
| _ -> t)
| _ -> t | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.typ",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.typ'",
"Ast.ident",
"Ast.t_kind",
"Ast.decl",
"Ast.either",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Binding.unfold_typ_abbrev_and_enum",
"Prims.list",
... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 unfold_typ_abbrev_and_enum (env: env) (t: typ) : ML typ | [
"recursion"
] | Binding.unfold_typ_abbrev_and_enum | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> t: Ast.typ -> FStar.All.ML Ast.typ | {
"end_col": 10,
"end_line": 350,
"start_col": 2,
"start_line": 337
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let _and_ b1 b2 = b1 && b2 | let _and_ b1 b2 = | false | null | false | b1 && b2 | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Prims.bool",
"Prims.op_AmpAmp"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 _and_ : b1: Prims.bool -> b2: Prims.bool -> Prims.bool | [] | Binding._and_ | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | b1: Prims.bool -> b2: Prims.bool -> Prims.bool | {
"end_col": 26,
"end_line": 402,
"start_col": 18,
"start_line": 402
} | |
FStar.All.ML | val try_lookup_enum_cases (e: env) (i: ident) : ML (option (list ident & typ)) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let try_lookup_enum_cases (e:env) (i:ident)
: ML (option (list ident & typ))
= match lookup e i with
| Inr ({d_decl={v=Enum t _ tags}}, _) ->
Some (Desugar.check_desugared_enum_cases tags, t)
| _ -> None | val try_lookup_enum_cases (e: env) (i: ident) : ML (option (list ident & typ))
let try_lookup_enum_cases (e: env) (i: ident) : ML (option (list ident & typ)) = | true | null | false | match lookup e i with
| Inr ({ d_decl = { v = Enum t _ tags } }, _) -> Some (Desugar.check_desugared_enum_cases tags, t)
| _ -> None | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.typ",
"Prims.list",
"Ast.enum_case",
"Ast.range",
"Ast.comments",
"Prims.bool",
"Ast.either",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.option",
"FS... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 try_lookup_enum_cases (e: env) (i: ident) : ML (option (list ident & typ)) | [] | Binding.try_lookup_enum_cases | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident
-> FStar.All.ML (FStar.Pervasives.Native.option (Prims.list Ast.ident * Ast.typ)) | {
"end_col": 15,
"end_line": 203,
"start_col": 4,
"start_line": 200
} |
Prims.Tot | val env_of_global_env: global_env -> env | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let env_of_global_env
: global_env -> env
= let locals = H.create 1 in
fun g -> { this = None; locals; globals = g } | val env_of_global_env: global_env -> env
let env_of_global_env: global_env -> env = | false | null | false | let locals = H.create 1 in
fun g -> { this = None; locals = locals; globals = g } | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"GlobalEnv.global_env",
"Binding.Mkenv",
"FStar.Pervasives.Native.None",
"Ast.ident",
"Binding.env",
"Hashtable.t",
"Ast.ident'",
"FStar.Pervasives.Native.tuple3",
"Ast.typ",
"Prims.bool",
"Hashtable.create"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 env_of_global_env: global_env -> env | [] | Binding.env_of_global_env | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | _: GlobalEnv.global_env -> Binding.env | {
"end_col": 49,
"end_line": 66,
"start_col": 3,
"start_line": 65
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let local_env = H.t ident' (ident' & typ & bool) | let local_env = | false | null | false | H.t ident' (ident' & typ & bool) | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Hashtable.t",
"Ast.ident'",
"FStar.Pervasives.Native.tuple3",
"Ast.typ",
"Prims.bool"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 local_env : Type0 | [] | Binding.local_env | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 48,
"end_line": 37,
"start_col": 16,
"start_line": 37
} | |
FStar.All.ML | val has_reader (_:global_env) (_:ident) : ML bool | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let has_reader (env:global_env) (id:ident) : ML bool =
match H.try_find env.ge_h id.v with
| Some (_, Inl attrs) -> attrs.has_reader
| _ -> false | val has_reader (_:global_env) (_:ident) : ML bool
let has_reader (env: global_env) (id: ident) : ML bool = | true | null | false | match H.try_find env.ge_h id.v with
| Some (_, Inl attrs) -> attrs.has_reader
| _ -> false | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"GlobalEnv.decl_attributes",
"GlobalEnv.__proj__Mkdecl_attributes__item__has_reader",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.tuple2",
"Ast.either",
"GlobalEnv.macro_signature",
"Prims.bool",
"Hashtable.try_find",
"Ast.ident'"... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 has_reader (_:global_env) (_:ident) : ML bool | [] | Binding.has_reader | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: GlobalEnv.global_env -> id: Ast.ident -> FStar.All.ML Prims.bool | {
"end_col": 14,
"end_line": 282,
"start_col": 2,
"start_line": 280
} |
FStar.All.ML | val lookup_extern_fn (ge: global_env) (f: ident) : ML (typ & list param) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup_extern_fn (ge:global_env) (f:ident) : ML (typ & list param) =
match H.try_find ge.ge_extern_fn f.v with
| Some ({d_decl={v=ExternFn _ ret ps}}) -> ret, ps
| _ -> error (Printf.sprintf "Cannot find declaration for extern function %s" (ident_to_string f)) f.range | val lookup_extern_fn (ge: global_env) (f: ident) : ML (typ & list param)
let lookup_extern_fn (ge: global_env) (f: ident) : ML (typ & list param) = | true | null | false | match H.try_find ge.ge_extern_fn f.v with
| Some { d_decl = { v = ExternFn _ ret ps } } -> ret, ps
| _ ->
error (Printf.sprintf "Cannot find declaration for extern function %s" (ident_to_string f))
f.range | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.typ",
"Prims.list",
"Ast.param",
"Ast.range",
"Ast.comments",
"Prims.bool",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.option",
"Ast.decl",
"Ast.error",
"FStar.Printf.sprintf",
"Ast.ident_to_str... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_extern_fn (ge: global_env) (f: ident) : ML (typ & list param) | [] | Binding.lookup_extern_fn | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ge: GlobalEnv.global_env -> f: Ast.ident -> FStar.All.ML (Ast.typ * Prims.list Ast.param) | {
"end_col": 108,
"end_line": 506,
"start_col": 2,
"start_line": 504
} |
FStar.All.ML | val lookup_extern_type (ge: global_env) (i: ident) : ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup_extern_type (ge:global_env) (i:ident) : ML unit =
match H.try_find ge.ge_extern_t i.v with
| Some ({d_decl={v=ExternType _}}) -> ()
| _ -> error (Printf.sprintf "Cannot find declaration for extern type %s" (ident_to_string i)) i.range | val lookup_extern_type (ge: global_env) (i: ident) : ML unit
let lookup_extern_type (ge: global_env) (i: ident) : ML unit = | true | null | false | match H.try_find ge.ge_extern_t i.v with
| Some { d_decl = { v = ExternType _ } } -> ()
| _ ->
error (Printf.sprintf "Cannot find declaration for extern type %s" (ident_to_string i)) i.range | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.typedef_names",
"Ast.range",
"Ast.comments",
"Prims.bool",
"Prims.unit",
"FStar.Pervasives.Native.option",
"Ast.decl",
"Ast.error",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"Ast.__proj__Mkwith_meta_t__item__range",
"Ast.ident'",
"Hashtable.... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_extern_type (ge: global_env) (i: ident) : ML unit | [] | Binding.lookup_extern_type | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ge: GlobalEnv.global_env -> i: Ast.ident -> FStar.All.ML Prims.unit | {
"end_col": 104,
"end_line": 501,
"start_col": 2,
"start_line": 499
} |
FStar.All.ML | val parser_weak_kind (env:global_env) (id:ident) : ML (option weak_kind) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let parser_weak_kind (env:global_env) (id:ident) : ML (option _) =
match H.try_find env.ge_h id.v with
| Some (_, Inl attrs) -> Some attrs.parser_weak_kind
| _ -> None | val parser_weak_kind (env:global_env) (id:ident) : ML (option weak_kind)
let parser_weak_kind (env: global_env) (id: ident) : ML (option _) = | true | null | false | match H.try_find env.ge_h id.v with
| Some (_, Inl attrs) -> Some attrs.parser_weak_kind
| _ -> None | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"GlobalEnv.decl_attributes",
"FStar.Pervasives.Native.Some",
"Ast.weak_kind",
"GlobalEnv.__proj__Mkdecl_attributes__item__parser_weak_kind",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.tuple2",
"Ast.either",
"GlobalEnv.macro_signatu... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 parser_weak_kind (env:global_env) (id:ident) : ML (option weak_kind) | [] | Binding.parser_weak_kind | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: GlobalEnv.global_env -> id: Ast.ident
-> FStar.All.ML (FStar.Pervasives.Native.option Ast.weak_kind) | {
"end_col": 13,
"end_line": 292,
"start_col": 2,
"start_line": 290
} |
FStar.All.ML | val remove_local (e: env) (i: ident) : ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let remove_local (e:env) (i:ident) : ML unit =
match H.try_find e.locals i.v with
| Some (j, _, _) ->
H.remove e.locals i.v;
H.remove e.locals j
| _ -> () | val remove_local (e: env) (i: ident) : ML unit
let remove_local (e: env) (i: ident) : ML unit = | true | null | false | match H.try_find e.locals i.v with
| Some (j, _, _) ->
H.remove e.locals i.v;
H.remove e.locals j
| _ -> () | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.ident'",
"Ast.typ",
"Prims.bool",
"Hashtable.remove",
"FStar.Pervasives.Native.tuple3",
"Binding.__proj__Mkenv__item__locals",
"Prims.unit",
"Ast.__proj__Mkwith_meta_t__item__v",
"FStar.Pervasives.Native.option",
"Hashtable.try_find"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 remove_local (e: env) (i: ident) : ML unit | [] | Binding.remove_local | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML Prims.unit | {
"end_col": 11,
"end_line": 164,
"start_col": 2,
"start_line": 160
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let type_of_integer_type = function
| UInt8 -> tuint8
| UInt16 -> tuint16
| UInt32 -> tuint32
| UInt64 -> tuint64 | let type_of_integer_type = | false | null | false | function
| UInt8 -> tuint8
| UInt16 -> tuint16
| UInt32 -> tuint32
| UInt64 -> tuint64 | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Ast.integer_type",
"Ast.tuint8",
"Ast.tuint16",
"Ast.tuint32",
"Ast.tuint64",
"Ast.with_meta_t",
"Ast.typ'"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 type_of_integer_type : _: Ast.integer_type -> Ast.with_meta_t Ast.typ' | [] | Binding.type_of_integer_type | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | _: Ast.integer_type -> Ast.with_meta_t Ast.typ' | {
"end_col": 21,
"end_line": 226,
"start_col": 27,
"start_line": 222
} | |
FStar.All.ML | val resolve_record_case_output_extern_type_name (_:env) (_:ident): ML ident | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let resolve_record_case_output_extern_type_name (env:env) (i:ident) =
match H.try_find (global_env_of_env env).ge_out_t i.v with
| Some ({d_decl={v=OutputType ({out_typ_names=names})}}) -> names.typedef_abbrev
| _ ->
(match H.try_find (global_env_of_env env).ge_extern_t i.v with
| Some ({d_decl={v=E... | val resolve_record_case_output_extern_type_name (_:env) (_:ident): ML ident
let resolve_record_case_output_extern_type_name (env: env) (i: ident) = | true | null | false | match H.try_find (global_env_of_env env).ge_out_t i.v with
| Some { d_decl = { v = OutputType { out_typ_names = names } } } -> names.typedef_abbrev
| _ ->
(match H.try_find (global_env_of_env env).ge_extern_t i.v with
| Some { d_decl = { v = ExternType td_names } } -> td_names.typedef_abbrev
| _ ->
(mat... | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.typedef_names",
"Prims.list",
"Ast.out_field",
"Prims.bool",
"Ast.range",
"Ast.comments",
"Ast.__proj__Mktypedef_names__item__typedef_abbrev",
"FStar.Pervasives.Native.option",
"Ast.decl",
"Ast.param",
"Ast.expr",
"Ast.record",
"Ast.either",
"GlobalEnv.... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 resolve_record_case_output_extern_type_name (_:env) (_:ident): ML ident | [] | Binding.resolve_record_case_output_extern_type_name | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> i: Ast.ident -> FStar.All.ML Ast.ident | {
"end_col": 18,
"end_line": 177,
"start_col": 2,
"start_line": 167
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let check_integer_bounds t i =
match t with
| UInt8 -> FStar.UInt.fits i 8
| UInt16 -> FStar.UInt.fits i 16
| UInt32 -> FStar.UInt.fits i 32
| UInt64 -> FStar.UInt.fits i 64 | let check_integer_bounds t i = | false | null | false | match t with
| UInt8 -> FStar.UInt.fits i 8
| UInt16 -> FStar.UInt.fits i 16
| UInt32 -> FStar.UInt.fits i 32
| UInt64 -> FStar.UInt.fits i 64 | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Ast.integer_type",
"Prims.int",
"FStar.UInt.fits",
"Prims.bool"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 check_integer_bounds : t: Ast.integer_type -> i: Prims.int -> Prims.bool | [] | Binding.check_integer_bounds | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | t: Ast.integer_type -> i: Prims.int -> Prims.bool | {
"end_col": 36,
"end_line": 233,
"start_col": 4,
"start_line": 229
} | |
FStar.All.ML | val add_extern_fn (ge: global_env) (i: ident) (d: decl{ExternFn? d.d_decl.v}) : ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let add_extern_fn (ge:global_env) (i:ident) (d:decl{ExternFn? d.d_decl.v}) : ML unit =
H.insert ge.ge_extern_fn i.v d | val add_extern_fn (ge: global_env) (i: ident) (d: decl{ExternFn? d.d_decl.v}) : ML unit
let add_extern_fn (ge: global_env) (i: ident) (d: decl{ExternFn? d.d_decl.v}) : ML unit = | true | null | false | H.insert ge.ge_extern_fn i.v d | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"Prims.b2t",
"Ast.uu___is_ExternFn",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Hashtable.insert",
"Ast.ident'",
"GlobalEnv.__proj__Mkglobal_env__item__ge_extern_fn",
"Prims.unit"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 add_extern_fn (ge: global_env) (i: ident) (d: decl{ExternFn? d.d_decl.v}) : ML unit | [] | Binding.add_extern_fn | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
ge: GlobalEnv.global_env ->
i: Ast.ident ->
d: Ast.decl{ExternFn? (Mkwith_meta_t?.v (Mkdecl?.d_decl d))}
-> FStar.All.ML Prims.unit | {
"end_col": 32,
"end_line": 471,
"start_col": 2,
"start_line": 471
} |
FStar.All.ML | val add_extern_type (ge: global_env) (i: ident) (d: decl{ExternType? d.d_decl.v}) : ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let add_extern_type (ge:global_env) (i:ident) (d:decl{ExternType? d.d_decl.v}) : ML unit =
let insert i = H.insert ge.ge_extern_t i d in
insert i.v;
let td_abbrev = (ExternType?._0 d.d_decl.v).typedef_abbrev in
insert td_abbrev.v | val add_extern_type (ge: global_env) (i: ident) (d: decl{ExternType? d.d_decl.v}) : ML unit
let add_extern_type (ge: global_env) (i: ident) (d: decl{ExternType? d.d_decl.v}) : ML unit = | true | null | false | let insert i = H.insert ge.ge_extern_t i d in
insert i.v;
let td_abbrev = (ExternType?._0 d.d_decl.v).typedef_abbrev in
insert td_abbrev.v | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"Prims.b2t",
"Ast.uu___is_ExternType",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Ast.ident'",
"Prims.unit",
"Ast.__proj__Mktypedef_names__item__typedef_abbrev",
"Ast.__proj__ExternType__item___0",
... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 add_extern_type (ge: global_env) (i: ident) (d: decl{ExternType? d.d_decl.v}) : ML unit | [] | Binding.add_extern_type | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
ge: GlobalEnv.global_env ->
i: Ast.ident ->
d: Ast.decl{ExternType? (Mkwith_meta_t?.v (Mkdecl?.d_decl d))}
-> FStar.All.ML Prims.unit | {
"end_col": 20,
"end_line": 463,
"start_col": 90,
"start_line": 459
} |
FStar.All.ML | val add_global (e: global_env) (i: ident) (d: decl) (t: either decl_attributes macro_signature)
: ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let add_global (e:global_env) (i:ident) (d:decl) (t:either decl_attributes macro_signature) : ML unit =
let insert k v = H.insert e.ge_h k v in
check_shadow e.ge_h i d.d_decl.range;
let env = mk_env e in
let i' = format_identifier env i in
insert i.v (d, t);
insert i'.v (d, t);
match typedef_name... | val add_global (e: global_env) (i: ident) (d: decl) (t: either decl_attributes macro_signature)
: ML unit
let add_global (e: global_env) (i: ident) (d: decl) (t: either decl_attributes macro_signature)
: ML unit = | true | null | false | let insert k v = H.insert e.ge_h k v in
check_shadow e.ge_h i d.d_decl.range;
let env = mk_env e in
let i' = format_identifier env i in
insert i.v (d, t);
insert i'.v (d, t);
match typedef_names d with
| None -> ()
| Some td ->
if td.typedef_abbrev.v <> i.v
then
(check_shadow e.ge_h td.typedef_abbrev d.d_decl.r... | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"Ast.either",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"Binding.typedef_names",
"Prims.unit",
"Ast.typedef_names",
"Prims.op_disEquality",
"Ast.ident'",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.__proj__Mktypedef_names__item_... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 add_global (e: global_env) (i: ident) (d: decl) (t: either decl_attributes macro_signature)
: ML unit | [] | Binding.add_global | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
e: GlobalEnv.global_env ->
i: Ast.ident ->
d: Ast.decl ->
t: Ast.either GlobalEnv.decl_attributes GlobalEnv.macro_signature
-> FStar.All.ML Prims.unit | {
"end_col": 7,
"end_line": 132,
"start_col": 103,
"start_line": 115
} |
FStar.All.ML | val parser_kind_nz (env:global_env) (id:ident) : ML (option bool) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let parser_kind_nz (env:global_env) (id:ident) : ML (option bool) =
match H.try_find env.ge_h id.v with
| Some (_, Inl attrs) -> attrs.parser_kind_nz
| _ -> None | val parser_kind_nz (env:global_env) (id:ident) : ML (option bool)
let parser_kind_nz (env: global_env) (id: ident) : ML (option bool) = | true | null | false | match H.try_find env.ge_h id.v with
| Some (_, Inl attrs) -> attrs.parser_kind_nz
| _ -> None | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"GlobalEnv.decl_attributes",
"GlobalEnv.__proj__Mkdecl_attributes__item__parser_kind_nz",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.tuple2",
"Ast.either",
"GlobalEnv.macro_signature",
"FStar.Pervasives.Native.None",
"Prims.bool",
... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 parser_kind_nz (env:global_env) (id:ident) : ML (option bool) | [] | Binding.parser_kind_nz | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: GlobalEnv.global_env -> id: Ast.ident
-> FStar.All.ML (FStar.Pervasives.Native.option Prims.bool) | {
"end_col": 13,
"end_line": 287,
"start_col": 2,
"start_line": 285
} |
Prims.Tot | val params_of_decl (d: decl) : list param | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let params_of_decl (d:decl) : list param =
match d.d_decl.v with
| ModuleAbbrev _ _
| Define _ _ _
| TypeAbbrev _ _
| Enum _ _ _ -> []
| Record _ params _ _
| CaseType _ params _ -> params
| OutputType _ -> []
| ExternType _ -> []
| ExternFn _ _ ps -> ps | val params_of_decl (d: decl) : list param
let params_of_decl (d: decl) : list param = | false | null | false | match d.d_decl.v with
| ModuleAbbrev _ _ | Define _ _ _ | TypeAbbrev _ _ | Enum _ _ _ -> []
| Record _ params _ _ | CaseType _ params _ -> params
| OutputType _ -> []
| ExternType _ -> []
| ExternFn _ _ ps -> ps | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"total"
] | [
"Ast.decl",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Ast.ident",
"Prims.Nil",
"Ast.param",
"FStar.Pervasives.Native.option",
"Ast.typ",
"Ast.constant",
"Prims.list",
"Ast.enum_case",
"Ast.typedef_names",
"Ast.expr",
"Ast.record",
"Ast.swit... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | true | Binding.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 params_of_decl (d: decl) : list param | [] | Binding.params_of_decl | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | d: Ast.decl -> Prims.list Ast.param | {
"end_col": 25,
"end_line": 80,
"start_col": 2,
"start_line": 71
} |
FStar.All.ML | val add_local (e: env) (i: ident) (t: typ) : ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let add_local (e:env) (i:ident) (t:typ) : ML unit =
check_shadow e.globals.ge_h i t.range;
check_shadow e.locals i t.range;
let i' = format_identifier e i in
H.insert e.locals i.v (i'.v, t, false);
H.insert e.locals i'.v (i'.v, t, false) | val add_local (e: env) (i: ident) (t: typ) : ML unit
let add_local (e: env) (i: ident) (t: typ) : ML unit = | true | null | false | check_shadow e.globals.ge_h i t.range;
check_shadow e.locals i t.range;
let i' = format_identifier e i in
H.insert e.locals i.v (i'.v, t, false);
H.insert e.locals i'.v (i'.v, t, false) | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.typ",
"Hashtable.insert",
"Ast.ident'",
"FStar.Pervasives.Native.tuple3",
"Prims.bool",
"Binding.__proj__Mkenv__item__locals",
"Ast.__proj__Mkwith_meta_t__item__v",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Binding.format_identifier",
"Binding.check_... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 add_local (e: env) (i: ident) (t: typ) : ML unit | [] | Binding.add_local | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> t: Ast.typ -> FStar.All.ML Prims.unit | {
"end_col": 41,
"end_line": 139,
"start_col": 2,
"start_line": 135
} |
FStar.All.ML | val bit_order_of_integral_typ (_:env) (_:typ) (_:range) : ML bitfield_bit_order | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let bit_order_of_integral_typ (env:env) (t:typ) r
: ML bitfield_bit_order
= let t = unfold_typ_abbrev_and_enum env t in
if not (typ_is_integral env t)
then error (Printf.sprintf "Expected and integral type, got %s"
(print_typ t))
r;
m... | val bit_order_of_integral_typ (_:env) (_:typ) (_:range) : ML bitfield_bit_order
let bit_order_of_integral_typ (env: env) (t: typ) r : ML bitfield_bit_order = | true | null | false | let t = unfold_typ_abbrev_and_enum env t in
if not (typ_is_integral env t)
then error (Printf.sprintf "Expected and integral type, got %s" (print_typ t)) r;
match tag_and_bit_order_of_integral_typ env t with
| _, None -> failwith "Impossible"
| _, Some order -> order | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.typ",
"Ast.range",
"FStar.Pervasives.Native.option",
"Ast.integer_type",
"FStar.All.failwith",
"Ast.bitfield_bit_order",
"FStar.Pervasives.Native.tuple2",
"Prims.l_imp",
"Prims.b2t",
"FStar.Pervasives.Native.uu___is_Some",
"FStar.Pervasives.Native.snd",
"FStar.Pervasives.... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 bit_order_of_integral_typ (_:env) (_:typ) (_:range) : ML bitfield_bit_order | [] | Binding.bit_order_of_integral_typ | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> t: Ast.typ -> r: Ast.range -> FStar.All.ML Ast.bitfield_bit_order | {
"end_col": 28,
"end_line": 375,
"start_col": 3,
"start_line": 368
} |
FStar.All.ML | val add_output_type (ge: global_env) (i: ident) (d: decl{OutputType? d.d_decl.v}) : ML unit | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let add_output_type (ge:global_env) (i:ident) (d:decl{OutputType? d.d_decl.v}) : ML unit =
let insert i = H.insert ge.ge_out_t i d in
insert i.v;
let td_abbrev = (OutputType?._0 d.d_decl.v).out_typ_names.typedef_abbrev in
insert td_abbrev.v | val add_output_type (ge: global_env) (i: ident) (d: decl{OutputType? d.d_decl.v}) : ML unit
let add_output_type (ge: global_env) (i: ident) (d: decl{OutputType? d.d_decl.v}) : ML unit = | true | null | false | let insert i = H.insert ge.ge_out_t i d in
insert i.v;
let td_abbrev = (OutputType?._0 d.d_decl.v).out_typ_names.typedef_abbrev in
insert td_abbrev.v | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.decl",
"Prims.b2t",
"Ast.uu___is_OutputType",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.decl'",
"Ast.__proj__Mkdecl__item__d_decl",
"Ast.ident'",
"Prims.unit",
"Ast.__proj__Mktypedef_names__item__typedef_abbrev",
"Ast.__proj__Mkout_typ__item__out_typ_... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 add_output_type (ge: global_env) (i: ident) (d: decl{OutputType? d.d_decl.v}) : ML unit | [] | Binding.add_output_type | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
ge: GlobalEnv.global_env ->
i: Ast.ident ->
d: Ast.decl{OutputType? (Mkwith_meta_t?.v (Mkdecl?.d_decl d))}
-> FStar.All.ML Prims.unit | {
"end_col": 20,
"end_line": 452,
"start_col": 90,
"start_line": 448
} |
FStar.All.ML | val size_of_integral_typ (_:env) (_:typ) (_:range) : ML int | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let size_of_integral_typ (env:env) (t:typ) r
: ML int
= let t = unfold_typ_abbrev_and_enum env t in
if not (typ_is_integral env t)
then error (Printf.sprintf "Expected and integral type, got %s"
(print_typ t))
r;
match tag_of_integral... | val size_of_integral_typ (_:env) (_:typ) (_:range) : ML int
let size_of_integral_typ (env: env) (t: typ) r : ML int = | true | null | false | let t = unfold_typ_abbrev_and_enum env t in
if not (typ_is_integral env t)
then error (Printf.sprintf "Expected and integral type, got %s" (print_typ t)) r;
match tag_of_integral_typ env t with
| None -> failwith "Impossible"
| Some UInt8 -> 1
| Some UInt16 -> 2
| Some UInt32 -> 4
| Some UInt64 -> 8 | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.typ",
"Ast.range",
"FStar.All.failwith",
"Prims.int",
"FStar.Pervasives.Native.option",
"Ast.integer_type",
"Binding.tag_of_integral_typ",
"Prims.unit",
"Ast.error",
"Prims.string",
"FStar.Printf.sprintf",
"Ast.print_typ",
"Prims.bool",
"Prims.op_Negation",
"Binding... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 size_of_integral_typ (_:env) (_:typ) (_:range) : ML int | [] | Binding.size_of_integral_typ | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> t: Ast.typ -> r: Ast.range -> FStar.All.ML Prims.int | {
"end_col": 22,
"end_line": 364,
"start_col": 3,
"start_line": 354
} |
FStar.All.ML | val lookup_expr_name (_:env) (_:ident) : ML typ | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup_expr_name (e:env) (i:ident) : ML typ =
match lookup e i with
| Inl t -> t
| Inr (_, Inr ({ macro_arguments_t=[]; macro_result_t=t })) -> t
| Inr _ ->
error (Printf.sprintf "Variable %s is not an expression identifier" (ident_to_string i)) i.range | val lookup_expr_name (_:env) (_:ident) : ML typ
let lookup_expr_name (e: env) (i: ident) : ML typ = | true | null | false | match lookup e i with
| Inl t -> t
| Inr (_, Inr { macro_arguments_t = [] ; macro_result_t = t }) -> t
| Inr _ ->
error (Printf.sprintf "Variable %s is not an expression identifier" (ident_to_string i)) i.range | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.typ",
"Ast.decl",
"FStar.Pervasives.Native.option",
"Ast.expr",
"FStar.Pervasives.Native.tuple2",
"Ast.either",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"Ast.error",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"Ast.__proj__Mkwith_meta_t_... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_expr_name (_:env) (_:ident) : ML typ | [] | Binding.lookup_expr_name | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML Ast.typ | {
"end_col": 100,
"end_line": 184,
"start_col": 2,
"start_line": 180
} |
FStar.All.ML | val check_out_expr (env: env) (oe0: out_expr) : ML (oe: out_expr{Some? oe.out_expr_meta}) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let rec check_out_expr (env:env) (oe0:out_expr)
: ML (oe:out_expr{Some? oe.out_expr_meta}) =
match oe0.out_expr_node.v with
| OE_id i ->
let t = lookup_expr_name env i in
{oe0 with
out_expr_meta = Some ({
out_expr_base_t = t;
out_expr_t = t;
out_expr_bit_width = None... | val check_out_expr (env: env) (oe0: out_expr) : ML (oe: out_expr{Some? oe.out_expr_meta})
let rec check_out_expr (env: env) (oe0: out_expr) : ML (oe: out_expr{Some? oe.out_expr_meta}) = | true | null | false | match oe0.out_expr_node.v with
| OE_id i ->
let t = lookup_expr_name env i in
{
oe0 with
out_expr_meta = Some ({ out_expr_base_t = t; out_expr_t = t; out_expr_bit_width = None })
}
| OE_star oe ->
let oe = check_out_expr env oe in
let { out_expr_base_t = oe_bt ; out_expr_t = oe_t ; out_expr_bit_width ... | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.out_expr",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.out_expr'",
"Ast.__proj__Mkout_expr__item__out_expr_node",
"Ast.ident",
"Ast.Mkout_expr",
"FStar.Pervasives.Native.Some",
"Ast.out_expr_meta_t",
"Ast.Mkout_expr_meta_t",
"FStar.Pervasives.Native.None",
"Prims.int",
"Pr... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 check_out_expr (env: env) (oe0: out_expr) : ML (oe: out_expr{Some? oe.out_expr_meta}) | [
"recursion"
] | Binding.check_out_expr | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> oe0: Ast.out_expr
-> FStar.All.ML (oe: Ast.out_expr{Some? (Mkout_expr?.out_expr_meta oe)}) | {
"end_col": 56,
"end_line": 606,
"start_col": 2,
"start_line": 523
} |
FStar.All.ML | val mk_env (g:global_env) : ML env | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let mk_env (g:global_env) =
{ this = None;
locals = H.create 10;
globals = g } | val mk_env (g:global_env) : ML env
let mk_env (g: global_env) = | true | null | false | { this = None; locals = H.create 10; globals = g } | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"GlobalEnv.global_env",
"Binding.Mkenv",
"FStar.Pervasives.Native.None",
"Ast.ident",
"Binding.env",
"Binding.local_env",
"Hashtable.create",
"Ast.ident'",
"FStar.Pervasives.Native.tuple3",
"Ast.typ",
"Prims.bool",
"Hashtable.t"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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_env (g:global_env) : ML env | [] | Binding.mk_env | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | g: GlobalEnv.global_env -> FStar.All.ML Binding.env | {
"end_col": 15,
"end_line": 52,
"start_col": 4,
"start_line": 50
} |
FStar.All.ALL | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let check_shadow (e:H.t ident' 'a) (i:ident) (r:range) =
match H.try_find e i.v with
| Some j ->
let msg = Printf.sprintf "Declaration %s clashes with previous declaration" (ident_to_string i) in
error msg i.range
| _ -> () | let check_shadow (e: H.t ident' 'a) (i: ident) (r: range) = | true | null | false | match H.try_find e i.v with
| Some j ->
let msg = Printf.sprintf "Declaration %s clashes with previous declaration" (ident_to_string i) in
error msg i.range
| _ -> () | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [] | [
"Hashtable.t",
"Ast.ident'",
"Ast.ident",
"Ast.range",
"Ast.error",
"Prims.unit",
"Ast.__proj__Mkwith_meta_t__item__range",
"Prims.string",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"FStar.Pervasives.Native.option",
"Hashtable.try_find",
"Ast.__proj__Mkwith_meta_t__item__v"
] | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 check_shadow : e: Hashtable.t Ast.ident' 'a -> i: Ast.ident -> r: Ast.range -> FStar.All.ALL Prims.unit | [] | Binding.check_shadow | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Hashtable.t Ast.ident' 'a -> i: Ast.ident -> r: Ast.range -> FStar.All.ALL Prims.unit | {
"end_col": 11,
"end_line": 87,
"start_col": 2,
"start_line": 83
} | |
FStar.All.ALL | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let copy_env (e:env) =
let locals = H.create 10 in
H.iter (fun k v -> H.insert locals k v) e.locals;
{
this = e.this;
globals = e.globals;
locals = locals
} | let copy_env (e: env) = | true | null | false | let locals = H.create 10 in
H.iter (fun k v -> H.insert locals k v) e.locals;
{ this = e.this; globals = e.globals; locals = locals } | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"trivial_postcondition"
] | [
"Binding.env",
"Binding.Mkenv",
"Binding.__proj__Mkenv__item__this",
"Binding.__proj__Mkenv__item__globals",
"Prims.unit",
"Hashtable.iter",
"Ast.ident'",
"FStar.Pervasives.Native.tuple3",
"Ast.typ",
"Prims.bool",
"Hashtable.insert",
"Binding.__proj__Mkenv__item__locals",
"Hashtable.t",
"H... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 copy_env : e: Binding.env -> FStar.All.ALL Binding.env | [] | Binding.copy_env | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> FStar.All.ALL Binding.env | {
"end_col": 3,
"end_line": 61,
"start_col": 22,
"start_line": 54
} | |
FStar.All.ML | val is_used (e: env) (i: ident) : ML bool | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let is_used (e:env) (i:ident) : ML bool =
match H.try_find e.locals i.v with
| Some (_, t, b) -> b
| _ -> error (Printf.sprintf "Variable %s not found" (ident_to_string i)) i.range | val is_used (e: env) (i: ident) : ML bool
let is_used (e: env) (i: ident) : ML bool = | true | null | false | match H.try_find e.locals i.v with
| Some (_, t, b) -> b
| _ -> error (Printf.sprintf "Variable %s not found" (ident_to_string i)) i.range | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.ident'",
"Ast.typ",
"Prims.bool",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.tuple3",
"Ast.error",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"Ast.__proj__Mkwith_meta_t__item__range",
"Hashtable.try_find",
"Binding.__proj__Mkenv__item__loc... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 is_used (e: env) (i: ident) : ML bool | [] | Binding.is_used | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML Prims.bool | {
"end_col": 84,
"end_line": 220,
"start_col": 2,
"start_line": 218
} |
FStar.All.ML | val parser_may_fail (env: env) (t: typ) : ML bool | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let parser_may_fail (env:env) (t:typ) : ML bool =
match t.v with
| Pointer _ -> true
| Type_app hd _ _ ->
match lookup env hd with
| Inr (d, Inl attrs) -> attrs.may_fail
| _ -> false | val parser_may_fail (env: env) (t: typ) : ML bool
let parser_may_fail (env: env) (t: typ) : ML bool = | true | null | false | match t.v with
| Pointer _ -> true
| Type_app hd _ _ ->
match lookup env hd with
| Inr (d, Inl attrs) -> attrs.may_fail
| _ -> false | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.typ",
"Ast.__proj__Mkwith_meta_t__item__v",
"Ast.typ'",
"Ast.with_meta_t",
"Prims.bool",
"Ast.ident",
"Ast.t_kind",
"Prims.list",
"Ast.either",
"Ast.expr",
"Ast.out_expr",
"Ast.decl",
"GlobalEnv.decl_attributes",
"GlobalEnv.__proj__Mkdecl_attributes__item__may_fail",
... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 parser_may_fail (env: env) (t: typ) : ML bool | [] | Binding.parser_may_fail | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | env: Binding.env -> t: Ast.typ -> FStar.All.ML Prims.bool | {
"end_col": 16,
"end_line": 253,
"start_col": 2,
"start_line": 248
} |
FStar.All.ML | val lookup (e: env) (i: ident) : ML (either typ (decl & either decl_attributes macro_signature)) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let lookup (e:env) (i:ident) : ML (either typ (decl & either decl_attributes macro_signature)) =
match try_lookup e i with
| None -> error (Printf.sprintf "Variable %s not found" (ident_to_string i)) i.range
| Some v -> v | val lookup (e: env) (i: ident) : ML (either typ (decl & either decl_attributes macro_signature))
let lookup (e: env) (i: ident) : ML (either typ (decl & either decl_attributes macro_signature)) = | true | null | false | match try_lookup e i with
| None -> error (Printf.sprintf "Variable %s not found" (ident_to_string i)) i.range
| Some v -> v | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.error",
"Ast.either",
"Ast.typ",
"FStar.Pervasives.Native.tuple2",
"Ast.decl",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"FStar.Printf.sprintf",
"Ast.ident_to_string",
"Ast.__proj__Mkwith_meta_t__item__range",
"Ast.ident'",
"FStar.Pervasives... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 (e: env) (i: ident) : ML (either typ (decl & either decl_attributes macro_signature)) | [] | Binding.lookup | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident
-> FStar.All.ML
(Ast.either Ast.typ (Ast.decl * Ast.either GlobalEnv.decl_attributes GlobalEnv.macro_signature)) | {
"end_col": 15,
"end_line": 157,
"start_col": 2,
"start_line": 155
} |
FStar.All.ML | val try_lookup (e: env) (i: ident)
: ML (option (either typ (decl & either decl_attributes macro_signature))) | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let try_lookup (e:env) (i:ident) : ML (option (either typ (decl & either decl_attributes macro_signature))) =
match H.try_find e.locals i.v with
| Some (_, t, true) ->
Some (Inl t)
| Some (j, t, false) -> //mark it as used
H.remove e.locals i.v;
H.insert e.locals i.v (j, t, true);
Some (In... | val try_lookup (e: env) (i: ident)
: ML (option (either typ (decl & either decl_attributes macro_signature)))
let try_lookup (e: env) (i: ident)
: ML (option (either typ (decl & either decl_attributes macro_signature))) = | true | null | false | match H.try_find e.locals i.v with
| Some (_, t, true) -> Some (Inl t)
| Some (j, t, false) ->
H.remove e.locals i.v;
H.insert e.locals i.v (j, t, true);
Some (Inl t)
| None ->
match H.try_find e.globals.ge_h i.v with
| Some d -> Some (Inr d)
| None -> None | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"Ast.ident'",
"Ast.typ",
"FStar.Pervasives.Native.Some",
"Ast.either",
"FStar.Pervasives.Native.tuple2",
"Ast.decl",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"Ast.Inl",
"FStar.Pervasives.Native.option",
"Prims.unit",
"Hashtable.insert",
"FStar... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 try_lookup (e: env) (i: ident)
: ML (option (either typ (decl & either decl_attributes macro_signature))) | [] | Binding.try_lookup | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident
-> FStar.All.ML
(FStar.Pervasives.Native.option (Ast.either Ast.typ
(Ast.decl * Ast.either GlobalEnv.decl_attributes GlobalEnv.macro_signature))) | {
"end_col": 18,
"end_line": 152,
"start_col": 2,
"start_line": 142
} |
FStar.All.ML | val format_identifier (e: env) (i: ident) : ML ident | [
{
"abbrev": false,
"full_module": "GlobalEnv",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"sho... | false | let format_identifier (e:env) (i:ident) : ML ident =
let j =
match String.list_of_string i.v.name with
| [] ->
failwith "Impossible: empty identifier"
| c0::cs ->
if FStar.Char.lowercase c0 = c0
then i //it starts with a lowercase symbol; that's ok
else //otherwise, add an ... | val format_identifier (e: env) (i: ident) : ML ident
let format_identifier (e: env) (i: ident) : ML ident = | true | null | false | let j =
match String.list_of_string i.v.name with
| [] -> failwith "Impossible: empty identifier"
| c0 :: cs ->
if FStar.Char.lowercase c0 = c0
then i
else { i with v = { i.v with name = Ast.reserved_prefix ^ i.v.name } }
in
match H.try_find e.globals.ge_h j.v, H.try_find e.locals j.v with
| None, Non... | {
"checked_file": "Binding.fst.checked",
"dependencies": [
"prims.fst.checked",
"Options.fsti.checked",
"Hashtable.fsti.checked",
"GlobalEnv.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.String.fsti.checked",
"FStar.ST.fst.checked",
"FStar.Printf.fst.checked",
"FStar.Pervasives... | [
"ml"
] | [
"Binding.env",
"Ast.ident",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.option",
"Ast.decl",
"Ast.either",
"GlobalEnv.decl_attributes",
"GlobalEnv.macro_signature",
"FStar.Pervasives.Native.tuple3",
"Ast.ident'",
"Ast.typ",
"Prims.bool",
"Ast.error",
"Ast.__proj__Mkwith_meta... | [] | (*
Copyright 2019 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 as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | false | false | Binding.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 format_identifier (e: env) (i: ident) : ML ident | [] | Binding.format_identifier | {
"file_name": "src/3d/Binding.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | e: Binding.env -> i: Ast.ident -> FStar.All.ML Ast.ident | {
"end_col": 21,
"end_line": 113,
"start_col": 52,
"start_line": 95
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.