effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | val valid_ocmp (c: ocmp) (s: state) : bool | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Sel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let valid_ocmp (c:ocmp) (s:state) : bool =
match c with
| OEq o1 _ -> valid_first_cmp_opr o1
| ONe o1 _ -> valid_first_cmp_opr o1
| OLe o1 _ -> valid_first_cmp_opr o1
| OGe o1 _ -> valid_first_cmp_opr o1
| OLt o1 _ -> valid_first_cmp_opr o1
| OGt o1 _ -> valid_first_cmp_opr o1 | val valid_ocmp (c: ocmp) (s: state) : bool
let valid_ocmp (c: ocmp) (s: state) : bool = | false | null | false | match c with
| OEq o1 _ -> valid_first_cmp_opr o1
| ONe o1 _ -> valid_first_cmp_opr o1
| OLe o1 _ -> valid_first_cmp_opr o1
| OGe o1 _ -> valid_first_cmp_opr o1
| OLt o1 _ -> valid_first_cmp_opr o1
| OGt o1 _ -> valid_first_cmp_opr o1 | {
"checked_file": "Vale.PPC64LE.Semantics_s.fst.checked",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale... | [
"total"
] | [
"Vale.PPC64LE.Semantics_s.ocmp",
"Vale.PPC64LE.Machine_s.state",
"Vale.PPC64LE.Machine_s.cmp_opr",
"Vale.PPC64LE.Machine_s.valid_first_cmp_opr",
"Prims.bool"
] | [] | module Vale.PPC64LE.Semantics_s
open FStar.Mul
open FStar.Seq.Base
open Vale.PPC64LE.Machine_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Types_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.Arch.Types
o... | false | true | Vale.PPC64LE.Semantics_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_ocmp (c: ocmp) (s: state) : bool | [] | Vale.PPC64LE.Semantics_s.valid_ocmp | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Vale.PPC64LE.Semantics_s.ocmp -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool | {
"end_col": 38,
"end_line": 359,
"start_col": 2,
"start_line": 353
} |
Prims.Tot | val eval_ins (ins: ins) : st unit | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Sel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let eval_ins (ins:ins) : st unit =
let* s = get in
match ins with
| Move dst src ->
update_reg dst (eval_reg src s)
| Load64 dst base offset ->
check (fun s -> valid_maddr_offset64 offset);*
check (valid_mem64 base offset);*
update_reg dst (eval_mem (eval_reg base s + offset) s)
| Store64 sr... | val eval_ins (ins: ins) : st unit
let eval_ins (ins: ins) : st unit = | false | null | false | let* s = get in
match ins with
| Move dst src -> update_reg dst (eval_reg src s)
| Load64 dst base offset ->
let* _ = check (fun s -> valid_maddr_offset64 offset) in
let* _ = check (valid_mem64 base offset) in
update_reg dst (eval_mem (eval_reg base s + offset) s)
| Store64 src base offset ->
let* _ = check (fu... | {
"checked_file": "Vale.PPC64LE.Semantics_s.fst.checked",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.fsti.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale... | [
"total"
] | [
"Vale.PPC64LE.Semantics_s.ins",
"Vale.PPC64LE.Semantics_s.op_let_Star",
"Vale.PPC64LE.Machine_s.state",
"Prims.unit",
"Vale.PPC64LE.Semantics_s.get",
"Vale.PPC64LE.Machine_s.reg",
"Vale.PPC64LE.Semantics_s.update_reg",
"Vale.PPC64LE.Semantics_s.eval_reg",
"Prims.int",
"Vale.PPC64LE.Semantics_s.che... | [] | module Vale.PPC64LE.Semantics_s
open FStar.Mul
open FStar.Seq.Base
open Vale.PPC64LE.Machine_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Types_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.Arch.Types
o... | false | true | Vale.PPC64LE.Semantics_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val eval_ins (ins: ins) : st unit | [] | Vale.PPC64LE.Semantics_s.eval_ins | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | ins: Vale.PPC64LE.Semantics_s.ins -> Vale.PPC64LE.Semantics_s.st Prims.unit | {
"end_col": 9,
"end_line": 809,
"start_col": 2,
"start_line": 440
} |
Prims.Tot | val remove_between (s:S.set int) (start:int) (finish:int): S.set int | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Map",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Set",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
... | false | let remove_between s start finish =
if finish <= start then s
else remove_between' s start finish | val remove_between (s:S.set int) (start:int) (finish:int): S.set int
let remove_between s start finish = | false | null | false | if finish <= start then s else remove_between' s start finish | {
"checked_file": "Vale.Lib.Set.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Lib.Set.fst"
} | [
"total"
] | [
"FStar.Set.set",
"Prims.int",
"Prims.op_LessThanOrEqual",
"Prims.bool",
"Vale.Lib.Set.remove_between'"
] | [] | module Vale.Lib.Set
open FStar.Mul
friend FStar.Map
let rec remove_between' s (start:int) (finish:int{start <= finish}) : Tot (s':S.set int{ forall i.
((start <= i /\ i < finish) ==> not (S.mem i s')) /\
((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s)})
(decreases %[finish - start]) =
if finish = star... | false | true | Vale.Lib.Set.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val remove_between (s:S.set int) (start:int) (finish:int): S.set int | [] | Vale.Lib.Set.remove_between | {
"file_name": "vale/specs/defs/Vale.Lib.Set.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: FStar.Set.set Prims.int -> start: Prims.int -> finish: Prims.int -> FStar.Set.set Prims.int | {
"end_col": 37,
"end_line": 15,
"start_col": 2,
"start_line": 14
} |
Prims.Tot | val remove_between' (s: _) (start: int) (finish: int{start <= finish})
: Tot
(s':
S.set int
{ forall i.
((start <= i /\ i < finish) ==> not (S.mem i s')) /\
((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s) })
(decreases %[finish - start]) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Map",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Set",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
... | false | let rec remove_between' s (start:int) (finish:int{start <= finish}) : Tot (s':S.set int{ forall i.
((start <= i /\ i < finish) ==> not (S.mem i s')) /\
((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s)})
(decreases %[finish - start]) =
if finish = start then s
else remove_between' (S.intersect s (S.comp... | val remove_between' (s: _) (start: int) (finish: int{start <= finish})
: Tot
(s':
S.set int
{ forall i.
((start <= i /\ i < finish) ==> not (S.mem i s')) /\
((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s) })
(decreases %[finish - start])
let rec remo... | false | null | false | if finish = start
then s
else remove_between' (S.intersect s (S.complement (S.singleton start))) (start + 1) finish | {
"checked_file": "Vale.Lib.Set.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Lib.Set.fst"
} | [
"total",
""
] | [
"FStar.Set.set",
"Prims.int",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.bool",
"Vale.Lib.Set.remove_between'",
"FStar.Set.intersect",
"FStar.Set.complement",
"FStar.Set.singleton",
"Prims.op_Addition",
"Prims.l_Forall",
"Prims.l_and",
"Prims.l_imp",
"Prims.op_L... | [] | module Vale.Lib.Set
open FStar.Mul
friend FStar.Map
let rec remove_between' s (start:int) (finish:int{start <= finish}) : Tot (s':S.set int{ forall i.
((start <= i /\ i < finish) ==> not (S.mem i s')) /\
((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s)}) | false | false | Vale.Lib.Set.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val remove_between' (s: _) (start: int) (finish: int{start <= finish})
: Tot
(s':
S.set int
{ forall i.
((start <= i /\ i < finish) ==> not (S.mem i s')) /\
((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s) })
(decreases %[finish - start]) | [
"recursion"
] | Vale.Lib.Set.remove_between' | {
"file_name": "vale/specs/defs/Vale.Lib.Set.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: FStar.Set.set Prims.int -> start: Prims.int -> finish: Prims.int{start <= finish}
-> Prims.Tot
(s':
FStar.Set.set Prims.int
{ forall (i: Prims.int).
(start <= i /\ i < finish ==> Prims.op_Negation (FStar.Set.mem i s')) /\
(i < start \/ finish <= i ==> FStar.Set.mem i s' = ... | {
"end_col": 92,
"end_line": 11,
"start_col": 2,
"start_line": 10
} |
Prims.Tot | val parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": false,
"full_module": "LowParse.Tot.Int",
"short_module": null
},
{
"abbrev": false,
"full_module"... | false | let parse_bounded_integer_bare
(i: integer_size)
: Tot (bare_parser (bounded_integer i))
= fun input ->
parse_bounded_integer_spec i input;
if Seq.length input < i
then None
else
let input' = Seq.slice input 0 i in
let _ = E.lemma_be_to_n_is_bounded input' in
let y = U32.uint_to_t (E.be_to_n input... | val parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i))
let parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i)) = | false | null | false | fun input ->
parse_bounded_integer_spec i input;
if Seq.length input < i
then None
else
let input' = Seq.slice input 0 i in
let _ = E.lemma_be_to_n_is_bounded input' in
let y = U32.uint_to_t (E.be_to_n input') in
Some (y, i) | {
"checked_file": "LowParse.Tot.BoundedInt.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Tot.Int.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.Bytes.bytes",
"Prims.op_LessThan",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.tuple2",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.Spec.Base.consumed_length",
"Prims.bool",
... | [] | module LowParse.Tot.BoundedInt
include LowParse.Spec.BoundedInt
include LowParse.Tot.Int
module E = FStar.Endianness
module U32 = FStar.UInt32
let parse_bounded_integer_bare
(i: integer_size) | false | false | LowParse.Tot.BoundedInt.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i)) | [] | LowParse.Tot.BoundedInt.parse_bounded_integer_bare | {
"file_name": "src/lowparse/LowParse.Tot.BoundedInt.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | i: LowParse.Spec.BoundedInt.integer_size
-> LowParse.Tot.Base.bare_parser (LowParse.Spec.BoundedInt.bounded_integer i) | {
"end_col": 15,
"end_line": 19,
"start_col": 2,
"start_line": 11
} |
Prims.Tot | val parse_bounded_integer
(i: integer_size)
: Tot (parser (parse_bounded_integer_kind i) (bounded_integer i)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": false,
"full_module": "LowParse.Tot.Int",
"short_module": null
},
{
"abbrev": false,
"full_module"... | false | let parse_bounded_integer
i
=
Classical.forall_intro (parse_bounded_integer_spec i);
parser_kind_prop_ext
(parse_bounded_integer_kind i)
(parse_bounded_integer i)
(parse_bounded_integer_bare i);
parse_bounded_integer_bare i | val parse_bounded_integer
(i: integer_size)
: Tot (parser (parse_bounded_integer_kind i) (bounded_integer i))
let parse_bounded_integer i = | false | null | false | Classical.forall_intro (parse_bounded_integer_spec i);
parser_kind_prop_ext (parse_bounded_integer_kind i)
(parse_bounded_integer i)
(parse_bounded_integer_bare i);
parse_bounded_integer_bare i | {
"checked_file": "LowParse.Tot.BoundedInt.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Tot.Int.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.Tot.BoundedInt.parse_bounded_integer_bare",
"Prims.unit",
"LowParse.Spec.Base.parser_kind_prop_ext",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer",
"... | [] | module LowParse.Tot.BoundedInt
include LowParse.Spec.BoundedInt
include LowParse.Tot.Int
module E = FStar.Endianness
module U32 = FStar.UInt32
let parse_bounded_integer_bare
(i: integer_size)
: Tot (bare_parser (bounded_integer i))
= fun input ->
parse_bounded_integer_spec i input;
if Seq.length input < i
the... | false | false | LowParse.Tot.BoundedInt.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_bounded_integer
(i: integer_size)
: Tot (parser (parse_bounded_integer_kind i) (bounded_integer i)) | [] | LowParse.Tot.BoundedInt.parse_bounded_integer | {
"file_name": "src/lowparse/LowParse.Tot.BoundedInt.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | i: LowParse.Spec.BoundedInt.integer_size
-> LowParse.Tot.Base.parser (LowParse.Spec.BoundedInt.parse_bounded_integer_kind i)
(LowParse.Spec.BoundedInt.bounded_integer i) | {
"end_col": 30,
"end_line": 33,
"start_col": 2,
"start_line": 28
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let felem = lbuffer uint64 5ul | let felem = | false | null | false | lbuffer uint64 5ul | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val felem : Type0 | [] | Hacl.Impl.Curve25519.Field51.felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 30,
"end_line": 25,
"start_col": 12,
"start_line": 25
} | |
Prims.GTot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let as_felem =
C.f51_as_felem | let as_felem = | false | null | false | C.f51_as_felem | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"sometrivial"
] | [
"Hacl.Impl.Curve25519.Fields.Core.f51_as_felem"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val as_felem : h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51
-> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5 | [] | Hacl.Impl.Curve25519.Field51.as_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51
-> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5 | {
"end_col": 16,
"end_line": 68,
"start_col": 2,
"start_line": 68
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let felem_wide = lbuffer uint128 5ul | let felem_wide = | false | null | false | lbuffer uint128 5ul | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint128",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val felem_wide : Type0 | [] | Hacl.Impl.Curve25519.Field51.felem_wide | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 36,
"end_line": 27,
"start_col": 17,
"start_line": 27
} | |
Prims.GTot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let as_nat = C.f51_as_nat | let as_nat = | false | null | false | C.f51_as_nat | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"sometrivial"
] | [
"Hacl.Impl.Curve25519.Fields.Core.f51_as_nat"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val as_nat : h: FStar.Monotonic.HyperStack.mem ->
e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51
-> Prims.GTot Prims.nat | [] | Hacl.Impl.Curve25519.Field51.as_nat | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: FStar.Monotonic.HyperStack.mem ->
e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51
-> Prims.GTot Prims.nat | {
"end_col": 25,
"end_line": 30,
"start_col": 13,
"start_line": 30
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let felem2 = lbuffer uint64 10ul | let felem2 = | false | null | false | lbuffer uint64 10ul | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val felem2 : Type0 | [] | Hacl.Impl.Curve25519.Field51.felem2 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 32,
"end_line": 26,
"start_col": 13,
"start_line": 26
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let felem_fits =
C.f51_felem_fits | let felem_fits = | false | null | false | C.f51_felem_fits | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val felem_fits : h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 ->
m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5
-> Type0 | [] | Hacl.Impl.Curve25519.Field51.felem_fits | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 ->
m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5
-> Type0 | {
"end_col": 18,
"end_line": 53,
"start_col": 2,
"start_line": 53
} | |
Prims.GTot | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let mul_inv_t =
C.f51_mul_inv_t | let mul_inv_t = | false | null | false | C.f51_mul_inv_t | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"sometrivial"
] | [
"Hacl.Impl.Curve25519.Fields.Core.f51_mul_inv_t"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mul_inv_t : h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51
-> Prims.GTot Type0 | [] | Hacl.Impl.Curve25519.Field51.mul_inv_t | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51
-> Prims.GTot Type0 | {
"end_col": 17,
"end_line": 72,
"start_col": 2,
"start_line": 72
} | |
Prims.GTot | val feval_wideh: h:mem -> f:felem_wide -> GTot P.elem | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let feval_wideh h f = (wide_as_nat h f) % P.prime | val feval_wideh: h:mem -> f:felem_wide -> GTot P.elem
let feval_wideh h f = | false | null | false | (wide_as_nat h f) % P.prime | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"Hacl.Impl.Curve25519.Field51.felem_wide",
"Prims.op_Modulus",
"Hacl.Impl.Curve25519.Field51.wide_as_nat",
"Spec.Curve25519.prime",
"Spec.Curve25519.elem"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val feval_wideh: h:mem -> f:felem_wide -> GTot P.elem | [] | Hacl.Impl.Curve25519.Field51.feval_wideh | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field51.felem_wide
-> Prims.GTot Spec.Curve25519.elem | {
"end_col": 49,
"end_line": 49,
"start_col": 22,
"start_line": 49
} |
Prims.GTot | val fevalh: h:mem -> f:felem -> GTot P.elem | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fevalh h f = (as_nat h f) % P.prime | val fevalh: h:mem -> f:felem -> GTot P.elem
let fevalh h f = | false | null | false | (as_nat h f) % P.prime | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"Hacl.Impl.Curve25519.Field51.felem",
"Prims.op_Modulus",
"Hacl.Impl.Curve25519.Field51.as_nat",
"Spec.Curve25519.prime",
"Spec.Curve25519.elem"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fevalh: h:mem -> f:felem -> GTot P.elem | [] | Hacl.Impl.Curve25519.Field51.fevalh | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field51.felem
-> Prims.GTot Spec.Curve25519.elem | {
"end_col": 39,
"end_line": 45,
"start_col": 17,
"start_line": 45
} |
Prims.GTot | val wide_as_nat: h:mem -> e:felem_wide -> GTot nat | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let wide_as_nat h e =
let s = as_seq h e in
let s0 = s.[0] in
let s1 = s.[1] in
let s2 = s.[2] in
let s3 = s.[3] in
let s4 = s.[4] in
S.wide_as_nat5 (s0, s1, s2, s3, s4) | val wide_as_nat: h:mem -> e:felem_wide -> GTot nat
let wide_as_nat h e = | false | null | false | let s = as_seq h e in
let s0 = s.[ 0 ] in
let s1 = s.[ 1 ] in
let s2 = s.[ 2 ] in
let s3 = s.[ 3 ] in
let s4 = s.[ 4 ] in
S.wide_as_nat5 (s0, s1, s2, s3, s4) | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"Hacl.Impl.Curve25519.Field51.felem_wide",
"Hacl.Spec.Curve25519.Field51.Definition.wide_as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.uint128",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U128",
"Lib.IntTypes.SEC",
"Prims.eq2",
"FStar.Seq.Base.index",
"Li... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val wide_as_nat: h:mem -> e:felem_wide -> GTot nat | [] | Hacl.Impl.Curve25519.Field51.wide_as_nat | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Field51.felem_wide
-> Prims.GTot Prims.nat | {
"end_col": 37,
"end_line": 41,
"start_col": 21,
"start_line": 34
} |
Prims.Tot | val felem_wide_fits: h:mem -> f:felem_wide -> m:S.scale128_5 -> Type0 | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let felem_wide_fits h f m =
let s = as_seq h f in
let s0 = s.[0] in
let s1 = s.[1] in
let s2 = s.[2] in
let s3 = s.[3] in
let s4 = s.[4] in
S.felem_wide_fits5 (s0, s1, s2, s3, s4) m | val felem_wide_fits: h:mem -> f:felem_wide -> m:S.scale128_5 -> Type0
let felem_wide_fits h f m = | false | null | false | let s = as_seq h f in
let s0 = s.[ 0 ] in
let s1 = s.[ 1 ] in
let s2 = s.[ 2 ] in
let s3 = s.[ 3 ] in
let s4 = s.[ 4 ] in
S.felem_wide_fits5 (s0, s1, s2, s3, s4) m | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"FStar.Monotonic.HyperStack.mem",
"Hacl.Impl.Curve25519.Field51.felem_wide",
"Hacl.Spec.Curve25519.Field51.Definition.scale128_5",
"Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits5",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.uint128",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U128",
"Lib.I... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val felem_wide_fits: h:mem -> f:felem_wide -> m:S.scale128_5 -> Type0 | [] | Hacl.Impl.Curve25519.Field51.felem_wide_fits | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: FStar.Monotonic.HyperStack.mem ->
f: Hacl.Impl.Curve25519.Field51.felem_wide ->
m: Hacl.Spec.Curve25519.Field51.Definition.scale128_5
-> Type0 | {
"end_col": 43,
"end_line": 64,
"start_col": 27,
"start_line": 57
} |
FStar.HyperStack.ST.Stack | val set_zero:
f:felem -> Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 0) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let set_zero f =
f.(0ul) <- u64 0;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0;
f.(4ul) <- u64 0 | val set_zero:
f:felem -> Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 0)
let set_zero f = | true | null | false | f.(0ul) <- u64 0;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0;
f.(4ul) <- u64 0 | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [] | [
"Hacl.Impl.Curve25519.Field51.felem",
"Lib.Buffer.op_Array_Assignment",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.u64",
"Prims.unit"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val set_zero:
f:felem -> Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 0) | [] | Hacl.Impl.Curve25519.Field51.set_zero | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field51.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 18,
"end_line": 95,
"start_col": 2,
"start_line": 91
} |
FStar.HyperStack.ST.Stack | val set_one:
f:felem -> Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 1) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let set_one f =
f.(0ul) <- u64 1;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0;
f.(4ul) <- u64 0 | val set_one:
f:felem -> Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 1)
let set_one f = | true | null | false | f.(0ul) <- u64 1;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0;
f.(4ul) <- u64 0 | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [] | [
"Hacl.Impl.Curve25519.Field51.felem",
"Lib.Buffer.op_Array_Assignment",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.u64",
"Prims.unit"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val set_one:
f:felem -> Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 1) | [] | Hacl.Impl.Curve25519.Field51.set_one | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field51.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 18,
"end_line": 109,
"start_col": 2,
"start_line": 105
} |
Prims.Tot | val fsqr: C.(fsqr_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fsqr out f _ =
let f0 = f.(0ul) in
let f1 = f.(1ul) in
let f2 = f.(2ul) in
let f3 = f.(3ul) in
let f4 = f.(4ul) in
let (o0,o1,o2,o3,o4) = fsqr5 (f0,f1,f2,f3,f4) in
out.(0ul) <- o0;
out.(1ul) <- o1;
out.(2ul) <- o2;
out.(3ul) <- o3;
out.(4ul) <- o4 | val fsqr: C.(fsqr_t M51 True)
let fsqr out f _ = | false | null | false | let f0 = f.(0ul) in
let f1 = f.(1ul) in
let f2 = f.(2ul) in
let f3 = f.(3ul) in
let f4 = f.(4ul) in
let o0, o1, o2, o3, o4 = fsqr5 (f0, f1, f2, f3, f4) in
out.(0ul) <- o0;
out.(1ul) <- o1;
out.(2ul) <- o2;
out.(3ul) <- o3;
out.(4ul) <- o4 | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Hacl.Impl.Curve25519.Fields.Core.felem_wide",
"Lib.IntTypes.uint64",
"Lib.Buffer.op_Array_Assignment",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Hacl.Impl.Curve25519.Fields.Core.nlimb",
"FStar.UInt32.__uint_to_t",
"Pr... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsqr: C.(fsqr_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fsqr | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fsqr_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 17,
"end_line": 274,
"start_col": 18,
"start_line": 263
} |
FStar.HyperStack.ST.StackInline | val create_felem: unit
-> StackInline felem
(requires fun _ -> True)
(ensures fun h0 f h1 ->
stack_allocated f h0 h1 (LSeq.create 5 (u64 0)) /\
as_nat h1 f == 0) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let create_felem () = create 5ul (u64 0) | val create_felem: unit
-> StackInline felem
(requires fun _ -> True)
(ensures fun h0 f h1 ->
stack_allocated f h0 h1 (LSeq.create 5 (u64 0)) /\
as_nat h1 f == 0)
let create_felem () = | true | null | false | create 5ul (u64 0) | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [] | [
"Prims.unit",
"Lib.Buffer.create",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.u64",
"Lib.Buffer.lbuffer",
"Hacl.Impl.Curve25519.Field51.felem"
] | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val create_felem: unit
-> StackInline felem
(requires fun _ -> True)
(ensures fun h0 f h1 ->
stack_allocated f h0 h1 (LSeq.create 5 (u64 0)) /\
as_nat h1 f == 0) | [] | Hacl.Impl.Curve25519.Field51.create_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.StackInline Hacl.Impl.Curve25519.Field51.felem | {
"end_col": 40,
"end_line": 81,
"start_col": 22,
"start_line": 81
} |
Prims.Tot | val fmul1: C.(fmul1_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fmul1 out f1 f2 =
let f10 = f1.(0ul) in
let f11 = f1.(1ul) in
let f12 = f1.(2ul) in
let f13 = f1.(3ul) in
let f14 = f1.(4ul) in
let (o0,o1,o2,o3,o4) = fmul15 (f10,f11,f12,f13,f14) f2 in
out.(0ul) <- o0;
out.(1ul) <- o1;
out.(2ul) <- o2;
out.(3ul) <- o3;
out.(4ul) <- o4 | val fmul1: C.(fmul1_t M51 True)
let fmul1 out f1 f2 = | false | null | false | let f10 = f1.(0ul) in
let f11 = f1.(1ul) in
let f12 = f1.(2ul) in
let f13 = f1.(3ul) in
let f14 = f1.(4ul) in
let o0, o1, o2, o3, o4 = fmul15 (f10, f11, f12, f13, f14) f2 in
out.(0ul) <- o0;
out.(1ul) <- o1;
out.(2ul) <- o2;
out.(3ul) <- o3;
out.(4ul) <- o4 | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Lib.IntTypes.uint64",
"Lib.Buffer.op_Array_Assignment",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Hacl.Impl.Curve25519.Fields.Core.nlimb",
"FStar.UInt32.__uint_to_t",
"Prims.unit",
"Hacl.Spec.Curve25519.Field51.Defini... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fmul1: C.(fmul1_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fmul1 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fmul1_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 17,
"end_line": 259,
"start_col": 21,
"start_line": 248
} |
Prims.Tot | val fsub: C.(fsub_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fsub out f1 f2 =
let f10 = f1.(0ul) in
let f20 = f2.(0ul) in
let f11 = f1.(1ul) in
let f21 = f2.(1ul) in
let f12 = f1.(2ul) in
let f22 = f2.(2ul) in
let f13 = f1.(3ul) in
let f23 = f2.(3ul) in
let f14 = f1.(4ul) in
let f24 = f2.(4ul) in
out.(0ul) <- f10 +! u64 0x3fffffffffff68 -! f20;
out.(1... | val fsub: C.(fsub_t M51 True)
let fsub out f1 f2 = | false | null | false | let f10 = f1.(0ul) in
let f20 = f2.(0ul) in
let f11 = f1.(1ul) in
let f21 = f2.(1ul) in
let f12 = f1.(2ul) in
let f22 = f2.(2ul) in
let f13 = f1.(3ul) in
let f23 = f2.(3ul) in
let f14 = f1.(4ul) in
let f24 = f2.(4ul) in
out.(0ul) <- f10 +! u64 0x3fffffffffff68 -! f20;
out.(1ul) <- f11 +! u64 0x3ffffffffffff8 -! f21;
ou... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Hacl.Spec.Curve25519.Field51.lemma_fsub",
"FStar.Pervasives.Native.Mktuple5",
"Lib.IntTypes.uint64",
"Prims.unit",
"Lib.Buffer.op_Array_Assignment",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Hacl.Impl.Curve25519.Field... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsub: C.(fsub_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fsub | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fsub_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 64,
"end_line": 176,
"start_col": 20,
"start_line": 160
} |
FStar.HyperStack.ST.Stack | val copy_felem:
f1:felem
-> f2:felem
-> Stack unit
(requires fun h ->
live h f1 /\ live h f2 /\ disjoint f1 f2)
(ensures fun h0 _ h1 ->
modifies (loc f1) h0 h1 /\
as_seq h1 f1 == as_seq h0 f2) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let copy_felem f1 f2 =
f1.(0ul) <- f2.(0ul);
f1.(1ul) <- f2.(1ul);
f1.(2ul) <- f2.(2ul);
f1.(3ul) <- f2.(3ul);
f1.(4ul) <- f2.(4ul);
let h1 = ST.get () in
LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2) | val copy_felem:
f1:felem
-> f2:felem
-> Stack unit
(requires fun h ->
live h f1 /\ live h f2 /\ disjoint f1 f2)
(ensures fun h0 _ h1 ->
modifies (loc f1) h0 h1 /\
as_seq h1 f1 == as_seq h0 f2)
let copy_felem f1 f2 = | true | null | false | f1.(0ul) <- f2.(0ul);
f1.(1ul) <- f2.(1ul);
f1.(2ul) <- f2.(2ul);
f1.(3ul) <- f2.(3ul);
f1.(4ul) <- f2.(4ul);
let h1 = ST.get () in
LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2) | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [] | [
"Hacl.Impl.Curve25519.Field51.felem",
"Lib.Sequence.eq_intro",
"Lib.IntTypes.uint64",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"FStar.UInt32.__uint_to_t",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"FStar.HyperStack.ST.get",
"Lib.B... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val copy_felem:
f1:felem
-> f2:felem
-> Stack unit
(requires fun h ->
live h f1 /\ live h f2 /\ disjoint f1 f2)
(ensures fun h0 _ h1 ->
modifies (loc f1) h0 h1 /\
as_seq h1 f1 == as_seq h0 f2) | [] | Hacl.Impl.Curve25519.Field51.copy_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f1: Hacl.Impl.Curve25519.Field51.felem -> f2: Hacl.Impl.Curve25519.Field51.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 45,
"end_line": 128,
"start_col": 2,
"start_line": 122
} |
FStar.HyperStack.ST.Stack | val load_felem:
f:felem
-> u64s:lbuffer uint64 4ul
-> Stack unit
(requires fun h ->
live h u64s /\ live h f /\ disjoint u64s f /\
v (as_seq h u64s).[3] < pow2 63)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
//felem_fits h1 f (1, 1, 1, 1, 1) /\
mul_inv_t h1 f /\
... | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let load_felem f u64s =
let h0 = ST.get () in
let f0l = u64s.(0ul) &. S.mask51 in
let f0h = u64s.(0ul) >>. 51ul in
let f1l = ((u64s.(1ul) &. u64 0x3fffffffff)) <<. 13ul in
let f1h = u64s.(1ul) >>. 38ul in
let f2l = (u64s.(2ul) &. u64 0x1ffffff) <<. 26ul in
let f2h = u64s.(2ul) >>. 25ul in
let f3l = (u64... | val load_felem:
f:felem
-> u64s:lbuffer uint64 4ul
-> Stack unit
(requires fun h ->
live h u64s /\ live h f /\ disjoint u64s f /\
v (as_seq h u64s).[3] < pow2 63)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
//felem_fits h1 f (1, 1, 1, 1, 1) /\
mul_inv_t h1 f /\
... | true | null | false | let h0 = ST.get () in
let f0l = u64s.(0ul) &. S.mask51 in
let f0h = u64s.(0ul) >>. 51ul in
let f1l = ((u64s.(1ul) &. u64 0x3fffffffff)) <<. 13ul in
let f1h = u64s.(1ul) >>. 38ul in
let f2l = (u64s.(2ul) &. u64 0x1ffffff) <<. 26ul in
let f2h = u64s.(2ul) >>. 25ul in
let f3l = (u64s.(3ul) &. u64 0xfff) <<. 39ul in
let f3... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [] | [
"Hacl.Impl.Curve25519.Field51.felem",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Prims.unit",
"Lib.Buffer.op_Array_Assignment",
"Lib.IntTypes.op_Bar_Dot",
"Lib.IntTypes.U... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val load_felem:
f:felem
-> u64s:lbuffer uint64 4ul
-> Stack unit
(requires fun h ->
live h u64s /\ live h f /\ disjoint u64s f /\
v (as_seq h u64s).[3] < pow2 63)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
//felem_fits h1 f (1, 1, 1, 1, 1) /\
mul_inv_t h1 f /\
... | [] | Hacl.Impl.Curve25519.Field51.load_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field51.felem -> u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 42,
"end_line": 333,
"start_col": 23,
"start_line": 318
} |
Prims.Tot | val fadd: C.(fadd_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fadd out f1 f2 =
let h0 = ST.get () in
let f10 = f1.(0ul) in
let f20 = f2.(0ul) in
let f11 = f1.(1ul) in
let f21 = f2.(1ul) in
let f12 = f1.(2ul) in
let f22 = f2.(2ul) in
let f13 = f1.(3ul) in
let f23 = f2.(3ul) in
let f14 = f1.(4ul) in
let f24 = f2.(4ul) in
out.(0ul) <- f10 +! f20;
out.(1... | val fadd: C.(fadd_t M51 True)
let fadd out f1 f2 = | false | null | false | let h0 = ST.get () in
let f10 = f1.(0ul) in
let f20 = f2.(0ul) in
let f11 = f1.(1ul) in
let f21 = f2.(1ul) in
let f12 = f1.(2ul) in
let f22 = f2.(2ul) in
let f13 = f1.(3ul) in
let f23 = f2.(3ul) in
let f14 = f1.(4ul) in
let f24 = f2.(4ul) in
out.(0ul) <- f10 +! f20;
out.(1ul) <- f11 +! f21;
out.(2ul) <- f12 +! f22;
out... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"FStar.Math.Lemmas.lemma_mod_plus_distr_r",
"Prims.op_Modulus",
"Hacl.Impl.Curve25519.Field51.as_nat",
"Spec.Curve25519.prime",
"Prims.unit",
"FStar.Math.Lemmas.lemma_mod_plus_distr_l",
"Prims._assert",
"Prims.eq2",
... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fadd: C.(fadd_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fadd | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fadd_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 51,
"end_line": 156,
"start_col": 20,
"start_line": 134
} |
Prims.Tot | val cswap2: C.(cswap2_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let cswap2 bit p1 p2 =
let h0 = ST.get () in
let mask = u64 0 -. bit in
[@ inline_let]
let inv h1 (i:nat{i <= 10}) =
(forall (k:nat{k < i}).
if v bit = 1
then (as_seq h1 p1).[k] == (as_seq h0 p2).[k] /\ (as_seq h1 p2).[k] == (as_seq h0 p1).[k]
else (as_seq h1 p1).[k] == (as_seq h0 p1).[k]... | val cswap2: C.(cswap2_t M51 True)
let cswap2 bit p1 p2 = | false | null | false | let h0 = ST.get () in
let mask = u64 0 -. bit in
[@@ inline_let ]let inv h1 (i: nat{i <= 10}) =
(forall (k: nat{k < i}).
if v bit = 1
then
(as_seq h1 p1).[ k ] == (as_seq h0 p2).[ k ] /\ (as_seq h1 p2).[ k ] == (as_seq h0 p1).[ k ]
else
(as_seq h1 p1).[ k ] == (as_seq h0 p1).[ k ] /\... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Lib.IntTypes.uint64",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Hacl.Impl.Curve25519.Fields.Core.felem2",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Lib.Sequence.eq_intro",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Lib.IntTypes.U32",
"Li... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val cswap2: C.(cswap2_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.cswap2 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.cswap2_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 89,
"end_line": 384,
"start_col": 22,
"start_line": 361
} |
FStar.HyperStack.ST.Stack | val store_felem:
u64s:lbuffer uint64 4ul
-> f:felem
-> Stack unit
(requires fun h ->
live h f /\ live h u64s /\ mul_inv_t h f)
(ensures fun h0 _ h1 ->
modifies (loc u64s) h0 h1 /\
as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f)) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let store_felem u64s f =
let f0 = f.(0ul) in
let f1 = f.(1ul) in
let f2 = f.(2ul) in
let f3 = f.(3ul) in
let f4 = f.(4ul) in
let (o0, o1, o2, o3) = store_felem5 (f0, f1, f2, f3, f4) in
u64s.(0ul) <- o0;
u64s.(1ul) <- o1;
u64s.(2ul) <- o2;
u64s.(3ul) <- o3;
let h1 = ST.get () in
Hacl.Impl.Curve25... | val store_felem:
u64s:lbuffer uint64 4ul
-> f:felem
-> Stack unit
(requires fun h ->
live h f /\ live h u64s /\ mul_inv_t h f)
(ensures fun h0 _ h1 ->
modifies (loc u64s) h0 h1 /\
as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f))
let store_felem u64s f = | true | null | false | let f0 = f.(0ul) in
let f1 = f.(1ul) in
let f2 = f.(2ul) in
let f3 = f.(3ul) in
let f4 = f.(4ul) in
let o0, o1, o2, o3 = store_felem5 (f0, f1, f2, f3, f4) in
u64s.(0ul) <- o0;
u64s.(1ul) <- o1;
u64s.(2ul) <- o2;
u64s.(3ul) <- o3;
let h1 = ST.get () in
Hacl.Impl.Curve25519.Lemmas.lemma_nat_from_uints64_le_4 (as_seq h1 u... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Hacl.Impl.Curve25519.Field51.felem",
"Lib.ByteSequence.lemma_nat_from_to_intseq_le_preserves_value",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Prims.unit",
"Hacl.Impl.Curve25519.Lemmas... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | false | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val store_felem:
u64s:lbuffer uint64 4ul
-> f:felem
-> Stack unit
(requires fun h ->
live h f /\ live h u64s /\ mul_inv_t h f)
(ensures fun h0 _ h1 ->
modifies (loc u64s) h0 h1 /\
as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f)) | [] | Hacl.Impl.Curve25519.Field51.store_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul -> f: Hacl.Impl.Curve25519.Field51.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 69,
"end_line": 357,
"start_col": 24,
"start_line": 344
} |
Prims.Tot | val fmul: C.(fmul_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fmul out f1 f2 _ =
let f10 = f1.(0ul) in
let f11 = f1.(1ul) in
let f12 = f1.(2ul) in
let f13 = f1.(3ul) in
let f14 = f1.(4ul) in
let f20 = f2.(0ul) in
let f21 = f2.(1ul) in
let f22 = f2.(2ul) in
let f23 = f2.(3ul) in
let f24 = f2.(4ul) in
let (o0,o1,o2,o3,o4) =
fmul5 (f10,f11,f12,f13,f14... | val fmul: C.(fmul_t M51 True)
let fmul out f1 f2 _ = | false | null | false | let f10 = f1.(0ul) in
let f11 = f1.(1ul) in
let f12 = f1.(2ul) in
let f13 = f1.(3ul) in
let f14 = f1.(4ul) in
let f20 = f2.(0ul) in
let f21 = f2.(1ul) in
let f22 = f2.(2ul) in
let f23 = f2.(3ul) in
let f24 = f2.(4ul) in
let o0, o1, o2, o3, o4 = fmul5 (f10, f11, f12, f13, f14) (f20, f21, f22, f23, f24) in
out.(0ul) <- o... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Hacl.Impl.Curve25519.Fields.Core.felem_wide2",
"Lib.IntTypes.uint64",
"Lib.Buffer.op_Array_Assignment",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Hacl.Impl.Curve25519.Fields.Core.nlimb",
"FStar.UInt32.__uint_to_t",
"P... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fmul: C.(fmul_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fmul | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fmul_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 17,
"end_line": 199,
"start_col": 22,
"start_line": 180
} |
Prims.Tot | val fsqr2: C.(fsqr2_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fsqr2 out f _ =
let f10 = f.(0ul) in
let f11 = f.(1ul) in
let f12 = f.(2ul) in
let f13 = f.(3ul) in
let f14 = f.(4ul) in
let f20 = f.(5ul) in
let f21 = f.(6ul) in
let f22 = f.(7ul) in
let f23 = f.(8ul) in
let f24 = f.(9ul) in
let ((o10,o11,o12,o13,o14),(o20,o21,o22,o23,o24)) =
fsqr25 (f1... | val fsqr2: C.(fsqr2_t M51 True)
let fsqr2 out f _ = | false | null | false | let f10 = f.(0ul) in
let f11 = f.(1ul) in
let f12 = f.(2ul) in
let f13 = f.(3ul) in
let f14 = f.(4ul) in
let f20 = f.(5ul) in
let f21 = f.(6ul) in
let f22 = f.(7ul) in
let f23 = f.(8ul) in
let f24 = f.(9ul) in
let (o10, o11, o12, o13, o14), (o20, o21, o22, o23, o24) =
fsqr25 (f10, f11, f12, f13, f14) (f20, f21, f22, ... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem2",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Hacl.Impl.Curve25519.Fields.Core.felem_wide2",
"Lib.IntTypes.uint64",
"Lib.Buffer.op_Array_Assignment",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Lib.IntTypes.op_Plus_Dot",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fsqr2: C.(fsqr2_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fsqr2 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fsqr2_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 18,
"end_line": 303,
"start_col": 19,
"start_line": 278
} |
Prims.Tot | val fmul2: C.(fmul2_t M51 True) | [
{
"abbrev": true,
"full_module": "Hacl.Impl.Curve25519.Fields.Core",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field51.Lemmas",
"short_module": "Lemmas"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},... | false | let fmul2 out f1 f2 _ =
let f10 = f1.(0ul) in
let f11 = f1.(1ul) in
let f12 = f1.(2ul) in
let f13 = f1.(3ul) in
let f14 = f1.(4ul) in
let f20 = f2.(0ul) in
let f21 = f2.(1ul) in
let f22 = f2.(2ul) in
let f23 = f2.(3ul) in
let f24 = f2.(4ul) in
let f30 = f1.(5ul) in
let f31 = f1.(6ul) in
let ... | val fmul2: C.(fmul2_t M51 True)
let fmul2 out f1 f2 _ = | false | null | false | let f10 = f1.(0ul) in
let f11 = f1.(1ul) in
let f12 = f1.(2ul) in
let f13 = f1.(3ul) in
let f14 = f1.(4ul) in
let f20 = f2.(0ul) in
let f21 = f2.(1ul) in
let f22 = f2.(2ul) in
let f23 = f2.(3ul) in
let f24 = f2.(4ul) in
let f30 = f1.(5ul) in
let f31 = f1.(6ul) in
let f32 = f1.(7ul) in
let f33 = f1.(8ul) in
let f34 = f1... | {
"checked_file": "Hacl.Impl.Curve25519.Field51.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.Loops.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Sp... | [
"total"
] | [
"Hacl.Impl.Curve25519.Fields.Core.felem2",
"Hacl.Impl.Curve25519.Fields.Core.M51",
"Hacl.Impl.Curve25519.Fields.Core.felem_wide2",
"Lib.IntTypes.uint64",
"Lib.Buffer.op_Array_Assignment",
"Hacl.Impl.Curve25519.Fields.Core.limb",
"Lib.IntTypes.op_Plus_Dot",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"... | [] | module Hacl.Impl.Curve25519.Field51
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Curve25519.Field51
include Hacl.Spec.Curve25519.Field51.Definition
module P = Spec.Curve25519
module S = Hacl.Spec.Curve25519.Field51.Definition
mo... | false | true | Hacl.Impl.Curve25519.Field51.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fmul2: C.(fmul2_t M51 True) | [] | Hacl.Impl.Curve25519.Field51.fmul2 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.Curve25519.Fields.Core.fmul2_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True | {
"end_col": 18,
"end_line": 244,
"start_col": 23,
"start_line": 205
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha224_init4 = init #SHA2_224 #M128 | let sha224_init4 = | false | null | false | init #SHA2_224 #M128 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.init",
"Spec.Hash.Definitions.SHA2_224",
"Hacl.Spec.SHA2.Vec.M128"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha224_init4 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha224_init4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 58,
"end_line": 23,
"start_col": 38,
"start_line": 23
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha256_init4 = init #SHA2_256 #M128 | let sha256_init4 = | false | null | false | init #SHA2_256 #M128 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.init",
"Spec.Hash.Definitions.SHA2_256",
"Hacl.Spec.SHA2.Vec.M128"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha256_init4 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha256_init4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 58,
"end_line": 59,
"start_col": 38,
"start_line": 59
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha224_update_nblocks4 = update_nblocks #SHA2_224 #M128 sha224_update4 | let sha224_update_nblocks4 = | false | null | false | update_nblocks #SHA2_224 #M128 sha224_update4 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.update_nblocks",
"Spec.Hash.Definitions.SHA2_224",
"Hacl.Spec.SHA2.Vec.M128",
"Hacl.SHA2.Vec128.sha224_update4"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha224_update_nblocks4 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha224_update_nblocks4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 93,
"end_line": 25,
"start_col": 48,
"start_line": 25
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha224_finish4 = finish #SHA2_224 #M128 | let sha224_finish4 = | false | null | false | finish #SHA2_224 #M128 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.finish",
"Spec.Hash.Definitions.SHA2_224",
"Hacl.Spec.SHA2.Vec.M128"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha224_finish4 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha224_finish4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 62,
"end_line": 27,
"start_col": 40,
"start_line": 27
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha224_update4 = update #SHA2_224 #M128 | let sha224_update4 = | false | null | false | update #SHA2_224 #M128 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.update",
"Spec.Hash.Definitions.SHA2_224",
"Hacl.Spec.SHA2.Vec.M128"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha224_update4 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha224_update4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 62,
"end_line": 24,
"start_col": 40,
"start_line": 24
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha224_update_last4 = update_last #SHA2_224 #M128 sha224_update4 | let sha224_update_last4 = | false | null | false | update_last #SHA2_224 #M128 sha224_update4 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.update_last",
"Spec.Hash.Definitions.SHA2_224",
"Hacl.Spec.SHA2.Vec.M128",
"Hacl.SHA2.Vec128.sha224_update4"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha224_update_last4 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha224_update_last4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 87,
"end_line": 26,
"start_col": 45,
"start_line": 26
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha256_update_last4 = update_last #SHA2_256 #M128 sha256_update4 | let sha256_update_last4 = | false | null | false | update_last #SHA2_256 #M128 sha256_update4 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.update_last",
"Spec.Hash.Definitions.SHA2_256",
"Hacl.Spec.SHA2.Vec.M128",
"Hacl.SHA2.Vec128.sha256_update4"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha256_update_last4 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha256_update_last4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 87,
"end_line": 62,
"start_col": 45,
"start_line": 62
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha256_update_nblocks4 = update_nblocks #SHA2_256 #M128 sha256_update4 | let sha256_update_nblocks4 = | false | null | false | update_nblocks #SHA2_256 #M128 sha256_update4 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.update_nblocks",
"Spec.Hash.Definitions.SHA2_256",
"Hacl.Spec.SHA2.Vec.M128",
"Hacl.SHA2.Vec128.sha256_update4"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha256_update_nblocks4 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha256_update_nblocks4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 93,
"end_line": 61,
"start_col": 48,
"start_line": 61
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha256_update4 = update #SHA2_256 #M128 | let sha256_update4 = | false | null | false | update #SHA2_256 #M128 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.update",
"Spec.Hash.Definitions.SHA2_256",
"Hacl.Spec.SHA2.Vec.M128"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha256_update4 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha256_update4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 62,
"end_line": 60,
"start_col": 40,
"start_line": 60
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha256_finish4 = finish #SHA2_256 #M128 | let sha256_finish4 = | false | null | false | finish #SHA2_256 #M128 | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [
"total"
] | [
"Hacl.Impl.SHA2.Generic.finish",
"Spec.Hash.Definitions.SHA2_256",
"Hacl.Spec.SHA2.Vec.M128"
] | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | true | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha256_finish4 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | [] | Hacl.SHA2.Vec128.sha256_finish4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128 | {
"end_col": 62,
"end_line": 63,
"start_col": 40,
"start_line": 63
} | |
FStar.HyperStack.ST.Stack | val sha224_4 (dst0 dst1 dst2 dst3: lbuffer uint8 28ul) (input_len:size_t) (input0 input1 input2 input3: lbuffer uint8 input_len) :
Stack unit
(requires fun h0 -> v input_len `less_than_max_input_length` SHA2_224 /\
live4 h0 input0 input1 input2 input3 /\
live4 h0 dst0 dst1 dst2 dst3 /\
internally_disjoi... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha224_4 dst0 dst1 dst2 dst3 input_len input0 input1 input2 input3 =
let ib = ntup4 (input0,(input1,(input2,input3))) in
let rb = ntup4 (dst0,(dst1,(dst2,dst3))) in
let h0 = ST.get() in
assert (live_multi h0 ib);
assert (live_multi h0 rb);
assert (internally_disjoint rb);
loc_multi4 rb;
hash #SHA2_2... | val sha224_4 (dst0 dst1 dst2 dst3: lbuffer uint8 28ul) (input_len:size_t) (input0 input1 input2 input3: lbuffer uint8 input_len) :
Stack unit
(requires fun h0 -> v input_len `less_than_max_input_length` SHA2_224 /\
live4 h0 input0 input1 input2 input3 /\
live4 h0 dst0 dst1 dst2 dst3 /\
internally_disjoi... | true | null | false | let ib = ntup4 (input0, (input1, (input2, input3))) in
let rb = ntup4 (dst0, (dst1, (dst2, dst3))) in
let h0 = ST.get () in
assert (live_multi h0 ib);
assert (live_multi h0 rb);
assert (internally_disjoint rb);
loc_multi4 rb;
hash #SHA2_224
#M128
sha224_init4
sha224_update_nblocks4
sha224_update_last4
sha224_... | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.size_t",
"Prims._assert",
"Prims.eq2",
"FStar.Seq.Base.seq",
"Prims.l_or",
"Prims.nat",
"FStar.Seq.Base.length",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Hacl.Hash.Definitions.hash_len",... | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | false | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha224_4 (dst0 dst1 dst2 dst3: lbuffer uint8 28ul) (input_len:size_t) (input0 input1 input2 input3: lbuffer uint8 input_len) :
Stack unit
(requires fun h0 -> v input_len `less_than_max_input_length` SHA2_224 /\
live4 h0 input0 input1 input2 input3 /\
live4 h0 dst0 dst1 dst2 dst3 /\
internally_disjoi... | [] | Hacl.SHA2.Vec128.sha224_4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
dst0: Lib.Buffer.lbuffer Lib.IntTypes.uint8 28ul ->
dst1: Lib.Buffer.lbuffer Lib.IntTypes.uint8 28ul ->
dst2: Lib.Buffer.lbuffer Lib.IntTypes.uint8 28ul ->
dst3: Lib.Buffer.lbuffer Lib.IntTypes.uint8 28ul ->
input_len: Lib.IntTypes.size_t ->
input0: Lib.Buffer.lbuffer Lib.IntTypes.uint8 input_l... | {
"end_col": 55,
"end_line": 56,
"start_col": 72,
"start_line": 42
} |
FStar.HyperStack.ST.Stack | val sha256_4 (dst0 dst1 dst2 dst3: lbuffer uint8 32ul) (input_len:size_t) (input0 input1 input2 input3: lbuffer uint8 input_len) :
Stack unit
(requires fun h0 -> v input_len `less_than_max_input_length` SHA2_256 /\
live4 h0 input0 input1 input2 input3 /\
live4 h0 dst0 dst1 dst2 dst3 /\
internally_disjoi... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.SHA2.Vec",
"short_module": "SpecVec"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
... | false | let sha256_4 dst0 dst1 dst2 dst3 input_len input0 input1 input2 input3 =
let ib = ntup4 (input0,(input1,(input2,input3))) in
let rb = ntup4 (dst0,(dst1,(dst2,dst3))) in
let h0 = ST.get() in
assert (live_multi h0 ib);
assert (live_multi h0 rb);
assert (internally_disjoint rb);
loc_multi4 rb;
hash #SHA2_2... | val sha256_4 (dst0 dst1 dst2 dst3: lbuffer uint8 32ul) (input_len:size_t) (input0 input1 input2 input3: lbuffer uint8 input_len) :
Stack unit
(requires fun h0 -> v input_len `less_than_max_input_length` SHA2_256 /\
live4 h0 input0 input1 input2 input3 /\
live4 h0 dst0 dst1 dst2 dst3 /\
internally_disjoi... | true | null | false | let ib = ntup4 (input0, (input1, (input2, input3))) in
let rb = ntup4 (dst0, (dst1, (dst2, dst3))) in
let h0 = ST.get () in
assert (live_multi h0 ib);
assert (live_multi h0 rb);
assert (internally_disjoint rb);
loc_multi4 rb;
hash #SHA2_256
#M128
sha256_init4
sha256_update_nblocks4
sha256_update_last4
sha256_... | {
"checked_file": "Hacl.SHA2.Vec128.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.NTuple.fsti.checked",
"Lib.MultiBuffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.S... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.size_t",
"Prims._assert",
"Prims.eq2",
"FStar.Seq.Base.seq",
"Prims.l_or",
"Prims.nat",
"FStar.Seq.Base.length",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Hacl.Hash.Definitions.hash_len",... | [] | module Hacl.SHA2.Vec128
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.NTuple
open Lib.Buffer
open Lib.MultiBuffer
open Spec.Hash.Definitions
open Hacl.Spec.SHA2.Vec
open Hacl.Impl.SHA2.Generic
module ST = FStar.HyperStack.ST
module Spec = Spec.Agile.Hash
module SpecVec = ... | false | false | Hacl.SHA2.Vec128.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sha256_4 (dst0 dst1 dst2 dst3: lbuffer uint8 32ul) (input_len:size_t) (input0 input1 input2 input3: lbuffer uint8 input_len) :
Stack unit
(requires fun h0 -> v input_len `less_than_max_input_length` SHA2_256 /\
live4 h0 input0 input1 input2 input3 /\
live4 h0 dst0 dst1 dst2 dst3 /\
internally_disjoi... | [] | Hacl.SHA2.Vec128.sha256_4 | {
"file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
dst0: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
dst1: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
dst2: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
dst3: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
input_len: Lib.IntTypes.size_t ->
input0: Lib.Buffer.lbuffer Lib.IntTypes.uint8 input_l... | {
"end_col": 55,
"end_line": 91,
"start_col": 72,
"start_line": 77
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let within_bounds sw x = norm (within_bounds' sw x) | let within_bounds sw x = | false | null | false | norm (within_bounds' sw x) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.int",
"FStar.Integers.norm",
"FStar.Integers.within_bounds'"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val within_bounds : sw: FStar.Integers.signed_width -> x: Prims.int -> Type0 | [] | FStar.Integers.within_bounds | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | sw: FStar.Integers.signed_width -> x: Prims.int -> Type0 | {
"end_col": 51,
"end_line": 86,
"start_col": 25,
"start_line": 86
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let norm (#a:Type) (x:a) = norm [iota; delta_attr [`%mark_for_norm]] x | let norm (#a: Type) (x: a) = | false | null | false | norm [iota; delta_attr [`%mark_for_norm]] x | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.iota",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val norm : x: a -> a | [] | FStar.Integers.norm | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: a -> a | {
"end_col": 70,
"end_line": 24,
"start_col": 27,
"start_line": 24
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let cast_ok #from to (x:int_t from) = within_bounds to (v x) | let cast_ok #from to (x: int_t from) = | false | null | false | within_bounds to (v x) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.within_bounds",
"FStar.Integers.v"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val cast_ok : to: FStar.Integers.signed_width -> x: FStar.Integers.int_t from -> Type0 | [] | FStar.Integers.cast_ok | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | to: FStar.Integers.signed_width -> x: FStar.Integers.int_t from -> Type0 | {
"end_col": 60,
"end_line": 143,
"start_col": 38,
"start_line": 143
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let uint_16 = int_t (Unsigned W16) | let uint_16 = | false | null | false | int_t (Unsigned W16) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Unsigned",
"FStar.Integers.W16"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint_16 : Type0 | [] | FStar.Integers.uint_16 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 35,
"end_line": 525,
"start_col": 15,
"start_line": 525
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let f_nat (x:nat) (y:nat) = x + y | let f_nat (x y: nat) = | false | null | false | x + y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.nat",
"FStar.Integers.op_Plus",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val f_nat : x: FStar.Integers.nat -> y: FStar.Integers.nat
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | [] | FStar.Integers.f_nat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.nat -> y: FStar.Integers.nat
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | {
"end_col": 33,
"end_line": 581,
"start_col": 28,
"start_line": 581
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let f_nat_int_pos (x:nat) (y:int) (z:pos) = x + y + z | let f_nat_int_pos (x: nat) (y: int) (z: pos) = | false | null | false | x + y + z | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.nat",
"FStar.Integers.int",
"FStar.Integers.pos",
"FStar.Integers.op_Plus",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val f_nat_int_pos : x: FStar.Integers.nat -> y: FStar.Integers.int -> z: FStar.Integers.pos
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | [] | FStar.Integers.f_nat_int_pos | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.nat -> y: FStar.Integers.int -> z: FStar.Integers.pos
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | {
"end_col": 53,
"end_line": 582,
"start_col": 44,
"start_line": 582
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let nat = i:int{ i >= 0 } | let nat = | false | null | false | i: int{i >= 0} | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int",
"Prims.b2t",
"FStar.Integers.op_Greater_Equals",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat : Type0 | [] | FStar.Integers.nat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 25,
"end_line": 571,
"start_col": 10,
"start_line": 571
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let int_128 = int_t (Signed W128) | let int_128 = | false | null | false | int_t (Signed W128) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.W128"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_128 : Type0 | [] | FStar.Integers.int_128 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 33,
"end_line": 557,
"start_col": 14,
"start_line": 557
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let int = int_t (Signed Winfinite) | let int = | false | null | false | int_t (Signed Winfinite) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int : Type0 | [] | FStar.Integers.int | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 40,
"end_line": 537,
"start_col": 16,
"start_line": 537
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let uint_8 = int_t (Unsigned W8) | let uint_8 = | false | null | false | int_t (Unsigned W8) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Unsigned",
"FStar.Integers.W8"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint_8 : Type0 | [] | FStar.Integers.uint_8 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 34,
"end_line": 521,
"start_col": 15,
"start_line": 521
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ok #sw
(op:(int_t (Signed Winfinite)
-> int_t (Signed Winfinite)
-> int_t (Signed Winfinite)))
(x:int_t sw)
(y:int_t sw)
= within_bounds sw (op (v x) (v y)) | let ok
#sw
(op: (int_t (Signed Winfinite) -> int_t (Signed Winfinite) -> int_t (Signed Winfinite)))
(x: int_t sw)
(y: int_t sw)
= | false | null | false | within_bounds sw (op (v x) (v y)) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.within_bounds",
"FStar.Integers.v"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ok : op:
(
_: FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) ->
_: FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite)
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite)) ->
x: FStar.Integers.int_t sw ->
y... | [] | FStar.Integers.ok | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
op:
(
_: FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) ->
_: FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite)
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite)) ->
x: FStar.Integers.int_t sw ->
y: FS... | {
"end_col": 38,
"end_line": 567,
"start_col": 5,
"start_line": 567
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let j (x:Prims.int) (y:Prims.nat) = x - y | let j (x: Prims.int) (y: Prims.nat) = | false | null | false | x - y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"Prims.int",
"Prims.nat",
"FStar.Integers.op_Subtraction",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val j : x: Prims.int -> y: Prims.nat
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | [] | FStar.Integers.j | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: Prims.int -> y: Prims.nat
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | {
"end_col": 41,
"end_line": 588,
"start_col": 36,
"start_line": 588
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let pos = i:nat{ 0 < i } | let pos = | false | null | false | i: nat{0 < i} | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.nat",
"Prims.b2t",
"FStar.Integers.op_Less",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pos : Type0 | [] | FStar.Integers.pos | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 24,
"end_line": 575,
"start_col": 10,
"start_line": 575
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let uint_64 = int_t (Unsigned W64) | let uint_64 = | false | null | false | int_t (Unsigned W64) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Unsigned",
"FStar.Integers.W64"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint_64 : Type0 | [] | FStar.Integers.uint_64 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 35,
"end_line": 533,
"start_col": 15,
"start_line": 533
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let f_uint_8 (x:uint_8) (y:uint_8{ok (+) x y}) = x + y | let f_uint_8 (x: uint_8) (y: uint_8{ok ( + ) x y}) = | false | null | false | x + y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.uint_8",
"FStar.Integers.ok",
"FStar.Integers.Unsigned",
"FStar.Integers.W8",
"FStar.Integers.op_Plus",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val f_uint_8 : x: FStar.Integers.uint_8 -> y: FStar.Integers.uint_8{FStar.Integers.ok FStar.Integers.op_Plus x y}
-> FStar.Integers.int_t (FStar.Integers.Unsigned FStar.Integers.W8) | [] | FStar.Integers.f_uint_8 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.uint_8 -> y: FStar.Integers.uint_8{FStar.Integers.ok FStar.Integers.op_Plus x y}
-> FStar.Integers.int_t (FStar.Integers.Unsigned FStar.Integers.W8) | {
"end_col": 54,
"end_line": 583,
"start_col": 49,
"start_line": 583
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let uint_32 = int_t (Unsigned W32) | let uint_32 = | false | null | false | int_t (Unsigned W32) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Unsigned",
"FStar.Integers.W32"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint_32 : Type0 | [] | FStar.Integers.uint_32 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 35,
"end_line": 529,
"start_col": 15,
"start_line": 529
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let f_int (x:int) (y:int) = x + y | let f_int (x y: int) = | false | null | false | x + y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int",
"FStar.Integers.op_Plus",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val f_int : x: FStar.Integers.int -> y: FStar.Integers.int
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | [] | FStar.Integers.f_int | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int -> y: FStar.Integers.int
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | {
"end_col": 33,
"end_line": 580,
"start_col": 28,
"start_line": 580
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let int_16 = int_t (Signed W16) | let int_16 = | false | null | false | int_t (Signed W16) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.W16"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_16 : Type0 | [] | FStar.Integers.int_16 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 32,
"end_line": 545,
"start_col": 14,
"start_line": 545
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let int_8 = int_t (Signed W8) | let int_8 = | false | null | false | int_t (Signed W8) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.W8"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_8 : Type0 | [] | FStar.Integers.int_8 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 31,
"end_line": 541,
"start_col": 14,
"start_line": 541
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let int_32 = int_t (Signed W32) | let int_32 = | false | null | false | int_t (Signed W32) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.W32"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_32 : Type0 | [] | FStar.Integers.int_32 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 32,
"end_line": 549,
"start_col": 14,
"start_line": 549
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let int_64 = int_t (Signed W64) | let int_64 = | false | null | false | int_t (Signed W64) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.W64"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_64 : Type0 | [] | FStar.Integers.int_64 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 32,
"end_line": 553,
"start_col": 14,
"start_line": 553
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let i (x:Prims.nat) (y:Prims.nat) = x + y | let i (x y: Prims.nat) = | false | null | false | x + y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"Prims.nat",
"FStar.Integers.op_Plus",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val i : x: Prims.nat -> y: Prims.nat
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | [] | FStar.Integers.i | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: Prims.nat -> y: Prims.nat
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | {
"end_col": 41,
"end_line": 587,
"start_col": 36,
"start_line": 587
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let f_int_16 (x:int_16) (y:int_16{ok (+) x y}) = x + y | let f_int_16 (x: int_16) (y: int_16{ok ( + ) x y}) = | false | null | false | x + y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.int_16",
"FStar.Integers.ok",
"FStar.Integers.Signed",
"FStar.Integers.W16",
"FStar.Integers.op_Plus",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val f_int_16 : x: FStar.Integers.int_16 -> y: FStar.Integers.int_16{FStar.Integers.ok FStar.Integers.op_Plus x y}
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.W16) | [] | FStar.Integers.f_int_16 | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_16 -> y: FStar.Integers.int_16{FStar.Integers.ok FStar.Integers.op_Plus x y}
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.W16) | {
"end_col": 54,
"end_line": 584,
"start_col": 49,
"start_line": 584
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let fixed_width = w:width{w <> Winfinite} | let fixed_width = | false | null | false | w: width{w <> Winfinite} | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.width",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.Winfinite"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fixed_width : Type0 | [] | FStar.Integers.fixed_width | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type0 | {
"end_col": 41,
"end_line": 43,
"start_col": 18,
"start_line": 43
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let modulo sw (x:int) (y:pos{Signed? sw ==> y%2=0}) =
match sw with
| Unsigned _ -> x % y
| _ -> FStar.Int.(x @% y) | let modulo sw (x: int) (y: pos{Signed? sw ==> y % 2 = 0}) = | false | null | false | match sw with
| Unsigned _ -> x % y
| _ -> let open FStar.Int in x @% y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.int",
"Prims.pos",
"Prims.l_imp",
"Prims.b2t",
"FStar.Integers.uu___is_Signed",
"Prims.op_Equality",
"Prims.op_Modulus",
"FStar.Integers.fixed_width",
"FStar.Int.op_At_Percent"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val modulo : sw: FStar.Integers.signed_width -> x: Prims.int -> y: Prims.pos{Signed? sw ==> y % 2 = 0}
-> Prims.int | [] | FStar.Integers.modulo | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | sw: FStar.Integers.signed_width -> x: Prims.int -> y: Prims.pos{Signed? sw ==> y % 2 = 0}
-> Prims.int | {
"end_col": 27,
"end_line": 184,
"start_col": 2,
"start_line": 182
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let nat_of_fixed_width (w:fixed_width) =
match nat_of_width w with
| Some v -> v | let nat_of_fixed_width (w: fixed_width) = | false | null | false | match nat_of_width w with | Some v -> v | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.fixed_width",
"FStar.Integers.nat_of_width",
"Prims.int"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat_of_fixed_width : w: FStar.Integers.fixed_width -> Prims.int | [] | FStar.Integers.nat_of_fixed_width | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | w: FStar.Integers.fixed_width -> Prims.int | {
"end_col": 15,
"end_line": 48,
"start_col": 2,
"start_line": 47
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let nat_of_width = function
| W8 -> Some 8
| W16 -> Some 16
| W32 -> Some 32
| W64 -> Some 64
| W128 -> Some 128
| Winfinite -> None | let nat_of_width = | false | null | false | function
| W8 -> Some 8
| W16 -> Some 16
| W32 -> Some 32
| W64 -> Some 64
| W128 -> Some 128
| Winfinite -> None | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.width",
"FStar.Pervasives.Native.Some",
"Prims.int",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat_of_width : _: FStar.Integers.width -> FStar.Pervasives.Native.option Prims.int | [] | FStar.Integers.nat_of_width | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | _: FStar.Integers.width -> FStar.Pervasives.Native.option Prims.int | {
"end_col": 21,
"end_line": 41,
"start_col": 19,
"start_line": 35
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let width_of_sw = function
| Signed w -> w
| Unsigned w -> w | let width_of_sw = | false | null | false | function
| Signed w -> w
| Unsigned w -> w | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.width",
"FStar.Integers.fixed_width"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val width_of_sw : _: FStar.Integers.signed_width -> FStar.Integers.width | [] | FStar.Integers.width_of_sw | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | _: FStar.Integers.signed_width -> FStar.Integers.width | {
"end_col": 19,
"end_line": 57,
"start_col": 18,
"start_line": 55
} | |
Prims.Tot | val op_Greater (#sw: _) (x y: int_t sw) : bool | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( > ) #sw (x:int_t sw) (y:int_t sw) : bool =
match sw with
| Signed Winfinite -> x > y
| Unsigned W8 -> FStar.UInt8.(x >^ y)
| Unsigned W16 -> FStar.UInt16.(x >^ y)
| Unsigned W32 -> FStar.UInt32.(x >^ y)
| Unsigned W64 -> FStar.UInt64.(x >^ y)
| Unsigned W128 -> FStar.UInt128.(x >^ y)
... | val op_Greater (#sw: _) (x y: int_t sw) : bool
let op_Greater #sw (x: int_t sw) (y: int_t sw) : bool = | false | null | false | match sw with
| Signed Winfinite -> x > y
| Unsigned W8 -> let open FStar.UInt8 in x >^ y
| Unsigned W16 -> let open FStar.UInt16 in x >^ y
| Unsigned W32 -> let open FStar.UInt32 in x >^ y
| Unsigned W64 -> let open FStar.UInt64 in x >^ y
| Unsigned W128 -> let open FStar.UInt128 in x >^ y
| Signed W8 -> let open FSta... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.op_GreaterThan",
"FStar.UInt8.op_Greater_Hat",
"FStar.UInt16.op_Greater_Hat",
"FStar.UInt32.op_Greater_Hat",
"FStar.UInt64.op_Greater_Hat",
"FStar.UInt128.op_Greater_Hat",
"FStar.Int8.op_Greater_Hat",
"FStar.Int16.op_Greater_Hat",
"FS... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater (#sw: _) (x y: int_t sw) : bool | [] | FStar.Integers.op_Greater | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> Prims.bool | {
"end_col": 42,
"end_line": 332,
"start_col": 4,
"start_line": 321
} |
Prims.Tot | val op_Subtraction_Question (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let op_Subtraction_Question
(#sw:_{Unsigned? sw})
(x:int_t sw)
(y:int_t sw)
: Tot (int_t sw)
= let Unsigned w = sw in
match w with
| W8 -> FStar.UInt8.(x -?^ y)
| W16 -> FStar.UInt16.(x -?^ y)
| W32 -> FStar.UInt32.(x -?^ y)
| W64 -> FStar.UInt64.(x -?^ y)
| W128 -> F... | val op_Subtraction_Question (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw)
let op_Subtraction_Question (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) = | false | null | false | let Unsigned w = sw in
match w with
| W8 -> let open FStar.UInt8 in x -?^ y
| W16 -> let open FStar.UInt16 in x -?^ y
| W32 -> let open FStar.UInt32 in x -?^ y
| W64 -> let open FStar.UInt64 in x -?^ y
| W128 -> let open FStar.UInt128 in x -?^ y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"FStar.Integers.uu___is_Unsigned",
"FStar.Integers.int_t",
"FStar.Integers.fixed_width",
"FStar.UInt8.op_Subtraction_Question_Hat",
"FStar.UInt16.op_Subtraction_Question_Hat",
"FStar.UInt32.op_Subtraction_Question_Hat",
"FStar.UInt64.op_Subtraction_Questio... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction_Question (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) | [] | FStar.Integers.op_Subtraction_Question | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> FStar.Integers.int_t sw | {
"end_col": 37,
"end_line": 235,
"start_col": 3,
"start_line": 229
} |
Prims.Tot | val op_Subtraction_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let op_Subtraction_Percent
(#sw:_{Unsigned? sw})
(x:int_t sw)
(y:int_t sw)
: Tot (int_t sw)
= let Unsigned w = sw in
match w with
| W8 -> FStar.UInt8.(x -%^ y)
| W16 -> FStar.UInt16.(x -%^ y)
| W32 -> FStar.UInt32.(x -%^ y)
| W64 -> FStar.UInt64.(x -%^ y)
| W128 -... | val op_Subtraction_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw)
let op_Subtraction_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) = | false | null | false | let Unsigned w = sw in
match w with
| W8 -> let open FStar.UInt8 in x -%^ y
| W16 -> let open FStar.UInt16 in x -%^ y
| W32 -> let open FStar.UInt32 in x -%^ y
| W64 -> let open FStar.UInt64 in x -%^ y
| W128 -> let open FStar.UInt128 in x -%^ y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"FStar.Integers.uu___is_Unsigned",
"FStar.Integers.int_t",
"FStar.Integers.fixed_width",
"FStar.UInt8.op_Subtraction_Percent_Hat",
"FStar.UInt16.op_Subtraction_Percent_Hat",
"FStar.UInt32.op_Subtraction_Percent_Hat",
"FStar.UInt64.op_Subtraction_Percent_Ha... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) | [] | FStar.Integers.op_Subtraction_Percent | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> FStar.Integers.int_t sw | {
"end_col": 37,
"end_line": 251,
"start_col": 3,
"start_line": 245
} |
Prims.Tot | val v (#sw: _) (x: int_t sw) : Tot (y: int_t (Signed Winfinite) {within_bounds sw y}) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let v #sw (x:int_t sw)
: Tot (y:int_t (Signed Winfinite){within_bounds sw y})
= match sw with
| Unsigned w ->
(match w with
| W8 -> FStar.UInt8.v x
| W16 -> FStar.UInt16.v x
| W32 -> FStar.UInt32.v x
| W64 -> FStar.UInt64.v x
| W128 -> FStar.UInt128.v x)
| Signed w -... | val v (#sw: _) (x: int_t sw) : Tot (y: int_t (Signed Winfinite) {within_bounds sw y})
let v #sw (x: int_t sw) : Tot (y: int_t (Signed Winfinite) {within_bounds sw y}) = | false | null | false | match sw with
| Unsigned w ->
(match w with
| W8 -> FStar.UInt8.v x
| W16 -> FStar.UInt16.v x
| W32 -> FStar.UInt32.v x
| W64 -> FStar.UInt64.v x
| W128 -> FStar.UInt128.v x)
| Signed w ->
(match w with
| Winfinite -> x
| W8 -> FStar.Int8.v x
| W16 -> FStar.Int16.v x
| W32 -> FSt... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.fixed_width",
"FStar.UInt8.v",
"FStar.UInt16.v",
"FStar.UInt32.v",
"FStar.UInt64.v",
"FStar.UInt128.v",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.within_bounds",
"FStar.Integers.width",
"FStar.I... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val v (#sw: _) (x: int_t sw) : Tot (y: int_t (Signed Winfinite) {within_bounds sw y}) | [] | FStar.Integers.v | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw
-> y:
FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite)
{FStar.Integers.within_bounds sw y} | {
"end_col": 34,
"end_line": 108,
"start_col": 4,
"start_line": 93
} |
Prims.Tot | val op_Plus_Question (#w: fixed_width) (x y: int_t (Unsigned w)) : Tot (int_t (Unsigned w)) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let ( +? ) (#w:fixed_width)
(x:int_t (Unsigned w))
(y:int_t (Unsigned w))
: Tot (int_t (Unsigned w))
= match w with
| W8 -> FStar.UInt8.(x +?^ y)
| W16 -> FStar.UInt16.(x +?^ y)
| W32 -> FStar.UInt32.(x +?^ y)
| W64 -> FStar.UInt64.(x +?^ y)
| W128 -> FStar.UInt128.(x +?... | val op_Plus_Question (#w: fixed_width) (x y: int_t (Unsigned w)) : Tot (int_t (Unsigned w))
let op_Plus_Question (#w: fixed_width) (x y: int_t (Unsigned w)) : Tot (int_t (Unsigned w)) = | false | null | false | match w with
| W8 -> let open FStar.UInt8 in x +?^ y
| W16 -> let open FStar.UInt16 in x +?^ y
| W32 -> let open FStar.UInt32 in x +?^ y
| W64 -> let open FStar.UInt64 in x +?^ y
| W128 -> let open FStar.UInt128 in x +?^ y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.fixed_width",
"FStar.Integers.int_t",
"FStar.Integers.Unsigned",
"FStar.UInt8.op_Plus_Question_Hat",
"FStar.UInt16.op_Plus_Question_Hat",
"FStar.UInt32.op_Plus_Question_Hat",
"FStar.UInt64.op_Plus_Question_Hat",
"FStar.UInt128.op_Plus_Question_Hat"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus_Question (#w: fixed_width) (x y: int_t (Unsigned w)) : Tot (int_t (Unsigned w)) | [] | FStar.Integers.op_Plus_Question | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t (FStar.Integers.Unsigned w) ->
y: FStar.Integers.int_t (FStar.Integers.Unsigned w)
-> FStar.Integers.int_t (FStar.Integers.Unsigned w) | {
"end_col": 37,
"end_line": 177,
"start_col": 4,
"start_line": 172
} |
Prims.Tot | val op_Star_Percent (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( *% ) (#sw:_{Unsigned? sw /\ width_of_sw sw <> W128})
(x:int_t sw)
(y:int_t sw)
: Tot (int_t sw)
= let Unsigned w = sw in
match w with
| W8 -> FStar.UInt8.(x *%^ y)
| W16 -> FStar.UInt16.(x *%^ y)
| W32 -> FStar.UInt32.(x *%^ y)
| W64 -> FStar.UInt64.(x *%^ y) | val op_Star_Percent (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw)
let op_Star_Percent (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw) = | false | null | false | let Unsigned w = sw in
match w with
| W8 -> let open FStar.UInt8 in x *%^ y
| W16 -> let open FStar.UInt16 in x *%^ y
| W32 -> let open FStar.UInt32 in x *%^ y
| W64 -> let open FStar.UInt64 in x *%^ y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.l_and",
"Prims.b2t",
"FStar.Integers.uu___is_Unsigned",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar.Integers.width_of_sw",
"FStar.Integers.W128",
"FStar.Integers.int_t",
"FStar.Integers.fixed_width",
"FStar.UInt8.op_Star_Percent_Hat",
"FStar.UIn... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Star_Percent (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw) | [] | FStar.Integers.op_Star_Percent | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> FStar.Integers.int_t sw | {
"end_col": 35,
"end_line": 315,
"start_col": 3,
"start_line": 310
} |
Prims.Tot | val op_Less (#sw: _) (x y: int_t sw) : bool | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( < ) #sw (x:int_t sw) (y:int_t sw) : bool =
match sw with
| Signed Winfinite -> x < y
| Unsigned W8 -> FStar.UInt8.(x <^ y)
| Unsigned W16 -> FStar.UInt16.(x <^ y)
| Unsigned W32 -> FStar.UInt32.(x <^ y)
| Unsigned W64 -> FStar.UInt64.(x <^ y)
| Unsigned W128 -> FStar.UInt128.(x <^ y)
... | val op_Less (#sw: _) (x y: int_t sw) : bool
let op_Less #sw (x: int_t sw) (y: int_t sw) : bool = | false | null | false | match sw with
| Signed Winfinite -> x < y
| Unsigned W8 -> let open FStar.UInt8 in x <^ y
| Unsigned W16 -> let open FStar.UInt16 in x <^ y
| Unsigned W32 -> let open FStar.UInt32 in x <^ y
| Unsigned W64 -> let open FStar.UInt64 in x <^ y
| Unsigned W128 -> let open FStar.UInt128 in x <^ y
| Signed W8 -> let open FSta... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.op_LessThan",
"FStar.UInt8.op_Less_Hat",
"FStar.UInt16.op_Less_Hat",
"FStar.UInt32.op_Less_Hat",
"FStar.UInt64.op_Less_Hat",
"FStar.UInt128.op_Less_Hat",
"FStar.Int8.op_Less_Hat",
"FStar.Int16.op_Less_Hat",
"FStar.Int32.op_Less_Hat",
... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less (#sw: _) (x y: int_t sw) : bool | [] | FStar.Integers.op_Less | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> Prims.bool | {
"end_col": 42,
"end_line": 367,
"start_col": 4,
"start_line": 356
} |
Prims.Tot | val op_Star_Question (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( *? ) (#sw:_{Unsigned? sw /\ width_of_sw sw <> W128})
(x:int_t sw)
(y:int_t sw)
: Tot (int_t sw)
= let Unsigned w = sw in
match w with
| W8 -> FStar.UInt8.(x *?^ y)
| W16 -> FStar.UInt16.(x *?^ y)
| W32 -> FStar.UInt32.(x *?^ y)
| W64 -> FStar.UInt64.(x *?^ y) | val op_Star_Question (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw)
let op_Star_Question (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw) = | false | null | false | let Unsigned w = sw in
match w with
| W8 -> let open FStar.UInt8 in x *?^ y
| W16 -> let open FStar.UInt16 in x *?^ y
| W32 -> let open FStar.UInt32 in x *?^ y
| W64 -> let open FStar.UInt64 in x *?^ y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.l_and",
"Prims.b2t",
"FStar.Integers.uu___is_Unsigned",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar.Integers.width_of_sw",
"FStar.Integers.W128",
"FStar.Integers.int_t",
"FStar.Integers.fixed_width",
"FStar.UInt8.op_Star_Question_Hat",
"FStar.UI... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Star_Question (#sw: _{Unsigned? sw /\ width_of_sw sw <> W128}) (x y: int_t sw)
: Tot (int_t sw) | [] | FStar.Integers.op_Star_Question | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> FStar.Integers.int_t sw | {
"end_col": 35,
"end_line": 301,
"start_col": 3,
"start_line": 296
} |
Prims.Tot | val op_Plus_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let ( +% ) (#sw:_{Unsigned? sw})
(x:int_t sw)
(y:int_t sw)
: Tot (int_t sw)
= let Unsigned w = sw in
match w with
| W8 -> FStar.UInt8.(x +%^ y)
| W16 -> FStar.UInt16.(x +%^ y)
| W32 -> FStar.UInt32.(x +%^ y)
| W64 -> FStar.UInt64.(x +%^ y)
| W128 -> FStar.UInt128.(x ... | val op_Plus_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw)
let op_Plus_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) = | false | null | false | let Unsigned w = sw in
match w with
| W8 -> let open FStar.UInt8 in x +%^ y
| W16 -> let open FStar.UInt16 in x +%^ y
| W32 -> let open FStar.UInt32 in x +%^ y
| W64 -> let open FStar.UInt64 in x +%^ y
| W128 -> let open FStar.UInt128 in x +%^ y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"FStar.Integers.uu___is_Unsigned",
"FStar.Integers.int_t",
"FStar.Integers.fixed_width",
"FStar.UInt8.op_Plus_Percent_Hat",
"FStar.UInt16.op_Plus_Percent_Hat",
"FStar.UInt32.op_Plus_Percent_Hat",
"FStar.UInt64.op_Plus_Percent_Hat",
"FStar.UInt128.op_Plus... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus_Percent (#sw: _{Unsigned? sw}) (x y: int_t sw) : Tot (int_t sw) | [] | FStar.Integers.op_Plus_Percent | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> FStar.Integers.int_t sw | {
"end_col": 37,
"end_line": 199,
"start_col": 3,
"start_line": 193
} |
Prims.Tot | val op_Minus (#sw: _{Signed? sw}) (x: int_t sw {within_bounds sw (0 - v x)}) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let op_Minus
(#sw:_{Signed? sw})
(x:int_t sw{within_bounds sw (0 - v x)})
: Tot (int_t sw)
= let Signed w = sw in
match w with
| Winfinite -> 0 - x
| W8 -> FStar.Int8.(0y -^ x)
| W16 -> FStar.Int16.(0s -^ x)
| W32 -> FStar.Int32.(0l -^ x)
| W64 -> FStar.Int64.(0L -^ x)
... | val op_Minus (#sw: _{Signed? sw}) (x: int_t sw {within_bounds sw (0 - v x)}) : Tot (int_t sw)
let op_Minus (#sw: _{Signed? sw}) (x: int_t sw {within_bounds sw (0 - v x)}) : Tot (int_t sw) = | false | null | false | let Signed w = sw in
match w with
| Winfinite -> 0 - x
| W8 -> let open FStar.Int8 in 0y -^ x
| W16 -> let open FStar.Int16 in 0s -^ x
| W32 -> let open FStar.Int32 in 0l -^ x
| W64 -> let open FStar.Int64 in 0L -^ x
| W128 -> let open FStar.Int128 in int_to_t 0 -^ x | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"FStar.Integers.uu___is_Signed",
"FStar.Integers.int_t",
"FStar.Integers.within_bounds",
"FStar.Integers.op_Subtraction",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.v",
"FStar.Integers.width",
"FStar.Int8.op_Subtraction_Hat",
... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Minus (#sw: _{Signed? sw}) (x: int_t sw {within_bounds sw (0 - v x)}) : Tot (int_t sw) | [] | FStar.Integers.op_Minus | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw {FStar.Integers.within_bounds sw (0 - FStar.Integers.v x)}
-> FStar.Integers.int_t sw | {
"end_col": 44,
"end_line": 267,
"start_col": 3,
"start_line": 260
} |
Prims.Tot | val op_Greater_Equals (#sw: _) (x y: int_t sw) : bool | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( >= ) #sw (x:int_t sw) (y:int_t sw) : bool =
match sw with
| Signed Winfinite -> x >= y
| Unsigned W8 -> FStar.UInt8.(x >=^ y)
| Unsigned W16 -> FStar.UInt16.(x >=^ y)
| Unsigned W32 -> FStar.UInt32.(x >=^ y)
| Unsigned W64 -> FStar.UInt64.(x >=^ y)
| Unsigned W128 -> FStar.UInt128.(x >... | val op_Greater_Equals (#sw: _) (x y: int_t sw) : bool
let op_Greater_Equals #sw (x: int_t sw) (y: int_t sw) : bool = | false | null | false | match sw with
| Signed Winfinite -> x >= y
| Unsigned W8 -> let open FStar.UInt8 in x >=^ y
| Unsigned W16 -> let open FStar.UInt16 in x >=^ y
| Unsigned W32 -> let open FStar.UInt32 in x >=^ y
| Unsigned W64 -> let open FStar.UInt64 in x >=^ y
| Unsigned W128 -> let open FStar.UInt128 in x >=^ y
| Signed W8 -> let ope... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt8.op_Greater_Equals_Hat",
"FStar.UInt16.op_Greater_Equals_Hat",
"FStar.UInt32.op_Greater_Equals_Hat",
"FStar.UInt64.op_Greater_Equals_Hat",
"FStar.UInt128.op_Greater_Equals_Hat",
"FStar.Int8.op_Greater_E... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Equals (#sw: _) (x y: int_t sw) : bool | [] | FStar.Integers.op_Greater_Equals | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> Prims.bool | {
"end_col": 43,
"end_line": 349,
"start_col": 4,
"start_line": 338
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let k (x:Prims.int) (y:Prims.int) = x * y | let k (x y: Prims.int) = | false | null | false | x * y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"Prims.int",
"FStar.Integers.op_Star",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val k : x: Prims.int -> y: Prims.int
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | [] | FStar.Integers.k | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: Prims.int -> y: Prims.int
-> FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite) | {
"end_col": 41,
"end_line": 589,
"start_col": 36,
"start_line": 589
} | |
Prims.Tot | val op_Hat_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( ^^ ) #sw (x:int_t sw) (y:int_t sw{width_of_sw sw <> Winfinite})
: Tot (int_t sw)
= match sw with
| Unsigned W8 -> FStar.UInt8.(x ^^ y)
| Unsigned W16 -> FStar.UInt16.(x ^^ y)
| Unsigned W32 -> FStar.UInt32.(x ^^ y)
| Unsigned W64 -> FStar.UInt64.(x ^^ y)
| Unsigned W128 -> FS... | val op_Hat_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw)
let op_Hat_Hat #sw (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) = | false | null | false | match sw with
| Unsigned W8 -> let open FStar.UInt8 in x ^^ y
| Unsigned W16 -> let open FStar.UInt16 in x ^^ y
| Unsigned W32 -> let open FStar.UInt32 in x ^^ y
| Unsigned W64 -> let open FStar.UInt64 in x ^^ y
| Unsigned W128 -> let open FStar.UInt128 in x ^^ y
| Signed W8 -> let open FStar.Int8 in x ^^ y
| Signed W1... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar.Integers.width_of_sw",
"FStar.Integers.Winfinite",
"FStar.UInt8.op_Hat_Hat",
"FStar.UInt16.op_Hat_Hat",
"FStar.UInt32.op_Hat_Hat",
"FStar.UInt64.op_Hat_Hat",
"FStar.UInt12... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Hat_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) | [] | FStar.Integers.op_Hat_Hat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y: FStar.Integers.int_t sw {FStar.Integers.width_of_sw sw <> FStar.Integers.Winfinite}
-> FStar.Integers.int_t sw | {
"end_col": 44,
"end_line": 447,
"start_col": 6,
"start_line": 437
} |
Prims.Tot | val op_Amp_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( &^ ) #sw (x:int_t sw) (y:int_t sw{width_of_sw sw <> Winfinite})
: Tot (int_t sw)
= match sw with
| Unsigned W8 -> FStar.UInt8.(x &^ y)
| Unsigned W16 -> FStar.UInt16.(x &^ y)
| Unsigned W32 -> FStar.UInt32.(x &^ y)
| Unsigned W64 -> FStar.UInt64.(x &^ y)
| Unsigned W128 -> FS... | val op_Amp_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw)
let op_Amp_Hat #sw (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) = | false | null | false | match sw with
| Unsigned W8 -> let open FStar.UInt8 in x &^ y
| Unsigned W16 -> let open FStar.UInt16 in x &^ y
| Unsigned W32 -> let open FStar.UInt32 in x &^ y
| Unsigned W64 -> let open FStar.UInt64 in x &^ y
| Unsigned W128 -> let open FStar.UInt128 in x &^ y
| Signed W8 -> let open FStar.Int8 in x &^ y
| Signed W1... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar.Integers.width_of_sw",
"FStar.Integers.Winfinite",
"FStar.UInt8.op_Amp_Hat",
"FStar.UInt16.op_Amp_Hat",
"FStar.UInt32.op_Amp_Hat",
"FStar.UInt64.op_Amp_Hat",
"FStar.UInt12... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Amp_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) | [] | FStar.Integers.op_Amp_Hat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y: FStar.Integers.int_t sw {FStar.Integers.width_of_sw sw <> FStar.Integers.Winfinite}
-> FStar.Integers.int_t sw | {
"end_col": 44,
"end_line": 464,
"start_col": 6,
"start_line": 454
} |
Prims.Tot | val h (x y: Prims.nat) : nat | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let h (x:Prims.nat) (y:Prims.nat): nat = u x + u y | val h (x y: Prims.nat) : nat
let h (x y: Prims.nat) : nat = | false | null | false | u x + u y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"Prims.nat",
"FStar.Integers.op_Plus",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.u",
"FStar.Integers.nat"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val h (x y: Prims.nat) : nat | [] | FStar.Integers.h | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: Prims.nat -> y: Prims.nat -> FStar.Integers.nat | {
"end_col": 51,
"end_line": 586,
"start_col": 42,
"start_line": 586
} |
Prims.Tot | val u (#sw: _) (x: int_t (Signed Winfinite) {within_bounds sw x})
: Tot (y: int_t sw {norm (v x == v y)}) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let u #sw
(x:int_t (Signed Winfinite){within_bounds sw x})
: Tot (y:int_t sw{norm (v x == v y)})
= match sw with
| Unsigned w ->
(match w with
| W8 -> FStar.UInt8.uint_to_t x
| W16 -> FStar.UInt16.uint_to_t x
| W32 -> FStar.UInt32.uint_to_t x
| W64 -> FStar.UInt64.ui... | val u (#sw: _) (x: int_t (Signed Winfinite) {within_bounds sw x})
: Tot (y: int_t sw {norm (v x == v y)})
let u #sw (x: int_t (Signed Winfinite) {within_bounds sw x}) : Tot (y: int_t sw {norm (v x == v y)}) = | false | null | false | match sw with
| Unsigned w ->
(match w with
| W8 -> FStar.UInt8.uint_to_t x
| W16 -> FStar.UInt16.uint_to_t x
| W32 -> FStar.UInt32.uint_to_t x
| W64 -> FStar.UInt64.uint_to_t x
| W128 -> FStar.UInt128.uint_to_t x)
| Signed w ->
(match w with
| Winfinite -> x
| W8 -> FStar.Int8.int_to_t ... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.within_bounds",
"FStar.Integers.fixed_width",
"FStar.UInt8.uint_to_t",
"FStar.UInt16.uint_to_t",
"FStar.UInt32.uint_to_t",
"FStar.UInt64.uint_to_t",
"FStar.UInt128.uint_to_... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u (#sw: _) (x: int_t (Signed Winfinite) {within_bounds sw x})
: Tot (y: int_t sw {norm (v x == v y)}) | [] | FStar.Integers.u | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x:
FStar.Integers.int_t (FStar.Integers.Signed FStar.Integers.Winfinite)
{FStar.Integers.within_bounds sw x}
-> y: FStar.Integers.int_t sw {FStar.Integers.norm (FStar.Integers.v x == FStar.Integers.v y)} | {
"end_col": 41,
"end_line": 131,
"start_col": 4,
"start_line": 116
} |
Prims.Tot | val op_Plus (#sw: _) (x: int_t sw) (y: int_t sw {within_bounds sw (v x + v y)}) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let ( + ) #sw
(x:int_t sw)
(y:int_t sw{within_bounds sw (v x + v y)})
: Tot (int_t sw)
= match sw with
| Signed Winfinite -> x + y
| Unsigned W8 -> FStar.UInt8.(x +^ y)
| Unsigned W16 -> FStar.UInt16.(x +^ y)
| Unsigned W32 -> FStar.UInt32.(x +^ y)
| Unsigned W64 -> FS... | val op_Plus (#sw: _) (x: int_t sw) (y: int_t sw {within_bounds sw (v x + v y)}) : Tot (int_t sw)
let op_Plus #sw (x: int_t sw) (y: int_t sw {within_bounds sw (v x + v y)}) : Tot (int_t sw) = | false | null | false | match sw with
| Signed Winfinite -> x + y
| Unsigned W8 -> let open FStar.UInt8 in x +^ y
| Unsigned W16 -> let open FStar.UInt16 in x +^ y
| Unsigned W32 -> let open FStar.UInt32 in x +^ y
| Unsigned W64 -> let open FStar.UInt64 in x +^ y
| Unsigned W128 -> let open FStar.UInt128 in x +^ y
| Signed W8 -> let open FSta... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.within_bounds",
"Prims.op_Addition",
"FStar.Integers.v",
"FStar.UInt8.op_Plus_Hat",
"FStar.UInt16.op_Plus_Hat",
"FStar.UInt32.op_Plus_Hat",
"FStar.UInt64.op_Plus_Hat",
"FStar.UInt128.op_Plus_Hat",
"FStar.Int8.op_Plus_Hat",
... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus (#sw: _) (x: int_t sw) (y: int_t sw {within_bounds sw (v x + v y)}) : Tot (int_t sw) | [] | FStar.Integers.op_Plus | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y:
FStar.Integers.int_t sw
{FStar.Integers.within_bounds sw (FStar.Integers.v x + FStar.Integers.v y)}
-> FStar.Integers.int_t sw | {
"end_col": 42,
"end_line": 163,
"start_col": 4,
"start_line": 152
} |
Prims.Tot | val op_Bar_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( |^ ) #sw (x:int_t sw) (y:int_t sw{width_of_sw sw <> Winfinite})
: Tot (int_t sw)
= match sw with
| Unsigned W8 -> FStar.UInt8.(x |^ y)
| Unsigned W16 -> FStar.UInt16.(x |^ y)
| Unsigned W32 -> FStar.UInt32.(x |^ y)
| Unsigned W64 -> FStar.UInt64.(x |^ y)
| Unsigned W128 -> FS... | val op_Bar_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw)
let op_Bar_Hat #sw (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) = | false | null | false | match sw with
| Unsigned W8 -> let open FStar.UInt8 in x |^ y
| Unsigned W16 -> let open FStar.UInt16 in x |^ y
| Unsigned W32 -> let open FStar.UInt32 in x |^ y
| Unsigned W64 -> let open FStar.UInt64 in x |^ y
| Unsigned W128 -> let open FStar.UInt128 in x |^ y
| Signed W8 -> let open FStar.Int8 in x |^ y
| Signed W1... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar.Integers.width_of_sw",
"FStar.Integers.Winfinite",
"FStar.UInt8.op_Bar_Hat",
"FStar.UInt16.op_Bar_Hat",
"FStar.UInt32.op_Bar_Hat",
"FStar.UInt64.op_Bar_Hat",
"FStar.UInt12... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Bar_Hat (#sw: _) (x: int_t sw) (y: int_t sw {width_of_sw sw <> Winfinite}) : Tot (int_t sw) | [] | FStar.Integers.op_Bar_Hat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y: FStar.Integers.int_t sw {FStar.Integers.width_of_sw sw <> FStar.Integers.Winfinite}
-> FStar.Integers.int_t sw | {
"end_col": 44,
"end_line": 481,
"start_col": 6,
"start_line": 471
} |
Prims.Tot | val op_Subtraction (#sw: _) (x: int_t sw) (y: int_t sw {within_bounds sw (v x - v y)})
: Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let op_Subtraction #sw
(x:int_t sw)
(y:int_t sw{within_bounds sw (v x - v y)})
: Tot (int_t sw)
= match sw with
| Signed Winfinite -> x - y
| Unsigned W8 -> FStar.UInt8.(x -^ y)
| Unsigned W16 -> FStar.UInt16.(x -^ y)
| Unsigned W32 -> FStar.UInt32.(x... | val op_Subtraction (#sw: _) (x: int_t sw) (y: int_t sw {within_bounds sw (v x - v y)})
: Tot (int_t sw)
let op_Subtraction #sw (x: int_t sw) (y: int_t sw {within_bounds sw (v x - v y)}) : Tot (int_t sw) = | false | null | false | match sw with
| Signed Winfinite -> x - y
| Unsigned W8 -> let open FStar.UInt8 in x -^ y
| Unsigned W16 -> let open FStar.UInt16 in x -^ y
| Unsigned W32 -> let open FStar.UInt32 in x -^ y
| Unsigned W64 -> let open FStar.UInt64 in x -^ y
| Unsigned W128 -> let open FStar.UInt128 in x -^ y
| Signed W8 -> let open FSta... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.within_bounds",
"Prims.op_Subtraction",
"FStar.Integers.v",
"FStar.UInt8.op_Subtraction_Hat",
"FStar.UInt16.op_Subtraction_Hat",
"FStar.UInt32.op_Subtraction_Hat",
"FStar.UInt64.op_Subtraction_Hat",
"FStar.UInt128.op_Subtractio... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction (#sw: _) (x: int_t sw) (y: int_t sw {within_bounds sw (v x - v y)})
: Tot (int_t sw) | [] | FStar.Integers.op_Subtraction | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y:
FStar.Integers.int_t sw
{FStar.Integers.within_bounds sw (FStar.Integers.v x - FStar.Integers.v y)}
-> FStar.Integers.int_t sw | {
"end_col": 42,
"end_line": 219,
"start_col": 4,
"start_line": 208
} |
Prims.Tot | val op_Star
(#sw: signed_width{width_of_sw sw <> W128})
(x: int_t sw)
(y: int_t sw {within_bounds sw (v x * v y)})
: Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( * ) (#sw:signed_width{width_of_sw sw <> W128})
(x:int_t sw)
(y:int_t sw{within_bounds sw (v x * v y)})
: Tot (int_t sw)
= match sw with
| Signed Winfinite -> x * y
| Unsigned W8 -> FStar.UInt8.(x *^ y)
| Unsigned W16 -> FStar.UInt16.(x *^ y)
| Unsigned W32 -> FStar.UInt32... | val op_Star
(#sw: signed_width{width_of_sw sw <> W128})
(x: int_t sw)
(y: int_t sw {within_bounds sw (v x * v y)})
: Tot (int_t sw)
let op_Star
(#sw: signed_width{width_of_sw sw <> W128})
(x: int_t sw)
(y: int_t sw {within_bounds sw (v x * v y)})
: Tot (int_t sw) = | false | null | false | match sw with
| Signed Winfinite -> x * y
| Unsigned W8 -> let open FStar.UInt8 in x *^ y
| Unsigned W16 -> let open FStar.UInt16 in x *^ y
| Unsigned W32 -> let open FStar.UInt32 in x *^ y
| Unsigned W64 -> let open FStar.UInt64 in x *^ y
| Signed W8 -> let open FStar.Int8 in x *^ y
| Signed W16 -> let open FStar.Int1... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar.Integers.width_of_sw",
"FStar.Integers.W128",
"FStar.Integers.int_t",
"FStar.Integers.within_bounds",
"FStar.Mul.op_Star",
"FStar.Integers.v",
"FStar.UInt8.op_Star_Hat",
"FStar.UInt16.op_Star_Hat... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Star
(#sw: signed_width{width_of_sw sw <> W128})
(x: int_t sw)
(y: int_t sw {within_bounds sw (v x * v y)})
: Tot (int_t sw) | [] | FStar.Integers.op_Star | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y:
FStar.Integers.int_t sw
{FStar.Integers.within_bounds sw (FStar.Integers.v x * FStar.Integers.v y)}
-> FStar.Integers.int_t sw | {
"end_col": 42,
"end_line": 287,
"start_col": 4,
"start_line": 277
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let g (x:uint_32) (y:uint_32{ok ( * ) y y /\ ok (+) x (y * y)}) = x + y * y | let g (x: uint_32) (y: uint_32{ok ( * ) y y /\ ok ( + ) x (y * y)}) = | false | null | false | x + y * y | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.uint_32",
"Prims.l_and",
"FStar.Integers.ok",
"FStar.Integers.Unsigned",
"FStar.Integers.W32",
"FStar.Integers.op_Star",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.op_Plus",
"FStar.Integers.int_t"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val g : x: FStar.Integers.uint_32 ->
y:
FStar.Integers.uint_32
{ FStar.Integers.ok FStar.Integers.op_Star y y /\
FStar.Integers.ok FStar.Integers.op_Plus x (y * y) }
-> FStar.Integers.int_t (FStar.Integers.Unsigned FStar.Integers.W32) | [] | FStar.Integers.g | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.uint_32 ->
y:
FStar.Integers.uint_32
{ FStar.Integers.ok FStar.Integers.op_Star y y /\
FStar.Integers.ok FStar.Integers.op_Plus x (y * y) }
-> FStar.Integers.int_t (FStar.Integers.Unsigned FStar.Integers.W32) | {
"end_col": 75,
"end_line": 585,
"start_col": 66,
"start_line": 585
} | |
Prims.Tot | val op_Greater_Greater_Hat
(#sw: _)
(x: int_t sw {0 <= v x})
(y:
int_t (Unsigned W32)
{width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw)})
: Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( >>^ ) #sw (x:int_t sw{0 <= v x})
(y:int_t (Unsigned W32){width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw)})
: Tot (int_t sw)
= match sw with
| Unsigned W8 -> FStar.UInt8.(x >>^ y)
| Unsigned W16 -> FStar.UInt16.(x >>^ y)
| Unsigned W32 -> FStar.UIn... | val op_Greater_Greater_Hat
(#sw: _)
(x: int_t sw {0 <= v x})
(y:
int_t (Unsigned W32)
{width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw)})
: Tot (int_t sw)
let op_Greater_Greater_Hat
#sw
(x: int_t sw {0 <= v x})
(y:
int_t (Un... | false | null | false | match sw with
| Unsigned W8 -> let open FStar.UInt8 in x >>^ y
| Unsigned W16 -> let open FStar.UInt16 in x >>^ y
| Unsigned W32 -> let open FStar.UInt32 in x >>^ y
| Unsigned W64 -> let open FStar.UInt64 in x >>^ y
| Unsigned W128 -> let open FStar.UInt128 in x >>^ y
| Signed W8 -> let open FStar.Int8 in x >>^ y
| Sig... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.b2t",
"FStar.Integers.op_Less_Equals",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.v",
"FStar.Integers.Unsigned",
"FStar.Integers.W32",
"Prims.l_and",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Greater_Hat
(#sw: _)
(x: int_t sw {0 <= v x})
(y:
int_t (Unsigned W32)
{width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw)})
: Tot (int_t sw) | [] | FStar.Integers.op_Greater_Greater_Hat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw {0 <= FStar.Integers.v x} ->
y:
FStar.Integers.int_t (FStar.Integers.Unsigned FStar.Integers.W32)
{ FStar.Integers.width_of_sw sw <> FStar.Integers.Winfinite /\
FStar.Integers.v y < FStar.Integers.nat_of_fixed_width (FStar.Integers.width_of_sw sw) }
-> FStar... | {
"end_col": 45,
"end_line": 517,
"start_col": 6,
"start_line": 507
} |
Prims.Tot | val op_Slash
(#sw: signed_width{sw <> Unsigned W128})
(x: int_t sw)
(y:
int_t sw
{ 0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ -> within_bounds sw (v x / v y)
| Signed _ -> within_bounds sw ((v x) `FStar.Int.op_Slash` (v y)... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( / ) (#sw:signed_width{sw <> Unsigned W128})
(x:int_t sw)
(y:int_t sw{0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ -> within_bounds sw (v x / v y)
| Signed _ -> within_bounds sw (v x `FStar.Int.op_Slash` v y))})
: ... | val op_Slash
(#sw: signed_width{sw <> Unsigned W128})
(x: int_t sw)
(y:
int_t sw
{ 0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ -> within_bounds sw (v x / v y)
| Signed _ -> within_bounds sw ((v x) `FStar.Int.op_Slash` (v y)... | false | null | false | match sw with
| Signed Winfinite -> x / y
| Unsigned W8 -> let open FStar.UInt8 in x /^ y
| Unsigned W16 -> let open FStar.UInt16 in x /^ y
| Unsigned W32 -> let open FStar.UInt32 in x /^ y
| Unsigned W64 -> let open FStar.UInt64 in x /^ y
| Signed W8 -> let open FStar.Int8 in x /^ y
| Signed W16 -> let open FStar.Int1... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.Unsigned",
"FStar.Integers.W128",
"FStar.Integers.int_t",
"Prims.l_and",
"Prims.int",
"FStar.Integers.v",
"FStar.Integers.fixed_width",
"FStar.Integers.within_bounds",
"Prims.op_Division",
"FStar.Integers.wid... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Slash
(#sw: signed_width{sw <> Unsigned W128})
(x: int_t sw)
(y:
int_t sw
{ 0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ -> within_bounds sw (v x / v y)
| Signed _ -> within_bounds sw ((v x) `FStar.Int.op_Slash` (v y)... | [] | FStar.Integers.op_Slash | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y:
FStar.Integers.int_t sw
{ 0 <> FStar.Integers.v y /\
(match sw with
| FStar.Integers.Unsigned _ ->
FStar.Integers.within_bounds sw (FStar.Integers.v x / FStar.Integers.v y)
| FStar.Integers.Signed _ ->
... | {
"end_col": 43,
"end_line": 406,
"start_col": 5,
"start_line": 396
} |
Prims.Tot | val op_Less_Less_Hat
(#sw: _)
(x: int_t sw {0 <= v x})
(y:
int_t (Unsigned W32)
{ width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw) /\
(Signed? sw ==> within_bounds sw (v x * pow2 (v y))) })
: Tot (int_t sw) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( <<^ ) #sw (x:int_t sw{0 <= v x})
(y:int_t (Unsigned W32){width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw) /\ (Signed? sw ==> within_bounds sw (v x * pow2 (v y)))})
: Tot (int_t sw)
= match sw with
| Unsigned W8 -> FStar.UInt8.(x <<^ y)
| Unsigned W16 -> ... | val op_Less_Less_Hat
(#sw: _)
(x: int_t sw {0 <= v x})
(y:
int_t (Unsigned W32)
{ width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw) /\
(Signed? sw ==> within_bounds sw (v x * pow2 (v y))) })
: Tot (int_t sw)
let op_Less_Less_Hat
#sw
... | false | null | false | match sw with
| Unsigned W8 -> let open FStar.UInt8 in x <<^ y
| Unsigned W16 -> let open FStar.UInt16 in x <<^ y
| Unsigned W32 -> let open FStar.UInt32 in x <<^ y
| Unsigned W64 -> let open FStar.UInt64 in x <<^ y
| Unsigned W128 -> let open FStar.UInt128 in x <<^ y
| Signed W8 -> let open FStar.Int8 in x <<^ y
| Sig... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.b2t",
"FStar.Integers.op_Less_Equals",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"FStar.Integers.v",
"FStar.Integers.Unsigned",
"FStar.Integers.W32",
"Prims.l_and",
"Prims.op_disEquality",
"FStar.Integers.width",
"FStar... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Less_Hat
(#sw: _)
(x: int_t sw {0 <= v x})
(y:
int_t (Unsigned W32)
{ width_of_sw sw <> Winfinite /\ v y < nat_of_fixed_width (width_of_sw sw) /\
(Signed? sw ==> within_bounds sw (v x * pow2 (v y))) })
: Tot (int_t sw) | [] | FStar.Integers.op_Less_Less_Hat | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw {0 <= FStar.Integers.v x} ->
y:
FStar.Integers.int_t (FStar.Integers.Unsigned FStar.Integers.W32)
{ FStar.Integers.width_of_sw sw <> FStar.Integers.Winfinite /\
FStar.Integers.v y < FStar.Integers.nat_of_fixed_width (FStar.Integers.width_of_sw sw) /\
... | {
"end_col": 45,
"end_line": 499,
"start_col": 6,
"start_line": 489
} |
Prims.Tot | val op_Percent
(#sw: signed_width{sw <> Unsigned W128})
(x: int_t sw)
(y:
int_t sw
{ 0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ ->
within_bounds sw
(FStar.UInt.mod #(nat_of_fixed_width (width_of_sw sw... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( % ) (#sw:signed_width{sw <> Unsigned W128})
(x:int_t sw)
(y:int_t sw{0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ -> within_bounds sw (FStar.UInt.mod #(nat_of_fixed_width (width_of_sw sw)) (v x) (v y))
| Signed Winfi... | val op_Percent
(#sw: signed_width{sw <> Unsigned W128})
(x: int_t sw)
(y:
int_t sw
{ 0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ ->
within_bounds sw
(FStar.UInt.mod #(nat_of_fixed_width (width_of_sw sw... | false | null | false | match sw with
| Signed Winfinite -> x % y
| Unsigned W8 -> let open FStar.UInt8 in x %^ y
| Unsigned W16 -> let open FStar.UInt16 in x %^ y
| Unsigned W32 -> let open FStar.UInt32 in x %^ y
| Unsigned W64 -> let open FStar.UInt64 in x %^ y
| Signed W8 -> let open FStar.Int8 in x %^ y
| Signed W16 -> let open FStar.Int1... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.b2t",
"Prims.op_disEquality",
"FStar.Integers.Unsigned",
"FStar.Integers.W128",
"FStar.Integers.int_t",
"Prims.l_and",
"Prims.int",
"FStar.Integers.v",
"FStar.Integers.fixed_width",
"FStar.Integers.within_bounds",
"FStar.UInt.mod",
"FStar.Integers.nat_of... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Percent
(#sw: signed_width{sw <> Unsigned W128})
(x: int_t sw)
(y:
int_t sw
{ 0 <> (v y <: Prims.int) /\
(match sw with
| Unsigned _ ->
within_bounds sw
(FStar.UInt.mod #(nat_of_fixed_width (width_of_sw sw... | [] | FStar.Integers.op_Percent | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
x: FStar.Integers.int_t sw ->
y:
FStar.Integers.int_t sw
{ 0 <> FStar.Integers.v y /\
(match sw with
| FStar.Integers.Unsigned _ ->
FStar.Integers.within_bounds sw
(FStar.UInt.mod (FStar.Integers.v x) (FStar.Integers.v y))
| FStar.In... | {
"end_col": 43,
"end_line": 430,
"start_col": 5,
"start_line": 420
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let within_bounds' sw (x:int) =
match sw, nat_of_width (width_of_sw sw) with
| Signed _, None -> True
| Signed _, Some n -> FStar.Int.size x n
| Unsigned _, Some n -> FStar.UInt.size x n | let within_bounds' sw (x: int) = | false | null | false | match sw, nat_of_width (width_of_sw sw) with
| Signed _, None -> True
| Signed _, Some n -> FStar.Int.size x n
| Unsigned _, Some n -> FStar.UInt.size x n | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"Prims.int",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Pervasives.Native.option",
"FStar.Integers.nat_of_width",
"FStar.Integers.width_of_sw",
"FStar.Integers.width",
"Prims.l_True",
"FStar.Int.size",
"FStar.Integers.fixed_width",
"FStar.UInt.size"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val within_bounds' : sw: FStar.Integers.signed_width -> x: Prims.int -> Type0 | [] | FStar.Integers.within_bounds' | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | sw: FStar.Integers.signed_width -> x: Prims.int -> Type0 | {
"end_col": 45,
"end_line": 83,
"start_col": 2,
"start_line": 80
} | |
Prims.Tot | val cast (#sw #sw': _) (from: int_t sw {within_bounds sw' (v from)})
: Tot (to: int_t sw' {norm (v from == v to)}) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let cast #sw #sw'
(from:int_t sw{within_bounds sw' (v from)})
: Tot (to:int_t sw'{norm (v from == v to)})
= u (v from) | val cast (#sw #sw': _) (from: int_t sw {within_bounds sw' (v from)})
: Tot (to: int_t sw' {norm (v from == v to)})
let cast #sw #sw' (from: int_t sw {within_bounds sw' (v from)})
: Tot (to: int_t sw' {norm (v from == v to)}) = | false | null | false | u (v from) | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"FStar.Integers.within_bounds",
"FStar.Integers.v",
"FStar.Integers.u",
"FStar.Integers.norm",
"Prims.eq2",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"Prims.l_or"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val cast (#sw #sw': _) (from: int_t sw {within_bounds sw' (v from)})
: Tot (to: int_t sw' {norm (v from == v to)}) | [] | FStar.Integers.cast | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | from: FStar.Integers.int_t sw {FStar.Integers.within_bounds sw' (FStar.Integers.v from)}
-> to:
FStar.Integers.int_t sw' {FStar.Integers.norm (FStar.Integers.v from == FStar.Integers.v to)} | {
"end_col": 15,
"end_line": 138,
"start_col": 5,
"start_line": 138
} |
Prims.Tot | val op_Less_Equals (#sw: _) (x y: int_t sw) : bool | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
... | false | let ( <= ) #sw (x:int_t sw) (y:int_t sw) : bool =
match sw with
| Signed Winfinite -> x <= y
| Unsigned W8 -> FStar.UInt8.(x <=^ y)
| Unsigned W16 -> FStar.UInt16.(x <=^ y)
| Unsigned W32 -> FStar.UInt32.(x <=^ y)
| Unsigned W64 -> FStar.UInt64.(x <=^ y)
| Unsigned W128 -> FStar.UInt128.(x <... | val op_Less_Equals (#sw: _) (x y: int_t sw) : bool
let op_Less_Equals #sw (x: int_t sw) (y: int_t sw) : bool = | false | null | false | match sw with
| Signed Winfinite -> x <= y
| Unsigned W8 -> let open FStar.UInt8 in x <=^ y
| Unsigned W16 -> let open FStar.UInt16 in x <=^ y
| Unsigned W32 -> let open FStar.UInt32 in x <=^ y
| Unsigned W64 -> let open FStar.UInt64 in x <=^ y
| Unsigned W128 -> let open FStar.UInt128 in x <=^ y
| Signed W8 -> let ope... | {
"checked_file": "FStar.Integers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt128.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.Native.... | [
"total"
] | [
"FStar.Integers.signed_width",
"FStar.Integers.int_t",
"Prims.op_LessThanOrEqual",
"FStar.UInt8.op_Less_Equals_Hat",
"FStar.UInt16.op_Less_Equals_Hat",
"FStar.UInt32.op_Less_Equals_Hat",
"FStar.UInt64.op_Less_Equals_Hat",
"FStar.UInt128.op_Less_Equals_Hat",
"FStar.Int8.op_Less_Equals_Hat",
"FStar.... | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Integers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Equals (#sw: _) (x y: int_t sw) : bool | [] | FStar.Integers.op_Less_Equals | {
"file_name": "ulib/FStar.Integers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Integers.int_t sw -> y: FStar.Integers.int_t sw -> Prims.bool | {
"end_col": 43,
"end_line": 384,
"start_col": 4,
"start_line": 373
} |
FStar.Pervasives.Lemma | val hash_is_hash_incremental' (a: hash_alg) (input: bytes { S.length input `less_than_max_input_length` a })
(l: output_length a):
Lemma (S.equal (hash' a input l) (hash_incremental a input l)) | [
{
"abbrev": false,
"full_module": "Spec.Hash.Incremental.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loops"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": fal... | false | let hash_is_hash_incremental' (a: hash_alg) (input: bytes { S.length input `less_than_max_input_length` a }) l =
if is_blake a then
Spec.Blake2.Incremental.blake2_is_hash_incremental a input
else if is_keccak a then
Spec.SHA3.Incremental.sha3_is_incremental a input l
else
Spec.MD.Incremental.md_is_has... | val hash_is_hash_incremental' (a: hash_alg) (input: bytes { S.length input `less_than_max_input_length` a })
(l: output_length a):
Lemma (S.equal (hash' a input l) (hash_incremental a input l))
let hash_is_hash_incremental'
(a: hash_alg)
(input: bytes{(S.length input) `less_than_max_input_length` a})
... | false | null | true | if is_blake a
then Spec.Blake2.Incremental.blake2_is_hash_incremental a input
else
if is_keccak a
then Spec.SHA3.Incremental.sha3_is_incremental a input l
else Spec.MD.Incremental.md_is_hash_incremental a input (init a) | {
"checked_file": "Spec.Hash.Incremental.fst.checked",
"dependencies": [
"Spec.SHA3.Incremental.fsti.checked",
"Spec.MD.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Blake2.Incremental.fsti.checked",
"Spec.Blake2.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.... | [
"lemma"
] | [
"Spec.Hash.Definitions.hash_alg",
"Spec.Hash.Definitions.bytes",
"Prims.b2t",
"Spec.Hash.Definitions.less_than_max_input_length",
"FStar.Seq.Base.length",
"Lib.IntTypes.uint8",
"Spec.Hash.Definitions.output_length",
"Spec.Hash.Definitions.is_blake",
"Spec.Blake2.Incremental.blake2_is_hash_incrementa... | [] | module Spec.Hash.Incremental
module S = FStar.Seq
module Blake2 = Spec.Blake2
open Spec.Agile.Hash
open Spec.Hash.Definitions
friend Spec.Agile.Hash
open FStar.Mul
module Loops = Lib.LoopCombinators
#set-options "--fuel 0 --ifuel 0 --z3rlimit 50"
/// A declaration whose sole purpose is to force synchronize the .f... | false | false | Spec.Hash.Incremental.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hash_is_hash_incremental' (a: hash_alg) (input: bytes { S.length input `less_than_max_input_length` a })
(l: output_length a):
Lemma (S.equal (hash' a input l) (hash_incremental a input l)) | [] | Spec.Hash.Incremental.hash_is_hash_incremental' | {
"file_name": "specs/lemmas/Spec.Hash.Incremental.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.hash_alg ->
input:
Spec.Hash.Definitions.bytes
{Spec.Hash.Definitions.less_than_max_input_length (FStar.Seq.Base.length input) a} ->
l: Spec.Hash.Definitions.output_length a
-> FStar.Pervasives.Lemma
(ensures
FStar.Seq.Base.equal (Spec.Agile.Hash.hash' a i... | {
"end_col": 63,
"end_line": 27,
"start_col": 2,
"start_line": 22
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.