file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
CDDL.Spec.fsti
CDDL.Spec.list_ghost_forall2
val list_ghost_forall2 (#t1 #t2: Type) (f: (t1 -> t2 -> GTot prop)) (l1: list t1) (l2: list t2) : GTot bool (decreases l1)
val list_ghost_forall2 (#t1 #t2: Type) (f: (t1 -> t2 -> GTot prop)) (l1: list t1) (l2: list t2) : GTot bool (decreases l1)
let rec list_ghost_forall2 (#t1 #t2: Type) (f: t1 -> t2 -> GTot prop) (l1: list t1) (l2: list t2) : GTot bool (decreases l1) = match l1, l2 with | [], [] -> true | a1 :: q1, a2 :: q2 -> FStar.StrongExcludedMiddle.strong_excluded_middle (f a1 a2) && list_ghost_forall2 f q1 q2 | _ -> false
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 544, "start_col": 0, "start_line": 534 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: t1 -> _: t2 -> Prims.GTot Prims.prop) -> l1: Prims.list t1 -> l2: Prims.list t2 -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial", "" ]
[]
[ "Prims.prop", "Prims.list", "FStar.Pervasives.Native.Mktuple2", "Prims.op_AmpAmp", "FStar.StrongExcludedMiddle.strong_excluded_middle", "CDDL.Spec.list_ghost_forall2", "FStar.Pervasives.Native.tuple2", "Prims.bool" ]
[ "recursion" ]
false
false
false
false
false
let rec list_ghost_forall2 (#t1 #t2: Type) (f: (t1 -> t2 -> GTot prop)) (l1: list t1) (l2: list t2) : GTot bool (decreases l1) =
match l1, l2 with | [], [] -> true | a1 :: q1, a2 :: q2 -> FStar.StrongExcludedMiddle.strong_excluded_middle (f a1 a2) && list_ghost_forall2 f q1 q2 | _ -> false
false
CDDL.Spec.fsti
CDDL.Spec.list_ghost_forall2_map_r
val list_ghost_forall2_map_r (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (f: (t1 -> t2)) (l: list t1) : Lemma (requires (forall x. r x (f x))) (ensures (list_ghost_forall2 r l (List.Tot.map f l)))
val list_ghost_forall2_map_r (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (f: (t1 -> t2)) (l: list t1) : Lemma (requires (forall x. r x (f x))) (ensures (list_ghost_forall2 r l (List.Tot.map f l)))
let rec list_ghost_forall2_map_r (#t1 #t2: Type) (r: t1 -> t2 -> prop) (f: t1 -> t2) (l: list t1) : Lemma (requires (forall x . r x (f x))) (ensures (list_ghost_forall2 r l (List.Tot.map f l))) = match l with | [] -> () | _ :: q -> list_ghost_forall2_map_r r f q
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 632, "start_col": 0, "start_line": 622 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: (_: t1 -> _: t2 -> Prims.prop) -> f: (_: t1 -> t2) -> l: Prims.list t1 -> FStar.Pervasives.Lemma (requires forall (x: t1). r x (f x)) (ensures CDDL.Spec.list_ghost_forall2 r l (FStar.List.Tot.Base.map f l))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.prop", "Prims.list", "CDDL.Spec.list_ghost_forall2_map_r", "Prims.unit", "Prims.l_Forall", "Prims.squash", "Prims.b2t", "CDDL.Spec.list_ghost_forall2", "FStar.List.Tot.Base.map", "Prims.Nil", "FStar.Pervasives.pattern" ]
[ "recursion" ]
false
false
true
false
false
let rec list_ghost_forall2_map_r (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (f: (t1 -> t2)) (l: list t1) : Lemma (requires (forall x. r x (f x))) (ensures (list_ghost_forall2 r l (List.Tot.map f l))) =
match l with | [] -> () | _ :: q -> list_ghost_forall2_map_r r f q
false
CDDL.Spec.fsti
CDDL.Spec.bstr_cbor
val bstr_cbor (data_item_order: (Cbor.raw_data_item -> Cbor.raw_data_item -> bool)) (ty: typ) : typ
val bstr_cbor (data_item_order: (Cbor.raw_data_item -> Cbor.raw_data_item -> bool)) (ty: typ) : typ
let bstr_cbor (data_item_order: (Cbor.raw_data_item -> Cbor.raw_data_item -> bool)) (ty: typ) // TODO: enable recursion for this construct? If so, we need to replace << with some serialization size : typ = fun x -> Cbor.String? x && Cbor.String?.typ x = Cbor.cbor_major_type_byte_string && FStar.StrongExcluded...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 869, "start_col": 0, "start_line": 859 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
data_item_order: (_: CBOR.Spec.Type.raw_data_item -> _: CBOR.Spec.Type.raw_data_item -> Prims.bool) -> ty: CDDL.Spec.typ -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "Prims.bool", "CDDL.Spec.typ", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_String", "Prims.op_Equality", "CBOR.Spec.Constants.major_type_t", "CBOR.Spec.Type.__proj__String__item__typ", "CBOR.Spec.Constants.c...
[]
false
false
false
true
false
let bstr_cbor (data_item_order: (Cbor.raw_data_item -> Cbor.raw_data_item -> bool)) (ty: typ) : typ =
fun x -> Cbor.String? x && Cbor.String?.typ x = Cbor.cbor_major_type_byte_string && FStar.StrongExcludedMiddle.strong_excluded_middle (exists y. Cbor.serialize_cbor y == Cbor.String?.v x /\ Cbor.data_item_wf data_item_order y /\ ty y == true)
false
Steel.Primitive.ForkJoin.fst
Steel.Primitive.ForkJoin.join
val join (#p:vprop) (t:thread p) : SteelT unit emp (fun _ -> p)
val join (#p:vprop) (t:thread p) : SteelT unit emp (fun _ -> p)
let rec join (#p:vprop) (t:thread p) : SteelT unit emp (fun _ -> p) = let _ = L.acquire t.l in let b = read_refine_pt (maybe_p p) t.r in if b then (rewrite_slprop (lock_inv_pred t.r p b) p (fun _ -> ()); noop ()) else (rewrite_slprop (lock_inv_pred t.r p b) (lock_inv_pred t.r p false) (fun _...
{ "file_name": "lib/steel/Steel.Primitive.ForkJoin.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 103, "start_col": 0, "start_line": 93 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.SpinLock.fsti.checked", "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti....
[ { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": true, "full_module": "Steel.SpinLock", "short_module": "L" }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Steel.Primitive.ForkJoin.thread p -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Effect.Common.vprop", "Steel.Primitive.ForkJoin.thread", "Steel.Effect.Atomic.noop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Prims.unit", "Steel.Effect.Atomic.rewrite_slprop", "Steel.Primitive.ForkJoin.lock_inv_pred", "Steel.Primitive.ForkJoin.__proj...
[ "recursion" ]
false
true
false
false
false
let rec join (#p: vprop) (t: thread p) : SteelT unit emp (fun _ -> p) =
let _ = L.acquire t.l in let b = read_refine_pt (maybe_p p) t.r in if b then (rewrite_slprop (lock_inv_pred t.r p b) p (fun _ -> ()); noop ()) else (rewrite_slprop (lock_inv_pred t.r p b) (lock_inv_pred t.r p false) (fun _ -> ()); intro_exists false (lock_inv_pred t.r p); L.release t.l; join t)
false
CDDL.Spec.fsti
CDDL.Spec.list_for_all_filter_invariant
val list_for_all_filter_invariant (#t: Type) (p f: (t -> bool)) (l: list t) : Lemma (requires (List.Tot.for_all p l == true)) (ensures (List.Tot.for_all p (List.Tot.filter f l) == true)) [SMTPat (List.Tot.for_all p (List.Tot.filter f l))]
val list_for_all_filter_invariant (#t: Type) (p f: (t -> bool)) (l: list t) : Lemma (requires (List.Tot.for_all p l == true)) (ensures (List.Tot.for_all p (List.Tot.filter f l) == true)) [SMTPat (List.Tot.for_all p (List.Tot.filter f l))]
let rec list_for_all_filter_invariant (#t: Type) (p: t -> bool) (f: t -> bool) (l: list t) : Lemma (requires (List.Tot.for_all p l == true)) (ensures (List.Tot.for_all p (List.Tot.filter f l) == true)) [SMTPat (List.Tot.for_all p (List.Tot.filter f l))] = match l with | [] -> () | _ :: q -> list_for_a...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 658, "start_col": 0, "start_line": 647 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: (_: t -> Prims.bool) -> f: (_: t -> Prims.bool) -> l: Prims.list t -> FStar.Pervasives.Lemma (requires FStar.List.Tot.Base.for_all p l == true) (ensures FStar.List.Tot.Base.for_all p (FStar.List.Tot.Base.filter f l) == true) [SMTPat (FStar.List.Tot.Base.for_all p (FStar.List.Tot.Base.filter f l))]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.bool", "Prims.list", "CDDL.Spec.list_for_all_filter_invariant", "Prims.unit", "Prims.eq2", "FStar.List.Tot.Base.for_all", "Prims.squash", "FStar.List.Tot.Base.filter", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil" ]
[ "recursion" ]
false
false
true
false
false
let rec list_for_all_filter_invariant (#t: Type) (p f: (t -> bool)) (l: list t) : Lemma (requires (List.Tot.for_all p l == true)) (ensures (List.Tot.for_all p (List.Tot.filter f l) == true)) [SMTPat (List.Tot.for_all p (List.Tot.filter f l))] =
match l with | [] -> () | _ :: q -> list_for_all_filter_invariant p f q
false
CDDL.Spec.fsti
CDDL.Spec.cut_map_group_sub
val cut_map_group_sub (#b: _) (key: bounded_typ_gen b) (mg: map_group b) : Lemma ((cut_map_group key mg) `is_sub_map_group_of` mg)
val cut_map_group_sub (#b: _) (key: bounded_typ_gen b) (mg: map_group b) : Lemma ((cut_map_group key mg) `is_sub_map_group_of` mg)
let cut_map_group_sub #b (key: bounded_typ_gen b) (mg: map_group b) : Lemma (cut_map_group key mg `is_sub_map_group_of` mg) = list_ghost_forall2_map_l is_sub_map_group_entry_of (cut_map_group_entry key) mg.one; list_ghost_forall2_map_l is_sub_map_group_entry_of (cut_map_group_entry key) mg.zero_or_one; list...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 643, "start_col": 0, "start_line": 634 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
key: CDDL.Spec.bounded_typ_gen b -> mg: CDDL.Spec.map_group b -> FStar.Pervasives.Lemma (ensures CDDL.Spec.is_sub_map_group_of (CDDL.Spec.cut_map_group key mg) mg)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.map_group", "CDDL.Spec.map_group_included_pointwise_correct", "CDDL.Spec.cut_map_group", "Prims.unit", "CDDL.Spec.list_ghost_forall2_map_l", "CDDL.Spec.map_group_entry", "CDDL.Spec.is_sub_map_...
[]
true
false
true
false
false
let cut_map_group_sub #b (key: bounded_typ_gen b) (mg: map_group b) : Lemma ((cut_map_group key mg) `is_sub_map_group_of` mg) =
list_ghost_forall2_map_l is_sub_map_group_entry_of (cut_map_group_entry key) mg.one; list_ghost_forall2_map_l is_sub_map_group_entry_of (cut_map_group_entry key) mg.zero_or_one; list_ghost_forall2_map_l is_sub_map_group_entry_of (cut_map_group_entry key) mg.zero_or_more; map_group_included_pointwise_correct (cut_map_gr...
false
CDDL.Spec.fsti
CDDL.Spec.list_ghost_forall2_map_l
val list_ghost_forall2_map_l (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (f: (t2 -> t1)) (l: list t2) : Lemma (requires (forall x. r (f x) x)) (ensures (list_ghost_forall2 r (List.Tot.map f l) l))
val list_ghost_forall2_map_l (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (f: (t2 -> t1)) (l: list t2) : Lemma (requires (forall x. r (f x) x)) (ensures (list_ghost_forall2 r (List.Tot.map f l) l))
let rec list_ghost_forall2_map_l (#t1 #t2: Type) (r: t1 -> t2 -> prop) (f: t2 -> t1) (l: list t2) : Lemma (requires (forall x . r (f x) x)) (ensures (list_ghost_forall2 r (List.Tot.map f l) l)) = match l with | [] -> () | _ :: q -> list_ghost_forall2_map_l r f q
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 620, "start_col": 0, "start_line": 610 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: (_: t1 -> _: t2 -> Prims.prop) -> f: (_: t2 -> t1) -> l: Prims.list t2 -> FStar.Pervasives.Lemma (requires forall (x: t2). r (f x) x) (ensures CDDL.Spec.list_ghost_forall2 r (FStar.List.Tot.Base.map f l) l)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.prop", "Prims.list", "CDDL.Spec.list_ghost_forall2_map_l", "Prims.unit", "Prims.l_Forall", "Prims.squash", "Prims.b2t", "CDDL.Spec.list_ghost_forall2", "FStar.List.Tot.Base.map", "Prims.Nil", "FStar.Pervasives.pattern" ]
[ "recursion" ]
false
false
true
false
false
let rec list_ghost_forall2_map_l (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (f: (t2 -> t1)) (l: list t2) : Lemma (requires (forall x. r (f x) x)) (ensures (list_ghost_forall2 r (List.Tot.map f l) l)) =
match l with | [] -> () | _ :: q -> list_ghost_forall2_map_l r f q
false
CDDL.Spec.fsti
CDDL.Spec.t_map_rec
val t_map_rec (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> map_group (Some b)))) (x: Cbor.raw_data_item) : GTot bool (decreases x)
val t_map_rec (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> map_group (Some b)))) (x: Cbor.raw_data_item) : GTot bool (decreases x)
let rec t_map_rec (phi: (b: Cbor.raw_data_item) -> (bounded_typ b -> map_group (Some b))) (x: Cbor.raw_data_item) : GTot bool (decreases x) = Cbor.Map? x && matches_map_group (phi x (t_map_rec phi)) (Cbor.Map?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 59, "end_line": 804, "start_col": 0, "start_line": 798 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
phi: (b: CBOR.Spec.Type.raw_data_item -> _: CDDL.Spec.bounded_typ b -> CDDL.Spec.map_group (FStar.Pervasives.Native.Some b)) -> x: CBOR.Spec.Type.raw_data_item -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial", "" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ", "CDDL.Spec.map_group", "FStar.Pervasives.Native.Some", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Map", "CDDL.Spec.matches_map_group", "CDDL.Spec.t_map_rec", "CBOR.Spec.Type.__proj__Map__item__v", "Prims.bool" ]
[ "recursion" ]
false
false
false
false
false
let rec t_map_rec (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> map_group (Some b)))) (x: Cbor.raw_data_item) : GTot bool (decreases x) =
Cbor.Map? x && matches_map_group (phi x (t_map_rec phi)) (Cbor.Map?.v x)
false
CDDL.Spec.fsti
CDDL.Spec.multi_rec
val multi_rec (phi_base: typ) (phi_array: (b: Cbor.raw_data_item -> bounded_typ b -> array_group3 (Some b))) (phi_map: (b: Cbor.raw_data_item -> bounded_typ b -> map_group (Some b))) (phi_tag: (U64.t -> b: Cbor.raw_data_item -> bounded_typ b -> bounded_typ b)) (x: Cbor.raw_data_item) :...
val multi_rec (phi_base: typ) (phi_array: (b: Cbor.raw_data_item -> bounded_typ b -> array_group3 (Some b))) (phi_map: (b: Cbor.raw_data_item -> bounded_typ b -> map_group (Some b))) (phi_tag: (U64.t -> b: Cbor.raw_data_item -> bounded_typ b -> bounded_typ b)) (x: Cbor.raw_data_item) :...
let rec multi_rec (phi_base: typ) (phi_array: (b: Cbor.raw_data_item) -> bounded_typ b -> array_group3 (Some b)) (phi_map: (b: Cbor.raw_data_item) -> bounded_typ b -> map_group (Some b)) (phi_tag: U64.t -> (b: Cbor.raw_data_item) -> bounded_typ b -> bounded_typ b) (x: Cbor.raw_data_item) : GTot bool (decrea...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 842, "start_col": 0, "start_line": 825 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
phi_base: CDDL.Spec.typ -> phi_array: (b: CBOR.Spec.Type.raw_data_item -> _: CDDL.Spec.bounded_typ b -> CDDL.Spec.array_group3 (FStar.Pervasives.Native.Some b)) -> phi_map: (b: CBOR.Spec.Type.raw_data_item -> _: CDDL.Spec.bounded_typ b -> CDDL.Spec.map_group (FStar.Pervasive...
Prims.GTot
[ "sometrivial", "" ]
[]
[ "CDDL.Spec.typ", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ", "CDDL.Spec.array_group3", "FStar.Pervasives.Native.Some", "CDDL.Spec.map_group", "FStar.UInt64.t", "Prims.op_BarBar", "Prims.list", "Prims.b2t", "FStar.UInt.fits", "FStar.List.Tot.Base.length", "FStar.UInt64.n", "CDD...
[ "recursion" ]
false
false
false
false
false
let rec multi_rec (phi_base: typ) (phi_array: (b: Cbor.raw_data_item -> bounded_typ b -> array_group3 (Some b))) (phi_map: (b: Cbor.raw_data_item -> bounded_typ b -> map_group (Some b))) (phi_tag: (U64.t -> b: Cbor.raw_data_item -> bounded_typ b -> bounded_typ b)) (x: Cbor.raw_data_item) ...
phi_base x || (match x with | Cbor.Array v -> match_array_group3 (phi_array x (multi_rec phi_base phi_array phi_map phi_tag)) v | Cbor.Map v -> matches_map_group (phi_map x (multi_rec phi_base phi_array phi_map phi_tag)) v | Cbor.Tagged tag v -> phi_tag tag x (multi_rec phi_base phi_array phi_map phi_tag) v ...
false
CDDL.Spec.fsti
CDDL.Spec.list_ghost_assoc_for_all
val list_ghost_assoc_for_all (#key #value: Type) (p: ((key & value) -> bool)) (k: key) (m: list (key & value)) : Lemma (requires (List.Tot.for_all p m == true)) (ensures (match Cbor.list_ghost_assoc k m with | None -> True | Some y -> p (k, y))) (decre...
val list_ghost_assoc_for_all (#key #value: Type) (p: ((key & value) -> bool)) (k: key) (m: list (key & value)) : Lemma (requires (List.Tot.for_all p m == true)) (ensures (match Cbor.list_ghost_assoc k m with | None -> True | Some y -> p (k, y))) (decre...
let rec list_ghost_assoc_for_all (#key: Type) (#value: Type) (p: (key & value) -> bool) (k: key) (m: list (key & value)) : Lemma (requires (List.Tot.for_all p m == true)) (ensures (match Cbor.list_ghost_assoc k m with | None -> True | Some y -> p (k, y) )) (decreases m) [SMTPat (List.Tot.for_all...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 699, "start_col": 0, "start_line": 680 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: (_: (key * value) -> Prims.bool) -> k: key -> m: Prims.list (key * value) -> FStar.Pervasives.Lemma (requires FStar.List.Tot.Base.for_all p m == true) (ensures ((match CBOR.Spec.Map.list_ghost_assoc k m with | FStar.Pervasives.Native.None #_ -> Prims.l_True | FStar.Pervasives....
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Prims.bool", "Prims.list", "FStar.StrongExcludedMiddle.strong_excluded_middle", "Prims.eq2", "CDDL.Spec.list_ghost_assoc_for_all", "Prims.unit", "FStar.List.Tot.Base.for_all", "Prims.squash", "CBOR.Spec.Map.list_ghost_assoc", "Prims.l_True", "Prims.b2t", "F...
[ "recursion" ]
false
false
true
false
false
let rec list_ghost_assoc_for_all (#key #value: Type) (p: ((key & value) -> bool)) (k: key) (m: list (key & value)) : Lemma (requires (List.Tot.for_all p m == true)) (ensures (match Cbor.list_ghost_assoc k m with | None -> True | Some y -> p (k, y))) (d...
match m with | [] -> () | (k', _) :: m' -> if FStar.StrongExcludedMiddle.strong_excluded_middle (k == k') then () else list_ghost_assoc_for_all p k m'
false
CDDL.Spec.fsti
CDDL.Spec.t_map
val t_map (#b: option Cbor.raw_data_item) (m: map_group b) : bounded_typ_gen b
val t_map (#b: option Cbor.raw_data_item) (m: map_group b) : bounded_typ_gen b
let t_map (#b: option Cbor.raw_data_item) (m: map_group b) : bounded_typ_gen b = fun x -> Cbor.Map? x && matches_map_group m (Cbor.Map?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 791, "start_col": 0, "start_line": 789 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: CDDL.Spec.map_group b -> CDDL.Spec.bounded_typ_gen b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "CDDL.Spec.opt_precedes", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Map", "CDDL.Spec.matches_map_group", "CBOR.Spec.Type.__proj__Map__item__v", "Prims.bool", "CDDL.Spec.bounded_typ_gen" ]
[]
false
false
false
false
false
let t_map (#b: option Cbor.raw_data_item) (m: map_group b) : bounded_typ_gen b =
fun x -> Cbor.Map? x && matches_map_group m (Cbor.Map?.v x)
false
CDDL.Spec.fsti
CDDL.Spec.uint_size
val uint_size (sz: nat) : typ
val uint_size (sz: nat) : typ
let uint_size (sz: nat) : typ = fun x -> Cbor.Int64? x && Cbor.Int64?.typ x = Cbor.cbor_major_type_uint64 && U64.v (Cbor.Int64?.v x) < pow2 sz
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 854, "start_col": 0, "start_line": 851 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
sz: Prims.nat -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Int64", "Prims.op_Equality", "CBOR.Spec.Constants.major_type_t", "CBOR.Spec.Type.__proj__Int64__item__typ", "CBOR.Spec.Constants.cbor_major_type_uint64"...
[]
false
false
false
true
false
let uint_size (sz: nat) : typ =
fun x -> Cbor.Int64? x && Cbor.Int64?.typ x = Cbor.cbor_major_type_uint64 && U64.v (Cbor.Int64?.v x) < pow2 sz
false
CDDL.Spec.fsti
CDDL.Spec.t_tag
val t_tag (#b: option Cbor.raw_data_item) (tag: U64.t) (t: bounded_typ_gen b) : bounded_typ_gen b
val t_tag (#b: option Cbor.raw_data_item) (tag: U64.t) (t: bounded_typ_gen b) : bounded_typ_gen b
let t_tag (#b: option Cbor.raw_data_item) (tag: U64.t) (t: bounded_typ_gen b) : bounded_typ_gen b = fun x -> Cbor.Tagged? x && Cbor.Tagged?.tag x = tag && t (Cbor.Tagged?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 22, "end_line": 811, "start_col": 0, "start_line": 808 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
tag: FStar.UInt64.t -> t: CDDL.Spec.bounded_typ_gen b -> CDDL.Spec.bounded_typ_gen b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "FStar.UInt64.t", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.opt_precedes", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Tagged", "Prims.op_Equality", "CBOR.Spec.Type.__proj__Tagged__item__tag", "CBOR.Spec.Type.__proj__Tagged__item__v", ...
[]
false
false
false
false
false
let t_tag (#b: option Cbor.raw_data_item) (tag: U64.t) (t: bounded_typ_gen b) : bounded_typ_gen b =
fun x -> Cbor.Tagged? x && Cbor.Tagged?.tag x = tag && t (Cbor.Tagged?.v x)
false
CDDL.Spec.fsti
CDDL.Spec.list_assoc_none_for_all_map_key_neq
val list_assoc_none_for_all_map_key_neq (k: Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (None? (Cbor.list_ghost_assoc k l))) (ensures (List.Tot.for_all (map_key_neq _ k) l == true))
val list_assoc_none_for_all_map_key_neq (k: Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (None? (Cbor.list_ghost_assoc k l))) (ensures (List.Tot.for_all (map_key_neq _ k) l == true))
let rec list_assoc_none_for_all_map_key_neq (k: Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (None? (Cbor.list_ghost_assoc k l))) (ensures (List.Tot.for_all (map_key_neq _ k) l == true)) = match l with | [] -> () | _ :: q -> list_assoc_none_for_all_map_key_neq k ...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 53, "end_line": 709, "start_col": 0, "start_line": 701 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: CBOR.Spec.Type.raw_data_item -> l: Prims.list (CBOR.Spec.Type.raw_data_item * CBOR.Spec.Type.raw_data_item) -> FStar.Pervasives.Lemma (requires None? (CBOR.Spec.Map.list_ghost_assoc k l)) (ensures FStar.List.Tot.Base.for_all (CDDL.Spec.map_key_neq CBOR.Spec.Type.raw_data_item k) l == true ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "Prims.list", "FStar.Pervasives.Native.tuple2", "CDDL.Spec.list_assoc_none_for_all_map_key_neq", "Prims.unit", "Prims.b2t", "FStar.Pervasives.Native.uu___is_None", "CBOR.Spec.Map.list_ghost_assoc", "Prims.squash", "Prims.eq2", "Prims.bool", "FStar.List.Tot.Base....
[ "recursion" ]
false
false
true
false
false
let rec list_assoc_none_for_all_map_key_neq (k: Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (None? (Cbor.list_ghost_assoc k l))) (ensures (List.Tot.for_all (map_key_neq _ k) l == true)) =
match l with | [] -> () | _ :: q -> list_assoc_none_for_all_map_key_neq k q
false
FStar.Int.fsti
FStar.Int.min_int
val min_int (n: pos) : Tot int
val min_int (n: pos) : Tot int
let min_int (n:pos) : Tot int = - (pow2 (n-1))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 42, "start_col": 0, "start_line": 42 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.pos -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.op_Minus", "Prims.pow2", "Prims.op_Subtraction", "Prims.int" ]
[]
false
false
false
true
false
let min_int (n: pos) : Tot int =
- (pow2 (n - 1))
false
CDDL.Spec.fsti
CDDL.Spec.str_size
val str_size (ty: Cbor.major_type_byte_string_or_text_string) (sz: nat) : typ
val str_size (ty: Cbor.major_type_byte_string_or_text_string) (sz: nat) : typ
let str_size (ty: Cbor.major_type_byte_string_or_text_string) (sz: nat) : typ = fun x -> Cbor.String? x && Cbor.String?.typ x = ty && Seq.length (Cbor.String?.v x) = sz
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 849, "start_col": 0, "start_line": 846 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ty: CBOR.Spec.Constants.major_type_byte_string_or_text_string -> sz: Prims.nat -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Constants.major_type_byte_string_or_text_string", "Prims.nat", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_String", "Prims.op_Equality", "CBOR.Spec.Type.__proj__String__item__typ", "FStar.Seq.Base.l...
[]
false
false
false
true
false
let str_size (ty: Cbor.major_type_byte_string_or_text_string) (sz: nat) : typ =
fun x -> Cbor.String? x && Cbor.String?.typ x = ty && Seq.length (Cbor.String?.v x) = sz
false
FStar.Int.fsti
FStar.Int.zero
val zero (n: pos) : Tot (int_t n)
val zero (n: pos) : Tot (int_t n)
let zero (n:pos) : Tot (int_t n) = 0
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 36, "end_line": 63, "start_col": 0, "start_line": 63 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.pos -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let zero (n: pos) : Tot (int_t n) =
0
false
CDDL.Spec.fsti
CDDL.Spec.t_tag_rec
val t_tag_rec (tag: U64.t) (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> bounded_typ b))) (x: Cbor.raw_data_item) : GTot bool (decreases x)
val t_tag_rec (tag: U64.t) (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> bounded_typ b))) (x: Cbor.raw_data_item) : GTot bool (decreases x)
let rec t_tag_rec (tag: U64.t) (phi: (b: Cbor.raw_data_item) -> (bounded_typ b -> bounded_typ b)) (x: Cbor.raw_data_item) : GTot bool (decreases x) = Cbor.Tagged? x && Cbor.Tagged?.tag x = tag && phi x (t_tag_rec tag phi) (Cbor.Tagged?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 821, "start_col": 0, "start_line": 813 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
tag: FStar.UInt64.t -> phi: (b: CBOR.Spec.Type.raw_data_item -> _: CDDL.Spec.bounded_typ b -> CDDL.Spec.bounded_typ b) -> x: CBOR.Spec.Type.raw_data_item -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial", "" ]
[]
[ "FStar.UInt64.t", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Tagged", "Prims.op_Equality", "CBOR.Spec.Type.__proj__Tagged__item__tag", "CDDL.Spec.t_tag_rec", "CBOR.Spec.Type.__proj__Tagged__item__v", "Prims.bool" ]
[ "recursion" ]
false
false
false
false
false
let rec t_tag_rec (tag: U64.t) (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> bounded_typ b))) (x: Cbor.raw_data_item) : GTot bool (decreases x) =
Cbor.Tagged? x && Cbor.Tagged?.tag x = tag && phi x (t_tag_rec tag phi) (Cbor.Tagged?.v x)
false
FStar.Int.fsti
FStar.Int.op_At_Percent
val ( @% ) (v: int) (p: int{p > 0 /\ p % 2 = 0}) : Tot int
val ( @% ) (v: int) (p: int{p > 0 /\ p % 2 = 0}) : Tot int
let op_At_Percent (v:int) (p:int{p>0/\ p%2=0}) : Tot int = let m = v % p in if m >= p/2 then m - p else m
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 48, "end_line": 59, "start_col": 0, "start_line": 58 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Prims.int -> p: Prims.int{p > 0 /\ p % 2 = 0} -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.op_Equality", "Prims.op_Modulus", "Prims.op_GreaterThanOrEqual", "FStar.Int.op_Slash", "Prims.op_Subtraction", "Prims.bool" ]
[]
false
false
false
false
false
let ( @% ) (v: int) (p: int{p > 0 /\ p % 2 = 0}) : Tot int =
let m = v % p in if m >= p / 2 then m - p else m
false
FStar.Int.fsti
FStar.Int.pow2_minus_one
val pow2_minus_one (#n: pos{1 < n}) (m: nat{m < n}) : Tot (int_t n)
val pow2_minus_one (#n: pos{1 < n}) (m: nat{m < n}) : Tot (int_t n)
let pow2_minus_one (#n:pos{1 < n}) (m:nat{m < n}) : Tot (int_t n) = pow2_le_compat (n - 1) m; pow2 m - 1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 12, "end_line": 72, "start_col": 0, "start_line": 70 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Prims.nat{m < n} -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Prims.nat", "Prims.op_Subtraction", "Prims.pow2", "Prims.unit", "FStar.Math.Lemmas.pow2_le_compat", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let pow2_minus_one (#n: pos{1 < n}) (m: nat{m < n}) : Tot (int_t n) =
pow2_le_compat (n - 1) m; pow2 m - 1
false
FStar.Int.fsti
FStar.Int.max_int
val max_int (n: pos) : Tot int
val max_int (n: pos) : Tot int
let max_int (n:pos) : Tot int = pow2 (n-1) - 1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 41, "start_col": 0, "start_line": 41 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.pos -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.op_Subtraction", "Prims.pow2", "Prims.int" ]
[]
false
false
false
true
false
let max_int (n: pos) : Tot int =
pow2 (n - 1) - 1
false
FStar.Int.fsti
FStar.Int.pow2_n
val pow2_n (#n: pos) (p: nat{p < n - 1}) : Tot (int_t n)
val pow2_n (#n: pos) (p: nat{p < n - 1}) : Tot (int_t n)
let pow2_n (#n:pos) (p:nat{p < n-1}) : Tot (int_t n) = pow2_le_compat (n - 2) p; pow2 p
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 68, "start_col": 0, "start_line": 67 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Prims.nat{p < n - 1} -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Subtraction", "Prims.pow2", "Prims.unit", "FStar.Math.Lemmas.pow2_le_compat", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let pow2_n (#n: pos) (p: nat{p < n - 1}) : Tot (int_t n) =
pow2_le_compat (n - 2) p; pow2 p
false
FStar.Int.fsti
FStar.Int.gte
val gte (#n: _) (a b: int_t n) : Tot bool
val gte (#n: _) (a b: int_t n) : Tot bool
let gte #n (a:int_t n) (b:int_t n) : Tot bool = a >= b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 182, "start_col": 0, "start_line": 182 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_GreaterThanOrEqual", "Prims.bool" ]
[]
false
false
false
false
false
let gte #n (a: int_t n) (b: int_t n) : Tot bool =
a >= b
false
FStar.Int.fsti
FStar.Int.op_Slash
val ( / ) (a: int) (b: int{b <> 0}) : Tot int
val ( / ) (a: int) (b: int{b <> 0}) : Tot int
let op_Slash (a:int) (b:int{b <> 0}) : Tot int = if (a >= 0 && b < 0) || (a < 0 && b >= 0) then - (abs a / abs b) else abs a / abs b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 55, "start_col": 0, "start_line": 53 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Prims.int -> b: Prims.int{b <> 0} -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.b2t", "Prims.op_disEquality", "Prims.op_BarBar", "Prims.op_AmpAmp", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThan", "Prims.op_Minus", "Prims.op_Division", "Prims.abs", "Prims.bool" ]
[]
false
false
false
false
false
let ( / ) (a: int) (b: int{b <> 0}) : Tot int =
if (a >= 0 && b < 0) || (a < 0 && b >= 0) then - (abs a / abs b) else abs a / abs b
false
FStar.Int.fsti
FStar.Int.ones
val ones (n: pos) : Tot (int_t n)
val ones (n: pos) : Tot (int_t n)
let ones (n:pos) : Tot (int_t n) = -1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 78, "start_col": 0, "start_line": 78 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.pos -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.op_Minus", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let ones (n: pos) : Tot (int_t n) =
- 1
false
FStar.Int.fsti
FStar.Int.one
val one (n: pos{1 < n}) : Tot (int_t n)
val one (n: pos{1 < n}) : Tot (int_t n)
let one (n:pos{1 < n}) : Tot (int_t n) = 1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 74, "start_col": 0, "start_line": 74 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.pos{1 < n} -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let one (n: pos{1 < n}) : Tot (int_t n) =
1
false
FStar.Int.fsti
FStar.Int.lt
val lt (#n: _) (a b: int_t n) : Tot bool
val lt (#n: _) (a b: int_t n) : Tot bool
let lt #n (a:int_t n) (b:int_t n) : Tot bool = a < b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 183, "start_col": 0, "start_line": 183 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_LessThan", "Prims.bool" ]
[]
false
false
false
false
false
let lt #n (a: int_t n) (b: int_t n) : Tot bool =
a < b
false
FStar.Int.fsti
FStar.Int.decr_mod
val decr_mod (#n: pos) (a: int_t n) : Tot (int_t n)
val decr_mod (#n: pos) (a: int_t n) : Tot (int_t n)
let decr_mod (#n:pos) (a:int_t n) : Tot (int_t n) = (a - 1) % (pow2 (n-1))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 103, "start_col": 0, "start_line": 102 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Modulus", "Prims.op_Subtraction", "Prims.pow2" ]
[]
false
false
false
false
false
let decr_mod (#n: pos) (a: int_t n) : Tot (int_t n) =
(a - 1) % (pow2 (n - 1))
false
FStar.Int.fsti
FStar.Int.incr
val incr (#n: pos) (a: int_t n) : Pure (int_t n) (requires (b2t (a < max_int n))) (ensures (fun _ -> True))
val incr (#n: pos) (a: int_t n) : Pure (int_t n) (requires (b2t (a < max_int n))) (ensures (fun _ -> True))
let incr (#n:pos) (a:int_t n) : Pure (int_t n) (requires (b2t (a < max_int n))) (ensures (fun _ -> True)) = a + 1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 84, "start_col": 0, "start_line": 81 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> Prims.Pure (FStar.Int.int_t n)
Prims.Pure
[]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Addition", "Prims.b2t", "Prims.op_LessThan", "FStar.Int.max_int", "Prims.l_True" ]
[]
false
false
false
false
false
let incr (#n: pos) (a: int_t n) : Pure (int_t n) (requires (b2t (a < max_int n))) (ensures (fun _ -> True)) =
a + 1
false
FStar.Int.fsti
FStar.Int.gt
val gt (#n: _) (a b: int_t n) : Tot bool
val gt (#n: _) (a b: int_t n) : Tot bool
let gt #n (a:int_t n) (b:int_t n) : Tot bool = a > b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 181, "start_col": 0, "start_line": 181 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_GreaterThan", "Prims.bool" ]
[]
false
false
false
false
false
let gt #n (a: int_t n) (b: int_t n) : Tot bool =
a > b
false
FStar.Int.fsti
FStar.Int.lte
val lte (#n: _) (a b: int_t n) : Tot bool
val lte (#n: _) (a b: int_t n) : Tot bool
let lte #n (a:int_t n) (b:int_t n) : Tot bool = a <= b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 184, "start_col": 0, "start_line": 184 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_LessThanOrEqual", "Prims.bool" ]
[]
false
false
false
false
false
let lte #n (a: int_t n) (b: int_t n) : Tot bool =
a <= b
false
FStar.Int.fsti
FStar.Int.incr_mod
val incr_mod (#n: pos) (a: int_t n) : Tot (int_t n)
val incr_mod (#n: pos) (a: int_t n) : Tot (int_t n)
let incr_mod (#n:pos) (a:int_t n) : Tot (int_t n) = (a + 1) % (pow2 (n-1))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 100, "start_col": 0, "start_line": 99 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Modulus", "Prims.op_Addition", "Prims.pow2", "Prims.op_Subtraction" ]
[]
false
false
false
false
false
let incr_mod (#n: pos) (a: int_t n) : Tot (int_t n) =
(a + 1) % (pow2 (n - 1))
false
FStar.Int.fsti
FStar.Int.decr
val decr (#n: pos) (a: int_t n) : Pure (int_t n) (requires (b2t (a > min_int n))) (ensures (fun _ -> True))
val decr (#n: pos) (a: int_t n) : Pure (int_t n) (requires (b2t (a > min_int n))) (ensures (fun _ -> True))
let decr (#n:pos) (a:int_t n) : Pure (int_t n) (requires (b2t (a > min_int n))) (ensures (fun _ -> True)) = a - 1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 89, "start_col": 0, "start_line": 86 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> Prims.Pure (FStar.Int.int_t n)
Prims.Pure
[]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Subtraction", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Int.min_int", "Prims.l_True" ]
[]
false
false
false
false
false
let decr (#n: pos) (a: int_t n) : Pure (int_t n) (requires (b2t (a > min_int n))) (ensures (fun _ -> True)) =
a - 1
false
FStar.Int.fsti
FStar.Int.logand
val logand (#n: pos) (a b: int_t n) : Tot (int_t n)
val logand (#n: pos) (a b: int_t n) : Tot (int_t n)
let logand (#n:pos) (a:int_t n) (b:int_t n) : Tot (int_t n) = from_vec #n (logand_vec #n (to_vec #n a) (to_vec #n b))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 293, "start_col": 0, "start_line": 292 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.from_vec", "FStar.BitVector.logand_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let logand (#n: pos) (a b: int_t n) : Tot (int_t n) =
from_vec #n (logand_vec #n (to_vec #n a) (to_vec #n b))
false
FStar.Int.fsti
FStar.Int.logxor
val logxor (#n: pos) (a b: int_t n) : Tot (int_t n)
val logxor (#n: pos) (a b: int_t n) : Tot (int_t n)
let logxor (#n:pos) (a:int_t n) (b:int_t n) : Tot (int_t n) = from_vec #n (logxor_vec #n (to_vec #n a) (to_vec #n b))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 296, "start_col": 0, "start_line": 295 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.from_vec", "FStar.BitVector.logxor_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let logxor (#n: pos) (a b: int_t n) : Tot (int_t n) =
from_vec #n (logxor_vec #n (to_vec #n a) (to_vec #n b))
false
FStar.Int.fsti
FStar.Int.mul
val mul (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a * b) n)) (ensures (fun _ -> True))
val mul (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a * b) n)) (ensures (fun _ -> True))
let mul (#n:pos) (a:int_t n) (b:int_t n) : Pure (int_t n) (requires (size (a * b) n)) (ensures (fun _ -> True)) = a * b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 142, "start_col": 0, "start_line": 138 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.Pure (FStar.Int.int_t n)
Prims.Pure
[]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Mul.op_Star", "FStar.Int.size", "Prims.l_True" ]
[]
false
false
false
false
false
let mul (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a * b) n)) (ensures (fun _ -> True)) =
a * b
false
FStar.Int.fsti
FStar.Int.add
val add (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a + b) n)) (ensures (fun _ -> True))
val add (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a + b) n)) (ensures (fun _ -> True))
let add (#n:pos) (a:int_t n) (b:int_t n) : Pure (int_t n) (requires (size (a + b) n)) (ensures (fun _ -> True)) = a + b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 110, "start_col": 0, "start_line": 106 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.Pure (FStar.Int.int_t n)
Prims.Pure
[]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Addition", "FStar.Int.size", "Prims.l_True" ]
[]
false
false
false
false
false
let add (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a + b) n)) (ensures (fun _ -> True)) =
a + b
false
FStar.Int.fsti
FStar.Int.add_mod
val add_mod (#n: pos) (a b: int_t n) : Tot (int_t n)
val add_mod (#n: pos) (a b: int_t n) : Tot (int_t n)
let add_mod (#n:pos) (a:int_t n) (b:int_t n) : Tot (int_t n) = (a + b) @% (pow2 n)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 120, "start_col": 0, "start_line": 119 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.op_At_Percent", "Prims.op_Addition", "Prims.pow2" ]
[]
false
false
false
false
false
let add_mod (#n: pos) (a b: int_t n) : Tot (int_t n) =
(a + b) @% (pow2 n)
false
FStar.Int.fsti
FStar.Int.sub_mod
val sub_mod (#n: pos) (a b: int_t n) : Tot (int_t n)
val sub_mod (#n: pos) (a b: int_t n) : Tot (int_t n)
let sub_mod (#n:pos) (a:int_t n) (b:int_t n) : Tot (int_t n) = (a - b) @% (pow2 n)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 135, "start_col": 0, "start_line": 134 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.op_At_Percent", "Prims.op_Subtraction", "Prims.pow2" ]
[]
false
false
false
false
false
let sub_mod (#n: pos) (a b: int_t n) : Tot (int_t n) =
(a - b) @% (pow2 n)
false
FStar.Int.fsti
FStar.Int.udiv
val udiv (#n: pos) (a: int_t n {min_int n < a}) (b: int_t n {b <> 0}) : Tot (c: int_t n {b <> 0 ==> a / b = c})
val udiv (#n: pos) (a: int_t n {min_int n < a}) (b: int_t n {b <> 0}) : Tot (c: int_t n {b <> 0 ==> a / b = c})
let udiv (#n:pos) (a:int_t n{min_int n < a}) (b:int_t n{b <> 0}) : Tot (c:int_t n{b <> 0 ==> a / b = c}) = div_size #n a b; a / b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 172, "start_col": 0, "start_line": 169 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n {FStar.Int.min_int n < a} -> b: FStar.Int.int_t n {b <> 0} -> c: FStar.Int.int_t n {b <> 0 ==> a / b = c}
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.b2t", "Prims.op_LessThan", "FStar.Int.min_int", "Prims.op_disEquality", "Prims.int", "FStar.Int.op_Slash", "Prims.unit", "FStar.Int.div_size", "Prims.l_imp", "Prims.op_Equality" ]
[]
false
false
false
false
false
let udiv (#n: pos) (a: int_t n {min_int n < a}) (b: int_t n {b <> 0}) : Tot (c: int_t n {b <> 0 ==> a / b = c}) =
div_size #n a b; a / b
false
FStar.Int.fsti
FStar.Int.lognot
val lognot (#n: pos) (a: int_t n) : Tot (int_t n)
val lognot (#n: pos) (a: int_t n) : Tot (int_t n)
let lognot (#n:pos) (a:int_t n) : Tot (int_t n)= from_vec #n (lognot_vec #n (to_vec #n a))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 302, "start_col": 0, "start_line": 301 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.from_vec", "FStar.BitVector.lognot_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let lognot (#n: pos) (a: int_t n) : Tot (int_t n) =
from_vec #n (lognot_vec #n (to_vec #n a))
false
FStar.Int.fsti
FStar.Int.sub
val sub (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a - b) n)) (ensures (fun _ -> True))
val sub (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a - b) n)) (ensures (fun _ -> True))
let sub (#n:pos) (a:int_t n) (b:int_t n) : Pure (int_t n) (requires (size (a - b) n)) (ensures (fun _ -> True)) = a - b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 127, "start_col": 0, "start_line": 123 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.Pure (FStar.Int.int_t n)
Prims.Pure
[]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Subtraction", "FStar.Int.size", "Prims.l_True" ]
[]
false
false
false
false
false
let sub (#n: pos) (a b: int_t n) : Pure (int_t n) (requires (size (a - b) n)) (ensures (fun _ -> True)) =
a - b
false
FStar.Int.fsti
FStar.Int.mod
val mod (#n: pos) (a: int_t n) (b: int_t n {b <> 0}) : Tot (int_t n)
val mod (#n: pos) (a: int_t n) (b: int_t n {b <> 0}) : Tot (int_t n)
let mod (#n:pos) (a:int_t n) (b:int_t n{b <> 0}) : Tot (int_t n) = a - ((a/b) * b)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 177, "start_col": 0, "start_line": 176 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n {b <> 0} -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.b2t", "Prims.op_disEquality", "Prims.int", "Prims.op_Subtraction", "FStar.Mul.op_Star", "FStar.Int.op_Slash" ]
[]
false
false
false
false
false
let mod (#n: pos) (a: int_t n) (b: int_t n {b <> 0}) : Tot (int_t n) =
a - ((a / b) * b)
false
FStar.Int.fsti
FStar.Int.shift_left
val shift_left (#n: pos) (a: int_t n {0 <= a}) (s: nat) : Tot (int_t n)
val shift_left (#n: pos) (a: int_t n {0 <= a}) (s: nat) : Tot (int_t n)
let shift_left (#n:pos) (a:int_t n{0 <= a}) (s:nat) : Tot (int_t n) = from_vec (shift_left_vec #n (to_vec #n a) s)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 394, "start_col": 0, "start_line": 393 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n {0 <= a} -> s: Prims.nat -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.nat", "FStar.Int.from_vec", "FStar.BitVector.shift_left_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let shift_left (#n: pos) (a: int_t n {0 <= a}) (s: nat) : Tot (int_t n) =
from_vec (shift_left_vec #n (to_vec #n a) s)
false
FStar.Int.fsti
FStar.Int.mul_mod
val mul_mod (#n: pos) (a b: int_t n) : Tot (int_t n)
val mul_mod (#n: pos) (a b: int_t n) : Tot (int_t n)
let mul_mod (#n:pos) (a:int_t n) (b:int_t n) : Tot (int_t n) = (a * b) @% (pow2 n)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 150, "start_col": 0, "start_line": 149 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.op_At_Percent", "FStar.Mul.op_Star", "Prims.pow2" ]
[]
false
false
false
false
false
let mul_mod (#n: pos) (a b: int_t n) : Tot (int_t n) =
(a * b) @% (pow2 n)
false
FStar.Int.fsti
FStar.Int.logor
val logor (#n: pos) (a b: int_t n) : Tot (int_t n)
val logor (#n: pos) (a b: int_t n) : Tot (int_t n)
let logor (#n:pos) (a:int_t n) (b:int_t n) : Tot (int_t n) = from_vec #n (logor_vec #n (to_vec #n a) (to_vec #n b))
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 299, "start_col": 0, "start_line": 298 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.Int.from_vec", "FStar.BitVector.logor_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let logor (#n: pos) (a b: int_t n) : Tot (int_t n) =
from_vec #n (logor_vec #n (to_vec #n a) (to_vec #n b))
false
FStar.Int.fsti
FStar.Int.shift_arithmetic_right
val shift_arithmetic_right (#n: pos) (a: int_t n) (s: nat) : Tot (int_t n)
val shift_arithmetic_right (#n: pos) (a: int_t n) (s: nat) : Tot (int_t n)
let shift_arithmetic_right (#n:pos) (a:int_t n) (s:nat) : Tot (int_t n) = from_vec (shift_arithmetic_right_vec #n (to_vec #n a) s)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 401, "start_col": 0, "start_line": 400 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> s: Prims.nat -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.nat", "FStar.Int.from_vec", "FStar.BitVector.shift_arithmetic_right_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let shift_arithmetic_right (#n: pos) (a: int_t n) (s: nat) : Tot (int_t n) =
from_vec (shift_arithmetic_right_vec #n (to_vec #n a) s)
false
FStar.Int.fsti
FStar.Int.div
val div (#n: pos) (a: int_t n) (b: int_t n {b <> 0}) : Pure (int_t n) (requires (size (a / b) n)) (ensures (fun c -> b <> 0 ==> a / b = c))
val div (#n: pos) (a: int_t n) (b: int_t n {b <> 0}) : Pure (int_t n) (requires (size (a / b) n)) (ensures (fun c -> b <> 0 ==> a / b = c))
let div (#n:pos) (a:int_t n) (b:int_t n{b <> 0}) : Pure (int_t n) (requires (size (a / b) n)) (ensures (fun c -> b <> 0 ==> a / b = c)) = a / b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 159, "start_col": 0, "start_line": 155 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n {b <> 0} -> Prims.Pure (FStar.Int.int_t n)
Prims.Pure
[]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.b2t", "Prims.op_disEquality", "Prims.int", "FStar.Int.op_Slash", "FStar.Int.size", "Prims.l_imp", "Prims.op_Equality" ]
[]
false
false
false
false
false
let div (#n: pos) (a: int_t n) (b: int_t n {b <> 0}) : Pure (int_t n) (requires (size (a / b) n)) (ensures (fun c -> b <> 0 ==> a / b = c)) =
a / b
false
FStar.Int.fsti
FStar.Int.to_vec
val to_vec (#n: pos) (num: int_t n) : Tot (bv_t n)
val to_vec (#n: pos) (num: int_t n) : Tot (bv_t n)
let to_vec (#n:pos) (num:int_t n) : Tot (bv_t n) = UInt.to_vec (to_uint num)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 206, "start_col": 0, "start_line": 205 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
num: FStar.Int.int_t n -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "FStar.UInt.to_vec", "FStar.Int.to_uint", "FStar.BitVector.bv_t" ]
[]
false
false
false
false
false
let to_vec (#n: pos) (num: int_t n) : Tot (bv_t n) =
UInt.to_vec (to_uint num)
false
FStar.Int.fsti
FStar.Int.shift_right
val shift_right (#n: pos) (a: int_t n {0 <= a}) (s: nat) : Tot (int_t n)
val shift_right (#n: pos) (a: int_t n {0 <= a}) (s: nat) : Tot (int_t n)
let shift_right (#n:pos) (a:int_t n{0 <= a}) (s:nat) : Tot (int_t n) = from_vec (shift_right_vec #n (to_vec #n a) s)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 398, "start_col": 0, "start_line": 397 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n {0 <= a} -> s: Prims.nat -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.nat", "FStar.Int.from_vec", "FStar.BitVector.shift_right_vec", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let shift_right (#n: pos) (a: int_t n {0 <= a}) (s: nat) : Tot (int_t n) =
from_vec (shift_right_vec #n (to_vec #n a) s)
false
FStar.Int.fsti
FStar.Int.from_vec
val from_vec (#n: pos) (vec: bv_t n) : Tot (int_t n)
val from_vec (#n: pos) (vec: bv_t n) : Tot (int_t n)
let from_vec (#n:pos) (vec:bv_t n) : Tot (int_t n) = let x = UInt.from_vec vec in if max_int n < x then x - pow2 n else x
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 210, "start_col": 0, "start_line": 208 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vec: FStar.BitVector.bv_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.op_LessThan", "FStar.Int.max_int", "Prims.op_Subtraction", "Prims.pow2", "Prims.bool", "FStar.Int.int_t", "FStar.UInt.uint_t", "FStar.UInt.from_vec" ]
[]
false
false
false
false
false
let from_vec (#n: pos) (vec: bv_t n) : Tot (int_t n) =
let x = UInt.from_vec vec in if max_int n < x then x - pow2 n else x
false
FStar.Int.fsti
FStar.Int.from_uint
val from_uint (#n: pos) (x: UInt.uint_t n) : Tot (int_t n)
val from_uint (#n: pos) (x: UInt.uint_t n) : Tot (int_t n)
let from_uint (#n:pos) (x:UInt.uint_t n) : Tot (int_t n) = if x <= max_int n then x else x - pow2 n
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 194, "start_col": 0, "start_line": 193 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt.uint_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.UInt.uint_t", "Prims.op_LessThanOrEqual", "FStar.Int.max_int", "Prims.bool", "Prims.op_Subtraction", "Prims.pow2", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let from_uint (#n: pos) (x: UInt.uint_t n) : Tot (int_t n) =
if x <= max_int n then x else x - pow2 n
false
FStar.Int.fsti
FStar.Int.eq
val eq (#n: _) (a b: int_t n) : Tot bool
val eq (#n: _) (a b: int_t n) : Tot bool
let eq #n (a:int_t n) (b:int_t n) : Tot bool = a = b
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 180, "start_col": 0, "start_line": 180 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> b: FStar.Int.int_t n -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_Equality", "Prims.bool" ]
[]
false
false
false
false
false
let eq #n (a: int_t n) (b: int_t n) : Tot bool =
a = b
false
FStar.Int.fsti
FStar.Int.to_uint
val to_uint (#n: pos) (x: int_t n) : Tot (UInt.uint_t n)
val to_uint (#n: pos) (x: int_t n) : Tot (UInt.uint_t n)
let to_uint (#n:pos) (x:int_t n) : Tot (UInt.uint_t n) = if 0 <= x then x else x + pow2 n
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 191, "start_col": 0, "start_line": 190 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.Int.int_t n -> FStar.UInt.uint_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.op_LessThanOrEqual", "Prims.bool", "Prims.op_Addition", "Prims.pow2", "FStar.UInt.uint_t" ]
[]
false
false
false
false
false
let to_uint (#n: pos) (x: int_t n) : Tot (UInt.uint_t n) =
if 0 <= x then x else x + pow2 n
false
FStar.Int.fsti
FStar.Int.nth
val nth (#n: pos) (a: int_t n) (i: nat{i < n}) : Tot bool
val nth (#n: pos) (a: int_t n) (i: nat{i < n}) : Tot bool
let nth (#n:pos) (a:int_t n) (i:nat{i < n}) : Tot bool = index (to_vec #n a) i
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 78, "end_line": 270, "start_col": 0, "start_line": 270 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> i: Prims.nat{i < n} -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Int.int_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.index", "Prims.bool", "FStar.Int.to_vec" ]
[]
false
false
false
false
false
let nth (#n: pos) (a: int_t n) (i: nat{i < n}) : Tot bool =
index (to_vec #n a) i
false
FStar.Int.fsti
FStar.Int.to_int_t
val to_int_t (m: pos) (a: int) : Tot (int_t m)
val to_int_t (m: pos) (a: int) : Tot (int_t m)
let to_int_t (m:pos) (a:int) : Tot (int_t m) = a @% pow2 m
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 199, "start_col": 0, "start_line": 199 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Prims.pos -> a: Prims.int -> FStar.Int.int_t m
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.int", "FStar.Int.op_At_Percent", "Prims.pow2", "FStar.Int.int_t" ]
[]
false
false
false
false
false
let to_int_t (m: pos) (a: int) : Tot (int_t m) =
a @% pow2 m
false
FStar.Int.fsti
FStar.Int.minus
val minus (#n: pos{1 < n}) (a: int_t n) : Tot (int_t n)
val minus (#n: pos{1 < n}) (a: int_t n) : Tot (int_t n)
let minus (#n:pos{1 < n}) (a:int_t n) : Tot (int_t n) = add_mod (lognot a) 1
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 328, "start_col": 0, "start_line": 327 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int.int_t n -> FStar.Int.int_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "FStar.Int.int_t", "FStar.Int.add_mod", "FStar.Int.lognot" ]
[]
false
false
false
false
false
let minus (#n: pos{1 < n}) (a: int_t n) : Tot (int_t n) =
add_mod (lognot a) 1
false
Spec.Blake2.fst
Spec.Blake2.blake2_init_hash
val blake2_init_hash: a:alg -> p:blake2_params a -> kk:size_nat{kk <= max_key a} -> nn:size_nat{1 <= nn /\ nn <= max_output a} -> Tot (state a)
val blake2_init_hash: a:alg -> p:blake2_params a -> kk:size_nat{kk <= max_key a} -> nn:size_nat{1 <= nn /\ nn <= max_output a} -> Tot (state a)
let blake2_init_hash a p kk nn = let iv0 = secret (ivTable a).[0] in let iv1 = secret (ivTable a).[1] in let iv2 = secret (ivTable a).[2] in let iv3 = secret (ivTable a).[3] in let iv4 = secret (ivTable a).[4] in let iv5 = secret (ivTable a).[5] in let iv6 = secret (ivTable a).[6] in let iv7 = secret (i...
{ "file_name": "specs/Spec.Blake2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 6, "end_line": 401, "start_col": 0, "start_line": 375 }
module Spec.Blake2 open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti include Spec.Blake2.Definitions #set-options "--z3rlimit 50" /// Serialize blake2s parameters to be xor'ed with the state during initializati...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Definitions.fst.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.che...
[ { "abbrev": false, "full_module": "Spec.Blake2.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Blake2.Definitions.alg -> p: Spec.Blake2.Definitions.blake2_params a -> kk: Lib.IntTypes.size_nat{kk <= Spec.Blake2.Definitions.max_key a} -> nn: Lib.IntTypes.size_nat{1 <= nn /\ nn <= Spec.Blake2.Definitions.max_output a} -> Spec.Blake2.Definitions.state a
Prims.Tot
[ "total" ]
[]
[ "Spec.Blake2.Definitions.alg", "Spec.Blake2.Definitions.blake2_params", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Spec.Blake2.Definitions.max_key", "Prims.l_and", "Spec.Blake2.Definitions.max_output", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Spec.Blake2.Definitions.wt...
[]
false
false
false
false
false
let blake2_init_hash a p kk nn =
let iv0 = secret (ivTable a).[ 0 ] in let iv1 = secret (ivTable a).[ 1 ] in let iv2 = secret (ivTable a).[ 2 ] in let iv3 = secret (ivTable a).[ 3 ] in let iv4 = secret (ivTable a).[ 4 ] in let iv5 = secret (ivTable a).[ 5 ] in let iv6 = secret (ivTable a).[ 6 ] in let iv7 = secret (ivTable a).[ 7 ] in let r0 = create_...
false
EverCrypt.Hash.fsti
EverCrypt.Hash.alg
val alg : Type0
let alg = fixed_len_alg
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 24, "start_col": 0, "start_line": 24 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.fixed_len_alg" ]
[]
false
false
false
true
true
let alg =
fixed_len_alg
false
EverCrypt.Hash.fsti
EverCrypt.Hash.freeable
val freeable : h: FStar.Monotonic.HyperStack.mem -> p: EverCrypt.Hash.state a -> Prims.logical
let freeable (#a: alg) (h: HS.mem) (p: state a) = B.freeable p /\ freeable_s (B.deref h p)
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 84, "start_col": 0, "start_line": 83 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverCrypt.Hash.state a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.Hash.alg", "FStar.Monotonic.HyperStack.mem", "EverCrypt.Hash.state", "Prims.l_and", "LowStar.Monotonic.Buffer.freeable", "EverCrypt.Hash.state_s", "LowStar.Buffer.trivial_preorder", "EverCrypt.Hash.freeable_s", "LowStar.Monotonic.Buffer.deref", "Prims.logical" ]
[]
false
false
false
false
true
let freeable (#a: alg) (h: HS.mem) (p: state a) =
B.freeable p /\ freeable_s (B.deref h p)
false
EverCrypt.Hash.fsti
EverCrypt.Hash.preserves_freeable
val preserves_freeable (#a: _) (s: state a) (h0 h1: HS.mem) : Type0
val preserves_freeable (#a: _) (s: state a) (h0 h1: HS.mem) : Type0
let preserves_freeable #a (s: state a) (h0 h1: HS.mem): Type0 = freeable h0 s ==> freeable h1 s
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 180, "start_col": 0, "start_line": 179 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: EverCrypt.Hash.state a -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.Hash.alg", "EverCrypt.Hash.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_imp", "EverCrypt.Hash.freeable" ]
[]
false
false
false
false
true
let preserves_freeable #a (s: state a) (h0: HS.mem) (h1: HS.mem) : Type0 =
freeable h0 s ==> freeable h1 s
false
EverCrypt.Hash.fsti
EverCrypt.Hash.state
val state : alg: EverCrypt.Hash.alg -> Type0
let state alg = B.pointer (state_s alg)
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 76, "start_col": 0, "start_line": 76 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: EverCrypt.Hash.alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.Hash.alg", "LowStar.Buffer.pointer", "EverCrypt.Hash.state_s" ]
[]
false
false
false
true
true
let state alg =
B.pointer (state_s alg)
false
EverCrypt.Hash.fsti
EverCrypt.Hash.footprint
val footprint : s: EverCrypt.Hash.state a -> m: FStar.Monotonic.HyperStack.mem -> Prims.GTot LowStar.Monotonic.Buffer.loc
let footprint (#a:alg) (s: state a) (m: HS.mem) = M.(loc_union (loc_addr_of_buffer s) (footprint_s (B.deref m s)))
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 90, "start_col": 0, "start_line": 89 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: EverCrypt.Hash.state a -> m: FStar.Monotonic.HyperStack.mem -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "EverCrypt.Hash.alg", "EverCrypt.Hash.state", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.loc_union", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "EverCrypt.Hash.state_s", "LowStar.Buffer.trivial_preorder", "EverCrypt.Hash.footprint_s", "LowStar.Monotonic.Buffer.deref", "LowStar...
[]
false
false
false
false
false
let footprint (#a: alg) (s: state a) (m: HS.mem) =
let open M in loc_union (loc_addr_of_buffer s) (footprint_s (B.deref m s))
false
EverCrypt.Hash.fsti
EverCrypt.Hash.free
val free (#a: e_alg) : (let a = Ghost.reveal a in s: state a -> ST unit (requires fun h0 -> freeable h0 s /\ invariant s h0) (ensures fun h0 _ h1 -> let open M in modifies (footprint s h0) h0 h1))
val free (#a: e_alg) : (let a = Ghost.reveal a in s: state a -> ST unit (requires fun h0 -> freeable h0 s /\ invariant s h0) (ensures fun h0 _ h1 -> let open M in modifies (footprint s h0) h0 h1))
let free: #a:e_alg -> ( let a = Ghost.reveal a in s:state a -> ST unit (requires fun h0 -> freeable h0 s /\ invariant s h0) (ensures fun h0 _ h1 -> M.(modifies (footprint s h0) h0 h1))) = free_
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 347, "start_col": 0, "start_line": 339 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: EverCrypt.Hash.state (FStar.Ghost.reveal a) -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "EverCrypt.Hash.free_" ]
[]
false
true
false
false
false
let free: #a: e_alg -> (let a = Ghost.reveal a in s: state a -> ST unit (requires fun h0 -> freeable h0 s /\ invariant s h0) (ensures fun h0 _ h1 -> let open M in modifies (footprint s h0) h0 h1)) =
free_
false
Hacl.Bignum256.fst
Hacl.Bignum256.sub
val sub: BN.bn_sub_eq_len_st t_limbs n_limbs
val sub: BN.bn_sub_eq_len_st t_limbs n_limbs
let sub: BN.bn_sub_eq_len_st t_limbs n_limbs = BN.bn_sub_eq_len n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 18, "start_col": 0, "start_line": 17 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn_sub_eq_len_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.bn_sub_eq_len", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.bn_sub_eq_len_st" ]
[]
false
false
false
true
false
let sub:BN.bn_sub_eq_len_st t_limbs n_limbs =
BN.bn_sub_eq_len n_limbs
false
Hacl.Bignum256.fst
Hacl.Bignum256.add
val add: BN.bn_add_eq_len_st t_limbs n_limbs
val add: BN.bn_add_eq_len_st t_limbs n_limbs
let add: BN.bn_add_eq_len_st t_limbs n_limbs = BN.bn_add_eq_len n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 15, "start_col": 0, "start_line": 14 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn_add_eq_len_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.bn_add_eq_len", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.bn_add_eq_len_st" ]
[]
false
false
false
true
false
let add:BN.bn_add_eq_len_st t_limbs n_limbs =
BN.bn_add_eq_len n_limbs
false
Hacl.Bignum256.fst
Hacl.Bignum256.bn_inst
[@@ FStar.Tactics.Typeclasses.tcinstance] val bn_inst:BN.bn t_limbs
[@@ FStar.Tactics.Typeclasses.tcinstance] val bn_inst:BN.bn t_limbs
instance bn_inst: BN.bn t_limbs = { BN.len = n_limbs; BN.add; BN.sub; BN.add_mod_n = add_mod; BN.sub_mod_n = sub_mod; BN.mul; BN.sqr }
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 1, "end_line": 42, "start_col": 0, "start_line": 34 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn Hacl.Bignum256.t_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Mkbn", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum256.add", "Hacl.Bignum256.sub", "Hacl.Bignum256.add_mod", "Hacl.Bignum256.sub_mod", "Hacl.Bignum256.mul", "Hacl.Bignum256.sqr" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let bn_inst:BN.bn t_limbs =
{ BN.len = n_limbs; BN.add = add; BN.sub = sub; BN.add_mod_n = add_mod; BN.sub_mod_n = sub_mod; BN.mul = mul; BN.sqr = sqr }
false
Hacl.Bignum256.fst
Hacl.Bignum256.mont_check
val mont_check:BM.bn_check_modulus_st t_limbs n_limbs
val mont_check:BM.bn_check_modulus_st t_limbs n_limbs
let mont_check: BM.bn_check_modulus_st t_limbs n_limbs = BM.bn_check_modulus
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 46, "start_col": 0, "start_line": 45 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Montgomery.bn_check_modulus_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Montgomery.bn_check_modulus", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs" ]
[]
false
false
false
true
false
let mont_check:BM.bn_check_modulus_st t_limbs n_limbs =
BM.bn_check_modulus
false
Hacl.Bignum256.fst
Hacl.Bignum256.to
val to:BM.bn_to_mont_st t_limbs n_limbs
val to:BM.bn_to_mont_st t_limbs n_limbs
let to: BM.bn_to_mont_st t_limbs n_limbs = BM.bn_to_mont bn_inst reduction
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 58, "start_col": 0, "start_line": 57 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Montgomery.bn_to_mont_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Montgomery.bn_to_mont", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.bn_inst", "Hacl.Bignum256.reduction" ]
[]
false
false
false
true
false
let to:BM.bn_to_mont_st t_limbs n_limbs =
BM.bn_to_mont bn_inst reduction
false
EverCrypt.Hash.fsti
EverCrypt.Hash.loc_includes_union_l_footprint_s
val loc_includes_union_l_footprint_s (l1 l2: M.loc) (#a: alg) (s: state_s a) : Lemma (requires (M.loc_includes l1 (footprint_s s) \/ M.loc_includes l2 (footprint_s s))) (ensures (M.loc_includes (M.loc_union l1 l2) (footprint_s s))) [SMTPat (M.loc_includes (M.loc_union l1 l2) (footprint_s s))]
val loc_includes_union_l_footprint_s (l1 l2: M.loc) (#a: alg) (s: state_s a) : Lemma (requires (M.loc_includes l1 (footprint_s s) \/ M.loc_includes l2 (footprint_s s))) (ensures (M.loc_includes (M.loc_union l1 l2) (footprint_s s))) [SMTPat (M.loc_includes (M.loc_union l1 l2) (footprint_s s))]
let loc_includes_union_l_footprint_s (l1 l2: M.loc) (#a: alg) (s: state_s a) : Lemma (requires ( M.loc_includes l1 (footprint_s s) \/ M.loc_includes l2 (footprint_s s) )) (ensures (M.loc_includes (M.loc_union l1 l2) (footprint_s s))) [SMTPat (M.loc_includes (M.loc_union l1 l2) (footprint_s s))] = M.loc_in...
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 111, "start_col": 0, "start_line": 103 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: LowStar.Monotonic.Buffer.loc -> l2: LowStar.Monotonic.Buffer.loc -> s: EverCrypt.Hash.state_s a -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.loc_includes l1 (EverCrypt.Hash.footprint_s s) \/ LowStar.Monotonic.Buffer.loc_includes l2 (EverCrypt.Hash.footprint_s s)) (ensur...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.Monotonic.Buffer.loc", "EverCrypt.Hash.alg", "EverCrypt.Hash.state_s", "LowStar.Monotonic.Buffer.loc_includes_union_l", "EverCrypt.Hash.footprint_s", "Prims.unit", "Prims.l_or", "LowStar.Monotonic.Buffer.loc_includes", "Prims.squash", "LowStar.Monotonic.Buffer.loc_union", "Prims.Cons", ...
[]
true
false
true
false
false
let loc_includes_union_l_footprint_s (l1 l2: M.loc) (#a: alg) (s: state_s a) : Lemma (requires (M.loc_includes l1 (footprint_s s) \/ M.loc_includes l2 (footprint_s s))) (ensures (M.loc_includes (M.loc_union l1 l2) (footprint_s s))) [SMTPat (M.loc_includes (M.loc_union l1 l2) (footprint_s s))] =
M.loc_includes_union_l l1 l2 (footprint_s s)
false
Hacl.Bignum256.fst
Hacl.Bignum256.precompr2
val precompr2:BM.bn_precomp_r2_mod_n_st t_limbs n_limbs
val precompr2:BM.bn_precomp_r2_mod_n_st t_limbs n_limbs
let precompr2: BM.bn_precomp_r2_mod_n_st t_limbs n_limbs = BM.bn_precomp_r2_mod_n bn_inst
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 50, "start_col": 0, "start_line": 49 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.bn_inst" ]
[]
false
false
false
true
false
let precompr2:BM.bn_precomp_r2_mod_n_st t_limbs n_limbs =
BM.bn_precomp_r2_mod_n bn_inst
false
Hacl.Bignum256.fst
Hacl.Bignum256.almost_mont_inst
[@@ FStar.Tactics.Typeclasses.tcinstance] val almost_mont_inst:AM.almost_mont t_limbs
[@@ FStar.Tactics.Typeclasses.tcinstance] val almost_mont_inst:AM.almost_mont t_limbs
instance almost_mont_inst: AM.almost_mont t_limbs = { AM.bn = bn_inst; AM.mont_check; AM.precomp = precompr2; AM.reduction = areduction; AM.to; AM.from; AM.mul = amont_mul; AM.sqr = amont_sqr; }
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 1, "end_line": 106, "start_col": 0, "start_line": 97 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.AlmostMontgomery.almost_mont Hacl.Bignum256.t_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.AlmostMontgomery.Mkalmost_mont", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.bn_inst", "Hacl.Bignum256.mont_check", "Hacl.Bignum256.precompr2", "Hacl.Bignum256.areduction", "Hacl.Bignum256.to", "Hacl.Bignum256.from", "Hacl.Bignum256.amont_mul", "Hacl.Bignum256.amont_sqr" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let almost_mont_inst:AM.almost_mont t_limbs =
{ AM.bn = bn_inst; AM.mont_check = mont_check; AM.precomp = precompr2; AM.reduction = areduction; AM.to = to; AM.from = from; AM.mul = amont_mul; AM.sqr = amont_sqr }
false
Hacl.Bignum256.fst
Hacl.Bignum256.from
val from:BM.bn_from_mont_st t_limbs n_limbs
val from:BM.bn_from_mont_st t_limbs n_limbs
let from: BM.bn_from_mont_st t_limbs n_limbs = BM.bn_from_mont bn_inst reduction
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 62, "start_col": 0, "start_line": 61 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Montgomery.bn_from_mont_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Montgomery.bn_from_mont", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.bn_inst", "Hacl.Bignum256.reduction" ]
[]
false
false
false
true
false
let from:BM.bn_from_mont_st t_limbs n_limbs =
BM.bn_from_mont bn_inst reduction
false
Hacl.Bignum256.fst
Hacl.Bignum256.amont_sqr
val amont_sqr:AM.bn_almost_mont_sqr_st t_limbs n_limbs
val amont_sqr:AM.bn_almost_mont_sqr_st t_limbs n_limbs
let amont_sqr: AM.bn_almost_mont_sqr_st t_limbs n_limbs = AM.bn_almost_mont_sqr bn_inst areduction
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 94, "start_col": 0, "start_line": 93 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.bn_inst", "Hacl.Bignum256.areduction" ]
[]
false
false
false
true
false
let amont_sqr:AM.bn_almost_mont_sqr_st t_limbs n_limbs =
AM.bn_almost_mont_sqr bn_inst areduction
false
EverCrypt.Hash.fsti
EverCrypt.Hash.invariant
val invariant : s: EverCrypt.Hash.state a -> m: FStar.Monotonic.HyperStack.mem -> Prims.logical
let invariant (#a:alg) (s: state a) (m: HS.mem) = B.live m s /\ M.(loc_disjoint (loc_addr_of_buffer s) (footprint_s (B.deref m s))) /\ invariant_s (B.get m s 0) m
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 120, "start_col": 0, "start_line": 117 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: EverCrypt.Hash.state a -> m: FStar.Monotonic.HyperStack.mem -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.Hash.alg", "EverCrypt.Hash.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "EverCrypt.Hash.state_s", "LowStar.Buffer.trivial_preorder", "LowStar.Monotonic.Buffer.loc_disjoint", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "EverCrypt.Hash.footp...
[]
false
false
false
false
true
let invariant (#a: alg) (s: state a) (m: HS.mem) =
B.live m s /\ M.(loc_disjoint (loc_addr_of_buffer s) (footprint_s (B.deref m s))) /\ invariant_s (B.get m s 0) m
false
Hacl.Bignum256.fst
Hacl.Bignum256.amont_mul
val amont_mul:AM.bn_almost_mont_mul_st t_limbs n_limbs
val amont_mul:AM.bn_almost_mont_mul_st t_limbs n_limbs
let amont_mul: AM.bn_almost_mont_mul_st t_limbs n_limbs = AM.bn_almost_mont_mul bn_inst areduction
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 90, "start_col": 0, "start_line": 89 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.bn_inst", "Hacl.Bignum256.areduction" ]
[]
false
false
false
true
false
let amont_mul:AM.bn_almost_mont_mul_st t_limbs n_limbs =
AM.bn_almost_mont_mul bn_inst areduction
false
EverCrypt.Hash.fsti
EverCrypt.Hash.uint32_fits_maxLength
val uint32_fits_maxLength (a: alg) (x: UInt32.t) : Lemma (requires True) (ensures (UInt32.v x) `less_than_max_input_length` a)
val uint32_fits_maxLength (a: alg) (x: UInt32.t) : Lemma (requires True) (ensures (UInt32.v x) `less_than_max_input_length` a)
let uint32_fits_maxLength (a: alg) (x: UInt32.t): Lemma (requires True) (ensures UInt32.v x `less_than_max_input_length` a) = assert_norm (pow2 32 < pow2 61); assert_norm (pow2 61 < pow2 125)
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 42, "start_col": 0, "start_line": 37 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "C.Failure", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.Hash.alg -> x: FStar.UInt32.t -> FStar.Pervasives.Lemma (ensures Spec.Hash.Definitions.less_than_max_input_length (FStar.UInt32.v x) a)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "EverCrypt.Hash.alg", "FStar.UInt32.t", "FStar.Pervasives.assert_norm", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "Prims.pow2", "Prims.unit", "Prims.l_True", "Prims.squash", "Spec.Hash.Definitions.less_than_max_input_length", "FStar.UInt32.v"...
[]
true
false
true
false
false
let uint32_fits_maxLength (a: alg) (x: UInt32.t) : Lemma (requires True) (ensures (UInt32.v x) `less_than_max_input_length` a) =
assert_norm (pow2 32 < pow2 61); assert_norm (pow2 61 < pow2 125)
false
Hacl.Bignum256.fst
Hacl.Bignum256.bn_slow_precomp
val bn_slow_precomp:BR.bn_mod_slow_precomp_st t_limbs n_limbs
val bn_slow_precomp:BR.bn_mod_slow_precomp_st t_limbs n_limbs
let bn_slow_precomp : BR.bn_mod_slow_precomp_st t_limbs n_limbs = BR.bn_mod_slow_precomp almost_mont_inst
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 110, "start_col": 0, "start_line": 109 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.ModReduction.bn_mod_slow_precomp", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.almost_mont_inst" ]
[]
false
false
false
true
false
let bn_slow_precomp:BR.bn_mod_slow_precomp_st t_limbs n_limbs =
BR.bn_mod_slow_precomp almost_mont_inst
false
Hacl.Bignum256.fst
Hacl.Bignum256.exp_check
val exp_check:BE.bn_check_mod_exp_st t_limbs n_limbs
val exp_check:BE.bn_check_mod_exp_st t_limbs n_limbs
let exp_check: BE.bn_check_mod_exp_st t_limbs n_limbs = BE.bn_check_mod_exp n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 116, "start_col": 0, "start_line": 115 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Exponentiation.bn_check_mod_exp_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Exponentiation.bn_check_mod_exp", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs" ]
[]
false
false
false
true
false
let exp_check:BE.bn_check_mod_exp_st t_limbs n_limbs =
BE.bn_check_mod_exp n_limbs
false
EverCrypt.Hash.fsti
EverCrypt.Hash.prev_len_of_uint64
val prev_len_of_uint64 (a: _) (prevlen: UInt64.t{UInt64.v prevlen % block_length a = 0}) : Spec.Hash.Incremental.prev_length_t a
val prev_len_of_uint64 (a: _) (prevlen: UInt64.t{UInt64.v prevlen % block_length a = 0}) : Spec.Hash.Incremental.prev_length_t a
let prev_len_of_uint64 a (prevlen: UInt64.t { UInt64.v prevlen % block_length a = 0 }): Spec.Hash.Incremental.prev_length_t a = (if is_keccak a then () else UInt64.v prevlen)
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 266, "start_col": 0, "start_line": 265 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg -> prevlen: FStar.UInt64.t{FStar.UInt64.v prevlen % Spec.Hash.Definitions.block_length a = 0} -> Spec.Hash.Incremental.Definitions.prev_length_t a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Integers.op_Percent", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "FStar.UInt64.v", "Spec.Hash.Definitions.block_length", "Spec.Hash.Definitions.is_keccak", "Prims.bool", "Spec....
[]
false
false
false
false
false
let prev_len_of_uint64 a (prevlen: UInt64.t{UInt64.v prevlen % block_length a = 0}) : Spec.Hash.Incremental.prev_length_t a =
(if is_keccak a then () else UInt64.v prevlen)
false
EverCrypt.Hash.fsti
EverCrypt.Hash.ev_of_uint64
val ev_of_uint64 (a: _) (prevlen: UInt64.t{UInt64.v prevlen % block_length a = 0}) : Spec.Hash.Definitions.extra_state a
val ev_of_uint64 (a: _) (prevlen: UInt64.t{UInt64.v prevlen % block_length a = 0}) : Spec.Hash.Definitions.extra_state a
let ev_of_uint64 a (prevlen: UInt64.t { UInt64.v prevlen % block_length a = 0 }): Spec.Hash.Definitions.extra_state a = (if is_blake a then UInt64.v prevlen else ())
{ "file_name": "providers/evercrypt/EverCrypt.Hash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 237, "start_col": 0, "start_line": 236 }
module EverCrypt.Hash open EverCrypt.Helpers open FStar.HyperStack.ST open FStar.Integers open Spec.Hash.Definitions open Hacl.Hash.Definitions #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" /// Algorithmic agility for hash specifications. We reuse the agile /// specifications from HACL*'s specs/ directory...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.c...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg -> prevlen: FStar.UInt64.t{FStar.UInt64.v prevlen % Spec.Hash.Definitions.block_length a = 0} -> Spec.Hash.Definitions.extra_state a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Integers.op_Percent", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "FStar.UInt64.v", "Spec.Hash.Definitions.block_length", "Spec.Hash.Definitions.is_blake", "Prims.bool", "Spec.H...
[]
false
false
false
false
false
let ev_of_uint64 a (prevlen: UInt64.t{UInt64.v prevlen % block_length a = 0}) : Spec.Hash.Definitions.extra_state a =
(if is_blake a then UInt64.v prevlen)
false
Hacl.Bignum256.fst
Hacl.Bignum256.mod_exp_vartime
val mod_exp_vartime: BS.bn_mod_exp_safe_st t_limbs n_limbs
val mod_exp_vartime: BS.bn_mod_exp_safe_st t_limbs n_limbs
let mod_exp_vartime = BS.mk_bn_mod_exp_safe n_limbs exp_check exp_vartime
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 138, "start_col": 0, "start_line": 138 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.bn_mod_exp_safe_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.SafeAPI.mk_bn_mod_exp_safe", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum256.exp_check", "Hacl.Bignum256.exp_vartime" ]
[]
false
false
false
true
false
let mod_exp_vartime =
BS.mk_bn_mod_exp_safe n_limbs exp_check exp_vartime
false
Hacl.Bignum256.fst
Hacl.Bignum256.add_mod
val add_mod: BN.bn_add_mod_n_st t_limbs n_limbs
val add_mod: BN.bn_add_mod_n_st t_limbs n_limbs
let add_mod: BN.bn_add_mod_n_st t_limbs n_limbs = BN.bn_add_mod_n n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 21, "start_col": 0, "start_line": 20 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn_add_mod_n_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.bn_add_mod_n", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.bn_add_mod_n_st" ]
[]
false
false
false
true
false
let add_mod:BN.bn_add_mod_n_st t_limbs n_limbs =
BN.bn_add_mod_n n_limbs
false
Hacl.Bignum256.fst
Hacl.Bignum256.sub_mod
val sub_mod: BN.bn_sub_mod_n_st t_limbs n_limbs
val sub_mod: BN.bn_sub_mod_n_st t_limbs n_limbs
let sub_mod: BN.bn_sub_mod_n_st t_limbs n_limbs = BN.bn_sub_mod_n n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 24, "start_col": 0, "start_line": 23 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn_sub_mod_n_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.bn_sub_mod_n", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.bn_sub_mod_n_st" ]
[]
false
false
false
true
false
let sub_mod:BN.bn_sub_mod_n_st t_limbs n_limbs =
BN.bn_sub_mod_n n_limbs
false
Hacl.Bignum256.fst
Hacl.Bignum256.exp_vartime
val exp_vartime:BE.bn_mod_exp_st t_limbs n_limbs
val exp_vartime:BE.bn_mod_exp_st t_limbs n_limbs
let exp_vartime: BE.bn_mod_exp_st t_limbs n_limbs = BE.mk_bn_mod_exp n_limbs precompr2 exp_vartime_precomp
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 132, "start_col": 0, "start_line": 131 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Exponentiation.bn_mod_exp_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Exponentiation.mk_bn_mod_exp", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum256.precompr2", "Hacl.Bignum256.exp_vartime_precomp" ]
[]
false
false
false
true
false
let exp_vartime:BE.bn_mod_exp_st t_limbs n_limbs =
BE.mk_bn_mod_exp n_limbs precompr2 exp_vartime_precomp
false
Hacl.Bignum256.fst
Hacl.Bignum256.mod_exp_consttime
val mod_exp_consttime: BS.bn_mod_exp_safe_st t_limbs n_limbs
val mod_exp_consttime: BS.bn_mod_exp_safe_st t_limbs n_limbs
let mod_exp_consttime = BS.mk_bn_mod_exp_safe n_limbs exp_check exp_consttime
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 140, "start_col": 0, "start_line": 140 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.bn_mod_exp_safe_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.SafeAPI.mk_bn_mod_exp_safe", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum256.exp_check", "Hacl.Bignum256.exp_consttime" ]
[]
false
false
false
true
false
let mod_exp_consttime =
BS.mk_bn_mod_exp_safe n_limbs exp_check exp_consttime
false
Hacl.Bignum256.fst
Hacl.Bignum256.mont_ctx_free
val mont_ctx_free: MA.bn_field_free_st t_limbs
val mont_ctx_free: MA.bn_field_free_st t_limbs
let mont_ctx_free k = MA.bn_field_free k
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 148, "start_col": 0, "start_line": 147 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.MontArithmetic.bn_field_free_st Hacl.Bignum256.t_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.MontArithmetic.pbn_mont_ctx", "Hacl.Bignum256.t_limbs", "Hacl.Bignum.MontArithmetic.bn_field_free", "Prims.unit" ]
[]
false
false
false
true
false
let mont_ctx_free k =
MA.bn_field_free k
false
Hacl.Bignum256.fst
Hacl.Bignum256.mont_ctx_init
val mont_ctx_init: MA.bn_field_init_st t_limbs n_limbs
val mont_ctx_init: MA.bn_field_init_st t_limbs n_limbs
let mont_ctx_init r n = MA.bn_field_init n_limbs precompr2 r n
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 145, "start_col": 0, "start_line": 144 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.MontArithmetic.bn_field_init_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.MontArithmetic.bn_field_init", "Hacl.Bignum256.precompr2", "Hacl.Bignum.MontArithmetic.pbn_mont_ctx" ]
[]
false
false
false
true
false
let mont_ctx_init r n =
MA.bn_field_init n_limbs precompr2 r n
false
Hacl.Bignum256.fst
Hacl.Bignum256.exp_consttime
val exp_consttime:BE.bn_mod_exp_st t_limbs n_limbs
val exp_consttime:BE.bn_mod_exp_st t_limbs n_limbs
let exp_consttime: BE.bn_mod_exp_st t_limbs n_limbs = BE.mk_bn_mod_exp n_limbs precompr2 exp_consttime_precomp
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 136, "start_col": 0, "start_line": 135 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Exponentiation.bn_mod_exp_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Exponentiation.mk_bn_mod_exp", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum256.precompr2", "Hacl.Bignum256.exp_consttime_precomp" ]
[]
false
false
false
true
false
let exp_consttime:BE.bn_mod_exp_st t_limbs n_limbs =
BE.mk_bn_mod_exp n_limbs precompr2 exp_consttime_precomp
false
Hacl.Bignum256.fst
Hacl.Bignum256.mod_inv_prime_vartime
val mod_inv_prime_vartime: BS.bn_mod_inv_prime_safe_st t_limbs n_limbs
val mod_inv_prime_vartime: BS.bn_mod_inv_prime_safe_st t_limbs n_limbs
let mod_inv_prime_vartime = BS.mk_bn_mod_inv_prime_safe n_limbs exp_vartime
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 75, "end_line": 142, "start_col": 0, "start_line": 142 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.bn_mod_inv_prime_safe_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.SafeAPI.mk_bn_mod_inv_prime_safe", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum256.exp_vartime" ]
[]
false
false
false
true
false
let mod_inv_prime_vartime =
BS.mk_bn_mod_inv_prime_safe n_limbs exp_vartime
false
Hacl.Bignum256.fst
Hacl.Bignum256.lt_mask
val lt_mask: BN.bn_lt_mask_st t_limbs n_limbs
val lt_mask: BN.bn_lt_mask_st t_limbs n_limbs
let lt_mask = BN.bn_lt_mask n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 171, "start_col": 0, "start_line": 171 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn_lt_mask_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.bn_lt_mask", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs" ]
[]
false
false
false
true
false
let lt_mask =
BN.bn_lt_mask n_limbs
false
Hacl.Bignum256.fst
Hacl.Bignum256.mod_inv_prime_vartime_precomp
val mod_inv_prime_vartime_precomp: BS.bn_mod_inv_prime_ctx_st t_limbs n_limbs
val mod_inv_prime_vartime_precomp: BS.bn_mod_inv_prime_ctx_st t_limbs n_limbs
let mod_inv_prime_vartime_precomp k a res = BS.mk_bn_mod_inv_prime_ctx n_limbs (BI.mk_bn_mod_inv_prime_precomp n_limbs exp_vartime_precomp) k a res
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 161, "start_col": 0, "start_line": 159 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.bn_mod_inv_prime_ctx_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.MontArithmetic.pbn_mont_ctx", "Hacl.Bignum256.t_limbs", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.SafeAPI.mk_bn_mod_inv_prime_ctx", "FStar.Ghost.hide", "Hacl.Bignum.meta_len", "Hacl.Bignum.ModInv.mk_bn_mod_inv_prime_precomp", "Hacl.Bignum256.exp_vartime_p...
[]
false
false
false
true
false
let mod_inv_prime_vartime_precomp k a res =
BS.mk_bn_mod_inv_prime_ctx n_limbs (BI.mk_bn_mod_inv_prime_precomp n_limbs exp_vartime_precomp) k a res
false
Hacl.Bignum256.fst
Hacl.Bignum256.mul
val mul: a:lbignum t_limbs n_limbs -> BN.bn_karatsuba_mul_st t_limbs n_limbs a
val mul: a:lbignum t_limbs n_limbs -> BN.bn_karatsuba_mul_st t_limbs n_limbs a
let mul (a:lbignum t_limbs n_limbs) : BN.bn_karatsuba_mul_st t_limbs n_limbs a = BN.bn_mul n_limbs n_limbs a
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 27, "start_col": 0, "start_line": 26 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Bignum256.lbignum Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs -> Hacl.Bignum.bn_karatsuba_mul_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs a
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum256.lbignum", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.bn_mul", "Hacl.Bignum.bn_karatsuba_mul_st" ]
[]
false
false
false
false
false
let mul (a: lbignum t_limbs n_limbs) : BN.bn_karatsuba_mul_st t_limbs n_limbs a =
BN.bn_mul n_limbs n_limbs a
false
Hacl.Bignum256.fst
Hacl.Bignum256.eq_mask
val eq_mask: BN.bn_eq_mask_st t_limbs n_limbs
val eq_mask: BN.bn_eq_mask_st t_limbs n_limbs
let eq_mask = BN.bn_eq_mask n_limbs
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 173, "start_col": 0, "start_line": 173 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.bn_eq_mask_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.bn_eq_mask", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs" ]
[]
false
false
false
true
false
let eq_mask =
BN.bn_eq_mask n_limbs
false
Hacl.Bignum256.fst
Hacl.Bignum256.new_bn_from_bytes_le
val new_bn_from_bytes_le: BS.new_bn_from_bytes_le_st t_limbs
val new_bn_from_bytes_le: BS.new_bn_from_bytes_le_st t_limbs
let new_bn_from_bytes_le = BS.new_bn_from_bytes_le
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 165, "start_col": 0, "start_line": 165 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.new_bn_from_bytes_le_st Hacl.Bignum256.t_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.SafeAPI.new_bn_from_bytes_le", "Hacl.Bignum256.t_limbs" ]
[]
false
false
false
true
false
let new_bn_from_bytes_le =
BS.new_bn_from_bytes_le
false
Hacl.Bignum256.fst
Hacl.Bignum256.mod
val mod: BS.bn_mod_slow_safe_st t_limbs n_limbs
val mod: BS.bn_mod_slow_safe_st t_limbs n_limbs
let mod n a res = BS.mk_bn_mod_slow_safe n_limbs (BR.mk_bn_mod_slow n_limbs precompr2 bn_slow_precomp) n a res
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 94, "end_line": 113, "start_col": 0, "start_line": 112 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.bn_mod_slow_safe_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.SafeAPI.mk_bn_mod_slow_safe", "Hacl.Bignum.ModReduction.mk_bn_mod_slow", "Hacl.Bignum256.precompr2", "Hacl.Bignum256.bn_slow_prec...
[]
false
false
false
true
false
let mod n a res =
BS.mk_bn_mod_slow_safe n_limbs (BR.mk_bn_mod_slow n_limbs precompr2 bn_slow_precomp) n a res
false
Hacl.Bignum256.fst
Hacl.Bignum256.new_bn_from_bytes_be
val new_bn_from_bytes_be: BS.new_bn_from_bytes_be_st t_limbs
val new_bn_from_bytes_be: BS.new_bn_from_bytes_be_st t_limbs
let new_bn_from_bytes_be = BS.new_bn_from_bytes_be
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 163, "start_col": 0, "start_line": 163 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.SafeAPI.new_bn_from_bytes_be_st Hacl.Bignum256.t_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.SafeAPI.new_bn_from_bytes_be", "Hacl.Bignum256.t_limbs" ]
[]
false
false
false
true
false
let new_bn_from_bytes_be =
BS.new_bn_from_bytes_be
false
Hacl.Bignum256.fst
Hacl.Bignum256.sqr
val sqr: a:lbignum t_limbs n_limbs -> BN.bn_karatsuba_sqr_st t_limbs n_limbs a
val sqr: a:lbignum t_limbs n_limbs -> BN.bn_karatsuba_sqr_st t_limbs n_limbs a
let sqr (a:lbignum t_limbs n_limbs) : BN.bn_karatsuba_sqr_st t_limbs n_limbs a = BN.bn_sqr n_limbs a
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 30, "start_col": 0, "start_line": 29 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Bignum256.lbignum Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs -> Hacl.Bignum.bn_karatsuba_sqr_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs a
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum256.lbignum", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.bn_sqr", "Hacl.Bignum.bn_karatsuba_sqr_st" ]
[]
false
false
false
false
false
let sqr (a: lbignum t_limbs n_limbs) : BN.bn_karatsuba_sqr_st t_limbs n_limbs a =
BN.bn_sqr n_limbs a
false
Hacl.Bignum256.fst
Hacl.Bignum256.exp_vartime_precomp
val exp_vartime_precomp:BE.bn_mod_exp_precomp_st t_limbs n_limbs
val exp_vartime_precomp:BE.bn_mod_exp_precomp_st t_limbs n_limbs
let exp_vartime_precomp: BE.bn_mod_exp_precomp_st t_limbs n_limbs = BE.bn_mod_exp_vartime_precomp n_limbs (BE.bn_mod_exp_amm_bm_vartime_precomp almost_mont_inst) (BE.bn_mod_exp_amm_fw_vartime_precomp almost_mont_inst 4ul)
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 122, "start_col": 0, "start_line": 119 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_vartime_precomp", "Hacl.Bignum256.almost_mont_inst", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_vartime_precomp", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let exp_vartime_precomp:BE.bn_mod_exp_precomp_st t_limbs n_limbs =
BE.bn_mod_exp_vartime_precomp n_limbs (BE.bn_mod_exp_amm_bm_vartime_precomp almost_mont_inst) (BE.bn_mod_exp_amm_fw_vartime_precomp almost_mont_inst 4ul)
false
Hacl.Bignum256.fst
Hacl.Bignum256.exp_consttime_precomp
val exp_consttime_precomp:BE.bn_mod_exp_precomp_st t_limbs n_limbs
val exp_consttime_precomp:BE.bn_mod_exp_precomp_st t_limbs n_limbs
let exp_consttime_precomp: BE.bn_mod_exp_precomp_st t_limbs n_limbs = BE.bn_mod_exp_consttime_precomp n_limbs (BE.bn_mod_exp_amm_bm_consttime_precomp almost_mont_inst) (BE.bn_mod_exp_amm_fw_consttime_precomp almost_mont_inst 4ul)
{ "file_name": "code/bignum/Hacl.Bignum256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 128, "start_col": 0, "start_line": 125 }
module Hacl.Bignum256 open FStar.Mul module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery module BE = Hacl.Bignum.Exponentiation module BR = Hacl.Bignum.ModReduction module BI = Hacl.Bignum.ModInv #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let add: BN.bn_add_eq_le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModReduction.fst.checked", "Hacl.Bignum.ModInv.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.AlmostMontgomery.fsti....
[ { "abbrev": true, "full_module": "Hacl.Bignum.ModInv", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Bignum.ModReduction", "short_module": "BR" }, { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st Hacl.Bignum256.t_limbs Hacl.Bignum256.n_limbs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp", "Hacl.Bignum256.t_limbs", "Hacl.Bignum256.n_limbs", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_consttime_precomp", "Hacl.Bignum256.almost_mont_inst", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_consttime_precomp", "FStar.UInt32.__uint_to_t"...
[]
false
false
false
true
false
let exp_consttime_precomp:BE.bn_mod_exp_precomp_st t_limbs n_limbs =
BE.bn_mod_exp_consttime_precomp n_limbs (BE.bn_mod_exp_amm_bm_consttime_precomp almost_mont_inst) (BE.bn_mod_exp_amm_fw_consttime_precomp almost_mont_inst 4ul)
false