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
Spec.Box.Test.fst
Spec.Box.Test.sk1
val sk1:lbytes 32
val sk1:lbytes 32
let sk1 : lbytes 32 = let l = List.Tot.map u8_from_UInt8 [ 0x85uy; 0xd6uy; 0xbeuy; 0x78uy; 0x57uy; 0x55uy; 0x6duy; 0x33uy; 0x7fuy; 0x44uy; 0x52uy; 0xfeuy; 0x42uy; 0xd5uy; 0x06uy; 0xa8uy; 0x01uy; 0x03uy; 0x80uy; 0x8auy; 0xfbuy; 0x0duy; 0xb2uy; 0xfduy; 0x4auy; 0xbfuy; 0xf6uy; 0xafuy; 0x41uy; 0x49uy; 0xf...
{ "file_name": "specs/tests/Spec.Box.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 58, "start_col": 0, "start_line": 50 }
module Spec.Box.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Box #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let plain : lbytes 72 = let l = List.Tot.map u8_from_UInt8 [ 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0x06uy; 0x07uy; 0x08...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "Spec.Box.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "Spec.Box", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 32
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let sk1:lbytes 32 =
let l = List.Tot.map u8_from_UInt8 [ 0x85uy; 0xd6uy; 0xbeuy; 0x78uy; 0x57uy; 0x55uy; 0x6duy; 0x33uy; 0x7fuy; 0x44uy; 0x52uy; 0xfeuy; 0x42uy; 0xd5uy; 0x06uy; 0xa8uy; 0x01uy; 0x03uy; 0x80uy; 0x8auy; 0xfbuy; 0x0duy; 0xb2uy; 0xfduy; 0x4auy; 0xbfuy; 0xf6uy; 0xafuy; 0x41uy; 0x49uy; 0xf5uy; 0x1buy ...
false
Hacl.Impl.HSalsa20.fst
Hacl.Impl.HSalsa20.hsalsa20_init
val hsalsa20_init: ctx:state -> k:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h ctx /\ live h k /\ live h n /\ disjoint ctx k /\ disjoint ctx n /\ as_seq h ctx == Lib.Sequence.create 16 (u32 0)) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ as_se...
val hsalsa20_init: ctx:state -> k:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h ctx /\ live h k /\ live h n /\ disjoint ctx k /\ disjoint ctx n /\ as_seq h ctx == Lib.Sequence.create 16 (u32 0)) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ as_se...
let hsalsa20_init ctx k n = let h0 = ST.get() in push_frame(); let k32 = create 8ul (u32 0) in let n32 = create 4ul (u32 0) in let h0' = ST.get() in uints_from_bytes_le k32 k; uints_from_bytes_le n32 n; let k0 = sub k32 0ul 4ul in let k1 = sub k32 4ul 4ul in ctx.(0ul) <- Spec.constant0; update_sub...
{ "file_name": "code/salsa20/Hacl.Impl.HSalsa20.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 55, "start_col": 0, "start_line": 34 }
module Hacl.Impl.HSalsa20 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Salsa20.Core32 module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20 module Loop = Lib.LoopCombinators module Salsa20 = Hacl.Impl.Salsa20 #set-options ...
{ "checked_file": "/", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Salsa20.Core32.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Impl.Salsa20", "short_module": "Salsa20" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ctx: Hacl.Impl.Salsa20.Core32.state -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Salsa20.Core32.state", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Prims._assert", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Lib.Buffer.MUT", "Lib.IntTypes.uint32", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "FStar.Hyper...
[]
false
true
false
false
false
let hsalsa20_init ctx k n =
let h0 = ST.get () in push_frame (); let k32 = create 8ul (u32 0) in let n32 = create 4ul (u32 0) in let h0' = ST.get () in uints_from_bytes_le k32 k; uints_from_bytes_le n32 n; let k0 = sub k32 0ul 4ul in let k1 = sub k32 4ul 4ul in ctx.(0ul) <- Spec.constant0; update_sub #MUT ctx 1ul 4ul k0; ctx.(5ul) <- Spec.constan...
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.reify_trivial
val reify_trivial (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : Tot (repr a p1 p2 l)
val reify_trivial (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : Tot (repr a p1 p2 l)
let reify_trivial (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : Tot (repr a p1 p2 l) = reify (f ())
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 14, "end_line": 224, "start_col": 0, "start_line": 218 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
f: (_: Prims.unit -> LowParseWriters.EWrite a) -> LowParseWriters.NoHoare.repr a p1 p2 l
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.NoHoare.repr" ]
[]
false
false
false
false
false
let reify_trivial (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : Tot (repr a p1 p2 l) =
reify (f ())
false
Spec.Box.Test.fst
Spec.Box.Test.plain
val plain:lbytes 72
val plain:lbytes 72
let plain : lbytes 72 = let l = List.Tot.map u8_from_UInt8 [ 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0x06uy; 0x07uy; 0x08uy; 0x09uy; 0x10uy; 0x11uy; 0x12uy; 0x13uy; 0x14uy; 0x15uy; 0x16uy; 0x17uy; 0x18uy; 0x19uy; 0x20uy; 0x21uy; 0x22uy; 0x23uy; 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0...
{ "file_name": "specs/tests/Spec.Box.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 26, "start_col": 0, "start_line": 13 }
module Spec.Box.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Box #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "Spec.Box.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "Spec.Box", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 72
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let plain:lbytes 72 =
let l = List.Tot.map u8_from_UInt8 [ 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0x06uy; 0x07uy; 0x08uy; 0x09uy; 0x10uy; 0x11uy; 0x12uy; 0x13uy; 0x14uy; 0x15uy; 0x16uy; 0x17uy; 0x18uy; 0x19uy; 0x20uy; 0x21uy; 0x22uy; 0x23uy; 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0x06uy; 0x07uy; 0x0...
false
Spec.Box.Test.fst
Spec.Box.Test.key
val key:lbytes 32
val key:lbytes 32
let key : lbytes 32 = let l = List.Tot.map u8_from_UInt8 [ 0x85uy; 0xd6uy; 0xbeuy; 0x78uy; 0x57uy; 0x55uy; 0x6duy; 0x33uy; 0x7fuy; 0x44uy; 0x52uy; 0xfeuy; 0x42uy; 0xd5uy; 0x06uy; 0xa8uy; 0x01uy; 0x03uy; 0x80uy; 0x8auy; 0xfbuy; 0x0duy; 0xb2uy; 0xfduy; 0x4auy; 0xbfuy; 0xf6uy; 0xafuy; 0x41uy; 0x49uy; 0xf...
{ "file_name": "specs/tests/Spec.Box.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 47, "start_col": 0, "start_line": 39 }
module Spec.Box.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Box #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let plain : lbytes 72 = let l = List.Tot.map u8_from_UInt8 [ 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0x06uy; 0x07uy; 0x08...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "Spec.Box.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "Spec.Box", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 32
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let key:lbytes 32 =
let l = List.Tot.map u8_from_UInt8 [ 0x85uy; 0xd6uy; 0xbeuy; 0x78uy; 0x57uy; 0x55uy; 0x6duy; 0x33uy; 0x7fuy; 0x44uy; 0x52uy; 0xfeuy; 0x42uy; 0xd5uy; 0x06uy; 0xa8uy; 0x01uy; 0x03uy; 0x80uy; 0x8auy; 0xfbuy; 0x0duy; 0xb2uy; 0xfduy; 0x4auy; 0xbfuy; 0xf6uy; 0xafuy; 0x41uy; 0x49uy; 0xf5uy; 0x1buy ...
false
Pulse.Checker.VPropEquiv.fst
Pulse.Checker.VPropEquiv.list_as_vprop_assoc
val list_as_vprop_assoc (g:env) (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2)))
val list_as_vprop_assoc (g:env) (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2)))
let list_as_vprop_assoc g (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2))) = List.Tot.append_assoc vp0 vp1 vp2; VE_Refl _ _
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 69, "start_col": 0, "start_line": 65 }
(* 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": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
g: Pulse.Typing.Env.env -> vp0: Prims.list Pulse.Syntax.Base.term -> vp1: Prims.list Pulse.Syntax.Base.term -> vp2: Prims.list Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (vp0 @ vp1 @ vp2)) (Pulse.Typing.Combinators.list...
Prims.GTot
[ "sometrivial" ]
[]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.VE_Refl", "Pulse.Typing.Combinators.list_as_vprop", "FStar.List.Tot.Base.op_At", "Prims.unit", "FStar.List.Tot.Properties.append_assoc", "Pulse.Typing.vprop_equiv" ]
[]
false
false
false
false
false
let list_as_vprop_assoc g (vp0: list term) (vp1: list term) (vp2: list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2))) =
List.Tot.append_assoc vp0 vp1 vp2; VE_Refl _ _
false
Pulse.Checker.VPropEquiv.fst
Pulse.Checker.VPropEquiv.list_as_vprop_append
val list_as_vprop_append (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1)))
val list_as_vprop_append (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1)))
let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1))) (decreases vp0) = match vp0 with | [] -> let v : vprop_equiv g (list_as_vprop vp1) ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 54, "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": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
g: Pulse.Typing.Env.env -> vp0: Prims.list Pulse.Syntax.Base.term -> vp1: Prims.list Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (vp0 @ vp1)) (Pulse.Syntax.Base.tm_star (Pulse.Typing.Combinators.list_as_vprop vp0) ...
Prims.GTot
[ "", "sometrivial" ]
[]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.vprop_equiv", "Pulse.Typing.Combinators.list_as_vprop", "Pulse.Syntax.Base.tm_star", "Pulse.Syntax.Base.tm_emp", "Pulse.Typing.VE_Sym", "Pulse.Typing.VE_Unit", "Pulse.Typing.VE_Trans", "Pulse.Typing.VE_Comm", "Pulse....
[ "recursion" ]
false
false
false
false
false
let rec list_as_vprop_append g (vp0: list term) (vp1: list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1))) (decreases vp0) =
match vp0 with | [] -> let v:vprop_equiv g (list_as_vprop vp1) (tm_star tm_emp (list_as_vprop vp1)) = VE_Sym _ _ _ (VE_Unit _ _) in v | [hd] -> (match vp1 with | [] -> VE_Sym _ _ _ (VE_Trans _ _ _ _ (VE_Comm g hd tm_emp) (VE_Unit _ hd)) | _ :: _ -> VE_Refl _ _) | hd :: tl -> let tl_vp1 = list_as_v...
false
Spec.Box.Test.fst
Spec.Box.Test.sk2
val sk2:lbytes 32
val sk2:lbytes 32
let sk2 : lbytes 32 = let l = List.Tot.map u8_from_UInt8 [ 0x85uy; 0xd6uy; 0xbeuy; 0x78uy; 0x57uy; 0x55uy; 0x6duy; 0x33uy; 0x7fuy; 0x44uy; 0x52uy; 0xfeuy; 0x42uy; 0xd5uy; 0x06uy; 0xa8uy; 0x01uy; 0x03uy; 0x80uy; 0x8auy; 0xfbuy; 0x0duy; 0xb2uy; 0xfduy; 0x4auy; 0xbfuy; 0xf6uy; 0xafuy; 0x41uy; 0x49uy; 0xf...
{ "file_name": "specs/tests/Spec.Box.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 69, "start_col": 0, "start_line": 61 }
module Spec.Box.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Box #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let plain : lbytes 72 = let l = List.Tot.map u8_from_UInt8 [ 0x00uy; 0x01uy; 0x02uy; 0x03uy; 0x04uy; 0x05uy; 0x06uy; 0x07uy; 0x08...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "Spec.Box.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "Spec.Box", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 32
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let sk2:lbytes 32 =
let l = List.Tot.map u8_from_UInt8 [ 0x85uy; 0xd6uy; 0xbeuy; 0x78uy; 0x57uy; 0x55uy; 0x6duy; 0x33uy; 0x7fuy; 0x44uy; 0x52uy; 0xfeuy; 0x42uy; 0xd5uy; 0x06uy; 0xa8uy; 0x01uy; 0x03uy; 0x80uy; 0x8auy; 0xfbuy; 0x0duy; 0xb2uy; 0xfduy; 0x4auy; 0xbfuy; 0xf6uy; 0xafuy; 0x41uy; 0x49uy; 0xf5uy; 0x1cuy ...
false
Pulse.Checker.VPropEquiv.fst
Pulse.Checker.VPropEquiv.vprop_list_equiv
val vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp))
val vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp))
let rec vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp)) (decreases vp) = match vp.t with | Tm_Emp -> VE_Refl _ _ | Tm_Star vp0 vp1 -> let eq0 = vprop_list_equiv g vp0 in let eq1 = vprop_list_equiv g vp1 in let app_eq ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 17, "end_line": 107, "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": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
g: Pulse.Typing.Env.env -> vp: Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g vp (Pulse.Checker.VPropEquiv.canon_vprop vp))
Prims.GTot
[ "", "sometrivial" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Typing.VE_Refl", "Pulse.Typing.VE_Trans", "Pulse.Syntax.Base.tm_star", "Pulse.Checker.VPropEquiv.canon_vprop", "Pulse.Typing.VE_Sym", "Pulse.Typing.vprop_equiv", "Pulse.Typing.VE_Ctxt", "Pulse.C...
[ "recursion" ]
false
false
false
false
false
let rec vprop_list_equiv (g: env) (vp: term) : GTot (vprop_equiv g vp (canon_vprop vp)) (decreases vp) =
match vp.t with | Tm_Emp -> VE_Refl _ _ | Tm_Star vp0 vp1 -> let eq0 = vprop_list_equiv g vp0 in let eq1 = vprop_list_equiv g vp1 in let app_eq:vprop_equiv _ (canon_vprop vp) (tm_star (canon_vprop vp0) (canon_vprop vp1)) = list_as_vprop_append g (vprop_as_list vp0) (vprop_as_list vp1) in let step:vprop_eq...
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.read_return
val read_return (t: Type) (x: t) (inv: memory_invariant) : Tot (read_repr t inv)
val read_return (t: Type) (x: t) (inv: memory_invariant) : Tot (read_repr t inv)
let read_return (t: Type) (x: t) (inv: memory_invariant) : Tot (read_repr t inv) = read_reify_trivial (read_return_conv t x inv)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 35, "start_col": 0, "start_line": 29 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
t: Type -> x: t -> inv: LowParseWriters.memory_invariant -> LowParseWriters.NoHoare.read_repr t inv
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.read_reify_trivial", "LowParseWriters.NoHoare.read_return_conv", "LowParseWriters.NoHoare.read_repr" ]
[]
false
false
false
false
false
let read_return (t: Type) (x: t) (inv: memory_invariant) : Tot (read_repr t inv) =
read_reify_trivial (read_return_conv t x inv)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.read_return_conv
val read_return_conv: t: Type -> x: t -> inv: memory_invariant -> Prims.unit -> ERead t True (fun _ -> True) (fun _ -> True) inv
val read_return_conv: t: Type -> x: t -> inv: memory_invariant -> Prims.unit -> ERead t True (fun _ -> True) (fun _ -> True) inv
let read_return_conv (t: Type) (x: t) (inv: memory_invariant) () : ERead t True (fun _ -> True) (fun _ -> True) inv = x
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 26, "start_col": 0, "start_line": 20 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
t: Type -> x: t -> inv: LowParseWriters.memory_invariant -> _: Prims.unit -> LowParseWriters.ERead t
LowParseWriters.ERead
[]
[]
[ "LowParseWriters.memory_invariant", "Prims.unit", "Prims.l_True" ]
[]
false
true
false
false
false
let read_return_conv (t: Type) (x: t) (inv: memory_invariant) () : ERead t True (fun _ -> True) (fun _ -> True) inv =
x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.read_bind_conv
val read_bind_conv: a: Type -> b: Type -> l_f: memory_invariant -> l_g: memory_invariant -> squash (l_f == l_g) -> f_bind: read_repr a l_f -> g: (x: a -> read_repr b l_g) -> Prims.unit -> ERead b True (fun _ -> True) (fun _ -> True) l_g
val read_bind_conv: a: Type -> b: Type -> l_f: memory_invariant -> l_g: memory_invariant -> squash (l_f == l_g) -> f_bind: read_repr a l_f -> g: (x: a -> read_repr b l_g) -> Prims.unit -> ERead b True (fun _ -> True) (fun _ -> True) l_g
let read_bind_conv (a:Type) (b:Type) (l_f: memory_invariant) (l_g: memory_invariant) (_:squash (l_f == l_g)) (f_bind : read_repr a l_f) (g : (x: a -> read_repr b l_g)) () : ERead b True (fun _ -> True) (fun _ -> True) l_g = let x = ERead?.reflect f_bind in ERead?.reflect (g x)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 48, "start_col": 0, "start_line": 38 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
a: Type -> b: Type -> l_f: LowParseWriters.memory_invariant -> l_g: LowParseWriters.memory_invariant -> _: Prims.squash (l_f == l_g) -> f_bind: LowParseWriters.NoHoare.read_repr a l_f -> g: (x: a -> LowParseWriters.NoHoare.read_repr b l_g) -> _: Prims.unit -> LowParseWriters.ERead b
LowParseWriters.ERead
[]
[]
[ "LowParseWriters.memory_invariant", "Prims.squash", "Prims.eq2", "LowParseWriters.NoHoare.read_repr", "Prims.unit", "Prims.l_True" ]
[]
false
true
false
false
false
let read_bind_conv (a: Type) (b: Type) (l_f: memory_invariant) (l_g: memory_invariant) (_: squash (l_f == l_g)) (f_bind: read_repr a l_f) (g: (x: a -> read_repr b l_g)) () : ERead b True (fun _ -> True) (fun _ -> True) l_g =
let x = ERead?.reflect f_bind in ERead?.reflect (g x)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_prop
val valid_rewrite_prop (p1 p2: parser) : GTot Type0
val valid_rewrite_prop (p1 p2: parser) : GTot Type0
let valid_rewrite_prop (p1 p2: parser) : GTot Type0 = exists (x: valid_rewrite_t' p1 p2) . True
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 288, "start_col": 0, "start_line": 287 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.l_Exists", "LowParseWriters.NoHoare.valid_rewrite_t'", "Prims.l_True" ]
[]
false
false
false
false
true
let valid_rewrite_prop (p1 p2: parser) : GTot Type0 =
exists (x: valid_rewrite_t' p1 p2). True
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.lift_pure_read_conv
val lift_pure_read_conv: a: Type -> wp: pure_wp a -> l: memory_invariant -> f_pure: (unit -> PURE a wp) -> sq: squash (wp (fun _ -> True)) -> Prims.unit -> ERead a True (fun _ -> True) (fun _ -> True) l
val lift_pure_read_conv: a: Type -> wp: pure_wp a -> l: memory_invariant -> f_pure: (unit -> PURE a wp) -> sq: squash (wp (fun _ -> True)) -> Prims.unit -> ERead a True (fun _ -> True) (fun _ -> True) l
let lift_pure_read_conv (a:Type) (wp:pure_wp a) (l: memory_invariant) (f_pure:unit -> PURE a wp) (sq: squash (wp (fun _ -> True))) () : ERead a True (fun _ -> True) (fun _ -> True) l = f_pure ()
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 110, "start_col": 0, "start_line": 104 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
a: Type -> wp: Prims.pure_wp a -> l: LowParseWriters.memory_invariant -> f_pure: (_: Prims.unit -> Prims.PURE a) -> sq: Prims.squash (wp (fun _ -> Prims.l_True)) -> _: Prims.unit -> LowParseWriters.ERead a
LowParseWriters.ERead
[]
[]
[ "Prims.pure_wp", "LowParseWriters.memory_invariant", "Prims.unit", "Prims.squash", "Prims.l_True" ]
[]
false
true
false
false
false
let lift_pure_read_conv (a: Type) (wp: pure_wp a) (l: memory_invariant) (f_pure: (unit -> PURE a wp)) (sq: squash (wp (fun _ -> True))) () : ERead a True (fun _ -> True) (fun _ -> True) l =
f_pure ()
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.read_subcomp_conv
val read_subcomp_conv: a: Type -> l: memory_invariant -> l': memory_invariant -> f_subcomp: read_repr a l -> sq: squash (l `memory_invariant_includes` l') -> Prims.unit -> ERead a True (fun _ -> True) (fun _ -> True) l'
val read_subcomp_conv: a: Type -> l: memory_invariant -> l': memory_invariant -> f_subcomp: read_repr a l -> sq: squash (l `memory_invariant_includes` l') -> Prims.unit -> ERead a True (fun _ -> True) (fun _ -> True) l'
let read_subcomp_conv (a:Type) (l:memory_invariant) (l' : memory_invariant) (f_subcomp:read_repr a l) (sq: squash (l `memory_invariant_includes` l')) () : ERead a True (fun _ -> True) (fun _ -> True) l' = let x = ERead?.reflect f_subcomp in x
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 70, "start_col": 0, "start_line": 62 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
a: Type -> l: LowParseWriters.memory_invariant -> l': LowParseWriters.memory_invariant -> f_subcomp: LowParseWriters.NoHoare.read_repr a l -> sq: Prims.squash (LowParseWriters.memory_invariant_includes l l') -> _: Prims.unit -> LowParseWriters.ERead a
LowParseWriters.ERead
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.read_repr", "Prims.squash", "LowParseWriters.memory_invariant_includes", "Prims.unit", "Prims.l_True" ]
[]
false
true
false
false
false
let read_subcomp_conv (a: Type) (l: memory_invariant) (l': memory_invariant) (f_subcomp: read_repr a l) (sq: squash (l `memory_invariant_includes` l')) () : ERead a True (fun _ -> True) (fun _ -> True) l' =
let x = ERead?.reflect f_subcomp in x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.read_bind
val read_bind (a b: Type) ([@@@ refl_implicit]l_f [@@@ refl_implicit]l_g: memory_invariant) ([@@@ refl_implicit]p: squash (l_f == l_g)) (f_bind: read_repr a l_f) (g: (x: a -> read_repr b l_g)) : Tot (read_repr b l_g)
val read_bind (a b: Type) ([@@@ refl_implicit]l_f [@@@ refl_implicit]l_g: memory_invariant) ([@@@ refl_implicit]p: squash (l_f == l_g)) (f_bind: read_repr a l_f) (g: (x: a -> read_repr b l_g)) : Tot (read_repr b l_g)
let read_bind (a:Type) (b:Type) ([@@@ refl_implicit] l_f: memory_invariant) ([@@@ refl_implicit] l_g: memory_invariant) ([@@@ refl_implicit] p:squash (l_f == l_g)) (f_bind : read_repr a l_f) (g : (x: a -> read_repr b l_g)) : Tot (read_repr b l_g) = read_reify_trivial (read_bind_conv a b l_f l_g () f_bind g)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 59, "start_col": 0, "start_line": 51 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
a: Type -> b: Type -> l_f: LowParseWriters.memory_invariant -> l_g: LowParseWriters.memory_invariant -> p: Prims.squash (l_f == l_g) -> f_bind: LowParseWriters.NoHoare.read_repr a l_f -> g: (x: a -> LowParseWriters.NoHoare.read_repr b l_g) -> LowParseWriters.NoHoare.read_repr b l_g
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.memory_invariant", "Prims.squash", "Prims.eq2", "LowParseWriters.NoHoare.read_repr", "LowParseWriters.NoHoare.read_reify_trivial", "LowParseWriters.NoHoare.read_bind_conv" ]
[]
false
false
false
false
false
let read_bind (a b: Type) ([@@@ refl_implicit]l_f [@@@ refl_implicit]l_g: memory_invariant) ([@@@ refl_implicit]p: squash (l_f == l_g)) (f_bind: read_repr a l_f) (g: (x: a -> read_repr b l_g)) : Tot (read_repr b l_g) =
read_reify_trivial (read_bind_conv a b l_f l_g () f_bind g)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.read_subcomp
val read_subcomp (a: Type) (l l': memory_invariant) (f_subcomp: read_repr a l) : Pure (read_repr a l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True))
val read_subcomp (a: Type) (l l': memory_invariant) (f_subcomp: read_repr a l) : Pure (read_repr a l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True))
let read_subcomp (a:Type) (l:memory_invariant) (l' : memory_invariant) (f_subcomp:read_repr a l) : Pure (read_repr a l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True)) = read_reify_trivial (read_subcomp_conv a l l' f_subcomp ())
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 80, "start_col": 0, "start_line": 73 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
a: Type -> l: LowParseWriters.memory_invariant -> l': LowParseWriters.memory_invariant -> f_subcomp: LowParseWriters.NoHoare.read_repr a l -> Prims.Pure (LowParseWriters.NoHoare.read_repr a l')
Prims.Pure
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.read_repr", "LowParseWriters.NoHoare.read_reify_trivial", "LowParseWriters.NoHoare.read_subcomp_conv", "LowParseWriters.memory_invariant_includes", "Prims.l_True" ]
[]
false
false
false
false
false
let read_subcomp (a: Type) (l l': memory_invariant) (f_subcomp: read_repr a l) : Pure (read_repr a l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True)) =
read_reify_trivial (read_subcomp_conv a l l' f_subcomp ())
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.destr_repr_spec
val destr_repr_spec (#a: Type u#x) (#r_in #r_out: parser) (#l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (repr_spec a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True))
val destr_repr_spec (#a: Type u#x) (#r_in #r_out: parser) (#l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (repr_spec a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True))
let destr_repr_spec (#a:Type u#x) (#r_in: parser) (#r_out: parser) (#l: memory_invariant) ($f_destr_spec: unit -> TWrite a r_in r_out l) : Tot (repr_spec a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True)) = Repr?.spec (reify (f_destr_spec ()))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 464, "start_col": 0, "start_line": 457 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
$f_destr_spec: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> LowParseWriters.repr_spec a r_in r_out (fun _ -> Prims.l_True) (fun _ _ _ -> Prims.l_True) (fun _ -> Prims.l_True)
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.__proj__Repr__item__spec", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.repr_spec" ]
[]
false
false
false
false
false
let destr_repr_spec (#a: Type u#x) (#r_in #r_out: parser) (#l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (repr_spec a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True)) =
Repr?.spec (reify (f_destr_spec ()))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.lift_pure_read'
val lift_pure_read' (a: Type) (wp: pure_wp a) (l: memory_invariant) (f_pure: (unit -> PURE a wp)) : Pure (read_repr a l) (requires (wp (fun _ -> True))) (ensures (fun _ -> True))
val lift_pure_read' (a: Type) (wp: pure_wp a) (l: memory_invariant) (f_pure: (unit -> PURE a wp)) : Pure (read_repr a l) (requires (wp (fun _ -> True))) (ensures (fun _ -> True))
let lift_pure_read' (a:Type) (wp:pure_wp a) (l: memory_invariant) (f_pure:unit -> PURE a wp) : Pure (read_repr a l) (requires (wp (fun _ -> True))) (ensures (fun _ -> True)) = read_reify_trivial (lift_pure_read_conv a wp l f_pure ())
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 119, "start_col": 0, "start_line": 113 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
a: Type -> wp: Prims.pure_wp a -> l: LowParseWriters.memory_invariant -> f_pure: (_: Prims.unit -> Prims.PURE a) -> Prims.Pure (LowParseWriters.NoHoare.read_repr a l)
Prims.Pure
[]
[]
[ "Prims.pure_wp", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.NoHoare.read_reify_trivial", "LowParseWriters.NoHoare.lift_pure_read_conv", "LowParseWriters.NoHoare.read_repr", "Prims.l_True" ]
[]
false
false
false
false
false
let lift_pure_read' (a: Type) (wp: pure_wp a) (l: memory_invariant) (f_pure: (unit -> PURE a wp)) : Pure (read_repr a l) (requires (wp (fun _ -> True))) (ensures (fun _ -> True)) =
read_reify_trivial (lift_pure_read_conv a wp l f_pure ())
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.tread_of_eread
val tread_of_eread (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> True) (fun _ -> True) l)) : TRead a l
val tread_of_eread (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> True) (fun _ -> True) l)) : TRead a l
let tread_of_eread // NOTE: I could define it as a lift (sub_effect), but I prefer to do it explicitly to avoid F* generating pre and postconditions (#a: Type) (#l: memory_invariant) (f: unit -> ERead a True (fun _ -> True) (fun _ -> True) l) : TRead a l = TRead?.reflect (read_reify_trivial f)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 160, "start_col": 0, "start_line": 155 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
f: (_: Prims.unit -> LowParseWriters.ERead a) -> LowParseWriters.NoHoare.TRead a
LowParseWriters.NoHoare.TRead
[]
[]
[ "LowParseWriters.memory_invariant", "Prims.unit", "Prims.l_True", "LowParseWriters.NoHoare.read_reify_trivial" ]
[]
false
true
false
false
false
let tread_of_eread (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> True) (fun _ -> True) l)) : TRead a l =
TRead?.reflect (read_reify_trivial f)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.destr_repr_impl
val destr_repr_impl (#a: Type u#x) (#r_in #r_out: parser) (#l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (repr_impl a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l (destr_repr_spec f...
val destr_repr_impl (#a: Type u#x) (#r_in #r_out: parser) (#l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (repr_impl a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l (destr_repr_spec f...
let destr_repr_impl (#a:Type u#x) (#r_in: parser) (#r_out: parser) (#l: memory_invariant) ($f_destr_spec: unit -> TWrite a r_in r_out l) : Tot (repr_impl a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l (destr_repr_spec f_destr_spec)) = Repr?.impl (reify (f_destr_spec ()))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 474, "start_col": 0, "start_line": 467 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
$f_destr_spec: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> LowParseWriters.repr_impl a r_in r_out (fun _ -> Prims.l_True) (fun _ _ _ -> Prims.l_True) (fun _ -> Prims.l_True) l (LowParseWriters.NoHoare.destr_repr_spec f_destr_spec)
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.__proj__Repr__item__impl", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.repr_impl", "LowParseWriters.NoHoare.destr_repr_spec" ]
[]
false
false
false
false
false
let destr_repr_impl (#a: Type u#x) (#r_in #r_out: parser) (#l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (repr_impl a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l (destr_repr_spec f...
Repr?.impl (reify (f_destr_spec ()))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.eread_of_tread
val eread_of_tread (#a: Type) (#l: memory_invariant) (f: (unit -> TRead a l)) : ERead a True (fun _ -> True) (fun _ -> True) l
val eread_of_tread (#a: Type) (#l: memory_invariant) (f: (unit -> TRead a l)) : ERead a True (fun _ -> True) (fun _ -> True) l
let eread_of_tread (#a: Type) (#l: memory_invariant) (f: unit -> TRead a l) : ERead a True (fun _ -> True) (fun _ -> True) l = ERead?.reflect (reify (f ()))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 168, "start_col": 0, "start_line": 163 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
f: (_: Prims.unit -> LowParseWriters.NoHoare.TRead a) -> LowParseWriters.ERead a
LowParseWriters.ERead
[]
[]
[ "LowParseWriters.memory_invariant", "Prims.unit", "Prims.l_True" ]
[]
false
true
false
false
false
let eread_of_tread (#a: Type) (#l: memory_invariant) (f: (unit -> TRead a l)) : ERead a True (fun _ -> True) (fun _ -> True) l =
ERead?.reflect (reify (f ()))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.buffer_sub
val buffer_sub (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t) (len: Ghost.erased U32.t { B.live inv.h0 b /\ (B.loc_buffer b) `B.loc_disjoint` inv.lwrite /\ U32.v i + U32.v len <= B.length b }) : TRead (B.buffer t) inv
val buffer_sub (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t) (len: Ghost.erased U32.t { B.live inv.h0 b /\ (B.loc_buffer b) `B.loc_disjoint` inv.lwrite /\ U32.v i + U32.v len <= B.length b }) : TRead (B.buffer t) inv
let buffer_sub (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t) (len: Ghost.erased U32.t { B.live inv.h0 b /\ B.loc_buffer b `B.loc_disjoint` inv.lwrite /\ U32.v i + U32.v len <= B.length b }) : TRead (B.buffer t) inv = tread_of_eread (fun _ -> buffer_sub b i len)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 206, "start_col": 0, "start_line": 195 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
b: LowStar.Buffer.buffer t -> i: FStar.UInt32.t -> len: FStar.Ghost.erased FStar.UInt32.t { LowStar.Monotonic.Buffer.live (FStar.Ghost.reveal (Mkmemory_invariant?.h0 inv)) b /\ LowStar.Monotonic.Buffer.loc_disjoint (LowStar.Monotonic.Buffer.loc_buffer b) (FStar.Ghost.rev...
LowParseWriters.NoHoare.TRead
[]
[]
[ "LowParseWriters.memory_invariant", "LowStar.Buffer.buffer", "FStar.UInt32.t", "FStar.Ghost.erased", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "FStar.Ghost.reveal", "FStar.Monotonic.HyperStack.mem", "LowParseWriters.__proj__Mkmemory_invariant__item__h0", ...
[]
false
true
false
false
false
let buffer_sub (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t) (len: Ghost.erased U32.t { B.live inv.h0 b /\ (B.loc_buffer b) `B.loc_disjoint` inv.lwrite /\ U32.v i + U32.v len <= B.length b }) : TRead (B.buffer t) inv =
tread_of_eread (fun _ -> buffer_sub b i len)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.buffer_index
val buffer_index (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t { B.live inv.h0 b /\ (B.loc_buffer b) `B.loc_disjoint` inv.lwrite /\ U32.v i < B.length b }) : TRead t inv
val buffer_index (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t { B.live inv.h0 b /\ (B.loc_buffer b) `B.loc_disjoint` inv.lwrite /\ U32.v i < B.length b }) : TRead t inv
let buffer_index (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t { B.live inv.h0 b /\ B.loc_buffer b `B.loc_disjoint` inv.lwrite /\ U32.v i < B.length b }) : TRead t inv = tread_of_eread (fun _ -> buffer_index b i)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 192, "start_col": 0, "start_line": 182 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
b: LowStar.Buffer.buffer t -> i: FStar.UInt32.t { LowStar.Monotonic.Buffer.live (FStar.Ghost.reveal (Mkmemory_invariant?.h0 inv)) b /\ LowStar.Monotonic.Buffer.loc_disjoint (LowStar.Monotonic.Buffer.loc_buffer b) (FStar.Ghost.reveal (Mkmemory_invariant?.lwrite inv)) /\ ...
LowParseWriters.NoHoare.TRead
[]
[]
[ "LowParseWriters.memory_invariant", "LowStar.Buffer.buffer", "FStar.UInt32.t", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "FStar.Ghost.reveal", "FStar.Monotonic.HyperStack.mem", "LowParseWriters.__proj__Mkmemory_invariant__item__h0", "LowStar.Monotonic.Buffe...
[]
false
true
false
false
false
let buffer_index (#t: Type) (#inv: memory_invariant) (b: B.buffer t) (i: U32.t { B.live inv.h0 b /\ (B.loc_buffer b) `B.loc_disjoint` inv.lwrite /\ U32.v i < B.length b }) : TRead t inv =
tread_of_eread (fun _ -> buffer_index b i)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.extract
val extract (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (extract_t l f_destr_spec)
val extract (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (extract_t l f_destr_spec)
let extract (#a:Type u#x) (#r_in: parser) (#r_out: parser) (l: memory_invariant) ($f_destr_spec: unit -> TWrite a r_in r_out l) : Tot (extract_t l f_destr_spec) = extract_repr_impl _ _ _ _ _ _ _ _ (destr_repr_impl f_destr_spec)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 66, "end_line": 526, "start_col": 0, "start_line": 519 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
l: LowParseWriters.memory_invariant -> $f_destr_spec: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> LowParseWriters.NoHoare.extract_t l f_destr_spec
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.extract_repr_impl", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.NoHoare.destr_repr_spec", "LowParseWriters.NoHoare.destr_repr_impl", "LowParseWriters.NoHoare...
[]
false
false
false
false
false
let extract (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot (extract_t l f_destr_spec) =
extract_repr_impl _ _ _ _ _ _ _ _ (destr_repr_impl f_destr_spec)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.failwith
val failwith (#a: Type) (#inv: memory_invariant) (s: string) : TRead a inv
val failwith (#a: Type) (#inv: memory_invariant) (s: string) : TRead a inv
let failwith (#a: Type) (#inv: memory_invariant) (s: string) : TRead a inv = tread_of_eread (fun _ -> failwith s)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 176, "start_col": 0, "start_line": 171 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "LowParseWriters", "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
s: Prims.string -> LowParseWriters.NoHoare.TRead a
LowParseWriters.NoHoare.TRead
[]
[]
[ "LowParseWriters.memory_invariant", "Prims.string", "LowParseWriters.NoHoare.tread_of_eread", "Prims.unit", "LowParseWriters.failwith" ]
[]
false
true
false
false
false
let failwith (#a: Type) (#inv: memory_invariant) (s: string) : TRead a inv =
tread_of_eread (fun _ -> failwith s)
false
Pulse.Checker.VPropEquiv.fst
Pulse.Checker.VPropEquiv.vprop_equiv_split_frame
val vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (d:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req (list_as_vprop frame)) ctxt
val vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (d:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req (list_as_vprop frame)) ctxt
let vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (veq:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 160, "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": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
g: Pulse.Typing.Env.env -> ctxt: Pulse.Syntax.Base.term -> req: Pulse.Syntax.Base.term -> frame: Prims.list Pulse.Syntax.Base.term -> d: Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (Pulse.Typing.Combinators.vprop_as_list req @ frame) ) (Pulse.Typ...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Prims.list", "Pulse.Typing.vprop_equiv", "Pulse.Typing.Combinators.list_as_vprop", "FStar.List.Tot.Base.op_At", "Pulse.Typing.Combinators.vprop_as_list", "Pulse.Syntax.Base.tm_star", "Pulse.Typing.VE_Trans", "Pulse.Checker.VPropEquiv.canon_vprop",...
[]
false
false
false
false
false
let vprop_equiv_split_frame (g: _) (ctxt req: term) (frame: list term) (veq: vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req (list_as_vprop frame)) ctxt =
let ctxt_l = vprop_as_list ctxt in let req_l = vprop_as_list req in let veq:vprop_equiv g (list_as_vprop (req_l @ frame)) (list_as_vprop ctxt_l) = veq in let d1:vprop_equiv _ (tm_star (canon_vprop req) (list_as_vprop frame)) (list_as_vprop (req_l @ frame)) = VE_Sym _ _ _ (list_as_vprop_append g req_l frame) in le...
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.return_conv
val return_conv: t: Type -> x: t -> r: parser -> inv: memory_invariant -> Prims.unit -> EWrite t r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv
val return_conv: t: Type -> x: t -> r: parser -> inv: memory_invariant -> Prims.unit -> EWrite t r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv
let return_conv (t: Type) (x: t) (r: parser) (inv: memory_invariant) () : EWrite t r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv = x
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 234, "start_col": 0, "start_line": 227 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
t: Type -> x: t -> r: LowParseWriters.LowParse.parser -> inv: LowParseWriters.memory_invariant -> _: Prims.unit -> LowParseWriters.EWrite t
LowParseWriters.EWrite
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True" ]
[]
false
true
false
false
false
let return_conv (t: Type) (x: t) (r: parser) (inv: memory_invariant) () : EWrite t r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv =
x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.bind
val bind (a b: Type) (r_in_f [@@@ refl_implicit]r_out_f: parser) ([@@@ refl_implicit]l_f: memory_invariant) ([@@@ refl_implicit]r_in_g r_out_g: parser) ([@@@ refl_implicit]l_g: memory_invariant) ([@@@ refl_implicit]pr1: squash (r_out_f == r_in_g)) ([@@@ refl_implicit]pr2: squas...
val bind (a b: Type) (r_in_f [@@@ refl_implicit]r_out_f: parser) ([@@@ refl_implicit]l_f: memory_invariant) ([@@@ refl_implicit]r_in_g r_out_g: parser) ([@@@ refl_implicit]l_g: memory_invariant) ([@@@ refl_implicit]pr1: squash (r_out_f == r_in_g)) ([@@@ refl_implicit]pr2: squas...
let bind (a:Type) (b:Type) (r_in_f:parser) ([@@@ refl_implicit] r_out_f: parser) ([@@@ refl_implicit] l_f: memory_invariant) ([@@@ refl_implicit] r_in_g:parser) (r_out_g: parser) ([@@@ refl_implicit] l_g: memory_invariant) ([@@@ refl_implicit] pr1:squash (r_out_f == r_in_g)) ([@@@ refl_implicit] pr2:squ...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 84, "end_line": 275, "start_col": 0, "start_line": 263 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> r_in_f: LowParseWriters.LowParse.parser -> r_out_f: LowParseWriters.LowParse.parser -> l_f: LowParseWriters.memory_invariant -> r_in_g: LowParseWriters.LowParse.parser -> r_out_g: LowParseWriters.LowParse.parser -> l_g: LowParseWriters.memory_invariant -> pr1: ...
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.squash", "Prims.eq2", "LowParseWriters.NoHoare.repr", "LowParseWriters.NoHoare.reify_trivial", "LowParseWriters.NoHoare.bind_conv" ]
[]
false
false
false
false
false
let bind (a b: Type) (r_in_f [@@@ refl_implicit]r_out_f: parser) ([@@@ refl_implicit]l_f: memory_invariant) ([@@@ refl_implicit]r_in_g r_out_g: parser) ([@@@ refl_implicit]l_g: memory_invariant) ([@@@ refl_implicit]pr1: squash (r_out_f == r_in_g)) ([@@@ refl_implicit]pr2: squas...
reify_trivial (bind_conv a b r_in_f r_out_f l_f r_in_g r_out_g l_g () () f_bind g)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.returnc
val returnc (t: Type) (x: t) (r: parser) (inv: memory_invariant) : Tot (repr t r r inv)
val returnc (t: Type) (x: t) (r: parser) (inv: memory_invariant) : Tot (repr t r r inv)
let returnc (t: Type) (x: t) (r: parser) (inv: memory_invariant) : Tot (repr t r r inv) = reify_trivial (return_conv t x r inv)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 243, "start_col": 0, "start_line": 237 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
t: Type -> x: t -> r: LowParseWriters.LowParse.parser -> inv: LowParseWriters.memory_invariant -> LowParseWriters.NoHoare.repr t r r inv
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.reify_trivial", "LowParseWriters.NoHoare.return_conv", "LowParseWriters.NoHoare.repr" ]
[]
false
false
false
false
false
let returnc (t: Type) (x: t) (r: parser) (inv: memory_invariant) : Tot (repr t r r inv) =
reify_trivial (return_conv t x r inv)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.bind_spec2
val bind_spec2 (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3))
val bind_spec2 (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3))
let bind_spec2 (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3)) = bind_spec2_aux _ _ _ _ _ _ (reify (f ())) (fun x -> reify (g x ())) v1
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 72, "end_line": 576, "start_col": 0, "start_line": 568 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
inv: LowParseWriters.memory_invariant -> p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> p3: LowParseWriters.LowParse.parser -> a: Type -> b: Type -> f: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> g: (_: a -> _: Prims.unit -> LowParseWriters.NoHo...
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "LowParseWriters.NoHoare.bind_spec2_aux", "LowParseWriters.NoHoare.repr", "LowParseWriters.result", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
false
false
let bind_spec2 (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3)) =
bind_spec2_aux _ _ _ _ _ _ (reify (f ())) (fun x -> reify (g x ())) v1
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.evalid_rewrite_of_tvalid_rewrite_f
val evalid_rewrite_of_tvalid_rewrite_f (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) (x: Parser?.t p1) : GTot (Parser?.t p2)
val evalid_rewrite_of_tvalid_rewrite_f (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) (x: Parser?.t p1) : GTot (Parser?.t p2)
let evalid_rewrite_of_tvalid_rewrite_f (#p1: parser) (#p2: parser) (v: squash (valid_rewrite_prop p1 p2)) (x: Parser?.t p1) : GTot (Parser?.t p2) = let v' : valid_rewrite_t' p1 p2 = FStar.IndefiniteDescription.indefinite_description_ghost (valid_rewrite_t' p1 p2) (fun _ -> True) in ValidSynth?.f v' x
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 316, "start_col": 0, "start_line": 309 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> x: Parser?.t p1 -> Prims.GTot (Parser?.t p2)
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.LowParse.__proj__Parser__item__t", "LowParseWriters.NoHoare.__proj__ValidSynth__item__f", "LowParseWriters.NoHoare.valid_rewrite_t'", "FStar.IndefiniteDescription.indefinite_description_ghos...
[]
false
false
false
false
false
let evalid_rewrite_of_tvalid_rewrite_f (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) (x: Parser?.t p1) : GTot (Parser?.t p2) =
let v':valid_rewrite_t' p1 p2 = FStar.IndefiniteDescription.indefinite_description_ghost (valid_rewrite_t' p1 p2) (fun _ -> True) in ValidSynth?.f v' x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.bind_conv
val bind_conv: a: Type -> b: Type -> r_in_f: parser -> r_out_f: parser -> l_f: memory_invariant -> r_in_g: parser -> r_out_g: parser -> l_g: memory_invariant -> squash (r_out_f == r_in_g) -> squash (l_f == l_g) -> f_bind: repr a r_in_f r_out_f l_f -> g: (x: a -> repr b r_...
val bind_conv: a: Type -> b: Type -> r_in_f: parser -> r_out_f: parser -> l_f: memory_invariant -> r_in_g: parser -> r_out_g: parser -> l_g: memory_invariant -> squash (r_out_f == r_in_g) -> squash (l_f == l_g) -> f_bind: repr a r_in_f r_out_f l_f -> g: (x: a -> repr b r_...
let bind_conv (a:Type) (b:Type) (r_in_f:parser) (r_out_f: parser) (l_f:memory_invariant) (r_in_g:parser) (r_out_g: parser) (l_g: memory_invariant) (_:squash (r_out_f == r_in_g)) (_:squash (l_f == l_g)) (f_bind : repr a r_in_f r_out_f l_f) (g : (x: a -> repr b r_in_g r_out_g l_g)) () : EWrite b r_i...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 23, "end_line": 260, "start_col": 0, "start_line": 246 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> r_in_f: LowParseWriters.LowParse.parser -> r_out_f: LowParseWriters.LowParse.parser -> l_f: LowParseWriters.memory_invariant -> r_in_g: LowParseWriters.LowParse.parser -> r_out_g: LowParseWriters.LowParse.parser -> l_g: LowParseWriters.memory_invariant -> _: Pr...
LowParseWriters.EWrite
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.squash", "Prims.eq2", "LowParseWriters.NoHoare.repr", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True" ]
[]
false
true
false
false
false
let bind_conv (a: Type) (b: Type) (r_in_f: parser) (r_out_f: parser) (l_f: memory_invariant) (r_in_g: parser) (r_out_g: parser) (l_g: memory_invariant) (_: squash (r_out_f == r_in_g)) (_: squash (l_f == l_g)) (f_bind: repr a r_in_f r_out_f l_f) (g:...
let x = EWrite?.reflect f_bind in EWrite?.reflect (g x)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite
val tvalid_rewrite_of_evalid_rewrite (#p1 #p2: parser) (#precond: pre_t p1) (#f: (x: Parser?.t p1 {precond x} -> GTot (Parser?.t p2))) (v: LowParseWriters.valid_rewrite_t p1 p2 precond f {forall (x: Parser?.t p1). precond x}) : Tot (squash (valid_rewrite_prop p1 p2))
val tvalid_rewrite_of_evalid_rewrite (#p1 #p2: parser) (#precond: pre_t p1) (#f: (x: Parser?.t p1 {precond x} -> GTot (Parser?.t p2))) (v: LowParseWriters.valid_rewrite_t p1 p2 precond f {forall (x: Parser?.t p1). precond x}) : Tot (squash (valid_rewrite_prop p1 p2))
let tvalid_rewrite_of_evalid_rewrite (#p1: parser) (#p2: parser) (#precond: pre_t p1) (#f: (x: Parser?.t p1 { precond x }) -> GTot (Parser?.t p2)) (v: LowParseWriters.valid_rewrite_t p1 p2 precond f { forall (x: Parser?.t p1) . precond x }) : Tot (squash (valid_rewrite_prop p1 p2)) = let _ = ValidSynth f ...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 4, "end_line": 307, "start_col": 0, "start_line": 296 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: LowParseWriters.valid_rewrite_t p1 p2 precond f {forall (x: Parser?.t p1). precond x} -> Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2)
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.pre_t", "LowParseWriters.LowParse.__proj__Parser__item__t", "LowParseWriters.valid_rewrite_t", "Prims.l_Forall", "LowParseWriters.NoHoare.valid_rewrite_t'", "LowParseWriters.NoHoare.ValidSynth", "LowParseWriters.valid_rewrite_implies", "Prims.l_Tru...
[]
false
false
true
false
false
let tvalid_rewrite_of_evalid_rewrite (#p1 #p2: parser) (#precond: pre_t p1) (#f: (x: Parser?.t p1 {precond x} -> GTot (Parser?.t p2))) (v: LowParseWriters.valid_rewrite_t p1 p2 precond f {forall (x: Parser?.t p1). precond x}) : Tot (squash (valid_rewrite_prop p1 p2)) =
let _ = ValidSynth f (valid_rewrite_implies _ _ _ _ v _ _) in ()
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.evalid_rewrite_of_tvalid_rewrite
val evalid_rewrite_of_tvalid_rewrite (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (LowParseWriters.valid_rewrite_t p1 p2 (fun _ -> True) (evalid_rewrite_of_tvalid_rewrite_f v))
val evalid_rewrite_of_tvalid_rewrite (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (LowParseWriters.valid_rewrite_t p1 p2 (fun _ -> True) (evalid_rewrite_of_tvalid_rewrite_f v))
let evalid_rewrite_of_tvalid_rewrite (#p1: parser) (#p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (LowParseWriters.valid_rewrite_t p1 p2 (fun _ -> True) (evalid_rewrite_of_tvalid_rewrite_f v)) = valid_rewrite_implies _ _ _ _ (ValidSynth?.v (FStar.IndefiniteDescription.indefinite_description_ghost (val...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 151, "end_line": 323, "start_col": 0, "start_line": 318 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> LowParseWriters.valid_rewrite_t p1 p2 (fun _ -> Prims.l_True) (LowParseWriters.NoHoare.evalid_rewrite_of_tvalid_rewrite_f v)
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.valid_rewrite_implies", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.NoHoare.__proj__ValidSynth__item__f", "FStar.IndefiniteDescription.indefinite_d...
[]
false
false
false
false
false
let evalid_rewrite_of_tvalid_rewrite (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (LowParseWriters.valid_rewrite_t p1 p2 (fun _ -> True) (evalid_rewrite_of_tvalid_rewrite_f v)) =
valid_rewrite_implies _ _ _ _ (ValidSynth?.v (FStar.IndefiniteDescription.indefinite_description_ghost (valid_rewrite_t' p1 p2) (fun _ -> True))) _ _
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_refl
val valid_rewrite_refl (p: parser) : Lemma (valid_rewrite_prop p p) [SMTPat (valid_rewrite_prop p p)]
val valid_rewrite_refl (p: parser) : Lemma (valid_rewrite_prop p p) [SMTPat (valid_rewrite_prop p p)]
let valid_rewrite_refl (p: parser) : Lemma (valid_rewrite_prop p p) [SMTPat (valid_rewrite_prop p p)] = let x = tvalid_rewrite_of_evalid_rewrite #p #p #(fun _ -> True) #(fun x -> x) ({ valid_rewrite_valid = (fun h b pos pos' -> ()); valid_rewrite_size = (fun x -> ()); }) in ()
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 4, "end_line": 335, "start_col": 0, "start_line": 325 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "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
p: LowParseWriters.LowParse.parser -> FStar.Pervasives.Lemma (ensures LowParseWriters.NoHoare.valid_rewrite_prop p p) [SMTPat (LowParseWriters.NoHoare.valid_rewrite_prop p p)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.Mkvalid_rewrite_t", "FStar.Monotonic.HyperStack.mem", "Low...
[]
false
false
true
false
false
let valid_rewrite_refl (p: parser) : Lemma (valid_rewrite_prop p p) [SMTPat (valid_rewrite_prop p p)] =
let x = tvalid_rewrite_of_evalid_rewrite #p #p #(fun _ -> True) #(fun x -> x) ({ valid_rewrite_valid = (fun h b pos pos' -> ()); valid_rewrite_size = (fun x -> ()) }) in ()
false
OPLSS.Log.fst
OPLSS.Log.t
val t : a: Prims.eqtype -> Type0
let t (a:eqtype) = HST.mref (seq a) grows
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 17, "start_col": 0, "start_line": 17 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Prims.eqtype -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.HyperStack.ST.mref", "FStar.Seq.Base.seq", "OPLSS.Log.grows" ]
[]
false
false
false
true
true
let t (a: eqtype) =
HST.mref (seq a) grows
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.subcomp2
val subcomp2 (a: Type) (r_in r_out r_out': parser) (l: memory_invariant) (f_subcomp: repr a r_in r_out l) : Pure (repr a r_in r_out' l) (requires (valid_rewrite_prop r_out r_out')) (ensures (fun _ -> True))
val subcomp2 (a: Type) (r_in r_out r_out': parser) (l: memory_invariant) (f_subcomp: repr a r_in r_out l) : Pure (repr a r_in r_out' l) (requires (valid_rewrite_prop r_out r_out')) (ensures (fun _ -> True))
let subcomp2 (a:Type) (r_in:parser) (r_out r_out': parser) (l:memory_invariant) (f_subcomp:repr a r_in r_out l) : Pure (repr a r_in r_out' l) (requires ( valid_rewrite_prop r_out r_out' )) (ensures (fun _ -> True)) = bind a a r_in r_out l r_out r_out' l () () f_subcomp (fun x -> bind unit a r_out r_...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 170, "end_line": 388, "start_col": 0, "start_line": 377 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> r_in: LowParseWriters.LowParse.parser -> r_out: LowParseWriters.LowParse.parser -> r_out': LowParseWriters.LowParse.parser -> l: LowParseWriters.memory_invariant -> f_subcomp: LowParseWriters.NoHoare.repr a r_in r_out l -> Prims.Pure (LowParseWriters.NoHoare.repr a r_in r_out' l)
Prims.Pure
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.repr", "LowParseWriters.NoHoare.bind", "Prims.unit", "LowParseWriters.NoHoare.valid_rewrite_repr", "LowParseWriters.NoHoare.returnc", "LowParseWriters.NoHoare.valid_rewrite_prop", "Prims.l_True" ]
[]
false
false
false
false
false
let subcomp2 (a: Type) (r_in r_out r_out': parser) (l: memory_invariant) (f_subcomp: repr a r_in r_out l) : Pure (repr a r_in r_out' l) (requires (valid_rewrite_prop r_out r_out')) (ensures (fun _ -> True)) =
bind a a r_in r_out l r_out r_out' l () () f_subcomp (fun x -> bind unit a r_out r_out' l r_out' r_out' l () () (valid_rewrite_repr ()) (fun _ -> returnc a x r_out' l))
false
OPLSS.Log.fst
OPLSS.Log.entries
val entries : x: OPLSS.Log.t a -> h: FStar.Monotonic.HyperStack.mem -> Prims.GTot (FStar.Seq.Base.seq a)
let entries #a (x:t a) (h:HS.mem) = HS.sel h x
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 21, "start_col": 0, "start_line": 21 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> h: FStar.Monotonic.HyperStack.mem -> Prims.GTot (FStar.Seq.Base.seq a)
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "FStar.Monotonic.HyperStack.mem", "FStar.Monotonic.HyperStack.sel", "FStar.Seq.Base.seq", "OPLSS.Log.grows" ]
[]
false
false
false
false
false
let entries #a (x: t a) (h: HS.mem) =
HS.sel h x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_compose
val valid_rewrite_compose (#p1 #p2: parser) (v12: squash (valid_rewrite_prop p1 p2)) (#p3: parser) (v23: squash (valid_rewrite_prop p2 p3)) : Tot (squash (valid_rewrite_prop p1 p3))
val valid_rewrite_compose (#p1 #p2: parser) (v12: squash (valid_rewrite_prop p1 p2)) (#p3: parser) (v23: squash (valid_rewrite_prop p2 p3)) : Tot (squash (valid_rewrite_prop p1 p3))
let valid_rewrite_compose (#p1: parser) (#p2: parser) (v12: squash (valid_rewrite_prop p1 p2)) (#p3: parser) (v23: squash (valid_rewrite_prop p2 p3)) : Tot (squash (valid_rewrite_prop p1 p3)) = tvalid_rewrite_of_evalid_rewrite (valid_rewrite_compose _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v12) _ _ _ (evalid...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 150, "end_line": 636, "start_col": 0, "start_line": 629 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
v12: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> v23: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p2 p3) -> Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p3)
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_and", "Prims.l_True", "LowParseWriters.NoHoare.evalid_rewrite_of_tvalid_rewrite_f", ...
[]
false
false
true
false
false
let valid_rewrite_compose (#p1 #p2: parser) (v12: squash (valid_rewrite_prop p1 p2)) (#p3: parser) (v23: squash (valid_rewrite_prop p2 p3)) : Tot (squash (valid_rewrite_prop p1 p3)) =
tvalid_rewrite_of_evalid_rewrite (valid_rewrite_compose _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v12) _ _ _ (evalid_rewrite_of_tvalid_rewrite v23))
false
OPLSS.Log.fst
OPLSS.Log.fp
val fp : x: OPLSS.Log.t a -> Prims.GTot LowStar.Monotonic.Buffer.loc
let fp #a (x:t a) = B.loc_mreference x
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 19, "start_col": 0, "start_line": 19 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "LowStar.Monotonic.Buffer.loc_mreference", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
false
false
let fp #a (x: t a) =
B.loc_mreference x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_parse_pair_assoc_1
val valid_rewrite_parse_pair_assoc_1 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop ((p1 `parse_pair` p2) `parse_pair` p3) (p1 `parse_pair` (p2 `parse_pair` p3))))
val valid_rewrite_parse_pair_assoc_1 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop ((p1 `parse_pair` p2) `parse_pair` p3) (p1 `parse_pair` (p2 `parse_pair` p3))))
let valid_rewrite_parse_pair_assoc_1 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop ((p1 `parse_pair` p2) `parse_pair` p3) (p1 `parse_pair` (p2 `parse_pair` p3)))) = tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_assoc_1 p1 p2 p3)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 78, "end_line": 660, "start_col": 0, "start_line": 657 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> p3: LowParseWriters.LowParse.parser -> Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop (LowParseWriters.LowParse.parse_pair (LowParseWriters.LowParse.parse_pair p1 p2) ...
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite", "LowParseWriters.LowParse.parse_pair", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "FStar.Pervasives.Native.Mktuple2", "LowParseWriters.valid_rewrite_parse_pair_assoc_1", "Prims.squas...
[]
false
false
true
false
false
let valid_rewrite_parse_pair_assoc_1 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop ((p1 `parse_pair` p2) `parse_pair` p3) (p1 `parse_pair` (p2 `parse_pair` p3)))) =
tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_assoc_1 p1 p2 p3)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_parse_pair_compat_r
val valid_rewrite_parse_pair_compat_r (p #p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` p) (p2 `parse_pair` p)))
val valid_rewrite_parse_pair_compat_r (p #p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` p) (p2 `parse_pair` p)))
let valid_rewrite_parse_pair_compat_r (p: parser) (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` p) (p2 `parse_pair` p))) = tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_compat_r p _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 117, "end_line": 680, "start_col": 0, "start_line": 674 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
p: LowParseWriters.LowParse.parser -> v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop (LowParseWriters.LowParse.parse_pair p1 p) (LowParseWriters.LowParse.parse_pair p2 p))
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite", "LowParseWriters.LowParse.parse_pair", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "FStar.Pervasives.Native.Mktuple2", ...
[]
false
false
true
false
false
let valid_rewrite_parse_pair_compat_r (p #p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` p) (p2 `parse_pair` p))) =
tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_compat_r p _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_parse_pair_assoc_2
val valid_rewrite_parse_pair_assoc_2 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` (p2 `parse_pair` p3)) ((p1 `parse_pair` p2) `parse_pair` p3)))
val valid_rewrite_parse_pair_assoc_2 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` (p2 `parse_pair` p3)) ((p1 `parse_pair` p2) `parse_pair` p3)))
let valid_rewrite_parse_pair_assoc_2 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` (p2 `parse_pair` p3)) ((p1 `parse_pair` p2) `parse_pair` p3))) = tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_assoc_2 p1 p2 p3)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 78, "end_line": 665, "start_col": 0, "start_line": 662 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> p3: LowParseWriters.LowParse.parser -> Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop (LowParseWriters.LowParse.parse_pair p1 (LowParseWriters.LowParse.parse_pair p2 p3)) (LowParseWriters.LowPa...
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite", "LowParseWriters.LowParse.parse_pair", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "FStar.Pervasives.Native.Mktuple2", "LowParseWriters.valid_rewrite_parse_pair_assoc_2", "Prims.squas...
[]
false
false
true
false
false
let valid_rewrite_parse_pair_assoc_2 (p1 p2 p3: parser) : Tot (squash (valid_rewrite_prop (p1 `parse_pair` (p2 `parse_pair` p3)) ((p1 `parse_pair` p2) `parse_pair` p3))) =
tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_assoc_2 p1 p2 p3)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.cast
val cast (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) (x1: ptr p1 inv) : Tot (ptr p2 inv)
val cast (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) (x1: ptr p1 inv) : Tot (ptr p2 inv)
let cast (#p1: parser) (#p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) (x1: ptr p1 inv) : Tot (ptr p2 inv) = cast _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v) _ x1
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 655, "start_col": 0, "start_line": 648 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> x1: LowParseWriters.ptr p1 inv -> LowParseWriters.ptr p2 inv
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.ptr", "LowParseWriters.cast", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.NoHoare.evalid_rewrite_of_tvalid_re...
[]
false
false
false
false
false
let cast (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) (x1: ptr p1 inv) : Tot (ptr p2 inv) =
cast _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v) _ x1
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.subcomp1
val subcomp1 (a: Type) (r_in r_out: parser) (l l': memory_invariant) (f_subcomp: repr a r_in r_out l) : Pure (repr a r_in r_out l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True))
val subcomp1 (a: Type) (r_in r_out: parser) (l l': memory_invariant) (f_subcomp: repr a r_in r_out l) : Pure (repr a r_in r_out l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True))
let subcomp1 (a:Type) (r_in:parser) (r_out: parser) (l:memory_invariant) (l' : memory_invariant) (f_subcomp:repr a r_in r_out l) : Pure (repr a r_in r_out l') (requires ( l `memory_invariant_includes` l' )) (ensures (fun _ -> True)) = reify_trivial (subcomp_conv a r_in r_out l l' f_subcomp ())
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 374, "start_col": 0, "start_line": 362 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> r_in: LowParseWriters.LowParse.parser -> r_out: LowParseWriters.LowParse.parser -> l: LowParseWriters.memory_invariant -> l': LowParseWriters.memory_invariant -> f_subcomp: LowParseWriters.NoHoare.repr a r_in r_out l -> Prims.Pure (LowParseWriters.NoHoare.repr a r_in r_out l')
Prims.Pure
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.repr", "LowParseWriters.NoHoare.reify_trivial", "LowParseWriters.NoHoare.subcomp_conv", "LowParseWriters.memory_invariant_includes", "Prims.l_True" ]
[]
false
false
false
false
false
let subcomp1 (a: Type) (r_in r_out: parser) (l l': memory_invariant) (f_subcomp: repr a r_in r_out l) : Pure (repr a r_in r_out l') (requires (l `memory_invariant_includes` l')) (ensures (fun _ -> True)) =
reify_trivial (subcomp_conv a r_in r_out l l' f_subcomp ())
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.extract_t
val extract_t (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot Type
val extract_t (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot Type
let extract_t (#a:Type u#x) (#r_in: parser) (#r_out: parser) (l: memory_invariant) ($f_destr_spec: unit -> TWrite a r_in r_out l) : Tot Type = (b: B.buffer u8 { l.lwrite `B.loc_includes` B.loc_buffer b }) -> (len: U32.t { len == B.len b }) -> (pos1: buffer_offset b) -> HST.Stack (iresult a) (require...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 516, "start_col": 0, "start_line": 480 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
l: LowParseWriters.memory_invariant -> $f_destr_spec: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowStar.Buffer.buffer", "LowParseWriters.LowParse.u8", "LowStar.Monotonic.Buffer.loc_includes", "FStar.Ghost.reveal", "LowStar.Monotonic.Buffer.loc", "LowParseWriters.__proj__Mkmemory_invariant__item__lwrite", "L...
[]
false
false
false
false
true
let extract_t (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) ($f_destr_spec: (unit -> TWrite a r_in r_out l)) : Tot Type =
b: B.buffer u8 {l.lwrite `B.loc_includes` (B.loc_buffer b)} -> len: U32.t{len == B.len b} -> pos1: buffer_offset b -> HST.Stack (iresult a) (requires (fun h -> B.modifies l.lwrite l.h0 h /\ (HS.get_tip l.h0) `HS.includes` (HS.get_tip h) /\ valid_pos r_in h b 0ul pos1...
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.lift_read_conv
val lift_read_conv: a: Type -> inv: memory_invariant -> r: parser -> f_read_spec: read_repr a inv -> Prims.unit -> EWrite a r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv
val lift_read_conv: a: Type -> inv: memory_invariant -> r: parser -> f_read_spec: read_repr a inv -> Prims.unit -> EWrite a r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv
let lift_read_conv (a: Type) (inv: memory_invariant) (r: parser) (f_read_spec: read_repr a inv) () : EWrite a r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv = let x = ERead?.reflect f_read_spec in x
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 444, "start_col": 0, "start_line": 436 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> inv: LowParseWriters.memory_invariant -> r: LowParseWriters.LowParse.parser -> f_read_spec: LowParseWriters.NoHoare.read_repr a inv -> _: Prims.unit -> LowParseWriters.EWrite a
LowParseWriters.EWrite
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "LowParseWriters.NoHoare.read_repr", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True" ]
[]
false
true
false
false
false
let lift_read_conv (a: Type) (inv: memory_invariant) (r: parser) (f_read_spec: read_repr a inv) () : EWrite a r r (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) inv =
let x = ERead?.reflect f_read_spec in x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_parse_pair_compat_l
val valid_rewrite_parse_pair_compat_l (p #p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p `parse_pair` p1) (p `parse_pair` p2)))
val valid_rewrite_parse_pair_compat_l (p #p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p `parse_pair` p1) (p `parse_pair` p2)))
let valid_rewrite_parse_pair_compat_l (p: parser) (#p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p `parse_pair` p1) (p `parse_pair` p2))) = tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_compat_l p _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 117, "end_line": 672, "start_col": 0, "start_line": 667 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
p: LowParseWriters.LowParse.parser -> v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop (LowParseWriters.LowParse.parse_pair p p1) (LowParseWriters.LowParse.parse_pair p p2))
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.NoHoare.tvalid_rewrite_of_evalid_rewrite", "LowParseWriters.LowParse.parse_pair", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "FStar.Pervasives.Native.Mktuple2", ...
[]
false
false
true
false
false
let valid_rewrite_parse_pair_compat_l (p #p1 #p2: parser) (v: squash (valid_rewrite_prop p1 p2)) : Tot (squash (valid_rewrite_prop (p `parse_pair` p1) (p `parse_pair` p2))) =
tvalid_rewrite_of_evalid_rewrite (valid_rewrite_parse_pair_compat_l p _ _ _ _ (evalid_rewrite_of_tvalid_rewrite v))
false
OPLSS.Log.fst
OPLSS.Log.has
val has : l: FStar.Seq.Base.seq a -> x: a -> Prims.bool
let has (#a:eqtype) (l:seq a) (x:a) = Seq.mem x l
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 22, "start_col": 0, "start_line": 22 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: FStar.Seq.Base.seq a -> x: a -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.Seq.Base.seq", "FStar.Seq.Properties.mem", "Prims.bool" ]
[]
false
false
false
false
false
let has (#a: eqtype) (l: seq a) (x: a) =
Seq.mem x l
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.lift_read
val lift_read (a: Type) (inv: memory_invariant) (r: parser) (f_read_spec: read_repr a inv) : Tot (repr a r r inv)
val lift_read (a: Type) (inv: memory_invariant) (r: parser) (f_read_spec: read_repr a inv) : Tot (repr a r r inv)
let lift_read (a: Type) (inv: memory_invariant) (r: parser) (f_read_spec: read_repr a inv) : Tot (repr a r r inv) = reify_trivial (lift_read_conv a inv r f_read_spec)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 453, "start_col": 0, "start_line": 447 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> inv: LowParseWriters.memory_invariant -> r: LowParseWriters.LowParse.parser -> f_read_spec: LowParseWriters.NoHoare.read_repr a inv -> LowParseWriters.NoHoare.repr a r r inv
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "LowParseWriters.NoHoare.read_repr", "LowParseWriters.NoHoare.reify_trivial", "LowParseWriters.NoHoare.lift_read_conv", "LowParseWriters.NoHoare.repr" ]
[]
false
false
false
false
false
let lift_read (a: Type) (inv: memory_invariant) (r: parser) (f_read_spec: read_repr a inv) : Tot (repr a r r inv) =
reify_trivial (lift_read_conv a inv r f_read_spec)
false
Steel.ST.MonotonicReference.fsti
Steel.ST.MonotonicReference.property
val property : a: Type -> Type
let property (a:Type) = a -> prop
{ "file_name": "lib/steel/Steel.ST.MonotonicReference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 64, "start_col": 0, "start_line": 63 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "prims.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.MonotonicReference.fsti" }
[ { "abbrev": true, "full_module": "Steel.MonotonicReference", "short_module": "MR" }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "Preorder" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "Prims.prop" ]
[]
false
false
false
true
true
let property (a: Type) =
a -> prop
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.subcomp
val subcomp (a: Type) ([@@@ refl_implicit]r_in_f r_out_f: parser) (l_f: memory_invariant) ([@@@ refl_implicit]r_in_g r_out_g: parser) (l_g: memory_invariant) ([@@@ refl_implicit]pr: squash (r_in_f == r_in_g)) (f_subcomp: repr a r_in_f r_out_f l_f) : Pure (repr a r_in_g r_ou...
val subcomp (a: Type) ([@@@ refl_implicit]r_in_f r_out_f: parser) (l_f: memory_invariant) ([@@@ refl_implicit]r_in_g r_out_g: parser) (l_g: memory_invariant) ([@@@ refl_implicit]pr: squash (r_in_f == r_in_g)) (f_subcomp: repr a r_in_f r_out_f l_f) : Pure (repr a r_in_g r_ou...
let subcomp (a:Type) ([@@@ refl_implicit] r_in_f:parser) (r_out_f:parser) (l_f:memory_invariant) ([@@@ refl_implicit] r_in_g:parser) (r_out_g: parser) (l_g:memory_invariant) ([@@@ refl_implicit] pr:squash (r_in_f == r_in_g)) (f_subcomp:repr a r_in_f r_out_f l_f) : Pure (repr a r_in_g r_out_g l_g) (r...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 85, "end_line": 407, "start_col": 0, "start_line": 391 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> r_in_f: LowParseWriters.LowParse.parser -> r_out_f: LowParseWriters.LowParse.parser -> l_f: LowParseWriters.memory_invariant -> r_in_g: LowParseWriters.LowParse.parser -> r_out_g: LowParseWriters.LowParse.parser -> l_g: LowParseWriters.memory_invariant -> pr: Prims.squash (r_...
Prims.Pure
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.squash", "Prims.eq2", "LowParseWriters.NoHoare.repr", "LowParseWriters.NoHoare.subcomp2", "LowParseWriters.NoHoare.subcomp1", "Prims.l_and", "LowParseWriters.memory_invariant_includes", "LowParseWriters.NoHoare.valid_rew...
[]
false
false
false
false
false
let subcomp (a: Type) ([@@@ refl_implicit]r_in_f r_out_f: parser) (l_f: memory_invariant) ([@@@ refl_implicit]r_in_g r_out_g: parser) (l_g: memory_invariant) ([@@@ refl_implicit]pr: squash (r_in_f == r_in_g)) (f_subcomp: repr a r_in_f r_out_f l_f) : Pure (repr a r_in_g r_ou...
subcomp2 a r_in_f r_out_f r_out_g l_g (subcomp1 a r_in_f r_out_f l_f l_g f_subcomp)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.subcomp_conv
val subcomp_conv: a: Type -> r_in: parser -> r_out: parser -> l: memory_invariant -> l': memory_invariant -> f_subcomp: repr a r_in r_out l -> sq: squash (l `memory_invariant_includes` l') -> Prims.unit -> EWrite a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l'
val subcomp_conv: a: Type -> r_in: parser -> r_out: parser -> l: memory_invariant -> l': memory_invariant -> f_subcomp: repr a r_in r_out l -> sq: squash (l `memory_invariant_includes` l') -> Prims.unit -> EWrite a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l'
let subcomp_conv (a:Type) (r_in:parser) (r_out: parser) (l:memory_invariant) (l' : memory_invariant) (f_subcomp:repr a r_in r_out l) (sq: squash ( l `memory_invariant_includes` l' )) () : EWrite a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l' = let x = EWrite?.reflect f_subcomp i...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 359, "start_col": 0, "start_line": 347 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> r_in: LowParseWriters.LowParse.parser -> r_out: LowParseWriters.LowParse.parser -> l: LowParseWriters.memory_invariant -> l': LowParseWriters.memory_invariant -> f_subcomp: LowParseWriters.NoHoare.repr a r_in r_out l -> sq: Prims.squash (LowParseWriters.memory_invariant_includes ...
LowParseWriters.EWrite
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "LowParseWriters.NoHoare.repr", "Prims.squash", "LowParseWriters.memory_invariant_includes", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True" ]
[]
false
true
false
false
false
let subcomp_conv (a: Type) (r_in: parser) (r_out: parser) (l: memory_invariant) (l': memory_invariant) (f_subcomp: repr a r_in r_out l) (sq: squash (l `memory_invariant_includes` l')) () : EWrite a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l' =
let x = EWrite?.reflect f_subcomp in x
false
Steel.ST.MonotonicReference.fsti
Steel.ST.MonotonicReference.stable_property
val stable_property : p: FStar.Preorder.preorder a -> Type
let stable_property (#a:Type) (p:Preorder.preorder a) = fact:property a { Preorder.stable fact p }
{ "file_name": "lib/steel/Steel.ST.MonotonicReference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 74, "start_col": 0, "start_line": 73 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "prims.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.MonotonicReference.fsti" }
[ { "abbrev": true, "full_module": "Steel.MonotonicReference", "short_module": "MR" }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "Preorder" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: FStar.Preorder.preorder a -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Preorder.preorder", "Steel.ST.MonotonicReference.property", "FStar.Preorder.stable" ]
[]
false
false
false
true
true
let stable_property (#a: Type) (p: Preorder.preorder a) =
fact: property a {Preorder.stable fact p}
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.wrap_extracted_impl
val wrap_extracted_impl (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) (f_destr_spec: (unit -> TWrite a r_in r_out l)) (e: extract_t l f_destr_spec) : TWrite a r_in r_out l
val wrap_extracted_impl (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) (f_destr_spec: (unit -> TWrite a r_in r_out l)) (e: extract_t l f_destr_spec) : TWrite a r_in r_out l
let wrap_extracted_impl (#a:Type u#x) (#r_in: parser) (#r_out: parser) (l: memory_invariant) (f_destr_spec: unit -> TWrite a r_in r_out l) (e: extract_t l f_destr_spec) : TWrite a r_in r_out l = TWrite?.reflect (Repr (destr_repr_spec f_destr_spec) ( mk_repr_impl a r_in r_out (fun _ -> True) (fun _...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 4, "end_line": 540, "start_col": 0, "start_line": 529 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
l: LowParseWriters.memory_invariant -> f_destr_spec: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> e: LowParseWriters.NoHoare.extract_t l f_destr_spec -> LowParseWriters.NoHoare.TWrite a
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.NoHoare.extract_t", "LowParseWriters.Repr", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.NoHoare.destr_repr_spec", "LowParseWriters.mk_repr_impl", "LowStar....
[]
false
true
false
false
false
let wrap_extracted_impl (#a: Type u#x) (#r_in #r_out: parser) (l: memory_invariant) (f_destr_spec: (unit -> TWrite a r_in r_out l)) (e: extract_t l f_destr_spec) : TWrite a r_in r_out l =
TWrite?.reflect (Repr (destr_repr_spec f_destr_spec) (mk_repr_impl a r_in r_out (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l (destr_repr_spec f_destr_spec) (fun b len pos1 -> e b len pos1)))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.bind_spec2_aux
val bind_spec2_aux (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) ($f: repr a p1 p2 inv) ($g: (a -> repr b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3))
val bind_spec2_aux (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) ($f: repr a p1 p2 inv) ($g: (a -> repr b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3))
let bind_spec2_aux (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) ($f: repr a p1 p2 inv) ($g: a -> repr b p2 p3 inv) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3)) = match Repr?.spec f v1 with | Error e -> Error e | Correct (x, v2) -> Repr?.spec (g x) v2
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 566, "start_col": 0, "start_line": 555 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
inv: LowParseWriters.memory_invariant -> p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> p3: LowParseWriters.LowParse.parser -> a: Type -> b: Type -> $f: LowParseWriters.NoHoare.repr a p1 p2 inv -> $g: (_: a -> LowParseWriters.NoHoare.repr b p2 p3 inv) -> ...
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "LowParseWriters.NoHoare.repr", "LowParseWriters.LowParse.__proj__Parser__item__t", "LowParseWriters.__proj__Repr__item__spec", "Prims.l_True", "Prims.string", "LowParseWriters.Error", "FStar.Pervasives.Native.tuple2", "LowPars...
[]
false
false
false
false
false
let bind_spec2_aux (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) ($f: repr a p1 p2 inv) ($g: (a -> repr b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3)) =
match Repr?.spec f v1 with | Error e -> Error e | Correct (x, v2) -> Repr?.spec (g x) v2
false
OPLSS.Log.fst
OPLSS.Log.not_found
val not_found : l: FStar.Seq.Base.seq a -> f: (_: a -> Prims.bool) -> Prims.logical
let not_found (#a:eqtype) (l:seq a) (f:a -> bool) = forall (x:a). x `Seq.mem` l ==> not (f x)
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 45, "end_line": 120, "start_col": 0, "start_line": 119 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: FStar.Seq.Base.seq a -> f: (_: a -> Prims.bool) -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.Seq.Base.seq", "Prims.bool", "Prims.l_Forall", "Prims.l_imp", "Prims.b2t", "FStar.Seq.Properties.mem", "Prims.op_Negation", "Prims.logical" ]
[]
false
false
false
false
true
let not_found (#a: eqtype) (l: seq a) (f: (a -> bool)) =
forall (x: a). x `Seq.mem` l ==> not (f x)
false
OPLSS.Log.fst
OPLSS.Log.intro_contains_h
val intro_contains_h (#a: _) (i: nat) (x: t a) (v: a) (h: HS.mem) : Lemma (requires i < Seq.length (HS.sel h x) /\ index (HS.sel h x) i == v) (ensures contains_h x v h)
val intro_contains_h (#a: _) (i: nat) (x: t a) (v: a) (h: HS.mem) : Lemma (requires i < Seq.length (HS.sel h x) /\ index (HS.sel h x) i == v) (ensures contains_h x v h)
let intro_contains_h #a (i:nat) (x:t a) (v:a) (h:HS.mem) : Lemma (requires i < Seq.length (HS.sel h x) /\ index (HS.sel h x) i == v) (ensures contains_h x v h) = Seq.contains_intro (HS.sel h x) i v
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 52, "start_col": 0, "start_line": 47 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Prims.nat -> x: OPLSS.Log.t a -> v: a -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires i < FStar.Seq.Base.length (FStar.Monotonic.HyperStack.sel h x) /\ FStar.Seq.Base.index (FStar.Monotonic.HyperStack.sel h x) i == v) (ensures OPLSS.Log.contains_h x v h)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "Prims.nat", "OPLSS.Log.t", "FStar.Monotonic.HyperStack.mem", "FStar.Seq.Properties.contains_intro", "FStar.Monotonic.HyperStack.sel", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "Prims.unit", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "Prims.eq2...
[]
true
false
true
false
false
let intro_contains_h #a (i: nat) (x: t a) (v: a) (h: HS.mem) : Lemma (requires i < Seq.length (HS.sel h x) /\ index (HS.sel h x) i == v) (ensures contains_h x v h) =
Seq.contains_intro (HS.sel h x) i v
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.bind_spec'
val bind_spec' (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3))
val bind_spec' (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3))
let bind_spec' (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3)) = match destr_repr_spec f v1 with | Error e -> Error e | Correct (x, v2) -> destr_repr_spec (g x) v2
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 553, "start_col": 0, "start_line": 542 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
inv: LowParseWriters.memory_invariant -> p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> p3: LowParseWriters.LowParse.parser -> a: Type -> b: Type -> f: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> g: (_: a -> _: Prims.unit -> LowParseWriters.NoHo...
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "LowParseWriters.NoHoare.destr_repr_spec", "Prims.string", "LowParseWriters.Error", "FStar.Pervasives.Native.tuple2", "LowParseWriters.result" ]
[]
false
false
false
false
false
let bind_spec' (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) (v1: Parser?.t p1) : GTot (result (b & Parser?.t p3)) =
match destr_repr_spec f v1 with | Error e -> Error e | Correct (x, v2) -> destr_repr_spec (g x) v2
false
OPLSS.Log.fst
OPLSS.Log.grows
val grows (#a: Type) : Preorder.preorder (seq a)
val grows (#a: Type) : Preorder.preorder (seq a)
let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> length s1 <= length s2 /\ (forall (i:nat).{:pattern (index s1 i) \/ (index s2 i)} i < length s1 ==> index s1 i == index s2 i)
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 103, "end_line": 15, "start_col": 0, "start_line": 11 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
FStar.Preorder.preorder (FStar.Seq.Base.seq a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Prims.l_Forall", "Prims.nat", "Prims.l_imp", "Prims.op_LessThan", "Prims.eq2", "FStar.Seq.Base.index", "Prims.logical", "FStar.Preorder.preorder" ]
[]
false
false
false
true
false
let grows (#a: Type) : Preorder.preorder (seq a) =
fun (s1: seq a) (s2: seq a) -> length s1 <= length s2 /\ (forall (i: nat). {:pattern (index s1 i)\/(index s2 i)} i < length s1 ==> index s1 i == index s2 i )
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite_repr
val valid_rewrite_repr (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : Tot (repr unit p1 p2 inv)
val valid_rewrite_repr (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : Tot (repr unit p1 p2 inv)
let valid_rewrite_repr (#p1: parser) (#p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : Tot (repr unit p1 p2 inv) = reify_trivial (fun _ -> valid_rewrite _ _ _ _ inv (evalid_rewrite_of_tvalid_rewrite v))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 89, "end_line": 344, "start_col": 0, "start_line": 338 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "LowParseWriters", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> LowParseWriters.NoHoare.repr Prims.unit p1 p2 inv
Prims.Tot
[ "total" ]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.NoHoare.reify_trivial", "Prims.unit", "LowParseWriters.valid_rewrite", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParse...
[]
false
false
false
false
false
let valid_rewrite_repr (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : Tot (repr unit p1 p2 inv) =
reify_trivial (fun _ -> valid_rewrite _ _ _ _ inv (evalid_rewrite_of_tvalid_rewrite v))
false
OPLSS.Log.fst
OPLSS.Log.contains
val contains : x: OPLSS.Log.t a -> v: a -> Type0
let contains #a (x:t a) (v:a) = token_p x (contains_h x v)
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 59, "start_col": 0, "start_line": 58 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> v: a -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "FStar.HyperStack.ST.token_p", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "OPLSS.Log.contains_h" ]
[]
false
false
false
false
true
let contains #a (x: t a) (v: a) =
token_p x (contains_h x v)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.twrite_of_ewrite
val twrite_of_ewrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : TWrite a p1 p2 l
val twrite_of_ewrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : TWrite a p1 p2 l
let twrite_of_ewrite // NOTE: I could define it as a lift (sub_effect), but I prefer to do it explicitly to avoid F* generating pre and postconditions (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l) : TWrite a p1 p2 l = TWrite...
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 595, "start_col": 0, "start_line": 589 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
f: (_: Prims.unit -> LowParseWriters.EWrite a) -> LowParseWriters.NoHoare.TWrite a
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowParseWriters.NoHoare.reify_trivial" ]
[]
false
true
false
false
false
let twrite_of_ewrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) (f: (unit -> EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l)) : TWrite a p1 p2 l =
TWrite?.reflect (reify_trivial f)
false
Steel.ST.SeqMatch.fst
Steel.ST.SeqMatch.seq_seq_match_item_match_option_upd
val seq_seq_match_item_match_option_upd (#opened: _) (#t1 #t2: Type) (p: (t1 -> t2 -> vprop)) (s1: Seq.seq t1) (s2: Seq.seq (option t2)) (i j: nat) (k: nat{i <= j /\ j < k}) (x1: t1) (x2: t2) : STGhostT (squash (j < Seq.length s1 /\ j < Seq.length s2)) ope...
val seq_seq_match_item_match_option_upd (#opened: _) (#t1 #t2: Type) (p: (t1 -> t2 -> vprop)) (s1: Seq.seq t1) (s2: Seq.seq (option t2)) (i j: nat) (k: nat{i <= j /\ j < k}) (x1: t1) (x2: t2) : STGhostT (squash (j < Seq.length s1 /\ j < Seq.length s2)) ope...
let seq_seq_match_item_match_option_upd (#opened: _) (#t1 #t2: Type) (p: t1 -> t2 -> vprop) (s1: Seq.seq t1) (s2: Seq.seq (option t2)) (i j: nat) (k: nat { i <= j /\ j < k }) (x1: t1) (x2: t2) : STGhostT (squash (j < Seq.length s1 /\ j < Seq.length s2)) opened (seq_seq_match (item_match_opti...
{ "file_name": "lib/steel/Steel.ST.SeqMatch.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 66, "end_line": 749, "start_col": 0, "start_line": 729 }
module Steel.ST.SeqMatch include Steel.ST.OnRange open Steel.ST.GenElim module Seq = FStar.Seq module SZ = FStar.SizeT (* `seq_list_match` describes how to match a sequence of low-level values (the low-level contents of an array) with a list of high-level values. `seq_list_match` is carefully designed to be usable wi...
{ "checked_file": "/", "dependencies": [ "Steel.ST.OnRange.fsti.checked", "Steel.ST.GenElim.fsti.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_fil...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "SZ" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": false, "full_module": "Stee...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: (_: t1 -> _: t2 -> Steel.Effect.Common.vprop) -> s1: FStar.Seq.Base.seq t1 -> s2: FStar.Seq.Base.seq (FStar.Pervasives.Native.option t2) -> i: Prims.nat -> j: Prims.nat -> k: Prims.nat{i <= j /\ j < k} -> x1: t1 -> x2: t2 -> Steel.ST.Effect.Ghost.STGhostT (Prims.squash (j < FSt...
Steel.ST.Effect.Ghost.STGhostT
[]
[]
[ "Steel.Memory.inames", "Steel.Effect.Common.vprop", "FStar.Seq.Base.seq", "FStar.Pervasives.Native.option", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Steel.ST.SeqMatch.seq_seq_match_upd", "Steel.ST.SeqMatch.item_match_option", "FStar.Pervasives....
[]
false
true
true
false
false
let seq_seq_match_item_match_option_upd (#opened: _) (#t1 #t2: Type) (p: (t1 -> t2 -> vprop)) (s1: Seq.seq t1) (s2: Seq.seq (option t2)) (i j: nat) (k: nat{i <= j /\ j < k}) (x1: t1) (x2: t2) : STGhostT (squash (j < Seq.length s1 /\ j < Seq.length s2)) ope...
rewrite (p x1 x2) (item_match_option p x1 (Some x2)); seq_seq_match_upd (item_match_option p) s1 s2 i j k x1 (Some x2)
false
OPLSS.Log.fst
OPLSS.Log.contains_h_stable
val contains_h_stable (#a: _) (x: t a) (v: a) : Lemma ((x `contains_h` v) `stable_on` x)
val contains_h_stable (#a: _) (x: t a) (v: a) : Lemma ((x `contains_h` v) `stable_on` x)
let contains_h_stable #a (x:t a) (v:a) : Lemma ((x `contains_h` v) `stable_on` x) = let aux (h0 h1:HS.mem) : Lemma (contains_h x v h0 /\ grows (HS.sel h0 x) (HS.sel h1 x) ==> contains_h x v h1) [SMTPat (contains_h x v h0); SMTPat (contains_h x v h1)] = let ...
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 45, "start_col": 0, "start_line": 28 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> v: a -> FStar.Pervasives.Lemma (ensures FStar.HyperStack.ST.stable_on (OPLSS.Log.contains_h x v) x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "FStar.Monotonic.HyperStack.mem", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_imp", "Prims.l_and", "OPLSS.Log.contains_h", "OPLSS.Log.grows", "FStar.Monotonic.HyperStack.sel", "FStar.Seq.Base.seq", "Prims.Cons", "FStar.Pervasives.pattern", "FStar...
[]
false
false
true
false
false
let contains_h_stable #a (x: t a) (v: a) : Lemma ((x `contains_h` v) `stable_on` x) =
let aux (h0 h1: HS.mem) : Lemma (contains_h x v h0 /\ grows (HS.sel h0 x) (HS.sel h1 x) ==> contains_h x v h1) [SMTPat (contains_h x v h0); SMTPat (contains_h x v h1)] = let aux (s: seq a) (x: a) (k: nat) : Lemma (k < Seq.length s /\ Seq.index s k == x ==> x `Seq.mem` s) [SMTPat (Seq.index s k...
false
OPLSS.Log.fst
OPLSS.Log.contains_now_e
val contains_now_e (#a: _) (x: t a) (refine: (a -> Type)) : ST unit (requires fun _ -> exists (v: a{refine v}). x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ (exists (v: a{refine v}). (entries x h1) `has` v))
val contains_now_e (#a: _) (x: t a) (refine: (a -> Type)) : ST unit (requires fun _ -> exists (v: a{refine v}). x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ (exists (v: a{refine v}). (entries x h1) `has` v))
let contains_now_e #a (x:t a) (refine: a -> Type) : ST unit (requires fun _ -> exists (v:a{refine v}). x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ (exists (v:a{refine v}). entries x h1 `has` v)) = let u : squash (exists (v:a{refine v}). x `contains` v) = () in FStar.Classical.e...
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 66, "end_line": 91, "start_col": 0, "start_line": 77 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> refine: (_: a -> Type) -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "FStar.HyperStack.ST.recall_p", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "FStar.Monotonic.HyperStack.mem", "Prims.l_Exists", "OPLSS.Log.contains_h", "Prims.unit", "FStar.Classical.exists_elim", "FStar.HyperStack.ST.token_p", "OPLSS.Log.contains", "OPLSS.Log.tok...
[]
false
true
false
false
false
let contains_now_e #a (x: t a) (refine: (a -> Type)) : ST unit (requires fun _ -> exists (v: a{refine v}). x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ (exists (v: a{refine v}). (entries x h1) `has` v)) =
let u:squash (exists (v: a{refine v}). x `contains` v) = () in FStar.Classical.exists_elim (token_p x (fun h -> exists (v: a{refine v}). contains_h x v h)) u (fun v -> token_functoriality x (contains_h x v) (fun h -> exists (v: a{refine v}). contains_h x v h)); recall_p x (fun h -> exists (v: a{refine v}). co...
false
OPLSS.Log.fst
OPLSS.Log.contains_now
val contains_now (#a: _) (x: t a) (v: a) : ST unit (requires fun _ -> x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ contains_h x v h1)
val contains_now (#a: _) (x: t a) (v: a) : ST unit (requires fun _ -> x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ contains_h x v h1)
let contains_now #a (x:t a) (v:a) : ST unit (requires fun _ -> x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ contains_h x v h1) = recall_p x (x `contains_h` v)
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 68, "start_col": 0, "start_line": 61 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> v: a -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "FStar.HyperStack.ST.recall_p", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "OPLSS.Log.contains_h", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "OPLSS.Log.contains", "Prims.l_and", "Prims.eq2" ]
[]
false
true
false
false
false
let contains_now #a (x: t a) (v: a) : ST unit (requires fun _ -> x `contains` v) (ensures fun h0 _ h1 -> h0 == h1 /\ contains_h x v h1) =
recall_p x (x `contains_h` v)
false
OPLSS.Log.fst
OPLSS.Log.index_mem
val index_mem (#a: eqtype) (s: seq a) (x: a) : Lemma (ensures (Seq.mem x s <==> (exists i. Seq.index s i == x))) (decreases (Seq.length s))
val index_mem (#a: eqtype) (s: seq a) (x: a) : Lemma (ensures (Seq.mem x s <==> (exists i. Seq.index s i == x))) (decreases (Seq.length s))
let rec index_mem (#a:eqtype) (s:seq a) (x:a) : Lemma (ensures (Seq.mem x s <==> (exists i. Seq.index s i == x))) (decreases (Seq.length s)) = if length s = 0 then () else if head s = x then () else index_mem (tail s) x
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 127, "start_col": 0, "start_line": 122 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: FStar.Seq.Base.seq a -> x: a -> FStar.Pervasives.Lemma (ensures FStar.Seq.Properties.mem x s <==> (exists (i: Prims.nat{i < FStar.Seq.Base.length s}). FStar.Seq.Base.index s i == x)) (decreases FStar.Seq.Base.length s)
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "Prims.eqtype", "FStar.Seq.Base.seq", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "Prims.bool", "FStar.Seq.Properties.head", "OPLSS.Log.index_mem", "FStar.Seq.Properties.tail", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_iff", "Prims.b2t", "FStar.Seq.Properties....
[ "recursion" ]
false
false
true
false
false
let rec index_mem (#a: eqtype) (s: seq a) (x: a) : Lemma (ensures (Seq.mem x s <==> (exists i. Seq.index s i == x))) (decreases (Seq.length s)) =
if length s = 0 then () else if head s = x then () else index_mem (tail s) x
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.wfailwith
val wfailwith (#a: Type) (#inv: memory_invariant) (#rin #rout: parser) (s: string) : TWrite a rin rout inv
val wfailwith (#a: Type) (#inv: memory_invariant) (#rin #rout: parser) (s: string) : TWrite a rin rout inv
let wfailwith (#a: Type) (#inv: memory_invariant) (#rin #rout: parser) (s: string) : TWrite a rin rout inv = twrite_of_ewrite (fun _ -> wfailwith s)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 604, "start_col": 0, "start_line": 598 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
s: Prims.string -> LowParseWriters.NoHoare.TWrite a
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.string", "LowParseWriters.NoHoare.twrite_of_ewrite", "Prims.unit", "LowParseWriters.wfailwith" ]
[]
false
true
false
false
false
let wfailwith (#a: Type) (#inv: memory_invariant) (#rin #rout: parser) (s: string) : TWrite a rin rout inv =
twrite_of_ewrite (fun _ -> wfailwith s)
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.ewrite_of_twrite
val ewrite_of_twrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) ($f: (unit -> TWrite a p1 p2 l)) : EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l
val ewrite_of_twrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) ($f: (unit -> TWrite a p1 p2 l)) : EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l
let ewrite_of_twrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) ($f: unit -> TWrite a p1 p2 l) : EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l = EWrite?.reflect (reify (f ()))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 613, "start_col": 0, "start_line": 607 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
$f: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> LowParseWriters.EWrite a
LowParseWriters.EWrite
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.unit", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True" ]
[]
false
true
false
false
false
let ewrite_of_twrite (#a: Type) (#l: memory_invariant) (#p1 #p2: parser) ($f: (unit -> TWrite a p1 p2 l)) : EWrite a p1 p2 (fun _ -> True) (fun _ _ _ -> True) (fun _ -> True) l =
EWrite?.reflect (reify (f ()))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.bind_impl'
val bind_impl': inv: memory_invariant -> p1: parser -> p2: parser -> p3: parser -> a: Type -> b: Type -> f: (unit -> TWrite a p1 p2 inv) -> g: (a -> unit -> TWrite b p2 p3 inv) -> Prims.unit -> TWrite b p1 p3 inv
val bind_impl': inv: memory_invariant -> p1: parser -> p2: parser -> p3: parser -> a: Type -> b: Type -> f: (unit -> TWrite a p1 p2 inv) -> g: (a -> unit -> TWrite b p2 p3 inv) -> Prims.unit -> TWrite b p1 p3 inv
let bind_impl' (inv: memory_invariant) (p1 p2 p3: parser) (a b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) () : TWrite b p1 p3 inv = let x = f () in g x ()
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 586, "start_col": 0, "start_line": 578 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
inv: LowParseWriters.memory_invariant -> p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser -> p3: LowParseWriters.LowParse.parser -> a: Type -> b: Type -> f: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> g: (_: a -> _: Prims.unit -> LowParseWriters.NoHo...
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "Prims.unit" ]
[]
false
true
false
false
false
let bind_impl' (inv: memory_invariant) (p1: parser) (p2: parser) (p3: parser) (a: Type) (b: Type) (f: (unit -> TWrite a p1 p2 inv)) (g: (a -> unit -> TWrite b p2 p3 inv)) () : TWrite b p1 p3 inv =
let x = f () in g x ()
false
OPLSS.Log.fst
OPLSS.Log.find
val find (#a: _) (x: t a) (f: (a -> bool)) : ST (option a) (requires fun _ -> True) (ensures fun h0 o h1 -> h0 == h1 /\ (let l = HS.sel h1 x in match o with | None -> not_found l f | Some v -> contains x v /\ (entries x h1) `has` v /\ f v))
val find (#a: _) (x: t a) (f: (a -> bool)) : ST (option a) (requires fun _ -> True) (ensures fun h0 o h1 -> h0 == h1 /\ (let l = HS.sel h1 x in match o with | None -> not_found l f | Some v -> contains x v /\ (entries x h1) `has` v /\ f v))
let find #a (x:t a) (f: a -> bool) : ST (option a) (requires fun _ -> True) (ensures fun h0 o h1 -> h0 == h1 /\ (let l = HS.sel h1 x in match o with | None -> not_found l f | Some v -> contains x v /\ entries x h1 `has` v /\ f v)) = let l = !x in ...
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 12, "end_line": 152, "start_col": 0, "start_line": 129 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> f: (_: a -> Prims.bool) -> FStar.HyperStack.ST.ST (FStar.Pervasives.Native.option a)
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "Prims.bool", "FStar.Seq.Properties.find_l", "FStar.Pervasives.Native.None", "Prims.unit", "FStar.Classical.forall_intro", "Prims.l_iff", "Prims.b2t", "FStar.Seq.Properties.mem", "Prims.l_Exists", "Prims.nat", "Prims.op_LessThan", "FStar.Seq.Base.length", "...
[]
false
true
false
false
false
let find #a (x: t a) (f: (a -> bool)) : ST (option a) (requires fun _ -> True) (ensures fun h0 o h1 -> h0 == h1 /\ (let l = HS.sel h1 x in match o with | None -> not_found l f | Some v -> contains x v /\ (entries x h1) `has` v /\ f v)) =
let l = !x in match Seq.find_l f l with | None -> Seq.find_l_none_no_index l f; FStar.Classical.forall_intro (index_mem l); None | Some v -> Seq.lemma_find_l_contains f l; Seq.contains_elim l v; contains_h_stable x v; witness_p x (x `contains_h` v); Some v
false
OPLSS.Log.fst
OPLSS.Log.add
val add (#a: _) (x: t a) (v: a) : ST unit (requires fun _ -> True) (ensures fun h0 _ h1 -> x `contains` v /\ (entries x h1) `has` v /\ HS.sel h1 x == Seq.snoc (HS.sel h0 x) v /\ B.modifies (B.loc_mreference x) h0 h1)
val add (#a: _) (x: t a) (v: a) : ST unit (requires fun _ -> True) (ensures fun h0 _ h1 -> x `contains` v /\ (entries x h1) `has` v /\ HS.sel h1 x == Seq.snoc (HS.sel h0 x) v /\ B.modifies (B.loc_mreference x) h0 h1)
let add #a (x:t a) (v:a) : ST unit (requires fun _ -> True) (ensures fun h0 _ h1 -> x `contains` v /\ entries x h1 `has` v /\ HS.sel h1 x == Seq.snoc (HS.sel h0 x) v /\ B.modifies (B.loc_mreference x) h0 h1) = let l0 = !x in x := Seq.snoc l0 v; let h = get () in intro_con...
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 117, "start_col": 0, "start_line": 103 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: OPLSS.Log.t a -> v: a -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "OPLSS.Log.t", "FStar.HyperStack.ST.witness_p", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "OPLSS.Log.contains_h", "Prims.unit", "OPLSS.Log.contains_h_stable", "Prims._assert", "OPLSS.Log.intro_contains_h", "FStar.Seq.Base.length", "FStar.Monotonic.HyperStack.mem", "FStar.Hyper...
[]
false
true
false
false
false
let add #a (x: t a) (v: a) : ST unit (requires fun _ -> True) (ensures fun h0 _ h1 -> x `contains` v /\ (entries x h1) `has` v /\ HS.sel h1 x == Seq.snoc (HS.sel h0 x) v /\ B.modifies (B.loc_mreference x) h0 h1) =
let l0 = !x in x := Seq.snoc l0 v; let h = get () in intro_contains_h (Seq.length l0) x v h; assert (contains_h x v h); contains_h_stable x v; witness_p x (x `contains_h` v)
false
OPLSS.Log.fst
OPLSS.Log.new_log
val new_log (#a: _) : ST (t a) (requires fun _ -> True) (ensures fun h0 x h1 -> HS.contains h1 x /\ HS.sel h1 x == Seq.empty /\ B.fresh_loc (B.loc_mreference x) h0 h1 /\ HST.ralloc_post HS.root Seq.empty h0 x h1)
val new_log (#a: _) : ST (t a) (requires fun _ -> True) (ensures fun h0 x h1 -> HS.contains h1 x /\ HS.sel h1 x == Seq.empty /\ B.fresh_loc (B.loc_mreference x) h0 h1 /\ HST.ralloc_post HS.root Seq.empty h0 x h1)
let new_log #a : ST (t a) (requires fun _ -> True) (ensures fun h0 x h1 -> HS.contains h1 x /\ HS.sel h1 x == Seq.empty /\ B.fresh_loc (B.loc_mreference x) h0 h1 /\ HST.ralloc_post HS.root Seq.empty h0 x h1) = ralloc HS.root Seq.empty
{ "file_name": "examples/crypto/OPLSS.Log.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 101, "start_col": 0, "start_line": 93 }
module OPLSS.Log open FStar.HyperStack.ST open FStar.Seq open FStar.Monotonic.Seq open FStar.HyperStack module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module L = FStar.List.Tot let grows (#a:Type) : Preorder.preorder (seq a) = fun (s1:seq a) (s2:seq a) -> leng...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Seq.fst.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.ST.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
FStar.HyperStack.ST.ST (OPLSS.Log.t a)
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "FStar.HyperStack.ST.ralloc", "FStar.Seq.Base.seq", "OPLSS.Log.grows", "FStar.Monotonic.HyperHeap.root", "FStar.Seq.Base.empty", "FStar.HyperStack.ST.mref", "OPLSS.Log.t", "FStar.Monotonic.HyperStack.mem", "Prims.l_True", "Prims.l_and", "FStar.Monotonic.HyperStack.contains", ...
[]
false
true
false
false
false
let new_log #a : ST (t a) (requires fun _ -> True) (ensures fun h0 x h1 -> HS.contains h1 x /\ HS.sel h1 x == Seq.empty /\ B.fresh_loc (B.loc_mreference x) h0 h1 /\ HST.ralloc_post HS.root Seq.empty h0 x h1) =
ralloc HS.root Seq.empty
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.frame
val frame (#a: Type) (#fr #p: parser) (#l: memory_invariant) ($f: (unit -> TWrite a parse_empty p l)) : TWrite a fr (fr `parse_pair` p) l
val frame (#a: Type) (#fr #p: parser) (#l: memory_invariant) ($f: (unit -> TWrite a parse_empty p l)) : TWrite a fr (fr `parse_pair` p) l
let frame (#a: Type) (#fr: parser) (#p: parser) (#l: memory_invariant) ($f: unit -> TWrite a parse_empty p l ) : TWrite a fr (fr `parse_pair` p) l = twrite_of_ewrite (fun _ -> frame' _ _ _ _ (fun _ -> ewrite_of_twrite f))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 74, "end_line": 627, "start_col": 0, "start_line": 616 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
$f: (_: Prims.unit -> LowParseWriters.NoHoare.TWrite a) -> LowParseWriters.NoHoare.TWrite a
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.unit", "LowParseWriters.LowParse.parse_empty", "LowParseWriters.NoHoare.twrite_of_ewrite", "LowParseWriters.LowParse.parse_pair", "LowParseWriters.frame'", "LowParseWriters.NoHoare.ewrite_of_twrite" ]
[]
false
true
false
false
false
let frame (#a: Type) (#fr #p: parser) (#l: memory_invariant) ($f: (unit -> TWrite a parse_empty p l)) : TWrite a fr (fr `parse_pair` p) l =
twrite_of_ewrite (fun _ -> frame' _ _ _ _ (fun _ -> ewrite_of_twrite f))
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.cat
val cat (#inv: memory_invariant) (#p: parser) (x: ptr p inv) : TWrite unit parse_empty p inv
val cat (#inv: memory_invariant) (#p: parser) (x: ptr p inv) : TWrite unit parse_empty p inv
let cat (#inv: memory_invariant) (#p: parser) (x: ptr p inv) : TWrite unit parse_empty p inv = twrite_of_ewrite (fun _ -> cat x)
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 688, "start_col": 0, "start_line": 683 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
x: LowParseWriters.ptr p inv -> LowParseWriters.NoHoare.TWrite Prims.unit
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.memory_invariant", "LowParseWriters.LowParse.parser", "LowParseWriters.ptr", "LowParseWriters.NoHoare.twrite_of_ewrite", "Prims.unit", "LowParseWriters.LowParse.parse_empty", "LowParseWriters.cat" ]
[]
false
true
false
false
false
let cat (#inv: memory_invariant) (#p: parser) (x: ptr p inv) : TWrite unit parse_empty p inv =
twrite_of_ewrite (fun _ -> cat x)
false
Vale.AES.X64.AESGCM_expected_code.fst
Vale.AES.X64.AESGCM_expected_code.va_codegen_success_Loop6x_partial_expected_code
val va_codegen_success_Loop6x_partial_expected_code : alg:algorithm -> Tot va_pbool
val va_codegen_success_Loop6x_partial_expected_code : alg:algorithm -> Tot va_pbool
let va_codegen_success_Loop6x_partial_expected_code alg = (va_pbool_and (va_codegen_success_Add64 (va_op_dst_opr64_reg64 rRbx) (va_const_opr64 6)) (va_pbool_and (va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_pbool_and (va_codegen_success_VPshufb (va_op_xmm...
{ "file_name": "obj/Vale.AES.X64.AESGCM_expected_code.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 183, "end_line": 609, "start_col": 0, "start_line": 304 }
module Vale.AES.X64.AESGCM_expected_code open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector ope...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Add64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsVector.va_codegen_success_InitPshufbMask", "Vale.X64.Decls.va_op_xmm_xmm", ...
[]
false
false
false
true
false
let va_codegen_success_Loop6x_partial_expected_code alg =
(va_pbool_and (va_codegen_success_Add64 (va_op_dst_opr64_reg64 rRbx) (va_const_opr64 6)) (va_pbool_and (va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_pbool_and (va_codegen_success_VPshufb (va_op_xmm_xmm 6) (va_op_x...
false
LowParseWriters.NoHoare.fst
LowParseWriters.NoHoare.valid_rewrite
val valid_rewrite (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : TWrite unit p1 p2 inv
val valid_rewrite (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : TWrite unit p1 p2 inv
let valid_rewrite (#p1: parser) (#p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : TWrite unit p1 p2 inv = twrite_of_ewrite (fun _ -> valid_rewrite _ _ _ _ inv (evalid_rewrite_of_tvalid_rewrite v))
{ "file_name": "examples/layeredeffects/LowParseWriters.NoHoare.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 92, "end_line": 645, "start_col": 0, "start_line": 639 }
module LowParseWriters.NoHoare include LowParseWriters inline_for_extraction let read_repr (t: Type) (inv: memory_invariant) : Tot Type = read_repr t True (fun _ -> True) (fun _ -> True) inv inline_for_extraction let read_reify_trivial (#a: Type) (#l: memory_invariant) (f: (unit -> ERead a True (fun _ -> Tr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParseWriters.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescription.fsti.checked", "FStar.HyperSta...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "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
v: Prims.squash (LowParseWriters.NoHoare.valid_rewrite_prop p1 p2) -> LowParseWriters.NoHoare.TWrite Prims.unit
LowParseWriters.NoHoare.TWrite
[]
[]
[ "LowParseWriters.LowParse.parser", "LowParseWriters.memory_invariant", "Prims.squash", "LowParseWriters.NoHoare.valid_rewrite_prop", "LowParseWriters.NoHoare.twrite_of_ewrite", "Prims.unit", "LowParseWriters.valid_rewrite", "LowParseWriters.LowParse.__proj__Parser__item__t", "Prims.l_True", "LowPa...
[]
false
true
false
false
false
let valid_rewrite (#p1 #p2: parser) (#inv: memory_invariant) (v: squash (valid_rewrite_prop p1 p2)) : TWrite unit p1 p2 inv =
twrite_of_ewrite (fun _ -> valid_rewrite _ _ _ _ inv (evalid_rewrite_of_tvalid_rewrite v))
false
Vale.AES.X64.AESGCM_expected_code.fst
Vale.AES.X64.AESGCM_expected_code.va_code_Loop6x_partial_expected_code
val va_code_Loop6x_partial_expected_code : alg:algorithm -> Tot va_code
val va_code_Loop6x_partial_expected_code : alg:algorithm -> Tot va_code
let va_code_Loop6x_partial_expected_code alg = (va_Block (va_CCons (va_code_Add64 (va_op_dst_opr64_reg64 rRbx) (va_const_opr64 6)) (va_CCons (va_IfElse (va_cmp_ge (va_op_cmp_reg64 rRbx) (va_const_cmp 256)) (va_Block (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_CCons ...
{ "file_name": "obj/Vale.AES.X64.AESGCM_expected_code.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 184, "end_line": 301, "start_col": 0, "start_line": 40 }
module Vale.AES.X64.AESGCM_expected_code open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector ope...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Add64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Decls.va_IfElse", "Vale.X64.Decls.va_cmp_ge", "Vale.X64.Decls.va...
[]
false
false
false
true
false
let va_code_Loop6x_partial_expected_code alg =
(va_Block (va_CCons (va_code_Add64 (va_op_dst_opr64_reg64 rRbx) (va_const_opr64 6)) (va_CCons (va_IfElse (va_cmp_ge (va_op_cmp_reg64 rRbx) (va_const_cmp 256)) (va_Block (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) ...
false
Steel.ST.SeqMatch.fst
Steel.ST.SeqMatch.seq_seq_match_weaken_with_implies
val seq_seq_match_weaken_with_implies (#opened: _) (#t1 #t2: Type) (p: (t1 -> t2 -> vprop)) (c1 c1': Seq.seq t1) (c2 c2': Seq.seq t2) (i j: nat) : STGhost unit opened (seq_seq_match p c1 c2 i j) (fun _ -> (seq_seq_match p c1' c2' i j) `star` ...
val seq_seq_match_weaken_with_implies (#opened: _) (#t1 #t2: Type) (p: (t1 -> t2 -> vprop)) (c1 c1': Seq.seq t1) (c2 c2': Seq.seq t2) (i j: nat) : STGhost unit opened (seq_seq_match p c1 c2 i j) (fun _ -> (seq_seq_match p c1' c2' i j) `star` ...
let seq_seq_match_weaken_with_implies (#opened: _) (#t1 #t2: Type) (p: t1 -> t2 -> vprop) (c1 c1': Seq.seq t1) (c2 c2': Seq.seq t2) (i j: nat) : STGhost unit opened (seq_seq_match p c1 c2 i j) (fun _ -> seq_seq_match p c1' c2' i j `star` (seq_seq_match p c1' c2' i j `implies_` seq_seq_match p ...
{ "file_name": "lib/steel/Steel.ST.SeqMatch.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 326, "start_col": 0, "start_line": 292 }
module Steel.ST.SeqMatch include Steel.ST.OnRange open Steel.ST.GenElim module Seq = FStar.Seq module SZ = FStar.SizeT (* `seq_list_match` describes how to match a sequence of low-level values (the low-level contents of an array) with a list of high-level values. `seq_list_match` is carefully designed to be usable wi...
{ "checked_file": "/", "dependencies": [ "Steel.ST.OnRange.fsti.checked", "Steel.ST.GenElim.fsti.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_fil...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "SZ" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": false, "full_module": "Stee...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: (_: t1 -> _: t2 -> Steel.Effect.Common.vprop) -> c1: FStar.Seq.Base.seq t1 -> c1': FStar.Seq.Base.seq t1 -> c2: FStar.Seq.Base.seq t2 -> c2': FStar.Seq.Base.seq t2 -> i: Prims.nat -> j: Prims.nat -> Steel.ST.Effect.Ghost.STGhost Prims.unit
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "Steel.Effect.Common.vprop", "FStar.Seq.Base.seq", "Prims.nat", "Steel.ST.Util.intro_implies", "Steel.ST.SeqMatch.seq_seq_match", "Steel.Effect.Common.emp", "Steel.ST.SeqMatch.seq_seq_match_weaken", "Steel.ST.Util.noop", "Prims.unit", "Steel.Effect.Common.star", "Steel.S...
[]
false
true
false
false
false
let seq_seq_match_weaken_with_implies (#opened: _) (#t1 #t2: Type) (p: (t1 -> t2 -> vprop)) (c1 c1': Seq.seq t1) (c2 c2': Seq.seq t2) (i j: nat) : STGhost unit opened (seq_seq_match p c1 c2 i j) (fun _ -> (seq_seq_match p c1' c2' i j) `star` ...
seq_seq_match_weaken p p (fun _ _ -> noop ()) c1 c1' c2 c2' i j; intro_implies (seq_seq_match p c1' c2' i j) (seq_seq_match p c1 c2 i j) emp (fun _ -> seq_seq_match_weaken p p (fun _ _ -> noop ()) c1' c1 c2' c2 i j)
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.size_key
val size_key:size_nat
val size_key:size_nat
let size_key : size_nat = 32
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 15, "start_col": 0, "start_line": 15 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat{n <= Prims.pow2 32 - 1}
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
false
false
let size_key:size_nat =
32
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.size_block
val size_block:size_nat
val size_block:size_nat
let size_block : size_nat = Poly.size_block
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 17, "start_col": 0, "start_line": 17 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *)
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat{n <= Prims.pow2 32 - 1}
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.size_block" ]
[]
false
false
false
false
false
let size_block:size_nat =
Poly.size_block
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.size_nonce
val size_nonce:size_nat
val size_nonce:size_nat
let size_nonce : size_nat = 12
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 16, "start_col": 0, "start_line": 16 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat{n <= Prims.pow2 32 - 1}
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
false
false
let size_nonce:size_nat =
12
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.size_tag
val size_tag:size_nat
val size_tag:size_nat
let size_tag : size_nat = size_block
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 18, "start_col": 0, "start_line": 18 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat{n <= Prims.pow2 32 - 1}
Prims.Tot
[ "total" ]
[]
[ "Spec.Chacha20Poly1305.size_block" ]
[]
false
false
false
false
false
let size_tag:size_nat =
size_block
false
Hacl.Impl.Chacha20Poly1305.fst
Hacl.Impl.Chacha20Poly1305.width_chacha20
val width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes
val width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes
let width_chacha20 (s:field_spec) : Hacl.Spec.Chacha20.Vec.lanes = match s with | M32 -> 1 | M128 -> 4 | M256 -> 8
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 111, "start_col": 0, "start_line": 107 }
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "L...
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Poly1305.Fields.field_spec -> Hacl.Spec.Chacha20.Vec.lanes
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Hacl.Spec.Chacha20.Vec.lanes" ]
[]
false
false
false
true
false
let width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes =
match s with | M32 -> 1 | M128 -> 4 | M256 -> 8
false
Hacl.Impl.Chacha20Poly1305.fst
Hacl.Impl.Chacha20Poly1305.poly1305_do_core_st
val poly1305_do_core_st : w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
let poly1305_do_core_st (w:field_spec) = k:lbuffer uint8 32ul // key -> aadlen:size_t -> aad:lbuffer uint8 aadlen // authenticated additional data -> mlen:size_t -> m:lbuffer uint8 mlen // plaintext -> out:lbuffer uint8 16ul -> // output: tag Stack unit (requires fun h -> live h k /\ live h aad /\...
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 91, "start_col": 0, "start_line": 78 }
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "L...
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer...
[]
false
false
false
true
true
let poly1305_do_core_st (w: field_spec) =
k: lbuffer uint8 32ul -> aadlen: size_t -> aad: lbuffer uint8 aadlen -> mlen: size_t -> m: lbuffer uint8 mlen -> out: lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ live h aad /\ live h m /\ live h out /\ disjoint k out) (ensures fun h0 _ h1 -> m...
false
L0Types.fst
L0Types.x509_version_t
val x509_version_t : Type0
val x509_version_t : Type0
let x509_version_t : Type0 = UInt32.t
{ "file_name": "share/steel/examples/pulse/dice/l0/L0Types.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 20, "start_col": 0, "start_line": 20 }
(* 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": [ "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "L0Types.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "HACL", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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.UInt32.t" ]
[]
false
false
false
true
true
let x509_version_t:Type0 =
UInt32.t
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.poly1305_padded
val poly1305_padded: r_elem:Poly.felem -> text:bytes -> acc:Poly.felem -> Tot Poly.felem
val poly1305_padded: r_elem:Poly.felem -> text:bytes -> acc:Poly.felem -> Tot Poly.felem
let poly1305_padded r_elem text acc = let len = length text in let n = len / Poly.size_block in let r = len % Poly.size_block in let blocks = Seq.slice text 0 (n * Poly.size_block) in let rem = Seq.slice text (n * Poly.size_block) len in let acc = Poly.poly1305_update blocks acc r_elem in let tmp = creat...
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 45, "start_col": 0, "start_line": 33 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r_elem: Spec.Poly1305.felem -> text: Lib.ByteSequence.bytes -> acc: Spec.Poly1305.felem -> Spec.Poly1305.felem
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.felem", "Lib.ByteSequence.bytes", "Prims.op_GreaterThan", "Spec.Poly1305.poly1305_update1", "Spec.Poly1305.size_block", "Prims.bool", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.l_and", "Prims.eq2", "Lib.Sequence.sub", "Prims.l_Fo...
[]
false
false
false
true
false
let poly1305_padded r_elem text acc =
let len = length text in let n = len / Poly.size_block in let r = len % Poly.size_block in let blocks = Seq.slice text 0 (n * Poly.size_block) in let rem = Seq.slice text (n * Poly.size_block) len in let acc = Poly.poly1305_update blocks acc r_elem in let tmp = create Poly.size_block (u8 0) in let tmp = update_sub tmp ...
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.poly1305_do
val poly1305_do: k:Poly.key -> m:bytes{length m <= maxint U64} -> aad:bytes{length aad <= maxint U64} -> Tot Poly.tag
val poly1305_do: k:Poly.key -> m:bytes{length m <= maxint U64} -> aad:bytes{length aad <= maxint U64} -> Tot Poly.tag
let poly1305_do k m aad = let acc, r = Poly.poly1305_init k in let acc = if (length aad <> 0) then poly1305_padded r aad acc else acc in let acc = if (length m <> 0) then poly1305_padded r m acc else acc in let aad_len8 = uint_to_bytes_le #U64 (u64 (length aad)) in let ciphertext_len8 = uint_to_bytes_le #U64 ...
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 60, "start_col": 0, "start_line": 52 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.Poly1305.key -> m: Lib.ByteSequence.bytes{Lib.Sequence.length m <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> aad: Lib.ByteSequence.bytes{Lib.Sequence.length aad <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> Spec.Poly1305.tag
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.key", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.maxint", "Lib.IntTypes.U64", "Spec.Poly1305.felem", "Spec.Poly1305.poly1305_finish", "Spec.Poly1305.poly1...
[]
false
false
false
false
false
let poly1305_do k m aad =
let acc, r = Poly.poly1305_init k in let acc = if (length aad <> 0) then poly1305_padded r aad acc else acc in let acc = if (length m <> 0) then poly1305_padded r m acc else acc in let aad_len8 = uint_to_bytes_le #U64 (u64 (length aad)) in let ciphertext_len8 = uint_to_bytes_le #U64 (u64 (length m)) in let block = aad_...
false
FStar.DM4F.Heap.IntStoreFixed.fst
FStar.DM4F.Heap.IntStoreFixed.to_id
val to_id (n:nat{n < store_size}) : id
val to_id (n:nat{n < store_size}) : id
let to_id n = n
{ "file_name": "examples/dm4free/FStar.DM4F.Heap.IntStoreFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 15, "end_line": 23, "start_col": 0, "start_line": 23 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "FStar.DM4F.Heap.IntStoreFixed.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat{n < FStar.DM4F.Heap.IntStoreFixed.store_size} -> FStar.DM4F.Heap.IntStoreFixed.id
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.DM4F.Heap.IntStoreFixed.store_size", "FStar.DM4F.Heap.IntStoreFixed.id" ]
[]
false
false
false
false
false
let to_id n =
n
false
L0Types.fst
L0Types.deviceIDCRI_t
val deviceIDCRI_t : Type0
val deviceIDCRI_t : Type0
let deviceIDCRI_t : Type0 = UInt32.t
{ "file_name": "share/steel/examples/pulse/dice/l0/L0Types.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 24, "start_col": 0, "start_line": 24 }
(* 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": [ "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "L0Types.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "HACL", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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.UInt32.t" ]
[]
false
false
false
true
true
let deviceIDCRI_t:Type0 =
UInt32.t
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.aead_encrypt
val aead_encrypt: k:key -> n:nonce -> m:bytes{length m <= max_size_t} -> aad:bytes{length aad <= maxint U64} -> Tot (res:bytes{length res == length m + Poly.size_block})
val aead_encrypt: k:key -> n:nonce -> m:bytes{length m <= max_size_t} -> aad:bytes{length aad <= maxint U64} -> Tot (res:bytes{length res == length m + Poly.size_block})
let aead_encrypt k n m aad = let cipher = Spec.Chacha20.chacha20_encrypt_bytes k n 1 m in let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let mac = poly1305_do poly_k cipher aad in Seq.append cipher mac
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 73, "start_col": 0, "start_line": 68 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.Chacha20Poly1305.key -> n: Spec.Chacha20Poly1305.nonce -> m: Lib.ByteSequence.bytes{Lib.Sequence.length m <= Lib.IntTypes.max_size_t} -> aad: Lib.ByteSequence.bytes{Lib.Sequence.length aad <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> res: Lib.ByteSequence.bytes {Lib.Sequence.length r...
Prims.Tot
[ "total" ]
[]
[ "Spec.Chacha20Poly1305.key", "Spec.Chacha20Poly1305.nonce", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U64", "FStar.Seq...
[]
false
false
false
false
false
let aead_encrypt k n m aad =
let cipher = Spec.Chacha20.chacha20_encrypt_bytes k n 1 m in let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let mac = poly1305_do poly_k cipher aad in Seq.append cipher mac
false
Spec.Chacha20Poly1305.fst
Spec.Chacha20Poly1305.aead_decrypt
val aead_decrypt: k:key -> n:nonce -> c:bytes{length c <= max_size_t} -> mac:tag -> aad:bytes{length aad <= maxint U64} -> Tot (option (lbytes (length c)))
val aead_decrypt: k:key -> n:nonce -> c:bytes{length c <= max_size_t} -> mac:tag -> aad:bytes{length aad <= maxint U64} -> Tot (option (lbytes (length c)))
let aead_decrypt k n cipher mac aad = let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let computed_mac = poly1305_do poly_k cipher aad in if lbytes_eq computed_mac mac then let plain = Spec.Chacha20.chacha20_encrypt_bytes k n 1 cipher in ...
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 89, "start_col": 0, "start_line": 82 }
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul....
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.Chacha20Poly1305.key -> n: Spec.Chacha20Poly1305.nonce -> c: Lib.ByteSequence.bytes{Lib.Sequence.length c <= Lib.IntTypes.max_size_t} -> mac: Spec.Chacha20Poly1305.tag -> aad: Lib.ByteSequence.bytes{Lib.Sequence.length aad <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> FStar.Pervasives.Nativ...
Prims.Tot
[ "total" ]
[]
[ "Spec.Chacha20Poly1305.key", "Spec.Chacha20Poly1305.nonce", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.max_size_t", "Spec.Chacha20Poly1305.tag", "Lib.IntTypes.maxint", "...
[]
false
false
false
false
false
let aead_decrypt k n cipher mac aad =
let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let computed_mac = poly1305_do poly_k cipher aad in if lbytes_eq computed_mac mac then let plain = Spec.Chacha20.chacha20_encrypt_bytes k n 1 cipher in Some plain else None
false
L0Types.fst
L0Types.deviceIDCSR_t
val deviceIDCSR_t : Type0
val deviceIDCSR_t : Type0
let deviceIDCSR_t : Type0 = UInt32.t
{ "file_name": "share/steel/examples/pulse/dice/l0/L0Types.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 26, "start_col": 0, "start_line": 26 }
(* 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": [ "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "L0Types.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "HACL", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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.UInt32.t" ]
[]
false
false
false
true
true
let deviceIDCSR_t:Type0 =
UInt32.t
false
L0Types.fst
L0Types.x509_serialNumber_t
val x509_serialNumber_t : Type0
val x509_serialNumber_t : Type0
let x509_serialNumber_t : Type0 = UInt32.t
{ "file_name": "share/steel/examples/pulse/dice/l0/L0Types.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 22, "start_col": 0, "start_line": 22 }
(* 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": [ "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "L0Types.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "HACL", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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.UInt32.t" ]
[]
false
false
false
true
true
let x509_serialNumber_t:Type0 =
UInt32.t
false
FStar.DM4F.Heap.IntStoreFixed.fst
FStar.DM4F.Heap.IntStoreFixed.id
val id : eqtype
val id : eqtype
let id = i:nat{i < store_size}
{ "file_name": "examples/dm4free/FStar.DM4F.Heap.IntStoreFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 20, "start_col": 0, "start_line": 20 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "FStar.DM4F.Heap.IntStoreFixed.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.DM4F.Heap.IntStoreFixed.store_size" ]
[]
false
false
false
true
false
let id =
i: nat{i < store_size}
false
FStar.DM4F.Heap.IntStoreFixed.fst
FStar.DM4F.Heap.IntStoreFixed.heap
val heap : eqtype
val heap : eqtype
let heap = h:seq int{length h == store_size}
{ "file_name": "examples/dm4free/FStar.DM4F.Heap.IntStoreFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 21, "start_col": 0, "start_line": 21 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "FStar.DM4F.Heap.IntStoreFixed.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "Prims.int", "Prims.eq2", "FStar.Seq.Base.length", "FStar.DM4F.Heap.IntStoreFixed.store_size" ]
[]
false
false
false
true
false
let heap =
h: seq int {length h == store_size}
false
L0Types.fst
L0Types.aliasKeyTBS_t
val aliasKeyTBS_t : Type0
val aliasKeyTBS_t : Type0
let aliasKeyTBS_t : Type0 = UInt32.t
{ "file_name": "share/steel/examples/pulse/dice/l0/L0Types.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 28, "start_col": 0, "start_line": 28 }
(* 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": [ "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "L0Types.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "HACL", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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.UInt32.t" ]
[]
false
false
false
true
true
let aliasKeyTBS_t:Type0 =
UInt32.t
false
FStar.HyperStack.All.fst
FStar.HyperStack.All.all_post'
val all_post' : a: Type -> pre: Type -> Type
let all_post' (a:Type) (pre:Type) = all_post_h' HyperStack.mem a pre
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 20, "start_col": 0, "start_line": 20 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Type -> pre: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_post_h'", "FStar.Monotonic.HyperStack.mem" ]
[]
false
false
false
true
true
let all_post' (a pre: Type) =
all_post_h' HyperStack.mem a pre
false