file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
PulseCore.InstantiatedSemantics.fst
PulseCore.InstantiatedSemantics.slprop_equiv_assoc
val slprop_equiv_assoc (p1 p2 p3:slprop) : slprop_equiv (p1 ** p2 ** p3) (p1 ** (p2 ** p3))
val slprop_equiv_assoc (p1 p2 p3:slprop) : slprop_equiv (p1 ** p2 ** p3) (p1 ** (p2 ** p3))
let slprop_equiv_assoc p1 p2 p3 = unsquash ()
{ "file_name": "lib/pulse_core/PulseCore.InstantiatedSemantics.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 45, "end_line": 82, "start_col": 0, "start_line": 82 }
module PulseCore.InstantiatedSemantics module Sem = PulseCore.Semantics module Mem = PulseCore.Memory module U = FStar.Universe module F = FStar.FunctionalExtensionality open PulseCore.Memory let laws () : squash ( Sem.associative star /\ Sem.commutative star /\ Sem.is_unit emp star ) = let equiv_eq (x y...
{ "checked_file": "/", "dependencies": [ "PulseCore.Semantics.fst.checked", "PulseCore.Memory.fsti.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Set.fsti.checked", "FStar.PropositionalExtensio...
[ { "abbrev": false, "full_module": "PulseCore.Memory", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "FStar.Universe", "short_module": "U" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p1: PulseCore.InstantiatedSemantics.slprop -> p2: PulseCore.InstantiatedSemantics.slprop -> p3: PulseCore.InstantiatedSemantics.slprop -> PulseCore.InstantiatedSemantics.slprop_equiv ((p1 ** p2) ** p3) (p1 ** p2 ** p3)
Prims.Tot
[ "total" ]
[]
[ "PulseCore.InstantiatedSemantics.slprop", "PulseCore.InstantiatedSemantics.unsquash", "PulseCore.InstantiatedSemantics.op_Star_Star", "PulseCore.InstantiatedSemantics.slprop_equiv" ]
[]
false
false
false
false
false
let slprop_equiv_assoc p1 p2 p3 =
unsquash ()
false
Spec.Blake2.fst
Spec.Blake2.list_sigma
val list_sigma:list_sigma_t
val list_sigma:list_sigma_t
let list_sigma: list_sigma_t = [@inline_let] let l : list sigma_elt_t = [ size 0; size 1; size 2; size 3; size 4; size 5; size 6; size 7; size 8; size 9; size 10; size 11; size 12; size 13; size 14; size 15; size 14; size 10; size 4; size 8; size 9; size 15; size 13; size 6; size 1; s...
{ "file_name": "specs/Spec.Blake2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 156, "start_col": 0, "start_line": 131 }
module Spec.Blake2 open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti include Spec.Blake2.Definitions #set-options "--z3rlimit 50" /// Serialize blake2s parameters to be xor'ed with the state during initializati...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Definitions.fst.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.che...
[ { "abbrev": false, "full_module": "Spec.Blake2.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Blake2.Definitions.list_sigma_t
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Spec.Blake2.Definitions.sigma_elt_t", "Prims.list", "Prims.Cons", "Lib.IntTypes.size", "Prims.Nil" ]
[]
false
false
false
true
false
let list_sigma:list_sigma_t =
[@@ inline_let ]let l:list sigma_elt_t = [ size 0; size 1; size 2; size 3; size 4; size 5; size 6; size 7; size 8; size 9; size 10; size 11; size 12; size 13; size 14; size 15; size 14; size 10; size 4; size 8; size 9; size 15; size 13; size 6; size 1; size 12; size 0; size 2; size 11; size 7; size 5; siz...
false
PulseCore.InstantiatedSemantics.fst
PulseCore.InstantiatedSemantics.slprop_equiv_exists
val slprop_equiv_exists (#a:Type) (p q: a -> slprop) (_:squash (forall x. slprop_equiv (p x) (q x))) : slprop_equiv (op_exists_Star p) (op_exists_Star q)
val slprop_equiv_exists (#a:Type) (p q: a -> slprop) (_:squash (forall x. slprop_equiv (p x) (q x))) : slprop_equiv (op_exists_Star p) (op_exists_Star q)
let slprop_equiv_exists (#a:Type) (p q: a -> slprop) (_:squash (forall x. slprop_equiv (p x) (q x))) = introduce forall x. p x == q x with slprop_equiv_elim (p x) (q x); F.extensionality _ _ p q; let pf : squash (eq2 #(F.arrow a (fun _ -> slprop)) (F.on_dom a p) ...
{ "file_name": "lib/pulse_core/PulseCore.InstantiatedSemantics.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 111, "start_col": 0, "start_line": 84 }
module PulseCore.InstantiatedSemantics module Sem = PulseCore.Semantics module Mem = PulseCore.Memory module U = FStar.Universe module F = FStar.FunctionalExtensionality open PulseCore.Memory let laws () : squash ( Sem.associative star /\ Sem.commutative star /\ Sem.is_unit emp star ) = let equiv_eq (x y...
{ "checked_file": "/", "dependencies": [ "PulseCore.Semantics.fst.checked", "PulseCore.Memory.fsti.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Set.fsti.checked", "FStar.PropositionalExtensio...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "PulseCore.Memory", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: (_: a -> PulseCore.InstantiatedSemantics.slprop) -> q: (_: a -> PulseCore.InstantiatedSemantics.slprop) -> _: Prims.squash (forall (x: a). PulseCore.InstantiatedSemantics.slprop_equiv (p x) (q x)) -> PulseCore.InstantiatedSemantics.slprop_equiv (exists . p) (exists . q)
Prims.Tot
[ "total" ]
[]
[ "PulseCore.InstantiatedSemantics.slprop", "Prims.squash", "Prims.l_Forall", "PulseCore.InstantiatedSemantics.slprop_equiv", "PulseCore.InstantiatedSemantics.unsquash", "PulseCore.InstantiatedSemantics.op_exists_Star", "Prims.eq2", "FStar.Tactics.V2.Derived.__cut", "FStar.FunctionalExtensionality.arr...
[]
false
false
false
false
false
let slprop_equiv_exists (#a: Type) (p: (a -> slprop)) (q: (a -> slprop)) (_: squash (forall x. slprop_equiv (p x) (q x))) =
introduce forall x . p x == q x with slprop_equiv_elim (p x) (q x); F.extensionality _ _ p q; let pf:squash (eq2 #(F.arrow a (fun _ -> slprop)) (F.on_dom a p) (F.on_dom a q)) = () in let x:squash (op_exists_Star p == op_exists_Star q) = FStar.Tactics.Effect.synth_by_tactic (fun _ -> (T.norm [delta_only [`%op_...
false
PulseCore.InstantiatedSemantics.fst
PulseCore.InstantiatedSemantics.conv
val conv (#a:Type u#a) (pre1:slprop) (pre2:slprop) (post1:a -> slprop) (post2:a -> slprop) (pf1:slprop_equiv pre1 pre2) (pf2:slprop_post_equiv post1 post2) : Lemma (stt a pre1 post1 == stt a pre2 post2)
val conv (#a:Type u#a) (pre1:slprop) (pre2:slprop) (post1:a -> slprop) (post2:a -> slprop) (pf1:slprop_equiv pre1 pre2) (pf2:slprop_post_equiv post1 post2) : Lemma (stt a pre1 post1 == stt a pre2 post2)
let conv (#a:Type u#a) (pre1:slprop) (pre2:slprop) (post1:a -> slprop) (post2:a -> slprop) (pf1:slprop_equiv pre1 pre2) (pf2:slprop_post_equiv post1 post2) : Lemma (stt a pre1 post1 == stt a pre2 post2) = slprop_equiv_elim pre1 pre2; introduce forall x. p...
{ "file_name": "lib/pulse_core/PulseCore.InstantiatedSemantics.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 4, "end_line": 153, "start_col": 0, "start_line": 141 }
module PulseCore.InstantiatedSemantics module Sem = PulseCore.Semantics module Mem = PulseCore.Memory module U = FStar.Universe module F = FStar.FunctionalExtensionality open PulseCore.Memory let laws () : squash ( Sem.associative star /\ Sem.commutative star /\ Sem.is_unit emp star ) = let equiv_eq (x y...
{ "checked_file": "/", "dependencies": [ "PulseCore.Semantics.fst.checked", "PulseCore.Memory.fsti.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Set.fsti.checked", "FStar.PropositionalExtensio...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "PulseCore.Memory", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pre1: PulseCore.InstantiatedSemantics.slprop -> pre2: PulseCore.InstantiatedSemantics.slprop -> post1: (_: a -> PulseCore.InstantiatedSemantics.slprop) -> post2: (_: a -> PulseCore.InstantiatedSemantics.slprop) -> pf1: PulseCore.InstantiatedSemantics.slprop_equiv pre1 pre2 -> pf2: PulseCore.Ins...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "PulseCore.InstantiatedSemantics.slprop", "PulseCore.InstantiatedSemantics.slprop_equiv", "PulseCore.InstantiatedSemantics.slprop_post_equiv", "Prims.unit", "PulseCore.Semantics.conv", "PulseCore.InstantiatedSemantics.state", "FStar.FunctionalExtensionality.on_dom", "PulseCore.Semantics.__proj__Mkstat...
[]
false
false
true
false
false
let conv (#a: Type u#a) (pre1 pre2: slprop) (post1 post2: (a -> slprop)) (pf1: slprop_equiv pre1 pre2) (pf2: slprop_post_equiv post1 post2) : Lemma (stt a pre1 post1 == stt a pre2 post2) =
slprop_equiv_elim pre1 pre2; introduce forall x . post1 x == post2 x with slprop_equiv_elim (post1 x) (post2 x); Sem.conv #state a #pre1 #(F.on_dom _ post1) (F.on_dom _ post2); ()
false
Hacl.Spec.Bignum.Lib.fst
Hacl.Spec.Bignum.Lib.bn_set_ith_bit_lemma
val bn_set_ith_bit_lemma: #t:limb_t -> #len:size_nat -> b:lbignum t len -> i:size_nat{i / bits t < len} -> Lemma (requires bn_v b < pow2 i) (ensures bn_v (bn_set_ith_bit b i) == bn_v b + pow2 i)
val bn_set_ith_bit_lemma: #t:limb_t -> #len:size_nat -> b:lbignum t len -> i:size_nat{i / bits t < len} -> Lemma (requires bn_v b < pow2 i) (ensures bn_v (bn_set_ith_bit b i) == bn_v b + pow2 i)
let bn_set_ith_bit_lemma #t #len input ind = let pbits = bits t in let i = ind / pbits in let j = ind % pbits in bn_lt_pow2_index_lemma #t #len input ind; assert (v input.[i] < pow2 j); let b = uint #t 1 <<. size j in let inp = input.[i] <- input.[i] |. b in FStar.Math.Lemmas.pow2_lt_compat pbits j; ...
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Lib.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 176, "start_col": 0, "start_line": 142 }
module Hacl.Spec.Bignum.Lib open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions module BSeq = Lib.ByteSequence module Loops = Lib.LoopCombinators module BB = Hacl.Spec.Bignum.Base #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// Get and set i-th bit of a bignum /// val l...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.UInt32....
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Hacl.Spec.Bignum.Definitions.lbignum t len -> i: Lib.IntTypes.size_nat{i / Lib.IntTypes.bits t < len} -> FStar.Pervasives.Lemma (requires Hacl.Spec.Bignum.Definitions.bn_v b < Prims.pow2 i) (ensures Hacl.Spec.Bignum.Definitions.bn_v (Hacl.Spec.Bignum.Lib.bn_set_ith_bit b i) == Hacl.S...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Division", "Lib.IntTypes.bits", "FStar.Calc.calc_finish", "Prims.nat", "Prims.eq2", "Hacl.Spec.Bignum.Definitions.bn_v", "Prims.op_Addition", "P...
[]
false
false
true
false
false
let bn_set_ith_bit_lemma #t #len input ind =
let pbits = bits t in let i = ind / pbits in let j = ind % pbits in bn_lt_pow2_index_lemma #t #len input ind; assert (v input.[ i ] < pow2 j); let b = uint #t 1 <<. size j in let inp = input.[ i ] <- input.[ i ] |. b in FStar.Math.Lemmas.pow2_lt_compat pbits j; FStar.Math.Lemmas.modulo_lemma (pow2 j) (pow2 pbits); asse...
false
CDDL.Spec.fsti
CDDL.Spec.typ
val typ : Type0
let typ = bounded_typ_gen None
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 38, "start_col": 0, "start_line": 38 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.bounded_typ_gen", "FStar.Pervasives.Native.None", "CBOR.Spec.Type.raw_data_item" ]
[]
false
false
false
true
true
let typ =
bounded_typ_gen None
false
CDDL.Spec.fsti
CDDL.Spec.bounded_typ_gen
val bounded_typ_gen : e: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> Type0
let bounded_typ_gen (e: option Cbor.raw_data_item) = (e': Cbor.raw_data_item { opt_precedes e' e }) -> GTot bool
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 112, "end_line": 35, "start_col": 0, "start_line": 35 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
e: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "Prims.bool" ]
[]
false
false
false
true
true
let bounded_typ_gen (e: option Cbor.raw_data_item) =
e': Cbor.raw_data_item{opt_precedes e' e} -> GTot bool
false
CDDL.Spec.fsti
CDDL.Spec.bounded_typ
val bounded_typ : e: CBOR.Spec.Type.raw_data_item -> Type0
let bounded_typ (e: Cbor.raw_data_item) = bounded_typ_gen (Some e)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 66, "end_line": 41, "start_col": 0, "start_line": 41 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
e: CBOR.Spec.Type.raw_data_item -> Type0
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "FStar.Pervasives.Native.Some" ]
[]
false
false
false
true
true
let bounded_typ (e: Cbor.raw_data_item) =
bounded_typ_gen (Some e)
false
CDDL.Spec.fsti
CDDL.Spec.t_choice
val t_choice (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : bounded_typ_gen b
val t_choice (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : bounded_typ_gen b
let t_choice (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : bounded_typ_gen b = (fun x -> t1 x || t2 x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 117, "end_line": 56, "start_col": 0, "start_line": 56 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t1: CDDL.Spec.bounded_typ_gen b -> t2: CDDL.Spec.bounded_typ_gen b -> CDDL.Spec.bounded_typ_gen b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.opt_precedes", "Prims.op_BarBar", "Prims.bool" ]
[]
false
false
false
false
false
let t_choice (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : bounded_typ_gen b =
(fun x -> t1 x || t2 x)
false
CDDL.Spec.fsti
CDDL.Spec.t_always_false
val t_always_false:typ
val t_always_false:typ
let t_always_false : typ = (fun _ -> false)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 43, "end_line": 74, "start_col": 0, "start_line": 74 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.bool" ]
[]
false
false
false
true
false
let t_always_false:typ =
(fun _ -> false)
false
CDDL.Spec.fsti
CDDL.Spec.t_literal
val t_literal (i: Cbor.raw_data_item) : typ
val t_literal (i: Cbor.raw_data_item) : typ
let t_literal (i: Cbor.raw_data_item) : typ = (fun x -> FStar.StrongExcludedMiddle.strong_excluded_middle (x == i))
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 71, "end_line": 77, "start_col": 0, "start_line": 76 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: CBOR.Spec.Type.raw_data_item -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "FStar.StrongExcludedMiddle.strong_excluded_middle", "Prims.eq2", "Prims.bool", "CDDL.Spec.typ" ]
[]
false
false
false
true
false
let t_literal (i: Cbor.raw_data_item) : typ =
(fun x -> FStar.StrongExcludedMiddle.strong_excluded_middle (x == i))
false
CDDL.Spec.fsti
CDDL.Spec.any
val any:typ
val any:typ
let any : typ = (fun _ -> true)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 80, "start_col": 0, "start_line": 80 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.bool" ]
[]
false
false
false
true
false
let any:typ =
(fun _ -> true)
false
CDDL.Spec.fsti
CDDL.Spec.t_int
val t_int:typ
val t_int:typ
let t_int : typ = uint `t_choice` nint
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 84, "start_col": 0, "start_line": 84 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_choice", "FStar.Pervasives.Native.None", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.uint", "CDDL.Spec.nint" ]
[]
false
false
false
true
false
let t_int:typ =
uint `t_choice` nint
false
CDDL.Spec.fsti
CDDL.Spec.bytes
val bytes : CDDL.Spec.typ
let bytes = bstr
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 87, "start_col": 0, "start_line": 87 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.bstr" ]
[]
false
false
false
true
false
let bytes =
bstr
false
CDDL.Spec.fsti
CDDL.Spec.opt_precedes
val opt_precedes (#t1 #t2: Type) (x1: t1) (x2: option t2) : Tot prop
val opt_precedes (#t1 #t2: Type) (x1: t1) (x2: option t2) : Tot prop
let opt_precedes (#t1 #t2: Type) (x1: t1) (x2: option t2) : Tot prop = match x2 with | None -> True | Some x2 -> x1 << x2
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 23, "end_line": 32, "start_col": 0, "start_line": 25 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x1: t1 -> x2: FStar.Pervasives.Native.option t2 -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "Prims.l_True", "Prims.precedes", "Prims.prop" ]
[]
false
false
false
true
true
let opt_precedes (#t1 #t2: Type) (x1: t1) (x2: option t2) : Tot prop =
match x2 with | None -> True | Some x2 -> x1 << x2
false
CDDL.Spec.fsti
CDDL.Spec.text
val text : CDDL.Spec.typ
let text = tstr
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 89, "start_col": 0, "start_line": 89 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.tstr" ]
[]
false
false
false
true
false
let text =
tstr
false
CDDL.Spec.fsti
CDDL.Spec.t_false
val t_false:typ
val t_false:typ
let t_false : typ = t_simple_value_literal simple_value_false
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 103, "start_col": 0, "start_line": 103 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_simple_value_literal", "CDDL.Spec.simple_value_false" ]
[]
false
false
false
true
false
let t_false:typ =
t_simple_value_literal simple_value_false
false
CDDL.Spec.fsti
CDDL.Spec.coerce_to_bounded_typ
val coerce_to_bounded_typ (b: option Cbor.raw_data_item) (t: typ) : Tot (bounded_typ_gen b)
val coerce_to_bounded_typ (b: option Cbor.raw_data_item) (t: typ) : Tot (bounded_typ_gen b)
let coerce_to_bounded_typ (b: option Cbor.raw_data_item) (t: typ) : Tot (bounded_typ_gen b) = t
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 47, "start_col": 0, "start_line": 43 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> t: CDDL.Spec.typ -> CDDL.Spec.bounded_typ_gen b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.typ", "CDDL.Spec.bounded_typ_gen" ]
[]
false
false
false
false
false
let coerce_to_bounded_typ (b: option Cbor.raw_data_item) (t: typ) : Tot (bounded_typ_gen b) =
t
false
CDDL.Spec.fsti
CDDL.Spec.t_true
val t_true:typ
val t_true:typ
let t_true : typ = t_simple_value_literal simple_value_true
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 59, "end_line": 104, "start_col": 0, "start_line": 104 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_simple_value_literal", "CDDL.Spec.simple_value_true" ]
[]
false
false
false
true
false
let t_true:typ =
t_simple_value_literal simple_value_true
false
CDDL.Spec.fsti
CDDL.Spec.t_nil
val t_nil:typ
val t_nil:typ
let t_nil : typ = t_simple_value_literal simple_value_nil
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 106, "start_col": 0, "start_line": 106 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_simple_value_literal", "CDDL.Spec.simple_value_nil" ]
[]
false
false
false
true
false
let t_nil:typ =
t_simple_value_literal simple_value_nil
false
CDDL.Spec.fsti
CDDL.Spec.t_bool
val t_bool:typ
val t_bool:typ
let t_bool : typ = t_choice t_false t_true
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 105, "start_col": 0, "start_line": 105 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_choice", "FStar.Pervasives.Native.None", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.t_false", "CDDL.Spec.t_true" ]
[]
false
false
false
true
false
let t_bool:typ =
t_choice t_false t_true
false
CDDL.Spec.fsti
CDDL.Spec.t_simple_value_literal
val t_simple_value_literal (s: Cbor.simple_value) : typ
val t_simple_value_literal (s: Cbor.simple_value) : typ
let t_simple_value_literal (s: Cbor.simple_value) : typ = t_literal (Cbor.Simple s)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 101, "start_col": 0, "start_line": 100 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: CBOR.Spec.Type.simple_value -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.simple_value", "CDDL.Spec.t_literal", "CBOR.Spec.Type.Simple", "CDDL.Spec.typ" ]
[]
false
false
false
true
false
let t_simple_value_literal (s: Cbor.simple_value) : typ =
t_literal (Cbor.Simple s)
false
CDDL.Spec.fsti
CDDL.Spec.t_null
val t_null:typ
val t_null:typ
let t_null : typ = t_nil
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 107, "start_col": 0, "start_line": 107 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_nil" ]
[]
false
false
false
true
false
let t_null:typ =
t_nil
false
CDDL.Spec.fsti
CDDL.Spec.t_undefined
val t_undefined:typ
val t_undefined:typ
let t_undefined : typ = t_simple_value_literal simple_value_undefined
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 69, "end_line": 108, "start_col": 0, "start_line": 108 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.t_simple_value_literal", "CDDL.Spec.simple_value_undefined" ]
[]
false
false
false
true
false
let t_undefined:typ =
t_simple_value_literal simple_value_undefined
false
CDDL.Spec.fsti
CDDL.Spec.typ_equiv
val typ_equiv (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : Tot prop
val typ_equiv (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : Tot prop
let typ_equiv (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : Tot prop = forall x . t1 x == t2 x
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 54, "start_col": 0, "start_line": 50 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t1: CDDL.Spec.bounded_typ_gen b -> t2: CDDL.Spec.bounded_typ_gen b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "Prims.l_Forall", "Prims.l_and", "CDDL.Spec.opt_precedes", "Prims.eq2", "Prims.bool", "Prims.prop" ]
[]
false
false
false
false
true
let typ_equiv (#b: option Cbor.raw_data_item) (t1 t2: bounded_typ_gen b) : Tot prop =
forall x. t1 x == t2 x
false
CDDL.Spec.fsti
CDDL.Spec.array_group1_concat
val array_group1_concat (a1 a2: array_group1) : array_group1
val array_group1_concat (a1 a2: array_group1) : array_group1
let array_group1_concat (a1 a2: array_group1) : array_group1 = fun k -> a1 (a2 k)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 81, "end_line": 121, "start_col": 0, "start_line": 121 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: CDDL.Spec.array_group1 -> a2: CDDL.Spec.array_group1 -> CDDL.Spec.array_group1
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group1", "Prims.list", "CBOR.Spec.Type.raw_data_item", "Prims.bool" ]
[]
false
false
false
true
false
let array_group1_concat (a1 a2: array_group1) : array_group1 =
fun k -> a1 (a2 k)
false
Steel.ST.GenElim1.fst
Steel.ST.GenElim1.compute_gen_elim_nondep_correct6
val compute_gen_elim_nondep_correct6 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6])
val compute_gen_elim_nondep_correct6 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6])
let compute_gen_elim_nondep_correct6 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6]) = fun q post intro _ -> intro _; rewrite_with_trefl (gen_elim_nondep_p _ _ _) (exists_ (fun x1 -> exists_ (fun x2 -> exists_ (fun x3 -> exists_ (fun x4 -> exi...
{ "file_name": "lib/steel/Steel.ST.GenElim1.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 577, "start_col": 0, "start_line": 561 }
module Steel.ST.GenElim1 let gen_elim_f (p: vprop) (a: Type) (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) module U = FStar.Universe let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) (U.raise_t u#_ u#1 unit...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim1.f...
[ { "abbrev": true, "full_module": "FStar.Universe", "short_module": "U" }, { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim1.Base", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i0: Steel.ST.GenElim1.Base.gen_elim_i -> t1: Type -> t2: Type -> t3: Type -> t4: Type -> t5: Type -> t6: Type -> Steel.ST.GenElim1.compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6]
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GenElim1.Base.gen_elim_i", "Steel.ST.GenElim1.Base.curried_function_type", "Prims.Cons", "Prims.Nil", "FStar.Universe.raise_t", "Prims.unit", "Steel.Effect.Common.vprop", "Prims.prop", "Steel.ST.GenElim1.vprop_rewrite", "Steel.ST.GenElim1.Base.compute_gen_elim_p", "Steel.ST.GenElim1.ge...
[]
false
false
false
false
false
let compute_gen_elim_nondep_correct6 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6]) =
fun q post intro _ -> intro _; rewrite_with_trefl (gen_elim_nondep_p _ _ _) (exists_ (fun x1 -> exists_ (fun x2 -> exists_ (fun x3 -> exists_ (fun x4 -> exists_ (fun x5 -> exists_ (fun x6 -> ...
false
CDDL.Spec.fsti
CDDL.Spec.array_group1
val array_group1 : Type0
let array_group1 = ((list Cbor.raw_data_item -> GTot bool) -> list Cbor.raw_data_item -> GTot bool)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 99, "end_line": 119, "start_col": 0, "start_line": 119 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "CBOR.Spec.Type.raw_data_item", "Prims.bool" ]
[]
false
false
false
true
true
let array_group1 =
((list Cbor.raw_data_item -> GTot bool) -> list Cbor.raw_data_item -> GTot bool)
false
CDDL.Spec.fsti
CDDL.Spec.nint
val nint:typ
val nint:typ
let nint : typ = (fun x -> Cbor.Int64? x && Cbor.Int64?.typ x = Cbor.cbor_major_type_neg_int64)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 95, "end_line": 83, "start_col": 0, "start_line": 83 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Int64", "Prims.op_Equality", "CBOR.Spec.Constants.major_type_t", "CBOR.Spec.Type.__proj__Int64__item__typ", "CBOR.Spec.Constants.cbor_major_type_neg_int64", "Prims.b...
[]
false
false
false
true
false
let nint:typ =
(fun x -> Cbor.Int64? x && Cbor.Int64?.typ x = Cbor.cbor_major_type_neg_int64)
false
CDDL.Spec.fsti
CDDL.Spec.array_group1_empty
val array_group1_empty:array_group1
val array_group1_empty:array_group1
let array_group1_empty : array_group1 = fun k -> k
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 120, "start_col": 0, "start_line": 120 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.array_group1
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "CBOR.Spec.Type.raw_data_item", "Prims.bool" ]
[]
false
false
false
true
false
let array_group1_empty:array_group1 =
fun k -> k
false
CDDL.Spec.fsti
CDDL.Spec.array_group1_zero_or_more
val array_group1_zero_or_more: array_group1 -> array_group1
val array_group1_zero_or_more: array_group1 -> array_group1
let array_group1_zero_or_more : array_group1 -> array_group1 = array_group1_zero_or_more'
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 89, "end_line": 128, "start_col": 0, "start_line": 128 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: CDDL.Spec.array_group1 -> CDDL.Spec.array_group1
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group1_zero_or_more'" ]
[]
false
false
false
true
false
let array_group1_zero_or_more: array_group1 -> array_group1 =
array_group1_zero_or_more'
false
CDDL.Spec.fsti
CDDL.Spec.array_group1_choice
val array_group1_choice (a1 a2: array_group1) : array_group1
val array_group1_choice (a1 a2: array_group1) : array_group1
let array_group1_choice (a1 a2: array_group1) : array_group1 = fun k l -> a1 k l || a2 k l
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 90, "end_line": 122, "start_col": 0, "start_line": 122 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: CDDL.Spec.array_group1 -> a2: CDDL.Spec.array_group1 -> CDDL.Spec.array_group1
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group1", "Prims.list", "CBOR.Spec.Type.raw_data_item", "Prims.bool", "Prims.op_BarBar" ]
[]
false
false
false
true
false
let array_group1_choice (a1 a2: array_group1) : array_group1 =
fun k l -> a1 k l || a2 k l
false
CDDL.Spec.fsti
CDDL.Spec.t_uint_literal
val t_uint_literal (v: U64.t) : typ
val t_uint_literal (v: U64.t) : typ
let t_uint_literal (v: U64.t) : typ = t_literal (Cbor.Int64 Cbor.cbor_major_type_uint64 v)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 54, "end_line": 111, "start_col": 0, "start_line": 110 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: FStar.UInt64.t -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "CDDL.Spec.t_literal", "CBOR.Spec.Type.Int64", "CBOR.Spec.Constants.cbor_major_type_uint64", "CDDL.Spec.typ" ]
[]
false
false
false
true
false
let t_uint_literal (v: U64.t) : typ =
t_literal (Cbor.Int64 Cbor.cbor_major_type_uint64 v)
false
CDDL.Spec.fsti
CDDL.Spec.uint
val uint:typ
val uint:typ
let uint : typ = (fun x -> Cbor.Int64? x && Cbor.Int64?.typ x = Cbor.cbor_major_type_uint64)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 92, "end_line": 82, "start_col": 0, "start_line": 82 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Int64", "Prims.op_Equality", "CBOR.Spec.Constants.major_type_t", "CBOR.Spec.Type.__proj__Int64__item__typ", "CBOR.Spec.Constants.cbor_major_type_uint64", "Prims.bool...
[]
false
false
false
true
false
let uint:typ =
(fun x -> Cbor.Int64? x && Cbor.Int64?.typ x = Cbor.cbor_major_type_uint64)
false
CDDL.Spec.fsti
CDDL.Spec.array_group2
val array_group2 : Type0
let array_group2 = ((l: Seq.seq Cbor.raw_data_item) -> (i: nat_up_to (Seq.length l)) -> list (nat_up_to (Seq.length l)))
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 120, "end_line": 142, "start_col": 0, "start_line": 142 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.nat_up_to", "FStar.Seq.Base.length", "Prims.list" ]
[]
false
false
false
true
true
let array_group2 =
(l: Seq.seq Cbor.raw_data_item -> i: nat_up_to (Seq.length l) -> list (nat_up_to (Seq.length l)))
false
CDDL.Spec.fsti
CDDL.Spec.bstr
val bstr:typ
val bstr:typ
let bstr : typ = (fun x -> Cbor.String? x && Cbor.String?.typ x = Cbor.cbor_major_type_byte_string)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 99, "end_line": 86, "start_col": 0, "start_line": 86 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_String", "Prims.op_Equality", "CBOR.Spec.Constants.major_type_t", "CBOR.Spec.Type.__proj__String__item__typ", "CBOR.Spec.Constants.cbor_major_type_byte_string", "Pri...
[]
false
false
false
true
false
let bstr:typ =
(fun x -> Cbor.String? x && Cbor.String?.typ x = Cbor.cbor_major_type_byte_string)
false
CDDL.Spec.fsti
CDDL.Spec.array_group2_empty
val array_group2_empty:array_group2
val array_group2_empty:array_group2
let array_group2_empty : array_group2 = (fun _ i -> [i])
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 56, "end_line": 144, "start_col": 0, "start_line": 144 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.array_group2
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.nat_up_to", "FStar.Seq.Base.length", "Prims.Cons", "Prims.Nil", "Prims.list" ]
[]
false
false
false
true
false
let array_group2_empty:array_group2 =
(fun _ i -> [i])
false
CDDL.Spec.fsti
CDDL.Spec.array_group2_choice
val array_group2_choice (a1 a2: array_group2) : array_group2
val array_group2_choice (a1 a2: array_group2) : array_group2
let array_group2_choice (a1 a2: array_group2) : array_group2 = fun l i -> a1 l i `List.Tot.append` a2 l i
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 154, "start_col": 0, "start_line": 153 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: CDDL.Spec.array_group2 -> a2: CDDL.Spec.array_group2 -> CDDL.Spec.array_group2
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group2", "FStar.Seq.Base.seq", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.nat_up_to", "FStar.Seq.Base.length", "FStar.List.Tot.Base.append", "Prims.list" ]
[]
false
false
false
true
false
let array_group2_choice (a1 a2: array_group2) : array_group2 =
fun l i -> (a1 l i) `List.Tot.append` (a2 l i)
false
CDDL.Spec.fsti
CDDL.Spec.array_group2_concat
val array_group2_concat (a1 a2: array_group2) : array_group2
val array_group2_concat (a1 a2: array_group2) : array_group2
let array_group2_concat (a1 a2: array_group2) : array_group2 = (fun l i1 -> let res1 = a1 l i1 in List.Tot.concatMap (fun (i2: nat_up_to (Seq.length l)) -> a2 l i2) res1 )
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 150, "start_col": 0, "start_line": 146 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: CDDL.Spec.array_group2 -> a2: CDDL.Spec.array_group2 -> CDDL.Spec.array_group2
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group2", "FStar.Seq.Base.seq", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.nat_up_to", "FStar.Seq.Base.length", "FStar.List.Tot.Base.concatMap", "Prims.list" ]
[]
false
false
false
true
false
let array_group2_concat (a1 a2: array_group2) : array_group2 =
(fun l i1 -> let res1 = a1 l i1 in List.Tot.concatMap (fun (i2: nat_up_to (Seq.length l)) -> a2 l i2) res1)
false
CDDL.Spec.fsti
CDDL.Spec.list_is_suffix_of
val list_is_suffix_of (#t: Type) (small large: list t) : Tot prop
val list_is_suffix_of (#t: Type) (small large: list t) : Tot prop
let list_is_suffix_of (#t: Type) (small large: list t) : Tot prop = exists prefix . large == prefix `List.Tot.append` small
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 189, "start_col": 0, "start_line": 185 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
small: Prims.list t -> large: Prims.list t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Prims.l_Exists", "Prims.eq2", "FStar.List.Tot.Base.append", "Prims.prop" ]
[]
false
false
false
true
true
let list_is_suffix_of (#t: Type) (small large: list t) : Tot prop =
exists prefix. large == prefix `List.Tot.append` small
false
CDDL.Spec.fsti
CDDL.Spec.simple_value_nil
val simple_value_nil:Cbor.simple_value
val simple_value_nil:Cbor.simple_value
let simple_value_nil : Cbor.simple_value = 22uy
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 47, "end_line": 96, "start_col": 0, "start_line": 96 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CBOR.Spec.Type.simple_value
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.__uint_to_t" ]
[]
false
false
false
true
false
let simple_value_nil:Cbor.simple_value =
22uy
false
CDDL.Spec.fsti
CDDL.Spec.simple_value_false
val simple_value_false:Cbor.simple_value
val simple_value_false:Cbor.simple_value
let simple_value_false : Cbor.simple_value = 20uy
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 92, "start_col": 0, "start_line": 92 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CBOR.Spec.Type.simple_value
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.__uint_to_t" ]
[]
false
false
false
true
false
let simple_value_false:Cbor.simple_value =
20uy
false
CDDL.Spec.fsti
CDDL.Spec.tstr
val tstr:typ
val tstr:typ
let tstr : typ = (fun x -> Cbor.String? x && Cbor.String?.typ x = Cbor.cbor_major_type_text_string)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 99, "end_line": 88, "start_col": 0, "start_line": 88 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_String", "Prims.op_Equality", "CBOR.Spec.Constants.major_type_t", "CBOR.Spec.Type.__proj__String__item__typ", "CBOR.Spec.Constants.cbor_major_type_text_string", "Pri...
[]
false
false
false
true
false
let tstr:typ =
(fun x -> Cbor.String? x && Cbor.String?.typ x = Cbor.cbor_major_type_text_string)
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_one_or_more
val array_group3_one_or_more (#b: _) (a: array_group3 b) : array_group3 b
val array_group3_one_or_more (#b: _) (a: array_group3 b) : array_group3 b
let array_group3_one_or_more #b (a: array_group3 b) : array_group3 b = a `array_group3_concat` array_group3_zero_or_more a
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 53, "end_line": 284, "start_col": 0, "start_line": 283 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group3 b -> CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "CDDL.Spec.array_group3_concat", "CDDL.Spec.array_group3_zero_or_more" ]
[]
false
false
false
false
false
let array_group3_one_or_more #b (a: array_group3 b) : array_group3 b =
a `array_group3_concat` (array_group3_zero_or_more a)
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_zero_or_more
val array_group3_zero_or_more: #b: _ -> array_group3 b -> array_group3 b
val array_group3_zero_or_more: #b: _ -> array_group3 b -> array_group3 b
let array_group3_zero_or_more #b : array_group3 b -> array_group3 b = array_group3_zero_or_more'
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 96, "end_line": 281, "start_col": 0, "start_line": 281 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: CDDL.Spec.array_group3 b -> CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3_zero_or_more'", "CDDL.Spec.array_group3" ]
[]
false
false
false
false
false
let array_group3_zero_or_more #b : array_group3 b -> array_group3 b =
array_group3_zero_or_more'
false
CDDL.Spec.fsti
CDDL.Spec.simple_value_true
val simple_value_true:Cbor.simple_value
val simple_value_true:Cbor.simple_value
let simple_value_true : Cbor.simple_value = 21uy
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 94, "start_col": 0, "start_line": 94 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CBOR.Spec.Type.simple_value
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.__uint_to_t" ]
[]
false
false
false
true
false
let simple_value_true:Cbor.simple_value =
21uy
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_zero_or_one
val array_group3_zero_or_one (#b: _) (a: array_group3 b) : Tot (array_group3 b)
val array_group3_zero_or_one (#b: _) (a: array_group3 b) : Tot (array_group3 b)
let array_group3_zero_or_one #b (a: array_group3 b) : Tot (array_group3 b) = a `array_group3_choice` array_group3_empty
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 287, "start_col": 0, "start_line": 286 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group3 b -> CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "CDDL.Spec.array_group3_choice", "CDDL.Spec.array_group3_empty" ]
[]
false
false
false
false
false
let array_group3_zero_or_one #b (a: array_group3 b) : Tot (array_group3 b) =
a `array_group3_choice` array_group3_empty
false
CDDL.Spec.fsti
CDDL.Spec.match_array_group3
val match_array_group3 (#b: option Cbor.raw_data_item) (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : GTot bool
val match_array_group3 (#b: option Cbor.raw_data_item) (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : GTot bool
let match_array_group3 (#b: option Cbor.raw_data_item) (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : GTot bool = match a l with | Some l' -> Nil? l' | _ -> false
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 307, "start_col": 0, "start_line": 302 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group3 b -> l: Prims.list CBOR.Spec.Type.raw_data_item {CDDL.Spec.opt_precedes l b} -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "Prims.list", "CDDL.Spec.opt_precedes", "Prims.uu___is_Nil", "Prims.bool" ]
[]
false
false
false
false
false
let match_array_group3 (#b: option Cbor.raw_data_item) (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : GTot bool =
match a l with | Some l' -> Nil? l' | _ -> false
false
CDDL.Spec.fsti
CDDL.Spec.opt_map_entry_bounded'
val opt_map_entry_bounded' (b: option Cbor.raw_data_item) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) : GTot bool
val opt_map_entry_bounded' (b: option Cbor.raw_data_item) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) : GTot bool
let opt_map_entry_bounded' (b: option Cbor.raw_data_item) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) : GTot bool = FStar.StrongExcludedMiddle.strong_excluded_middle (opt_precedes x b)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 70, "end_line": 352, "start_col": 0, "start_line": 348 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> x: (CBOR.Spec.Type.raw_data_item * CBOR.Spec.Type.raw_data_item) -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "FStar.Pervasives.Native.tuple2", "FStar.StrongExcludedMiddle.strong_excluded_middle", "CDDL.Spec.opt_precedes", "Prims.bool" ]
[]
false
false
false
false
false
let opt_map_entry_bounded' (b: option Cbor.raw_data_item) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) : GTot bool =
FStar.StrongExcludedMiddle.strong_excluded_middle (opt_precedes x b)
false
CDDL.Spec.fsti
CDDL.Spec.simple_value_undefined
val simple_value_undefined:Cbor.simple_value
val simple_value_undefined:Cbor.simple_value
let simple_value_undefined : Cbor.simple_value = 23uy
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 53, "end_line": 98, "start_col": 0, "start_line": 98 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CBOR.Spec.Type.simple_value
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.__uint_to_t" ]
[]
false
false
false
true
false
let simple_value_undefined:Cbor.simple_value =
23uy
false
CDDL.Spec.fsti
CDDL.Spec.nat_up_to
val nat_up_to (n: nat) : eqtype
val nat_up_to (n: nat) : eqtype
let nat_up_to (n: nat) : eqtype = (i: nat { i <= n })
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 53, "end_line": 139, "start_col": 0, "start_line": 139 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.eqtype" ]
[]
false
false
false
true
false
let nat_up_to (n: nat) : eqtype =
(i: nat{i <= n})
false
CDDL.Spec.fsti
CDDL.Spec.opt_map_entry_bounded
val opt_map_entry_bounded (b: option Cbor.raw_data_item) : GTot ((Cbor.raw_data_item & Cbor.raw_data_item) -> bool)
val opt_map_entry_bounded (b: option Cbor.raw_data_item) : GTot ((Cbor.raw_data_item & Cbor.raw_data_item) -> bool)
let opt_map_entry_bounded (b: option Cbor.raw_data_item) : GTot ((Cbor.raw_data_item & Cbor.raw_data_item) -> bool) = Pull.pull (opt_map_entry_bounded' b)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 357, "start_col": 0, "start_line": 354 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> Prims.GTot (_: (CBOR.Spec.Type.raw_data_item * CBOR.Spec.Type.raw_data_item) -> Prims.bool)
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "FStar.Ghost.Pull.pull", "FStar.Pervasives.Native.tuple2", "Prims.bool", "CDDL.Spec.opt_map_entry_bounded'" ]
[]
false
false
false
false
false
let opt_map_entry_bounded (b: option Cbor.raw_data_item) : GTot ((Cbor.raw_data_item & Cbor.raw_data_item) -> bool) =
Pull.pull (opt_map_entry_bounded' b)
false
CDDL.Spec.fsti
CDDL.Spec.cut_map_group_entry
val cut_map_group_entry (#b: _) (key: bounded_typ_gen b) (ge: map_group_entry b) : map_group_entry b
val cut_map_group_entry (#b: _) (key: bounded_typ_gen b) (ge: map_group_entry b) : map_group_entry b
let cut_map_group_entry #b (key: bounded_typ_gen b) (ge: map_group_entry b) : map_group_entry b = cut_map_group_entry_key key ge.fst `MapGroupEntry` ge.snd
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 59, "end_line": 401, "start_col": 0, "start_line": 400 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
key: CDDL.Spec.bounded_typ_gen b -> ge: CDDL.Spec.map_group_entry b -> CDDL.Spec.map_group_entry b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.map_group_entry", "CDDL.Spec.MapGroupEntry", "CDDL.Spec.cut_map_group_entry_key", "CDDL.Spec.__proj__MapGroupEntry__item__fst", "CDDL.Spec.__proj__MapGroupEntry__item__snd" ]
[]
false
false
false
false
false
let cut_map_group_entry #b (key: bounded_typ_gen b) (ge: map_group_entry b) : map_group_entry b =
MapGroupEntry (cut_map_group_entry_key key ge.fst) ge.snd
false
CDDL.Spec.fsti
CDDL.Spec.map_group_empty
val map_group_empty (#b: _) : map_group b
val map_group_empty (#b: _) : map_group b
let map_group_empty #b : map_group b = { one = []; zero_or_one = []; zero_or_more = []; }
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 389, "start_col": 0, "start_line": 385 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.Mkmap_group", "Prims.Nil", "CDDL.Spec.map_group_entry", "CDDL.Spec.map_group" ]
[]
false
false
false
false
false
let map_group_empty #b : map_group b =
{ one = []; zero_or_one = []; zero_or_more = [] }
false
CDDL.Spec.fsti
CDDL.Spec.array_group1_item
val array_group1_item (t: typ) : array_group1
val array_group1_item (t: typ) : array_group1
let array_group1_item (t: typ) : array_group1 = fun k l -> match l with | [] -> false | a :: q -> t a && k q
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 132, "start_col": 0, "start_line": 130 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: CDDL.Spec.typ -> CDDL.Spec.array_group1
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.typ", "Prims.list", "CBOR.Spec.Type.raw_data_item", "Prims.bool", "Prims.op_AmpAmp", "CDDL.Spec.array_group1" ]
[]
false
false
false
true
false
let array_group1_item (t: typ) : array_group1 =
fun k l -> match l with | [] -> false | a :: q -> t a && k q
false
CDDL.Spec.fsti
CDDL.Spec.maybe_cut_map_group
val maybe_cut_map_group (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
val maybe_cut_map_group (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
let maybe_cut_map_group #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b = if cut then cut_map_group (ge.fst) g else g
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 8, "end_line": 412, "start_col": 0, "start_line": 409 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ge: CDDL.Spec.map_group_entry b -> cut: Prims.bool -> g: CDDL.Spec.map_group b -> CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group_entry", "Prims.bool", "CDDL.Spec.map_group", "CDDL.Spec.cut_map_group", "CDDL.Spec.__proj__MapGroupEntry__item__fst" ]
[]
false
false
false
false
false
let maybe_cut_map_group #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b =
if cut then cut_map_group (ge.fst) g else g
false
CDDL.Spec.fsti
CDDL.Spec.cut_map_group_entry_key
val cut_map_group_entry_key (#b: _) (key t: bounded_typ_gen b) (x: Cbor.raw_data_item{opt_precedes x b}) : GTot bool
val cut_map_group_entry_key (#b: _) (key t: bounded_typ_gen b) (x: Cbor.raw_data_item{opt_precedes x b}) : GTot bool
let cut_map_group_entry_key #b (key: bounded_typ_gen b) (t: bounded_typ_gen b) (x: Cbor.raw_data_item { opt_precedes x b }) : GTot bool = t x && not (key x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 397, "start_col": 0, "start_line": 391 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
key: CDDL.Spec.bounded_typ_gen b -> t: CDDL.Spec.bounded_typ_gen b -> x: CBOR.Spec.Type.raw_data_item{CDDL.Spec.opt_precedes x b} -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.opt_precedes", "Prims.op_AmpAmp", "Prims.op_Negation", "Prims.bool" ]
[]
false
false
false
false
false
let cut_map_group_entry_key #b (key: bounded_typ_gen b) (t: bounded_typ_gen b) (x: Cbor.raw_data_item{opt_precedes x b}) : GTot bool =
t x && not (key x)
false
CDDL.Spec.fsti
CDDL.Spec.cut_map_group
val cut_map_group (#b: _) (key: bounded_typ_gen b) (g: map_group b) : map_group b
val cut_map_group (#b: _) (key: bounded_typ_gen b) (g: map_group b) : map_group b
let cut_map_group #b (key: bounded_typ_gen b) (g: map_group b) : map_group b = { one = List.Tot.map (cut_map_group_entry key) g.one; zero_or_one = List.Tot.map (cut_map_group_entry key) g.zero_or_one; zero_or_more = List.Tot.map (cut_map_group_entry key) g.zero_or_more; }
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 407, "start_col": 0, "start_line": 403 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
key: CDDL.Spec.bounded_typ_gen b -> g: CDDL.Spec.map_group b -> CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.map_group", "CDDL.Spec.Mkmap_group", "FStar.List.Tot.Base.map", "CDDL.Spec.map_group_entry", "CDDL.Spec.cut_map_group_entry", "CDDL.Spec.__proj__Mkmap_group__item__one", "CDDL.Spec.__proj__Mkm...
[]
false
false
false
false
false
let cut_map_group #b (key: bounded_typ_gen b) (g: map_group b) : map_group b =
{ one = List.Tot.map (cut_map_group_entry key) g.one; zero_or_one = List.Tot.map (cut_map_group_entry key) g.zero_or_one; zero_or_more = List.Tot.map (cut_map_group_entry key) g.zero_or_more }
false
CDDL.Spec.fsti
CDDL.Spec.map_group_cons_zero_or_one
val map_group_cons_zero_or_one (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
val map_group_cons_zero_or_one (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
let map_group_cons_zero_or_one #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b = let g = maybe_cut_map_group ge cut g in { g with zero_or_one = ge :: g.zero_or_one; }
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 424, "start_col": 0, "start_line": 420 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ge: CDDL.Spec.map_group_entry b -> cut: Prims.bool -> g: CDDL.Spec.map_group b -> CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group_entry", "Prims.bool", "CDDL.Spec.map_group", "CDDL.Spec.Mkmap_group", "CDDL.Spec.__proj__Mkmap_group__item__one", "Prims.Cons", "CDDL.Spec.__proj__Mkmap_group__item__zero_or_one", "CDDL.Spec.__proj__Mkmap_group_...
[]
false
false
false
false
false
let map_group_cons_zero_or_one #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b =
let g = maybe_cut_map_group ge cut g in { g with zero_or_one = ge :: g.zero_or_one }
false
CDDL.Spec.fsti
CDDL.Spec.map_group_cons_zero_or_more
val map_group_cons_zero_or_more (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
val map_group_cons_zero_or_more (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
let map_group_cons_zero_or_more #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b = let g = maybe_cut_map_group ge cut g in { g with zero_or_more = ge :: g.zero_or_more; }
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 430, "start_col": 0, "start_line": 426 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ge: CDDL.Spec.map_group_entry b -> cut: Prims.bool -> g: CDDL.Spec.map_group b -> CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group_entry", "Prims.bool", "CDDL.Spec.map_group", "CDDL.Spec.Mkmap_group", "CDDL.Spec.__proj__Mkmap_group__item__one", "CDDL.Spec.__proj__Mkmap_group__item__zero_or_one", "Prims.Cons", "CDDL.Spec.__proj__Mkmap_group_...
[]
false
false
false
false
false
let map_group_cons_zero_or_more #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b =
let g = maybe_cut_map_group ge cut g in { g with zero_or_more = ge :: g.zero_or_more }
false
CDDL.Spec.fsti
CDDL.Spec.array_group1_zero_or_more'
val array_group1_zero_or_more' (a: array_group1) (k: (list Cbor.raw_data_item -> GTot bool)) (l: list Cbor.raw_data_item) : GTot bool (decreases (List.Tot.length l))
val array_group1_zero_or_more' (a: array_group1) (k: (list Cbor.raw_data_item -> GTot bool)) (l: list Cbor.raw_data_item) : GTot bool (decreases (List.Tot.length l))
let rec array_group1_zero_or_more' (a: array_group1) (k: (list Cbor.raw_data_item -> GTot bool)) (l: list Cbor.raw_data_item) : GTot bool (decreases (List.Tot.length l)) = k l || a (fun l' -> if List.Tot.length l' >= List.Tot.length l then false else array_group1_zero_or_more' a k l') l
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 110, "end_line": 126, "start_col": 0, "start_line": 124 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group1 -> k: (_: Prims.list CBOR.Spec.Type.raw_data_item -> Prims.GTot Prims.bool) -> l: Prims.list CBOR.Spec.Type.raw_data_item -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial", "" ]
[]
[ "CDDL.Spec.array_group1", "Prims.list", "CBOR.Spec.Type.raw_data_item", "Prims.bool", "Prims.op_BarBar", "Prims.op_GreaterThanOrEqual", "FStar.List.Tot.Base.length", "CDDL.Spec.array_group1_zero_or_more'" ]
[ "recursion" ]
false
false
false
false
false
let rec array_group1_zero_or_more' (a: array_group1) (k: (list Cbor.raw_data_item -> GTot bool)) (l: list Cbor.raw_data_item) : GTot bool (decreases (List.Tot.length l)) =
k l || a (fun l' -> if List.Tot.length l' >= List.Tot.length l then false else array_group1_zero_or_more' a k l') l
false
CDDL.Spec.fsti
CDDL.Spec.t_array1
val t_array1 (a: array_group1) : typ
val t_array1 (a: array_group1) : typ
let t_array1 (a: array_group1) : typ = fun x -> Cbor.Array? x && a Nil? (Cbor.Array?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 26, "end_line": 136, "start_col": 0, "start_line": 134 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group1 -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group1", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Array", "Prims.uu___is_Nil", "CBOR.Spec.Type.__proj__Array__item__v", "Prims.bool", "CDDL.Spec.typ" ]
[]
false
false
false
true
false
let t_array1 (a: array_group1) : typ =
fun x -> Cbor.Array? x && a Nil? (Cbor.Array?.v x)
false
CDDL.Spec.fsti
CDDL.Spec.t_array2
val t_array2 (a: array_group2) : typ
val t_array2 (a: array_group2) : typ
let t_array2 (a: array_group2) : typ = fun x -> Cbor.Array? x && begin let l = Cbor.Array?.v x in List.Tot.length l `List.Tot.mem` a (Seq.seq_of_list l) 0 end
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 181, "start_col": 0, "start_line": 177 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group2 -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.array_group2", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Array", "FStar.List.Tot.Base.mem", "CDDL.Spec.nat_up_to", "FStar.Seq.Base.length", "FStar.Seq.Base.seq_of_list", "FStar.List.Tot.Base.len...
[]
false
false
false
true
false
let t_array2 (a: array_group2) : typ =
fun x -> Cbor.Array? x && (let l = Cbor.Array?.v x in (List.Tot.length l) `List.Tot.mem` (a (Seq.seq_of_list l) 0))
false
CDDL.Spec.fsti
CDDL.Spec.map_group_cons_one
val map_group_cons_one (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
val map_group_cons_one (#b: _) (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b
let map_group_cons_one #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b = let g = maybe_cut_map_group ge cut g in { g with one = ge :: g.one; }
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 418, "start_col": 0, "start_line": 414 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ge: CDDL.Spec.map_group_entry b -> cut: Prims.bool -> g: CDDL.Spec.map_group b -> CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group_entry", "Prims.bool", "CDDL.Spec.map_group", "CDDL.Spec.Mkmap_group", "Prims.Cons", "CDDL.Spec.__proj__Mkmap_group__item__one", "CDDL.Spec.__proj__Mkmap_group__item__zero_or_one", "CDDL.Spec.__proj__Mkmap_group_...
[]
false
false
false
false
false
let map_group_cons_one #b (ge: map_group_entry b) (cut: bool) (g: map_group b) : map_group b =
let g = maybe_cut_map_group ge cut g in { g with one = ge :: g.one }
false
CDDL.Spec.fsti
CDDL.Spec.is_sub_typ_of
val is_sub_typ_of (#b: _) (small large: bounded_typ_gen b) : Tot prop
val is_sub_typ_of (#b: _) (small large: bounded_typ_gen b) : Tot prop
let is_sub_typ_of #b (small large: bounded_typ_gen b) : Tot prop = forall (x: Cbor.raw_data_item { opt_precedes x b }) . small x ==> large x
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 75, "end_line": 466, "start_col": 0, "start_line": 462 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
small: CDDL.Spec.bounded_typ_gen b -> large: CDDL.Spec.bounded_typ_gen b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "Prims.l_Forall", "CDDL.Spec.opt_precedes", "Prims.l_imp", "Prims.b2t", "Prims.prop" ]
[]
false
false
false
false
true
let is_sub_typ_of #b (small: bounded_typ_gen b) (large: bounded_typ_gen b) : Tot prop =
forall (x: Cbor.raw_data_item{opt_precedes x b}). small x ==> large x
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_equiv
val array_group3_equiv (#b: _) (g1 g2: array_group3 b) : Tot prop
val array_group3_equiv (#b: _) (g1 g2: array_group3 b) : Tot prop
let array_group3_equiv #b (g1 g2: array_group3 b) : Tot prop = forall l . g1 l == g2 l
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 245, "start_col": 0, "start_line": 241 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g1: CDDL.Spec.array_group3 b -> g2: CDDL.Spec.array_group3 b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "Prims.l_Forall", "Prims.list", "Prims.l_and", "CDDL.Spec.opt_precedes", "Prims.eq2", "Prims.prop" ]
[]
false
false
false
false
true
let array_group3_equiv #b (g1: array_group3 b) (g2: array_group3 b) : Tot prop =
forall l. g1 l == g2 l
false
CDDL.Spec.fsti
CDDL.Spec.is_sub_map_group_entry_of
val is_sub_map_group_entry_of (#b: _) (small large: map_group_entry b) : Tot prop
val is_sub_map_group_entry_of (#b: _) (small large: map_group_entry b) : Tot prop
let is_sub_map_group_entry_of #b (small large: map_group_entry b) : Tot prop = small.fst `is_sub_typ_of` large.fst /\ small.snd `is_sub_typ_of` large.snd
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 474, "start_col": 0, "start_line": 469 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
small: CDDL.Spec.map_group_entry b -> large: CDDL.Spec.map_group_entry b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group_entry", "Prims.l_and", "CDDL.Spec.is_sub_typ_of", "CDDL.Spec.__proj__MapGroupEntry__item__fst", "CDDL.Spec.__proj__MapGroupEntry__item__snd", "Prims.prop" ]
[]
false
false
false
false
true
let is_sub_map_group_entry_of #b (small: map_group_entry b) (large: map_group_entry b) : Tot prop =
small.fst `is_sub_typ_of` large.fst /\ small.snd `is_sub_typ_of` large.snd
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_choice
val array_group3_choice (#b: _) (a1 a3: array_group3 b) : array_group3 b
val array_group3_choice (#b: _) (a1 a3: array_group3 b) : array_group3 b
let array_group3_choice #b (a1 a3: array_group3 b) : array_group3 b = fun l -> match a1 l with | None -> a3 l | Some l3 -> Some l3
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 267, "start_col": 0, "start_line": 264 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: CDDL.Spec.array_group3 b -> a3: CDDL.Spec.array_group3 b -> CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "Prims.list", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.Some" ]
[]
false
false
false
false
false
let array_group3_choice #b (a1: array_group3 b) (a3: array_group3 b) : array_group3 b =
fun l -> match a1 l with | None -> a3 l | Some l3 -> Some l3
false
CDDL.Spec.fsti
CDDL.Spec.list_is_suffix_of_precedes
val list_is_suffix_of_precedes (#t0 #t: Type) (v0: t0) (small large: list t) : Lemma (requires (large << v0 /\ small `list_is_suffix_of` large)) (ensures (small << v0)) (decreases (List.Tot.length large)) [SMTPat [small << v0]; SMTPat [small `list_is_suffix_of` large]]
val list_is_suffix_of_precedes (#t0 #t: Type) (v0: t0) (small large: list t) : Lemma (requires (large << v0 /\ small `list_is_suffix_of` large)) (ensures (small << v0)) (decreases (List.Tot.length large)) [SMTPat [small << v0]; SMTPat [small `list_is_suffix_of` large]]
let rec list_is_suffix_of_precedes (#t0 #t: Type) (v0: t0) (small large: list t) : Lemma (requires ( large << v0 /\ small `list_is_suffix_of` large )) (ensures ( small << v0 )) (decreases (List.Tot.length large)) [SMTPat [small << v0]; SMTPat [small `list_is_suffix_of` large]] = if Nil? sm...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 230, "start_col": 0, "start_line": 208 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v0: t0 -> small: Prims.list t -> large: Prims.list t -> FStar.Pervasives.Lemma (requires large << v0 /\ CDDL.Spec.list_is_suffix_of small large) (ensures small << v0) (decreases FStar.List.Tot.Base.length large) [SMTPat [small << v0]; SMTPat [CDDL.Spec.list_is_suffix_of small large]]
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "Prims.list", "Prims.uu___is_Nil", "CDDL.Spec.list_nil_precedes", "Prims.bool", "Prims.op_Equality", "Prims.nat", "FStar.List.Tot.Base.length", "CDDL.Spec.list_is_suffix_of_precedes", "FStar.List.Tot.Base.tl", "Prims.unit", "FStar.List.Tot.Properties.append_length", "Prims.eq2", "FStar.List....
[ "recursion" ]
false
false
true
false
false
let rec list_is_suffix_of_precedes (#t0 #t: Type) (v0: t0) (small large: list t) : Lemma (requires (large << v0 /\ small `list_is_suffix_of` large)) (ensures (small << v0)) (decreases (List.Tot.length large)) [SMTPat [small << v0]; SMTPat [small `list_is_suffix_of` large]] =
if Nil? small then list_nil_precedes large else let prefix = FStar.IndefiniteDescription.indefinite_description_ghost (list t) (fun prefix -> large == prefix `List.Tot.append` small) in List.Tot.append_length prefix small; if List.Tot.length small = List.Tot.length large then () else list_is_suffi...
false
Hacl.Impl.K256.Qinv.fst
Hacl.Impl.K256.Qinv.qinv8
val qinv8 (tmp f x_11 x_101 x_111 x_1001 x_1011 x_1101: qelem) : Stack unit (requires fun h -> live h tmp /\ live h f /\ live h x_11 /\ live h x_101 /\ live h x_111 /\ live h x_1001 /\ live h x_1011 /\ live h x_1101 /\ disjoint tmp f /\ disjoint tmp x_11 /\ disjoint tmp x_101 /\ disjoint tmp x_111...
val qinv8 (tmp f x_11 x_101 x_111 x_1001 x_1011 x_1101: qelem) : Stack unit (requires fun h -> live h tmp /\ live h f /\ live h x_11 /\ live h x_101 /\ live h x_111 /\ live h x_1001 /\ live h x_1011 /\ live h x_1101 /\ disjoint tmp f /\ disjoint tmp x_11 /\ disjoint tmp x_101 /\ disjoint tmp x_111...
let qinv8 tmp f x_11 x_101 x_111 x_1001 x_1011 x_1101 = push_frame (); let x6 = create_qelem () in let x8 = create_qelem () in let x14 = create_qelem () in let h1 = ST.get () in qinv2 x_11 x_1011 x_1101 x6 x8 x14; //x6; x8; x14 let h2 = ST.get () in assert (modifies (loc x6 |+| loc x8 |+| loc x14) h1 h...
{ "file_name": "code/k256/Hacl.Impl.K256.Qinv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 464, "start_col": 0, "start_line": 434 }
module Hacl.Impl.K256.Qinv open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.K256.Scalar module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module SI = Hacl.Spec.K256.Qinv module SE = Spec.Exponentiation module BE = Hacl.Impl.Exp...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Qinv.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Spec.Exponentiation", "short_module": "SE" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
tmp: Hacl.K256.Scalar.qelem -> f: Hacl.K256.Scalar.qelem -> x_11: Hacl.K256.Scalar.qelem -> x_101: Hacl.K256.Scalar.qelem -> x_111: Hacl.K256.Scalar.qelem -> x_1001: Hacl.K256.Scalar.qelem -> x_1011: Hacl.K256.Scalar.qelem -> x_1101: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack...
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.K256.Scalar.qelem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Hacl.Impl.K256.Qinv.qinv7", "Hacl.Impl.K256.Qinv.qinv6", "...
[]
false
true
false
false
false
let qinv8 tmp f x_11 x_101 x_111 x_1001 x_1011 x_1101 =
push_frame (); let x6 = create_qelem () in let x8 = create_qelem () in let x14 = create_qelem () in let h1 = ST.get () in qinv2 x_11 x_1011 x_1101 x6 x8 x14; let h2 = ST.get () in assert (modifies (loc x6 |+| loc x8 |+| loc x14) h1 h2); qinv3 tmp x14; let h3 = ST.get () in assert (modifies (loc tmp) h2 h3); qinv4 tmp x...
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_empty
val array_group3_empty (#b: _) : array_group3 b
val array_group3_empty (#b: _) : array_group3 b
let array_group3_empty #b : array_group3 b = fun x -> Some x
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 248, "start_col": 0, "start_line": 248 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "Prims.list", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.Some", "CDDL.Spec.array_group3" ]
[]
false
false
false
false
false
let array_group3_empty #b : array_group3 b =
fun x -> Some x
false
CDDL.Spec.fsti
CDDL.Spec.array_group2_zero_or_more'
val array_group2_zero_or_more' (a: array_group2) (l: Seq.seq Cbor.raw_data_item) (i: nat_up_to (Seq.length l)) : Tot (list (nat_up_to (Seq.length l))) (decreases (Seq.length l - i))
val array_group2_zero_or_more' (a: array_group2) (l: Seq.seq Cbor.raw_data_item) (i: nat_up_to (Seq.length l)) : Tot (list (nat_up_to (Seq.length l))) (decreases (Seq.length l - i))
let rec array_group2_zero_or_more' (a: array_group2) (l: Seq.seq Cbor.raw_data_item) (i: nat_up_to (Seq.length l)) : Tot (list (nat_up_to (Seq.length l))) (decreases (Seq.length l - i)) = i :: begin let r1 = a l i in List.Tot.concatMap (fun (i2: nat_up_to (Seq.length l)) -> if i2 <= i then [] ...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 166, "start_col": 0, "start_line": 157 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group2 -> l: FStar.Seq.Base.seq CBOR.Spec.Type.raw_data_item -> i: CDDL.Spec.nat_up_to (FStar.Seq.Base.length l) -> Prims.Tot (Prims.list (CDDL.Spec.nat_up_to (FStar.Seq.Base.length l)))
Prims.Tot
[ "total", "" ]
[]
[ "CDDL.Spec.array_group2", "FStar.Seq.Base.seq", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.nat_up_to", "FStar.Seq.Base.length", "Prims.Cons", "FStar.List.Tot.Base.concatMap", "Prims.op_LessThanOrEqual", "Prims.Nil", "Prims.bool", "CDDL.Spec.array_group2_zero_or_more'", "Prims.list" ]
[ "recursion" ]
false
false
false
false
false
let rec array_group2_zero_or_more' (a: array_group2) (l: Seq.seq Cbor.raw_data_item) (i: nat_up_to (Seq.length l)) : Tot (list (nat_up_to (Seq.length l))) (decreases (Seq.length l - i)) =
i :: (let r1 = a l i in List.Tot.concatMap (fun (i2: nat_up_to (Seq.length l)) -> if i2 <= i then [] else array_group2_zero_or_more' a l i2) r1)
false
CDDL.Spec.fsti
CDDL.Spec.map_group_ignore_restricted_entries
val map_group_ignore_restricted_entries (#b: _) (mg: map_group b) : Tot (map_group b)
val map_group_ignore_restricted_entries (#b: _) (mg: map_group b) : Tot (map_group b)
let map_group_ignore_restricted_entries #b (mg: map_group b) : Tot (map_group b) = {mg with one = []; zero_or_one = []; }
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 483, "start_col": 0, "start_line": 476 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
mg: CDDL.Spec.map_group b -> CDDL.Spec.map_group b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "CDDL.Spec.Mkmap_group", "Prims.Nil", "CDDL.Spec.map_group_entry", "CDDL.Spec.__proj__Mkmap_group__item__zero_or_more" ]
[]
false
false
false
false
false
let map_group_ignore_restricted_entries #b (mg: map_group b) : Tot (map_group b) =
{ mg with one = []; zero_or_one = [] }
false
CDDL.Spec.fsti
CDDL.Spec.t_array3_rec
val t_array3_rec (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> array_group3 (Some b)))) (x: Cbor.raw_data_item) : GTot bool (decreases x)
val t_array3_rec (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> array_group3 (Some b)))) (x: Cbor.raw_data_item) : GTot bool (decreases x)
let rec t_array3_rec (phi: (b: Cbor.raw_data_item) -> (bounded_typ b -> array_group3 (Some b))) (x: Cbor.raw_data_item) : GTot bool (decreases x) = Cbor.Array? x && match_array_group3 (phi x (t_array3_rec phi)) (Cbor.Array?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 65, "end_line": 337, "start_col": 0, "start_line": 330 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
phi: (b: CBOR.Spec.Type.raw_data_item -> _: CDDL.Spec.bounded_typ b -> CDDL.Spec.array_group3 (FStar.Pervasives.Native.Some b)) -> x: CBOR.Spec.Type.raw_data_item -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial", "" ]
[]
[ "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ", "CDDL.Spec.array_group3", "FStar.Pervasives.Native.Some", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Array", "CDDL.Spec.match_array_group3", "CDDL.Spec.t_array3_rec", "CBOR.Spec.Type.__proj__Array__item__v", "Prims.bool" ]
[ "recursion" ]
false
false
false
false
false
let rec t_array3_rec (phi: (b: Cbor.raw_data_item -> (bounded_typ b -> array_group3 (Some b)))) (x: Cbor.raw_data_item) : GTot bool (decreases x) =
Cbor.Array? x && match_array_group3 (phi x (t_array3_rec phi)) (Cbor.Array?.v x)
false
CDDL.Spec.fsti
CDDL.Spec.list_nil_precedes
val list_nil_precedes (#t: Type) (l: list t) : Lemma (Nil #t == l \/ Nil #t << l)
val list_nil_precedes (#t: Type) (l: list t) : Lemma (Nil #t == l \/ Nil #t << l)
let rec list_nil_precedes (#t: Type) (l: list t) : Lemma (Nil #t == l \/ Nil #t << l) = match l with | [] -> () | a :: q -> list_nil_precedes q
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 206, "start_col": 0, "start_line": 199 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list t -> FStar.Pervasives.Lemma (ensures [] == l \/ [] << l)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.list", "CDDL.Spec.list_nil_precedes", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_or", "Prims.eq2", "Prims.Nil", "Prims.precedes", "FStar.Pervasives.pattern" ]
[ "recursion" ]
false
false
true
false
false
let rec list_nil_precedes (#t: Type) (l: list t) : Lemma (Nil #t == l \/ Nil #t << l) =
match l with | [] -> () | a :: q -> list_nil_precedes q
false
CDDL.Spec.fsti
CDDL.Spec.list_ghost_forall_exists_body
val list_ghost_forall_exists_body (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (l2: list t2) : GTot (t1 -> bool)
val list_ghost_forall_exists_body (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (l2: list t2) : GTot (t1 -> bool)
let list_ghost_forall_exists_body (#t1 #t2: Type) (r: t1 -> t2 -> prop) (l2: list t2) : GTot (t1 -> bool) = Pull.pull (fun x1 -> List.Tot.existsb (pull_rel r x1) l2 )
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 500, "start_col": 0, "start_line": 492 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: (_: t1 -> _: t2 -> Prims.prop) -> l2: Prims.list t2 -> Prims.GTot (_: t1 -> Prims.bool)
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.prop", "Prims.list", "FStar.Ghost.Pull.pull", "Prims.bool", "FStar.List.Tot.Base.existsb", "CDDL.Spec.pull_rel" ]
[]
false
false
false
false
false
let list_ghost_forall_exists_body (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (l2: list t2) : GTot (t1 -> bool) =
Pull.pull (fun x1 -> List.Tot.existsb (pull_rel r x1) l2)
false
CDDL.Spec.fsti
CDDL.Spec.array_group3
val array_group3 : bound: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> Type0
let array_group3 (bound: option Cbor.raw_data_item) = (l: list Cbor.raw_data_item { opt_precedes l bound }) -> Ghost (option (list Cbor.raw_data_item)) (requires True) (ensures (fun l' -> match l' with | None -> True | Some l' -> opt_precedes l' bound ))
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 4, "end_line": 238, "start_col": 0, "start_line": 233 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
bound: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "Prims.list", "CDDL.Spec.opt_precedes", "Prims.l_True" ]
[]
false
false
false
true
true
let array_group3 (bound: option Cbor.raw_data_item) =
l: list Cbor.raw_data_item {opt_precedes l bound} -> Ghost (option (list Cbor.raw_data_item)) (requires True) (ensures (function | None -> True | Some l' -> opt_precedes l' bound))
false
CDDL.Spec.fsti
CDDL.Spec.list_ghost_forall_exists
val list_ghost_forall_exists (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (l1: list t1) (l2: list t2) : GTot bool
val list_ghost_forall_exists (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (l1: list t1) (l2: list t2) : GTot bool
let list_ghost_forall_exists (#t1 #t2: Type) (r: t1 -> t2 -> prop) (l1: list t1) (l2: list t2) : GTot bool = List.Tot.for_all (list_ghost_forall_exists_body r l2) l1
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 6, "end_line": 510, "start_col": 0, "start_line": 502 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: (_: t1 -> _: t2 -> Prims.prop) -> l1: Prims.list t1 -> l2: Prims.list t2 -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.prop", "Prims.list", "FStar.List.Tot.Base.for_all", "CDDL.Spec.list_ghost_forall_exists_body", "Prims.bool" ]
[]
false
false
false
false
false
let list_ghost_forall_exists (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (l1: list t1) (l2: list t2) : GTot bool =
List.Tot.for_all (list_ghost_forall_exists_body r l2) l1
false
CDDL.Spec.fsti
CDDL.Spec.map_group_included_zero_or_more
val map_group_included_zero_or_more (#b: _) (small large: map_group b) : GTot bool
val map_group_included_zero_or_more (#b: _) (small large: map_group b) : GTot bool
let map_group_included_zero_or_more #b (small large: map_group b) : GTot bool = list_ghost_forall_exists is_sub_map_group_entry_of small.one large.zero_or_more && list_ghost_forall_exists is_sub_map_group_entry_of small.zero_or_one large.zero_or_more && list_ghost_forall_exists is_sub_map_group_entry_of small.z...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 560, "start_col": 0, "start_line": 553 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
small: CDDL.Spec.map_group b -> large: CDDL.Spec.map_group b -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "Prims.op_AmpAmp", "CDDL.Spec.list_ghost_forall_exists", "CDDL.Spec.map_group_entry", "CDDL.Spec.is_sub_map_group_entry_of", "CDDL.Spec.__proj__Mkmap_group__item__one", "CDDL.Spec.__proj__Mkmap_group__item__zero...
[]
false
false
false
false
false
let map_group_included_zero_or_more #b (small: map_group b) (large: map_group b) : GTot bool =
list_ghost_forall_exists is_sub_map_group_entry_of small.one large.zero_or_more && list_ghost_forall_exists is_sub_map_group_entry_of small.zero_or_one large.zero_or_more && list_ghost_forall_exists is_sub_map_group_entry_of small.zero_or_more large.zero_or_more && Nil? large.one
false
CDDL.Spec.fsti
CDDL.Spec.t_array3
val t_array3 (#b: option Cbor.raw_data_item) (a: array_group3 b) : bounded_typ_gen b
val t_array3 (#b: option Cbor.raw_data_item) (a: array_group3 b) : bounded_typ_gen b
let t_array3 (#b: option Cbor.raw_data_item) (a: array_group3 b) : bounded_typ_gen b = fun x -> Cbor.Array? x && match_array_group3 a (Cbor.Array?.v x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 311, "start_col": 0, "start_line": 309 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group3 b -> CDDL.Spec.bounded_typ_gen b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "CDDL.Spec.opt_precedes", "Prims.op_AmpAmp", "CBOR.Spec.Type.uu___is_Array", "CDDL.Spec.match_array_group3", "CBOR.Spec.Type.__proj__Array__item__v", "Prims.bool", "CDDL.Spec.bounded_typ_gen" ]
[]
false
false
false
false
false
let t_array3 (#b: option Cbor.raw_data_item) (a: array_group3 b) : bounded_typ_gen b =
fun x -> Cbor.Array? x && match_array_group3 a (Cbor.Array?.v x)
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_concat
val array_group3_concat (#b: _) (a1 a3: array_group3 b) : array_group3 b
val array_group3_concat (#b: _) (a1 a3: array_group3 b) : array_group3 b
let array_group3_concat #b (a1 a3: array_group3 b) : array_group3 b = (fun l -> match a1 l with | None -> None | Some l3 -> a3 l3 )
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 254, "start_col": 0, "start_line": 249 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: CDDL.Spec.array_group3 b -> a3: CDDL.Spec.array_group3 b -> CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "Prims.list", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None" ]
[]
false
false
false
false
false
let array_group3_concat #b (a1: array_group3 b) (a3: array_group3 b) : array_group3 b =
(fun l -> match a1 l with | None -> None | Some l3 -> a3 l3)
false
CDDL.Spec.fsti
CDDL.Spec.pull_rel
val pull_rel (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (x1: t1) : GTot (x2: t2 -> Tot bool)
val pull_rel (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (x1: t1) : GTot (x2: t2 -> Tot bool)
let pull_rel (#t1 #t2: Type) (r: t1 -> t2 -> prop) (x1: t1) : GTot ((x2: t2) -> Tot bool) = Pull.pull (fun x2 -> FStar.StrongExcludedMiddle.strong_excluded_middle (r x1 x2))
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 83, "end_line": 490, "start_col": 0, "start_line": 485 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: (_: t1 -> _: t2 -> Prims.prop) -> x1: t1 -> Prims.GTot (x2: t2 -> Prims.bool)
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.prop", "FStar.Ghost.Pull.pull", "Prims.bool", "Prims.l_iff", "Prims.b2t", "Prims.op_Equality", "FStar.StrongExcludedMiddle.strong_excluded_middle" ]
[]
false
false
false
false
false
let pull_rel (#t1 #t2: Type) (r: (t1 -> t2 -> prop)) (x1: t1) : GTot (x2: t2 -> Tot bool) =
Pull.pull (fun x2 -> FStar.StrongExcludedMiddle.strong_excluded_middle (r x1 x2))
false
CDDL.Spec.fsti
CDDL.Spec.matches_map_group_entry
val matches_map_group_entry (#b: option Cbor.raw_data_item) (ge: map_group_entry b) (x: (Cbor.raw_data_item & Cbor.raw_data_item){opt_map_entry_bounded b x == true}) : GTot bool
val matches_map_group_entry (#b: option Cbor.raw_data_item) (ge: map_group_entry b) (x: (Cbor.raw_data_item & Cbor.raw_data_item){opt_map_entry_bounded b x == true}) : GTot bool
let matches_map_group_entry (#b: option Cbor.raw_data_item) (ge: map_group_entry b) (x: (Cbor.raw_data_item & Cbor.raw_data_item) { opt_map_entry_bounded b x == true }) : GTot bool = ge.fst (fst x) && ge.snd (snd x)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 375, "start_col": 0, "start_line": 370 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ge: CDDL.Spec.map_group_entry b -> x: (CBOR.Spec.Type.raw_data_item * CBOR.Spec.Type.raw_data_item) {CDDL.Spec.opt_map_entry_bounded b x == true} -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group_entry", "FStar.Pervasives.Native.tuple2", "Prims.eq2", "Prims.bool", "CDDL.Spec.opt_map_entry_bounded", "Prims.op_AmpAmp", "CDDL.Spec.__proj__MapGroupEntry__item__fst", "FStar.Pervasives.Native.fst", "CDDL.Spe...
[]
false
false
false
false
false
let matches_map_group_entry (#b: option Cbor.raw_data_item) (ge: map_group_entry b) (x: (Cbor.raw_data_item & Cbor.raw_data_item){opt_map_entry_bounded b x == true}) : GTot bool =
ge.fst (fst x) && ge.snd (snd x)
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_always_false
val array_group3_always_false (#b: _) : array_group3 b
val array_group3_always_false (#b: _) : array_group3 b
let array_group3_always_false #b : array_group3 b = fun _ -> None
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 65, "end_line": 247, "start_col": 0, "start_line": 247 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "Prims.list", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "CDDL.Spec.array_group3" ]
[]
false
false
false
false
false
let array_group3_always_false #b : array_group3 b =
fun _ -> None
false
CDDL.Spec.fsti
CDDL.Spec.opt_precedes_map_for_all_opt_map_entry_bounded
val opt_precedes_map_for_all_opt_map_entry_bounded (b: option Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (opt_precedes l b)) (ensures (List.Tot.for_all (opt_map_entry_bounded b) l)) [SMTPat (List.Tot.for_all (opt_map_entry_bounded b) l)]
val opt_precedes_map_for_all_opt_map_entry_bounded (b: option Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (opt_precedes l b)) (ensures (List.Tot.for_all (opt_map_entry_bounded b) l)) [SMTPat (List.Tot.for_all (opt_map_entry_bounded b) l)]
let rec opt_precedes_map_for_all_opt_map_entry_bounded (b: option Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (opt_precedes l b)) (ensures (List.Tot.for_all (opt_map_entry_bounded b) l)) [SMTPat (List.Tot.for_all (opt_map_entry_bounded b) l)] = match l with | []...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 368, "start_col": 0, "start_line": 359 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Pervasives.Native.option CBOR.Spec.Type.raw_data_item -> l: Prims.list (CBOR.Spec.Type.raw_data_item * CBOR.Spec.Type.raw_data_item) -> FStar.Pervasives.Lemma (requires CDDL.Spec.opt_precedes l b) (ensures FStar.List.Tot.Base.for_all (CDDL.Spec.opt_map_entry_bounded b) l) [SMTPat (FStar....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "Prims.list", "FStar.Pervasives.Native.tuple2", "CDDL.Spec.opt_precedes_map_for_all_opt_map_entry_bounded", "Prims.unit", "CDDL.Spec.opt_precedes", "Prims.squash", "Prims.b2t", "FStar.List.Tot.Base.for_all", "CDDL.Spec.opt_map_ent...
[ "recursion" ]
false
false
true
false
false
let rec opt_precedes_map_for_all_opt_map_entry_bounded (b: option Cbor.raw_data_item) (l: list (Cbor.raw_data_item & Cbor.raw_data_item)) : Lemma (requires (opt_precedes l b)) (ensures (List.Tot.for_all (opt_map_entry_bounded b) l)) [SMTPat (List.Tot.for_all (opt_map_entry_bounded b) l)] = ...
match l with | [] -> () | _ :: q -> opt_precedes_map_for_all_opt_map_entry_bounded b q
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_zero_or_more'
val array_group3_zero_or_more' (#b: _) (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : Ghost (option (list Cbor.raw_data_item)) (requires True) (ensures (function | None -> True | Some l' -> opt_precedes l' b)) (decreases (List.To...
val array_group3_zero_or_more' (#b: _) (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : Ghost (option (list Cbor.raw_data_item)) (requires True) (ensures (function | None -> True | Some l' -> opt_precedes l' b)) (decreases (List.To...
let rec array_group3_zero_or_more' #b (a: array_group3 b) (l: list Cbor.raw_data_item { opt_precedes l b }) : Ghost (option (list Cbor.raw_data_item)) (requires True) (ensures (fun l' -> match l' with None -> True | Some l' -> opt_precedes l' b)) (decreases (List.Tot.length l)) = match a l with | None -> Some...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 279, "start_col": 0, "start_line": 269 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: CDDL.Spec.array_group3 b -> l: Prims.list CBOR.Spec.Type.raw_data_item {CDDL.Spec.opt_precedes l b} -> Prims.Ghost (FStar.Pervasives.Native.option (Prims.list CBOR.Spec.Type.raw_data_item))
Prims.Ghost
[ "" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.array_group3", "Prims.list", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.Some", "Prims.op_GreaterThanOrEqual", "FStar.List.Tot.Base.length", "Prims.bool", "CDDL.Spec.array_group3_zero_or_more'", "Prims.l_True" ]
[ "recursion" ]
false
false
false
false
false
let rec array_group3_zero_or_more' #b (a: array_group3 b) (l: list Cbor.raw_data_item {opt_precedes l b}) : Ghost (option (list Cbor.raw_data_item)) (requires True) (ensures (function | None -> True | Some l' -> opt_precedes l' b)) (decreases (List.Tot...
match a l with | None -> Some l | Some l' -> if List.Tot.length l' >= List.Tot.length l then Some l else array_group3_zero_or_more' a l'
false
CDDL.Spec.fsti
CDDL.Spec.list_is_suffix_of_refl
val list_is_suffix_of_refl (#t: Type) (l: list t) : Lemma (l `list_is_suffix_of` l) [SMTPat (l `list_is_suffix_of` l)]
val list_is_suffix_of_refl (#t: Type) (l: list t) : Lemma (l `list_is_suffix_of` l) [SMTPat (l `list_is_suffix_of` l)]
let list_is_suffix_of_refl (#t: Type) (l: list t) : Lemma (l `list_is_suffix_of` l) [SMTPat (l `list_is_suffix_of` l)] = assert (l == [] `List.Tot.append` l)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 197, "start_col": 0, "start_line": 191 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list t -> FStar.Pervasives.Lemma (ensures CDDL.Spec.list_is_suffix_of l l) [SMTPat (CDDL.Spec.list_is_suffix_of l l)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.list", "Prims._assert", "Prims.eq2", "FStar.List.Tot.Base.append", "Prims.Nil", "Prims.unit", "Prims.l_True", "Prims.squash", "CDDL.Spec.list_is_suffix_of", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.prop" ]
[]
true
false
true
false
false
let list_is_suffix_of_refl (#t: Type) (l: list t) : Lemma (l `list_is_suffix_of` l) [SMTPat (l `list_is_suffix_of` l)] =
assert (l == [] `List.Tot.append` l)
false
CDDL.Spec.fsti
CDDL.Spec.map_group_included_pointwise
val map_group_included_pointwise (#b: _) (small large: map_group b) : GTot bool
val map_group_included_pointwise (#b: _) (small large: map_group b) : GTot bool
let map_group_included_pointwise #b (small large: map_group b) : GTot bool = list_ghost_forall2 is_sub_map_group_entry_of small.one large.one && list_ghost_forall2 is_sub_map_group_entry_of small.zero_or_one large.zero_or_one && list_ghost_forall2 is_sub_map_group_entry_of small.zero_or_more large.zero_or_more
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 84, "end_line": 601, "start_col": 0, "start_line": 595 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
small: CDDL.Spec.map_group b -> large: CDDL.Spec.map_group b -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "Prims.op_AmpAmp", "CDDL.Spec.list_ghost_forall2", "CDDL.Spec.map_group_entry", "CDDL.Spec.is_sub_map_group_entry_of", "CDDL.Spec.__proj__Mkmap_group__item__one", "CDDL.Spec.__proj__Mkmap_group__item__zero_or_on...
[]
false
false
false
false
false
let map_group_included_pointwise #b (small: map_group b) (large: map_group b) : GTot bool =
list_ghost_forall2 is_sub_map_group_entry_of small.one large.one && list_ghost_forall2 is_sub_map_group_entry_of small.zero_or_one large.zero_or_one && list_ghost_forall2 is_sub_map_group_entry_of small.zero_or_more large.zero_or_more
false
CDDL.Spec.fsti
CDDL.Spec.map_key_neq'
val map_key_neq' (#t1 t2: Type) (k: t1) (x: (t1 & t2)) : GTot bool
val map_key_neq' (#t1 t2: Type) (k: t1) (x: (t1 & t2)) : GTot bool
let map_key_neq' (#t1 t2: Type) (k: t1) (x: (t1 & t2)) : GTot bool = FStar.StrongExcludedMiddle.strong_excluded_middle (~ (fst x == k))
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 68, "end_line": 665, "start_col": 0, "start_line": 660 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t2: Type -> k: t1 -> x: (t1 * t2) -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.Native.tuple2", "FStar.StrongExcludedMiddle.strong_excluded_middle", "Prims.l_not", "Prims.eq2", "FStar.Pervasives.Native.fst", "Prims.bool" ]
[]
false
false
false
false
false
let map_key_neq' (#t1 t2: Type) (k: t1) (x: (t1 & t2)) : GTot bool =
FStar.StrongExcludedMiddle.strong_excluded_middle (~(fst x == k))
false
CDDL.Spec.fsti
CDDL.Spec.map_key_neq
val map_key_neq (#t1 t2: Type) (k: t1) : GTot ((t1 & t2) -> bool)
val map_key_neq (#t1 t2: Type) (k: t1) : GTot ((t1 & t2) -> bool)
let map_key_neq (#t1 t2: Type) (k: t1) : GTot ((t1 & t2) -> bool) = Pull.pull (map_key_neq' t2 k)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 671, "start_col": 0, "start_line": 667 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t2: Type -> k: t1 -> Prims.GTot (_: (t1 * t2) -> Prims.bool)
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Ghost.Pull.pull", "FStar.Pervasives.Native.tuple2", "Prims.bool", "CDDL.Spec.map_key_neq'" ]
[]
false
false
false
false
false
let map_key_neq (#t1 t2: Type) (k: t1) : GTot ((t1 & t2) -> bool) =
Pull.pull (map_key_neq' t2 k)
false
CDDL.Spec.fsti
CDDL.Spec.string64
val string64 : Type0
let string64 = (s: Seq.seq U8.t {FStar.UInt.fits (Seq.length s) 64})
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 68, "end_line": 784, "start_col": 0, "start_line": 784 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "FStar.UInt8.t", "Prims.b2t", "FStar.UInt.fits", "FStar.Seq.Base.length" ]
[]
false
false
false
true
true
let string64 =
(s: Seq.seq U8.t {FStar.UInt.fits (Seq.length s) 64})
false
CDDL.Spec.fsti
CDDL.Spec.map_group_entry_for
val map_group_entry_for (#b: _) (k: Cbor.raw_data_item) (ty: bounded_typ_gen b) : Tot (map_group_entry b)
val map_group_entry_for (#b: _) (k: Cbor.raw_data_item) (ty: bounded_typ_gen b) : Tot (map_group_entry b)
let map_group_entry_for #b (k: Cbor.raw_data_item) (ty: bounded_typ_gen b) : Tot (map_group_entry b) = MapGroupEntry (coerce_to_bounded_typ _ (t_literal k)) ty
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 58, "end_line": 678, "start_col": 0, "start_line": 673 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: CBOR.Spec.Type.raw_data_item -> ty: CDDL.Spec.bounded_typ_gen b -> CDDL.Spec.map_group_entry b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "CDDL.Spec.MapGroupEntry", "CDDL.Spec.coerce_to_bounded_typ", "CDDL.Spec.t_literal", "CDDL.Spec.map_group_entry" ]
[]
false
false
false
false
false
let map_group_entry_for #b (k: Cbor.raw_data_item) (ty: bounded_typ_gen b) : Tot (map_group_entry b) =
MapGroupEntry (coerce_to_bounded_typ _ (t_literal k)) ty
false
CDDL.Spec.fsti
CDDL.Spec.array_group3_item
val array_group3_item (#b: option Cbor.raw_data_item) (t: bounded_typ_gen b) : array_group3 b
val array_group3_item (#b: option Cbor.raw_data_item) (t: bounded_typ_gen b) : array_group3 b
let array_group3_item (#b: option Cbor.raw_data_item) (t: bounded_typ_gen b) : array_group3 b = fun l -> match l with | [] -> None | a :: q -> if t a then Some q else None
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 292, "start_col": 0, "start_line": 289 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "CBOR.Spec", "short_module": "Cbor" }, { "abbrev": false, "full_module": "CDDL", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: CDDL.Spec.bounded_typ_gen b -> CDDL.Spec.array_group3 b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.bounded_typ_gen", "Prims.list", "CDDL.Spec.opt_precedes", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.Some", "Prims.bool", "CDDL.Spec.array_group3" ]
[]
false
false
false
false
false
let array_group3_item (#b: option Cbor.raw_data_item) (t: bounded_typ_gen b) : array_group3 b =
function | [] -> None | a :: q -> if t a then Some q else None
false
CDDL.Spec.fsti
CDDL.Spec.is_sub_map_group_of
val is_sub_map_group_of (#b: _) (small large: map_group b) : Tot prop
val is_sub_map_group_of (#b: _) (small large: map_group b) : Tot prop
let is_sub_map_group_of #b (small large: map_group b) : Tot prop = forall x . matches_map_group small x ==> matches_map_group large x
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 68, "end_line": 452, "start_col": 0, "start_line": 448 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
small: CDDL.Spec.map_group b -> large: CDDL.Spec.map_group b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "Prims.l_Forall", "Prims.list", "FStar.Pervasives.Native.tuple2", "Prims.l_and", "Prims.b2t", "FStar.List.Tot.Base.for_all", "CDDL.Spec.opt_map_entry_bounded", "Prims.l_imp", "CDDL.Spec.matches_map_group",...
[]
false
false
false
false
true
let is_sub_map_group_of #b (small: map_group b) (large: map_group b) : Tot prop =
forall x. matches_map_group small x ==> matches_map_group large x
false
CDDL.Spec.fsti
CDDL.Spec.name_as_text_string
val name_as_text_string (s: string64) : typ
val name_as_text_string (s: string64) : typ
let name_as_text_string (s: string64) : typ = t_literal (Cbor.String Cbor.cbor_major_type_text_string s)
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 787, "start_col": 0, "start_line": 786 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: CDDL.Spec.string64 -> CDDL.Spec.typ
Prims.Tot
[ "total" ]
[]
[ "CDDL.Spec.string64", "CDDL.Spec.t_literal", "CBOR.Spec.Type.String", "CBOR.Spec.Constants.cbor_major_type_text_string", "CDDL.Spec.typ" ]
[]
false
false
false
true
false
let name_as_text_string (s: string64) : typ =
t_literal (Cbor.String Cbor.cbor_major_type_text_string s)
false
CDDL.Spec.fsti
CDDL.Spec.map_group_equiv
val map_group_equiv (#b: _) (mg1 mg2: map_group b) : Tot prop
val map_group_equiv (#b: _) (mg1 mg2: map_group b) : Tot prop
let map_group_equiv #b (mg1 mg2: map_group b) : Tot prop = forall x . matches_map_group mg1 x == matches_map_group mg2 x
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 63, "end_line": 459, "start_col": 0, "start_line": 455 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
mg1: CDDL.Spec.map_group b -> mg2: CDDL.Spec.map_group b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "Prims.l_Forall", "Prims.list", "FStar.Pervasives.Native.tuple2", "Prims.l_and", "Prims.b2t", "FStar.List.Tot.Base.for_all", "CDDL.Spec.opt_map_entry_bounded", "Prims.eq2", "Prims.bool", "CDDL.Spec.match...
[]
false
false
false
false
true
let map_group_equiv #b (mg1: map_group b) (mg2: map_group b) : Tot prop =
forall x. matches_map_group mg1 x == matches_map_group mg2 x
false
FStar.Int.fsti
FStar.Int.fits
val fits (x: int) (n: pos) : Tot bool
val fits (x: int) (n: pos) : Tot bool
let fits (x:int) (n:pos) : Tot bool = min_int n <= x && x <= max_int n
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 70, "end_line": 44, "start_col": 0, "start_line": 44 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.int -> n: Prims.pos -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.pos", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "FStar.Int.min_int", "FStar.Int.max_int", "Prims.bool" ]
[]
false
false
false
true
false
let fits (x: int) (n: pos) : Tot bool =
min_int n <= x && x <= max_int n
false
CDDL.Spec.fsti
CDDL.Spec.matches_map_group_entry'
val matches_map_group_entry' (#b: _) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) (y: map_group_entry b) : Tot prop
val matches_map_group_entry' (#b: _) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) (y: map_group_entry b) : Tot prop
let matches_map_group_entry' (#b: _) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) (y: map_group_entry b) : Tot prop = opt_map_entry_bounded b x ==> matches_map_group_entry y x
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 59, "end_line": 518, "start_col": 0, "start_line": 513 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: (CBOR.Spec.Type.raw_data_item * CBOR.Spec.Type.raw_data_item) -> y: CDDL.Spec.map_group_entry b -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "FStar.Pervasives.Native.tuple2", "CDDL.Spec.map_group_entry", "Prims.l_imp", "Prims.b2t", "CDDL.Spec.opt_map_entry_bounded", "CDDL.Spec.matches_map_group_entry", "Prims.prop" ]
[]
false
false
false
false
true
let matches_map_group_entry' (#b: _) (x: (Cbor.raw_data_item & Cbor.raw_data_item)) (y: map_group_entry b) : Tot prop =
opt_map_entry_bounded b x ==> matches_map_group_entry y x
false
CDDL.Spec.fsti
CDDL.Spec.map_group_ignore_restricted_entries_no_one_equiv
val map_group_ignore_restricted_entries_no_one_equiv (#b: _) (mg: map_group b) : Lemma (requires (Nil? mg.one /\ list_ghost_forall_exists is_sub_map_group_entry_of mg.zero_or_one mg.zero_or_more)) (ensures (map_group_equiv mg (map_group_ignore_restricted_entries mg)))
val map_group_ignore_restricted_entries_no_one_equiv (#b: _) (mg: map_group b) : Lemma (requires (Nil? mg.one /\ list_ghost_forall_exists is_sub_map_group_entry_of mg.zero_or_one mg.zero_or_more)) (ensures (map_group_equiv mg (map_group_ignore_restricted_entries mg)))
let map_group_ignore_restricted_entries_no_one_equiv #b (mg: map_group b) : Lemma (requires ( Nil? mg.one /\ list_ghost_forall_exists is_sub_map_group_entry_of mg.zero_or_one mg.zero_or_more )) (ensures ( map_group_equiv mg (map_group_ignore_restricted_entries mg) )) = map_group_ignore_restricte...
{ "file_name": "share/steel/examples/pulse/dice/cbor/CDDL.Spec.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 85, "end_line": 593, "start_col": 0, "start_line": 581 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt.fsti.checked", "FStar.StrongExcludedMiddle.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked",...
[ { "abbrev": true, "full_module": "FStar.Ghost.Pull", "short_module": "Pull" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "C...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
mg: CDDL.Spec.map_group b -> FStar.Pervasives.Lemma (requires Nil? (Mkmap_group?.one mg) /\ CDDL.Spec.list_ghost_forall_exists CDDL.Spec.is_sub_map_group_entry_of (Mkmap_group?.zero_or_one mg) (Mkmap_group?.zero_or_more mg)) (ensures CDDL.Spec.map_group_equiv mg (CDDL.S...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Pervasives.Native.option", "CBOR.Spec.Type.raw_data_item", "CDDL.Spec.map_group", "CDDL.Spec.map_group_included_zero_or_more_correct", "CDDL.Spec.map_group_ignore_restricted_entries", "Prims.unit", "CDDL.Spec.map_group_ignore_restricted_entries_sub", "Prims.l_and", "Prims.b2t", "Prims.uu___...
[]
true
false
true
false
false
let map_group_ignore_restricted_entries_no_one_equiv #b (mg: map_group b) : Lemma (requires (Nil? mg.one /\ list_ghost_forall_exists is_sub_map_group_entry_of mg.zero_or_one mg.zero_or_more)) (ensures (map_group_equiv mg (map_group_ignore_restricted_entries mg))) =
map_group_ignore_restricted_entries_sub mg; map_group_included_zero_or_more_correct (map_group_ignore_restricted_entries mg) mg
false
FStar.Int.fsti
FStar.Int.size
val size (x: int) (n: pos) : Tot Type0
val size (x: int) (n: pos) : Tot Type0
let size (x:int) (n:pos) : Tot Type0 = b2t(fits x n)
{ "file_name": "ulib/FStar.Int.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 45, "start_col": 0, "start_line": 45 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.BitVector.fst.checked" ], "interface_file": false, "source_file": "FSt...
[ { "abbrev": false, "full_module": "FStar.Math.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "FStar.BitVector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.int -> n: Prims.pos -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.pos", "Prims.b2t", "FStar.Int.fits" ]
[]
false
false
false
true
true
let size (x: int) (n: pos) : Tot Type0 =
b2t (fits x n)
false