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
LowParse.Low.DepLen.fst
LowParse.Low.DepLen.validate_deplen
val validate_deplen (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (#hp: parser hk ht) (hv: validator hp) (dlf: (ht -> Tot (bounded_int32 min max))) (dlfc: deplen_func min max hp dlf) (#pk: parser_kind) (#pt: Type) (...
val validate_deplen (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (#hp: parser hk ht) (hv: validator hp) (dlf: (ht -> Tot (bounded_int32 min max))) (dlfc: deplen_func min max hp dlf) (#pk: parser_kind) (#pt: Type) (...
let validate_deplen (min: nat) (max: nat { min <= max /\ max < 4294967296 }) (#hk: parser_kind) (#ht: Type) (#hp: parser hk ht) (hv: validator hp) (dlf: ht -> Tot (bounded_int32 min max)) (dlfc: deplen_func min max hp dlf) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) ...
{ "file_name": "src/lowparse/LowParse.Low.DepLen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 33, "end_line": 202, "start_col": 0, "start_line": 163 }
module LowParse.Low.DepLen include LowParse.Spec.DepLen include LowParse.Low.Base include LowParse.Low.Combinators module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_exact_valid_p...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.DepLen.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervas...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> hv: LowParse.Low.Base.validator hp -> dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) -> dlfc: LowParse.Low.DepLen.deplen_func min max hp dlf -> ps: LowParse.Spec.Base.serializer pp -> pv: LowParse.Low.Base.v...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Low.DepLen.deplen_func", "LowParse.Spec.Base.serializer", ...
[]
false
false
false
false
false
let validate_deplen (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (#hp: parser hk ht) (hv: validator hp) (dlf: (ht -> Tot (bounded_int32 min max))) (dlfc: deplen_func min max hp dlf) (#pk: parser_kind) (#pt: Type) (...
fun #rrel #rel (input: slice rrel rel) pos -> let h = HST.get () in let _ = valid_deplen min max hp dlf ps input (uint64_to_uint32 pos) h in let pos_payload = hv input pos in if is_error pos_payload then pos_payload else let payload_len = dlfc input (uint64_to_uint32 pos) in if ((Cast.uint32_t...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.normal
val normal : x: a -> a
let normal (#a:Type) (x:a) = norm normal_steps x
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 120, "start_col": 0, "start_line": 120 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.norm", "Steel.Effect.Common.normal_steps" ]
[]
false
false
false
true
false
let normal (#a: Type) (x: a) =
norm normal_steps x
false
Steel.Effect.Common.fsti
Steel.Effect.Common.normal_steps
val normal_steps : Prims.list FStar.Pervasives.norm_step
let normal_steps = [delta_attr [`%__steel_reduce__; `%__inner_steel_reduce__]; delta_only [`%Mkvprop'?.t; `%Mkvprop'?.hp; `%Mkvprop'?.sel; `%FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult; `%FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit]; delta_qualifier ["unfold"]; iota;zeta;p...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 115, "start_col": 0, "start_line": 109 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list FStar.Pervasives.norm_step
Prims.Tot
[ "total" ]
[]
[ "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_attr", "Prims.string", "Prims.Nil", "FStar.Pervasives.delta_only", "FStar.Pervasives.delta_qualifier", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.primops", "FStar.Pervasives.simplify" ]
[]
false
false
false
true
false
let normal_steps =
[ delta_attr [`%__steel_reduce__; `%__inner_steel_reduce__]; delta_only [ `%Mkvprop'?.t; `%Mkvprop'?.hp; `%Mkvprop'?.sel; `%FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult; `%FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit ]; delta_qualifier ["unfold"]; iota; zeta...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.star
val star : _0: Steel.Effect.Common.vprop -> _1: Steel.Effect.Common.vprop -> Steel.Effect.Common.vprop
let star = VStar
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 124, "start_col": 0, "start_line": 124 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_0: Steel.Effect.Common.vprop -> _1: Steel.Effect.Common.vprop -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.VStar" ]
[]
false
false
false
true
false
let star =
VStar
false
Steel.Effect.Common.fsti
Steel.Effect.Common.to_vprop
val to_vprop : p: Steel.Memory.slprop -> Steel.Effect.Common.vprop
let to_vprop (p:slprop) = VUnit (to_vprop' p)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 45, "end_line": 103, "start_col": 0, "start_line": 103 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Memory.slprop -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Memory.slprop", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.to_vprop'", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let to_vprop (p: slprop) =
VUnit (to_vprop' p)
false
LowParse.Low.DepLen.fst
LowParse.Low.DepLen.valid_deplen
val valid_deplen (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: (ht -> Tot (bounded_int32 min max))) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) (#rrel #rel: _) ...
val valid_deplen (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: (ht -> Tot (bounded_int32 min max))) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) (#rrel #rel: _) ...
let valid_deplen (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: ht -> Tot (bounded_int32 min max) ) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) #rrel #rel (input: slice rrel rel) (pos: U32.t) (h: HS...
{ "file_name": "src/lowparse/LowParse.Low.DepLen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 99, "start_col": 0, "start_line": 62 }
module LowParse.Low.DepLen include LowParse.Spec.DepLen include LowParse.Low.Base include LowParse.Low.Combinators module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_exact_valid_p...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.DepLen.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervas...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> hp: LowParse.Spec.Base.parser hk ht -> dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) -> ps: LowParse.Spec.Base.serializer pp -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> h: FStar.Mo...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slic...
[]
false
false
true
false
false
let valid_deplen (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: (ht -> Tot (bounded_int32 min max))) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) #rrel #rel ...
valid_facts (parse_deplen min max hp dlf ps) h input pos; valid_facts hp h input pos; parse_deplen_unfold2 min max hp dlf ps (bytes_of_slice_from h input pos); if valid_dec hp h input pos then let pos_payload = get_valid_pos hp h input pos in let len = dlf (contents hp h input pos) in if U32.v pos_payload + U32.v...
false
LowParse.Low.DepLen.fst
LowParse.Low.DepLen.valid_deplen_len
val valid_deplen_len (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: (ht -> Tot (bounded_int32 min max))) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) (#rrel #rel: _)...
val valid_deplen_len (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: (ht -> Tot (bounded_int32 min max))) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) (#rrel #rel: _)...
let valid_deplen_len (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: ht -> Tot (bounded_int32 min max) ) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) #rrel #rel (input: slice rrel rel) (pos: U32.t) (h...
{ "file_name": "src/lowparse/LowParse.Low.DepLen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 141, "start_col": 0, "start_line": 101 }
module LowParse.Low.DepLen include LowParse.Spec.DepLen include LowParse.Low.Base include LowParse.Low.Combinators module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_exact_valid_p...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.DepLen.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervas...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> hp: LowParse.Spec.Base.parser hk ht -> dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) -> ps: LowParse.Spec.Base.serializer pp -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> h: FStar.Mo...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slic...
[]
false
false
true
false
false
let valid_deplen_len (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#hk: parser_kind) (#ht: Type) (hp: parser hk ht) (dlf: (ht -> Tot (bounded_int32 min max))) (#pk: parser_kind) (#pt: Type) (#pp: parser pk pt) (ps: serializer pp) #rrel #re...
valid_facts (parse_deplen min max hp dlf ps) h input pos; valid_facts hp h input pos; parse_deplen_unfold2 min max hp dlf ps (bytes_of_slice_from h input pos); if valid_dec hp h input pos then let pos_payload = get_valid_pos hp h input pos in let len = dlf (contents hp h input pos) in if U32.v pos_payload + U32.v...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.return_pre
val return_pre (p: vprop) : vprop
val return_pre (p: vprop) : vprop
let return_pre (p:vprop) : vprop = p
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 154, "start_col": 0, "start_line": 154 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Effect.Common.vprop -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let return_pre (p: vprop) : vprop =
p
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_forall
val can_be_split_forall : p: Steel.Effect.Common.post_t a -> q: Steel.Effect.Common.post_t a -> Prims.logical
let can_be_split_forall (#a:Type) (p q:post_t a) = forall x. can_be_split (p x) (q x)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 85, "end_line": 173, "start_col": 0, "start_line": 173 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.post_t a -> q: Steel.Effect.Common.post_t a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.post_t", "Prims.l_Forall", "Steel.Effect.Common.can_be_split", "Prims.logical" ]
[]
false
false
false
true
true
let can_be_split_forall (#a: Type) (p q: post_t a) =
forall x. can_be_split (p x) (q x)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_dep
val can_be_split_dep : p: Prims.prop -> t1: Steel.Effect.Common.pre_t -> t2: Steel.Effect.Common.pre_t -> Prims.logical
let can_be_split_dep (p:prop) (t1 t2:pre_t) = p ==> can_be_split t1 t2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 70, "end_line": 176, "start_col": 0, "start_line": 176 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Prims.prop -> t1: Steel.Effect.Common.pre_t -> t2: Steel.Effect.Common.pre_t -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.prop", "Steel.Effect.Common.pre_t", "Prims.l_imp", "Steel.Effect.Common.can_be_split", "Prims.logical" ]
[]
false
false
false
true
true
let can_be_split_dep (p: prop) (t1 t2: pre_t) =
p ==> can_be_split t1 t2
false
Steel.Effect.Common.fsti
Steel.Effect.Common.hmem
val hmem : p: Steel.Effect.Common.vprop -> Type
let hmem (p:vprop) = hmem (hp_of p)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 157, "start_col": 0, "start_line": 157 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Effect.Common.vprop -> Type
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Memory.hmem", "Steel.Effect.Common.hp_of" ]
[]
false
false
false
true
true
let hmem (p: vprop) =
hmem (hp_of p)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_forall_dep
val can_be_split_forall_dep : p: (_: a -> Prims.prop) -> t1: Steel.Effect.Common.post_t a -> t2: Steel.Effect.Common.post_t a -> Prims.logical
let can_be_split_forall_dep (#a:Type) (p:a -> prop) (t1 t2:post_t a) = forall (x:a). p x ==> can_be_split (t1 x) (t2 x)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 180, "start_col": 0, "start_line": 179 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: (_: a -> Prims.prop) -> t1: Steel.Effect.Common.post_t a -> t2: Steel.Effect.Common.post_t a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.prop", "Steel.Effect.Common.post_t", "Prims.l_Forall", "Prims.l_imp", "Steel.Effect.Common.can_be_split", "Prims.logical" ]
[]
false
false
false
true
true
let can_be_split_forall_dep (#a: Type) (p: (a -> prop)) (t1 t2: post_t a) =
forall (x: a). p x ==> can_be_split (t1 x) (t2 x)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.sel_depends_only_on_core
val sel_depends_only_on_core : sel: Steel.Effect.Common.selector' a hp -> Prims.logical
let sel_depends_only_on_core (#a:Type) (#hp:slprop) (sel:selector' a hp) = forall (m0:hmem hp). sel m0 == sel (core_mem m0)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 72, "start_col": 0, "start_line": 71 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
sel: Steel.Effect.Common.selector' a hp -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Steel.Memory.slprop", "Steel.Effect.Common.selector'", "Prims.l_Forall", "Steel.Memory.hmem", "Prims.eq2", "Steel.Memory.core_mem", "Prims.logical" ]
[]
false
false
false
false
true
let sel_depends_only_on_core (#a: Type) (#hp: slprop) (sel: selector' a hp) =
forall (m0: hmem hp). sel m0 == sel (core_mem m0)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.equiv_forall
val equiv_forall (#a: Type) (t1 t2: post_t a) : Type0
val equiv_forall (#a: Type) (t1 t2: post_t a) : Type0
let equiv_forall (#a:Type) (t1 t2:post_t a) : Type0 = t1 `can_be_split_forall` t2 /\ t2 `can_be_split_forall` t1
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 258, "start_col": 0, "start_line": 257 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t1: Steel.Effect.Common.post_t a -> t2: Steel.Effect.Common.post_t a -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.post_t", "Prims.l_and", "Steel.Effect.Common.can_be_split_forall" ]
[]
false
false
false
true
true
let equiv_forall (#a: Type) (t1 t2: post_t a) : Type0 =
t1 `can_be_split_forall` t2 /\ t2 `can_be_split_forall` t1
false
Steel.Effect.Common.fsti
Steel.Effect.Common.prop_and
val prop_and (p1 p2: prop) : Tot prop
val prop_and (p1 p2: prop) : Tot prop
let prop_and (p1 p2: prop) : Tot prop = p1 /\ p2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 223, "start_col": 0, "start_line": 223 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Prims.prop -> p2: Prims.prop -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.prop", "Prims.l_and" ]
[]
false
false
false
true
true
let prop_and (p1 p2: prop) : Tot prop =
p1 /\ p2
false
Steel.Effect.Common.fsti
Steel.Effect.Common.join_preserves_interp
val join_preserves_interp (hp: slprop) (m0: hmem hp) (m1: mem{disjoint m0 m1}) : Lemma (interp hp (join m0 m1)) [SMTPat (interp hp (join m0 m1))]
val join_preserves_interp (hp: slprop) (m0: hmem hp) (m1: mem{disjoint m0 m1}) : Lemma (interp hp (join m0 m1)) [SMTPat (interp hp (join m0 m1))]
let join_preserves_interp (hp:slprop) (m0:hmem hp) (m1:mem{disjoint m0 m1}) : Lemma (interp hp (join m0 m1)) [SMTPat (interp hp (join m0 m1))] = let open Steel.Memory in intro_emp m1; intro_star hp emp m0 m1; affine_star hp emp (join m0 m1)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 53, "start_col": 0, "start_line": 46 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
hp: Steel.Memory.slprop -> m0: Steel.Memory.hmem hp -> m1: Steel.Memory.mem{Steel.Memory.disjoint m0 m1} -> FStar.Pervasives.Lemma (ensures Steel.Memory.interp hp (Steel.Memory.join m0 m1)) [SMTPat (Steel.Memory.interp hp (Steel.Memory.join m0 m1))]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.Memory.slprop", "Steel.Memory.hmem", "Steel.Memory.mem", "Steel.Memory.disjoint", "Steel.Memory.affine_star", "Steel.Memory.emp", "Steel.Memory.join", "Prims.unit", "Steel.Memory.intro_star", "Steel.Memory.intro_emp", "Prims.l_True", "Prims.squash", "Steel.Memory.interp", "Prims.Con...
[]
true
false
true
false
false
let join_preserves_interp (hp: slprop) (m0: hmem hp) (m1: mem{disjoint m0 m1}) : Lemma (interp hp (join m0 m1)) [SMTPat (interp hp (join m0 m1))] =
let open Steel.Memory in intro_emp m1; intro_star hp emp m0 m1; affine_star hp emp (join m0 m1)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.rmem'
val rmem' : pre: Steel.Effect.Common.vprop -> Type
let rmem' (pre:vprop) = FExt.restricted_g_t (r0:vprop{can_be_split pre r0}) (fun r0 -> normal (t_of r0))
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 279, "start_col": 0, "start_line": 276 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pre: Steel.Effect.Common.vprop -> Type
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "FStar.FunctionalExtensionality.restricted_g_t", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of" ]
[]
false
false
false
true
true
let rmem' (pre: vprop) =
FExt.restricted_g_t (r0: vprop{can_be_split pre r0}) (fun r0 -> normal (t_of r0))
false
Steel.Effect.Common.fsti
Steel.Effect.Common.rmem
val rmem : pre: Steel.Effect.Common.vprop -> Type
let rmem (pre:vprop) = h:rmem' pre{valid_rmem h}
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 285, "start_col": 0, "start_line": 285 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pre: Steel.Effect.Common.vprop -> Type
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem'", "Steel.Effect.Common.valid_rmem" ]
[]
false
false
false
true
true
let rmem (pre: vprop) =
h: rmem' pre {valid_rmem h}
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_post
val can_be_split_post : t1: (_: a -> Steel.Effect.Common.post_t b) -> t2: Steel.Effect.Common.post_t b -> Prims.logical
let can_be_split_post (#a #b:Type) (t1:a -> post_t b) (t2:post_t b) = forall (x:a). equiv_forall (t1 x) t2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 264, "start_col": 0, "start_line": 263 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t1: (_: a -> Steel.Effect.Common.post_t b) -> t2: Steel.Effect.Common.post_t b -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.post_t", "Prims.l_Forall", "Steel.Effect.Common.equiv_forall", "Prims.logical" ]
[]
false
false
false
true
true
let can_be_split_post (#a #b: Type) (t1: (a -> post_t b)) (t2: post_t b) =
forall (x: a). equiv_forall (t1 x) t2
false
Steel.Effect.Common.fsti
Steel.Effect.Common.maybe_emp_dep
val maybe_emp_dep : framed: Prims.bool -> frame: Steel.Effect.Common.post_t a -> Prims.logical
let maybe_emp_dep (#a:Type) (framed:bool) (frame:post_t a) = if framed then (forall x. frame x == emp) else True
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 53, "end_line": 333, "start_col": 0, "start_line": 332 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
framed: Prims.bool -> frame: Steel.Effect.Common.post_t a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Steel.Effect.Common.post_t", "Prims.l_Forall", "Prims.eq2", "Steel.Effect.Common.vprop", "Steel.Effect.Common.emp", "Prims.l_True", "Prims.logical" ]
[]
false
false
false
true
true
let maybe_emp_dep (#a: Type) (framed: bool) (frame: post_t a) =
if framed then (forall x. frame x == emp) else True
false
Steel.Effect.Common.fsti
Steel.Effect.Common.sel_depends_only_on
val sel_depends_only_on : sel: Steel.Effect.Common.selector' a hp -> Prims.logical
let sel_depends_only_on (#a:Type) (#hp:slprop) (sel:selector' a hp) = forall (m0:hmem hp) (m1:mem{disjoint m0 m1}). (interp_depends_only_on hp; ( sel m0 == sel (join m0 m1)))
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 67, "start_col": 0, "start_line": 64 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
sel: Steel.Effect.Common.selector' a hp -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Steel.Memory.slprop", "Steel.Effect.Common.selector'", "Prims.l_Forall", "Steel.Memory.hmem", "Steel.Memory.mem", "Steel.Memory.disjoint", "Prims.eq2", "Steel.Memory.join", "Prims.unit", "Steel.Memory.interp_depends_only_on", "Prims.logical" ]
[]
false
false
false
false
true
let sel_depends_only_on (#a: Type) (#hp: slprop) (sel: selector' a hp) =
forall (m0: hmem hp) (m1: mem{disjoint m0 m1}). (interp_depends_only_on hp; (sel m0 == sel (join m0 m1)))
false
Steel.Effect.Common.fsti
Steel.Effect.Common.maybe_emp
val maybe_emp : framed: Prims.bool -> frame: Steel.Effect.Common.pre_t -> Prims.logical
let maybe_emp (framed:bool) (frame:pre_t) = if framed then frame == emp else True
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 81, "end_line": 330, "start_col": 0, "start_line": 330 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
framed: Prims.bool -> frame: Steel.Effect.Common.pre_t -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Steel.Effect.Common.pre_t", "Prims.eq2", "Steel.Effect.Common.vprop", "Steel.Effect.Common.emp", "Prims.l_True", "Prims.logical" ]
[]
false
false
false
true
true
let maybe_emp (framed: bool) (frame: pre_t) =
if framed then frame == emp else True
false
Steel.Effect.Common.fsti
Steel.Effect.Common.pure
val pure : p: Prims.prop -> Steel.Effect.Common.vprop
let pure (p:prop) = to_vprop (pure p)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 326, "start_col": 7, "start_line": 326 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Prims.prop -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Prims.prop", "Steel.Effect.Common.to_vprop", "Steel.Memory.pure", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pure (p: prop) =
to_vprop (pure p)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.focus_rmem'
val focus_rmem' (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem' r0)
val focus_rmem' (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem' r0)
let focus_rmem' (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem' r0) = FExt.on_dom_g (r':vprop{can_be_split r0 r'}) (unrestricted_focus_rmem h r0)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 348, "start_col": 0, "start_line": 345 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Steel.Effect.Common.rmem r -> r0: Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r r0} -> Steel.Effect.Common.rmem' r0
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "Steel.Effect.Common.can_be_split", "FStar.FunctionalExtensionality.on_dom_g", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of", "Steel.Effect.Common.unrestricted_focus_rmem", "Steel.Effect.Common.rmem'" ]
[]
false
false
false
false
false
let focus_rmem' (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem' r0) =
FExt.on_dom_g (r': vprop{can_be_split r0 r'}) (unrestricted_focus_rmem h r0)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.frame_equalities
val frame_equalities (frame: vprop) (h0 h1: rmem frame) : prop
val frame_equalities (frame: vprop) (h0 h1: rmem frame) : prop
let frame_equalities (frame:vprop) (h0:rmem frame) (h1:rmem frame) : prop = rewrite_with_tactic frame_vc_norm (frame_equalities' frame h0 h1)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 69, "end_line": 463, "start_col": 0, "start_line": 460 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "a...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
frame: Steel.Effect.Common.vprop -> h0: Steel.Effect.Common.rmem frame -> h1: Steel.Effect.Common.rmem frame -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "FStar.Tactics.Effect.rewrite_with_tactic", "Steel.Effect.Common.frame_vc_norm", "Steel.Effect.Common.frame_equalities'", "Prims.prop" ]
[]
false
false
false
false
true
let frame_equalities (frame: vprop) (h0 h1: rmem frame) : prop =
rewrite_with_tactic frame_vc_norm (frame_equalities' frame h0 h1)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.frame_vc_norm
val frame_vc_norm: Prims.unit -> Tac unit
val frame_vc_norm: Prims.unit -> Tac unit
let frame_vc_norm () : Tac unit = with_compat_pre_core 0 (fun _ -> // Do not normalize mk_rmem/focus_rmem to simplify application of // the reflexivity lemma on frame_equalities' norm [delta_attr [`%__steel_reduce__]; delta_only [`%Mkvprop'?.t; `%Mkvprop'?.hp; `%Mkvprop'?.sel; `%FStar.Algebra.CommMonoid...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 11, "end_line": 456, "start_col": 0, "start_line": 417 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "a...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Stubs.Tactics.V2.Builtins.with_compat_pre_core", "FStar.Tactics.V2.Derived.trefl", "FStar.Stubs.Tactics.V2.Builtins.norm", "Steel.Effect.Common.normal_steps", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.dismiss", "FStar.Tactics.V2.Derived.apply_lemma", "FStar.P...
[]
false
true
false
false
false
let frame_vc_norm () : Tac unit =
with_compat_pre_core 0 (fun _ -> norm [ delta_attr [`%__steel_reduce__]; delta_only [ `%Mkvprop'?.t; `%Mkvprop'?.hp; `%Mkvprop'?.sel; `%FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult; `%FStar.Algebra.CommMonoid.Equi...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.req
val req:CE.equiv vprop
val req:CE.equiv vprop
let req : CE.equiv vprop = CE.EQ equiv equiv_refl equiv_sym equiv_trans
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 511, "start_col": 32, "start_line": 507 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.Algebra.CommMonoid.Equiv.equiv Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.EQ", "Steel.Effect.Common.vprop", "Steel.Effect.Common.equiv", "Steel.Effect.Common.equiv_refl", "Steel.Effect.Common.equiv_sym", "Steel.Effect.Common.equiv_trans" ]
[]
false
false
false
true
false
let req:CE.equiv vprop =
CE.EQ equiv equiv_refl equiv_sym equiv_trans
false
Steel.Effect.Common.fsti
Steel.Effect.Common.hp_of
val hp_of : p: Steel.Effect.Common.vprop -> Steel.Memory.slprop
let rec hp_of (p:vprop) = match p with | VUnit p -> p.hp | VStar p1 p2 -> hp_of p1 `Mem.star` hp_of p2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 47, "end_line": 130, "start_col": 0, "start_line": 128 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Effect.Common.vprop -> Steel.Memory.slprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.vprop'", "Steel.Effect.Common.__proj__Mkvprop'__item__hp", "Steel.Memory.star", "Steel.Effect.Common.hp_of", "Steel.Memory.slprop" ]
[ "recursion" ]
false
false
false
true
false
let rec hp_of (p: vprop) =
match p with | VUnit p -> p.hp | VStar p1 p2 -> (hp_of p1) `Mem.star` (hp_of p2)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_trans_rev
val can_be_split_trans_rev (p q r: vprop) : Lemma (requires q `can_be_split` r /\ p `can_be_split` q) (ensures p `can_be_split` r)
val can_be_split_trans_rev (p q r: vprop) : Lemma (requires q `can_be_split` r /\ p `can_be_split` q) (ensures p `can_be_split` r)
let can_be_split_trans_rev (p q r:vprop) : Lemma (requires q `can_be_split` r /\ p `can_be_split` q) (ensures p `can_be_split` r) = can_be_split_trans p q r
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 26, "end_line": 194, "start_col": 0, "start_line": 190 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> q: Steel.Effect.Common.vprop -> r: Steel.Effect.Common.vprop -> FStar.Pervasives.Lemma (requires Steel.Effect.Common.can_be_split q r /\ Steel.Effect.Common.can_be_split p q) (ensures Steel.Effect.Common.can_be_split p r)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.can_be_split_trans", "Prims.unit", "Prims.l_and", "Steel.Effect.Common.can_be_split", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
true
false
true
false
false
let can_be_split_trans_rev (p q r: vprop) : Lemma (requires q `can_be_split` r /\ p `can_be_split` q) (ensures p `can_be_split` r) =
can_be_split_trans p q r
false
Steel.Effect.Common.fsti
Steel.Effect.Common.vrefine
val vrefine : v: Steel.Effect.Common.vprop -> p: (_: Steel.Effect.Common.normal (Steel.Effect.Common.t_of v) -> Prims.prop) -> Steel.Effect.Common.vprop
let vrefine (v: vprop) (p: (normal (t_of v) -> Tot prop)) = VUnit (vrefine' v p)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 80, "end_line": 576, "start_col": 0, "start_line": 576 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> p: (_: Steel.Effect.Common.normal (Steel.Effect.Common.t_of v) -> Prims.prop) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of", "Prims.prop", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.vrefine'" ]
[]
false
false
false
false
false
let vrefine (v: vprop) (p: (normal (t_of v) -> Tot prop)) =
VUnit (vrefine' v p)
false
Hacl.Spec.K256.MathLemmas.fst
Hacl.Spec.K256.MathLemmas.lemma_simplify_carry_round
val lemma_simplify_carry_round (t0 t1 t2 t3 t4:nat) : Lemma (let a = t1 + t0 / pow2 52 in let b = t2 + a / pow2 52 in let c = t3 + b / pow2 52 in let d = t4 + c / pow2 52 in t0 % pow2 52 + (a % pow2 52) * pow2 52 + (b % pow2 52) * pow2 104 + (c % pow2 52) * pow2 156 + d * pow2 208 == t0 + t1 * pow2 52 + t2...
val lemma_simplify_carry_round (t0 t1 t2 t3 t4:nat) : Lemma (let a = t1 + t0 / pow2 52 in let b = t2 + a / pow2 52 in let c = t3 + b / pow2 52 in let d = t4 + c / pow2 52 in t0 % pow2 52 + (a % pow2 52) * pow2 52 + (b % pow2 52) * pow2 104 + (c % pow2 52) * pow2 156 + d * pow2 208 == t0 + t1 * pow2 52 + t2...
let lemma_simplify_carry_round t0 t1 t2 t3 t4 = let a = t1 + t0 / pow2 52 in let b = t2 + a / pow2 52 in let c = t3 + b / pow2 52 in let d = t4 + c / pow2 52 in calc (==) { t0 % pow2 52 + (a % pow2 52) * pow2 52 + (b % pow2 52) * pow2 104 + (c % pow2 52) * pow2 156 + d * pow2 208; (==) { lemma_a_...
{ "file_name": "code/k256/Hacl.Spec.K256.MathLemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 347, "start_col": 0, "start_line": 319 }
module Hacl.Spec.K256.MathLemmas open FStar.Mul #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_swap_mul3 (a b c:int) : Lemma (a * b * c == a * c * b) let lemma_swap_mul3 a b c = calc (==) { a * b * c; (==) { Math.Lemmas.paren_mul_right a b c } a * (b * c); (==) { Math.Lemmas.swap_mul b c...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc.fsti.checked" ], "interface_file": false, "source_file": "Hacl.Spec.K256.MathLemmas.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256", "short_module": null }, { "abbrev": false, "full_module": "FS...
{ "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
t0: Prims.nat -> t1: Prims.nat -> t2: Prims.nat -> t3: Prims.nat -> t4: Prims.nat -> FStar.Pervasives.Lemma (ensures (let a = t1 + t0 / Prims.pow2 52 in let b = t2 + a / Prims.pow2 52 in let c = t3 + b / Prims.pow2 52 in let d = t4 + c / Prims.pow2 52 in t0 % Prims.pow2 52 + ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "Prims.op_Modulus", "Prims.pow2", "FStar.Mul.op_Star", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Subtraction", "Prims.op_Division", "FStar.C...
[]
false
false
true
false
false
let lemma_simplify_carry_round t0 t1 t2 t3 t4 =
let a = t1 + t0 / pow2 52 in let b = t2 + a / pow2 52 in let c = t3 + b / pow2 52 in let d = t4 + c / pow2 52 in calc ( == ) { t0 % pow2 52 + (a % pow2 52) * pow2 52 + (b % pow2 52) * pow2 104 + (c % pow2 52) * pow2 156 + d * pow2 208; ( == ) { lemma_a_mod_52_mul_b a 52 } t0 % pow2 52 + (t1 + t0 / pow2 52) * po...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.on_sort_binder
val on_sort_binder (f: (term -> Tac unit)) (b: binder) : Tac unit
val on_sort_binder (f: (term -> Tac unit)) (b: binder) : Tac unit
let on_sort_binder (f : term -> Tac unit) (b:binder) : Tac unit = f b.sort
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 10, "end_line": 653, "start_col": 0, "start_line": 652 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: (_: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit) -> b: FStar.Tactics.NamedView.binder -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.unit", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.__proj__Mkbinder__item__sort" ]
[]
false
true
false
false
false
let on_sort_binder (f: (term -> Tac unit)) (b: binder) : Tac unit =
f b.sort
false
Steel.Effect.Common.fsti
Steel.Effect.Common.to_vprop'
val to_vprop' : p: Steel.Memory.slprop -> Steel.Effect.Common.vprop'
let to_vprop' (p:slprop) = {hp = p; t = unit; sel = fun _ -> ()}
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 99, "start_col": 0, "start_line": 99 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Memory.slprop -> Steel.Effect.Common.vprop'
Prims.Tot
[ "total" ]
[]
[ "Steel.Memory.slprop", "Steel.Effect.Common.Mkvprop'", "Prims.unit", "Steel.Memory.hmem", "Steel.Effect.Common.vprop'" ]
[]
false
false
false
true
false
let to_vprop' (p: slprop) =
{ hp = p; t = unit; sel = fun _ -> () }
false
Steel.Effect.Common.fsti
Steel.Effect.Common.sel_of
val sel_of (p: vprop) : GTot (selector (t_of p) (hp_of p))
val sel_of (p: vprop) : GTot (selector (t_of p) (hp_of p))
let rec sel_of (p:vprop) : GTot (selector (t_of p) (hp_of p)) = match p with | VUnit p -> fun h -> p.sel h | VStar p1 p2 -> let sel1 = sel_of p1 in let sel2 = sel_of p2 in fun h -> (sel1 h, sel2 h)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 145, "start_col": 0, "start_line": 140 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Effect.Common.vprop -> Prims.GTot (Steel.Effect.Common.selector (Steel.Effect.Common.t_of p) (Steel.Effect.Common.hp_of p))
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.vprop'", "Steel.Memory.hmem", "Steel.Effect.Common.__proj__Mkvprop'__item__hp", "Steel.Effect.Common.__proj__Mkvprop'__item__sel", "Steel.Effect.Common.__proj__Mkvprop'__item__t", "Steel.Memory.mem", "Prims.l_and", "Steel.Memory.interp", "Steel.Eff...
[ "recursion" ]
false
false
false
false
false
let rec sel_of (p: vprop) : GTot (selector (t_of p) (hp_of p)) =
match p with | VUnit p -> fun h -> p.sel h | VStar p1 p2 -> let sel1 = sel_of p1 in let sel2 = sel_of p2 in fun h -> (sel1 h, sel2 h)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.vdep
val vdep : v: Steel.Effect.Common.vprop -> p: (_: Steel.Effect.Common.t_of v -> Steel.Effect.Common.vprop) -> Steel.Effect.Common.vprop
let vdep (v: vprop) (p: ( (t_of v) -> Tot vprop)) = VUnit (vdep' v p)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 69, "end_line": 621, "start_col": 0, "start_line": 621 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> p: (_: Steel.Effect.Common.t_of v -> Steel.Effect.Common.vprop) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.t_of", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.vdep'" ]
[]
false
false
false
false
false
let vdep (v: vprop) (p: ((t_of v) -> Tot vprop)) =
VUnit (vdep' v p)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.vrefine'
val vrefine' (v: vprop) (p: (normal (t_of v) -> Tot prop)) : Tot vprop'
val vrefine' (v: vprop) (p: (normal (t_of v) -> Tot prop)) : Tot vprop'
let vrefine' (v: vprop) (p: (normal (t_of v) -> Tot prop)) : Tot vprop' = { hp = vrefine_hp v p; t = vrefine_t v p; sel = vrefine_sel v p; }
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 573, "start_col": 0, "start_line": 569 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> p: (_: Steel.Effect.Common.normal (Steel.Effect.Common.t_of v) -> Prims.prop) -> Steel.Effect.Common.vprop'
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of", "Prims.prop", "Steel.Effect.Common.Mkvprop'", "Steel.Effect.Common.vrefine_hp", "Steel.Effect.Common.vrefine_t", "Steel.Effect.Common.vrefine_sel", "Steel.Effect.Common.vprop'" ]
[]
false
false
false
false
false
let vrefine' (v: vprop) (p: (normal (t_of v) -> Tot prop)) : Tot vprop' =
{ hp = vrefine_hp v p; t = vrefine_t v p; sel = vrefine_sel v p }
false
Steel.Effect.Common.fsti
Steel.Effect.Common.term_appears_in
val term_appears_in (t i: term) : Tac bool
val term_appears_in (t i: term) : Tac bool
let term_appears_in (t:term) (i:term) : Tac bool = name_appears_in (explode_qn (term_to_string t)) i
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 51, "end_line": 735, "start_col": 0, "start_line": 734 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: FStar.Tactics.NamedView.term -> i: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Steel.Effect.Common.name_appears_in", "Prims.bool", "FStar.Stubs.Reflection.Types.name", "FStar.Stubs.Reflection.V2.Builtins.explode_qn", "Prims.string", "FStar.Stubs.Tactics.V2.Builtins.term_to_string" ]
[]
false
true
false
false
false
let term_appears_in (t i: term) : Tac bool =
name_appears_in (explode_qn (term_to_string t)) i
false
Steel.Effect.Common.fsti
Steel.Effect.Common.mk_rmem
val mk_rmem (r: vprop) (h: hmem r) : Tot (rmem r)
val mk_rmem (r: vprop) (h: hmem r) : Tot (rmem r)
let mk_rmem (r:vprop) (h:hmem r) : Tot (rmem r) = lemma_valid_mk_rmem r h; mk_rmem' r h
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 306, "start_col": 0, "start_line": 304 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> h: Steel.Effect.Common.hmem r -> Steel.Effect.Common.rmem r
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.hmem", "Steel.Effect.Common.mk_rmem'", "Prims.unit", "Steel.Effect.Common.lemma_valid_mk_rmem", "Steel.Effect.Common.rmem" ]
[]
false
false
false
false
false
let mk_rmem (r: vprop) (h: hmem r) : Tot (rmem r) =
lemma_valid_mk_rmem r h; mk_rmem' r h
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_forall_dep_congr_r
val can_be_split_forall_dep_congr_r (#a: Type) (cond: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> (r x) `star` (p x)) (fun x -> (r x) `star` (q x))))
val can_be_split_forall_dep_congr_r (#a: Type) (cond: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> (r x) `star` (p x)) (fun x -> (r x) `star` (q x))))
let can_be_split_forall_dep_congr_r (#a: Type) (cond: a -> prop) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> r x `star` p x) (fun x -> r x `star` q x))) = Classical.forall_intro_3 (fun x y z -> Classical.move_requires (can_be_split...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 94, "end_line": 253, "start_col": 0, "start_line": 245 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: a -> Prims.prop) -> p: Steel.Effect.Common.post_t a -> q: Steel.Effect.Common.post_t a -> r: Steel.Effect.Common.post_t a -> FStar.Pervasives.Lemma (requires Steel.Effect.Common.can_be_split_forall_dep cond p q) (ensures Steel.Effect.Common.can_be_split_forall_dep cond ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.prop", "Steel.Effect.Common.post_t", "FStar.Classical.forall_intro_3", "Steel.Effect.Common.vprop", "Prims.l_imp", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.star", "FStar.Classical.move_requires", "Steel.Effect.Common.can_be_split_congr_r", "Prims.unit", "Steel.Effect.Commo...
[]
false
false
true
false
false
let can_be_split_forall_dep_congr_r (#a: Type) (cond: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> (r x) `star` (p x)) (fun x -> (r x) `star` (q x)))) =
Classical.forall_intro_3 (fun x y z -> Classical.move_requires (can_be_split_congr_r x y) z)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.vdep'
val vdep' (v: vprop) (p: ((t_of v) -> Tot vprop)) : Tot vprop'
val vdep' (v: vprop) (p: ((t_of v) -> Tot vprop)) : Tot vprop'
let vdep' (v: vprop) (p: ( (t_of v) -> Tot vprop)) : Tot vprop' = { hp = vdep_hp v p; t = vdep_t v p; sel = vdep_sel v p; }
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 618, "start_col": 0, "start_line": 614 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> p: (_: Steel.Effect.Common.t_of v -> Steel.Effect.Common.vprop) -> Steel.Effect.Common.vprop'
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.t_of", "Steel.Effect.Common.Mkvprop'", "Steel.Effect.Common.vdep_hp", "Steel.Effect.Common.vdep_t", "Steel.Effect.Common.vdep_sel", "Steel.Effect.Common.vprop'" ]
[]
false
false
false
false
false
let vdep' (v: vprop) (p: ((t_of v) -> Tot vprop)) : Tot vprop' =
{ hp = vdep_hp v p; t = vdep_t v p; sel = vdep_sel v p }
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_forall_dep_congr_l
val can_be_split_forall_dep_congr_l (#a: Type) (cond: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> (p x) `star` (r x)) (fun x -> (q x) `star` (r x))))
val can_be_split_forall_dep_congr_l (#a: Type) (cond: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> (p x) `star` (r x)) (fun x -> (q x) `star` (r x))))
let can_be_split_forall_dep_congr_l (#a: Type) (cond: a -> prop) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> p x `star` r x) (fun x -> q x `star` r x))) = Classical.forall_intro_3 (fun x y z -> Classical.move_requires (can_be_split...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 94, "end_line": 243, "start_col": 0, "start_line": 235 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: a -> Prims.prop) -> p: Steel.Effect.Common.post_t a -> q: Steel.Effect.Common.post_t a -> r: Steel.Effect.Common.post_t a -> FStar.Pervasives.Lemma (requires Steel.Effect.Common.can_be_split_forall_dep cond p q) (ensures Steel.Effect.Common.can_be_split_forall_dep cond ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.prop", "Steel.Effect.Common.post_t", "FStar.Classical.forall_intro_3", "Steel.Effect.Common.vprop", "Prims.l_imp", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.star", "FStar.Classical.move_requires", "Steel.Effect.Common.can_be_split_congr_l", "Prims.unit", "Steel.Effect.Commo...
[]
false
false
true
false
false
let can_be_split_forall_dep_congr_l (#a: Type) (cond: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond p q)) (ensures (can_be_split_forall_dep cond (fun x -> (p x) `star` (r x)) (fun x -> (q x) `star` (r x)))) =
Classical.forall_intro_3 (fun x y z -> Classical.move_requires (can_be_split_congr_l x y) z)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.name_appears_in
val name_appears_in (nm: name) (t: term) : Tac bool
val name_appears_in (nm: name) (t: term) : Tac bool
let name_appears_in (nm:name) (t:term) : Tac bool = let ff (t : term) : Tac unit = match inspect t with | Tv_FVar fv -> if inspect_fv fv = nm then raise Appears | t -> () in try ignore (visit_tm ff t); false with | Appears -> true | e -> raise e
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 731, "start_col": 0, "start_line": 723 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
nm: FStar.Stubs.Reflection.Types.name -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.name", "FStar.Tactics.NamedView.term", "FStar.Tactics.V2.Derived.try_with", "Prims.bool", "Prims.unit", "FStar.Pervasives.ignore", "Steel.Effect.Common.visit_tm", "Prims.exn", "FStar.Tactics.Effect.raise", "FStar.Stubs.Reflection.Types.fv", "Prims.op_Equality", "F...
[]
false
true
false
false
false
let name_appears_in (nm: name) (t: term) : Tac bool =
let ff (t: term) : Tac unit = match inspect t with | Tv_FVar fv -> if inspect_fv fv = nm then raise Appears | t -> () in try (ignore (visit_tm ff t); false) with | Appears -> true | e -> raise e
false
Steel.Effect.Common.fsti
Steel.Effect.Common.unrestricted_mk_rmem
val unrestricted_mk_rmem : r: Steel.Effect.Common.vprop -> h: Steel.Effect.Common.hmem r -> r0: Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r r0} -> Prims.GTot (Steel.Effect.Common.t_of r0)
let unrestricted_mk_rmem (r:vprop) (h:hmem r) = fun (r0:vprop{r `can_be_split` r0}) -> can_be_split_interp r r0 h; sel_of r0 h
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 291, "start_col": 0, "start_line": 289 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> h: Steel.Effect.Common.hmem r -> r0: Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r r0} -> Prims.GTot (Steel.Effect.Common.t_of r0)
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.hmem", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.sel_of", "Prims.unit", "Steel.Effect.Common.can_be_split_interp", "Steel.Effect.Common.t_of" ]
[]
false
false
false
false
false
let unrestricted_mk_rmem (r: vprop) (h: hmem r) =
fun (r0: vprop{r `can_be_split` r0}) -> can_be_split_interp r r0 h; sel_of r0 h
false
Steel.Effect.Common.fsti
Steel.Effect.Common.t_of
val t_of : p: Steel.Effect.Common.vprop -> Type0
let rec t_of (p:vprop) = match p with | VUnit p -> p.t | VStar p1 p2 -> t_of p1 * t_of p2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 136, "start_col": 0, "start_line": 134 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Effect.Common.vprop -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.vprop'", "Steel.Effect.Common.__proj__Mkvprop'__item__t", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.t_of" ]
[ "recursion" ]
false
false
false
true
true
let rec t_of (p: vprop) =
match p with | VUnit p -> p.t | VStar p1 p2 -> t_of p1 * t_of p2
false
Steel.Effect.Common.fsti
Steel.Effect.Common.const
val const (#a: Type) (xa: a) : amap a
val const (#a: Type) (xa: a) : amap a
let const (#a:Type) (xa:a) : amap a = ([], xa)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 759, "start_col": 0, "start_line": 759 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
xa: a -> Steel.Effect.Common.amap a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple2", "Prims.list", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.atom", "Prims.Nil", "Steel.Effect.Common.amap" ]
[]
false
false
false
true
false
let const (#a: Type) (xa: a) : amap a =
([], xa)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.amap
val amap : a: Type -> Type
let amap (a:Type) = list (atom * a) * a
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 756, "start_col": 0, "start_line": 756 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Prims.list", "Steel.Effect.Common.atom" ]
[]
false
false
false
true
true
let amap (a: Type) =
list (atom * a) * a
false
Steel.Effect.Common.fsti
Steel.Effect.Common.select
val select (#a: Type) (x: atom) (am: amap a) : Tot a
val select (#a: Type) (x: atom) (am: amap a) : Tot a
let select (#a:Type) (x:atom) (am:amap a) : Tot a = match my_assoc #atom #a x (fst am) with | Some a -> a | _ -> snd am
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 776, "start_col": 0, "start_line": 773 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap a -> a
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "Steel.Effect.Common.my_assoc", "FStar.Pervasives.Native.fst", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.snd" ]
[]
false
false
false
true
false
let select (#a: Type) (x: atom) (am: amap a) : Tot a =
match my_assoc #atom #a x (fst am) with | Some a -> a | _ -> snd am
false
Steel.Effect.Common.fsti
Steel.Effect.Common.can_be_split_forall_dep_trans_rev
val can_be_split_forall_dep_trans_rev (#a: Type) (cond1 cond2: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond2 q r /\ can_be_split_forall_dep cond1 p q)) (ensures (can_be_split_forall_dep (fun x -> (cond1 x) `prop_and` (cond2 x)) p r))
val can_be_split_forall_dep_trans_rev (#a: Type) (cond1 cond2: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond2 q r /\ can_be_split_forall_dep cond1 p q)) (ensures (can_be_split_forall_dep (fun x -> (cond1 x) `prop_and` (cond2 x)) p r))
let can_be_split_forall_dep_trans_rev (#a: Type) (cond1 cond2: a -> prop) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond2 q r /\ can_be_split_forall_dep cond1 p q)) (ensures (can_be_split_forall_dep (fun x -> cond1 x `prop_and` cond2 x) p r)) = Classical.forall_intro_3 (fun x y z -> Class...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 92, "end_line": 233, "start_col": 0, "start_line": 225 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond1: (_: a -> Prims.prop) -> cond2: (_: a -> Prims.prop) -> p: Steel.Effect.Common.post_t a -> q: Steel.Effect.Common.post_t a -> r: Steel.Effect.Common.post_t a -> FStar.Pervasives.Lemma (requires Steel.Effect.Common.can_be_split_forall_dep cond2 q r /\ Steel.Effect.Commo...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.prop", "Steel.Effect.Common.post_t", "FStar.Classical.forall_intro_3", "Steel.Effect.Common.vprop", "Prims.l_imp", "Prims.l_and", "Steel.Effect.Common.can_be_split", "FStar.Classical.move_requires", "Steel.Effect.Common.can_be_split_trans", "Prims.unit", "Steel.Effect.Common.can_be_split_...
[]
false
false
true
false
false
let can_be_split_forall_dep_trans_rev (#a: Type) (cond1 cond2: (a -> prop)) (p q r: post_t a) : Lemma (requires (can_be_split_forall_dep cond2 q r /\ can_be_split_forall_dep cond1 p q)) (ensures (can_be_split_forall_dep (fun x -> (cond1 x) `prop_and` (cond2 x)) p r)) =
Classical.forall_intro_3 (fun x y z -> Classical.move_requires (can_be_split_trans x y) z)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.update
val update (#a: Type) (x: atom) (xa: a) (am: amap a) : amap a
val update (#a: Type) (x: atom) (xa: a) (am: amap a) : amap a
let update (#a:Type) (x:atom) (xa:a) (am:amap a) : amap a = (x, xa)::fst am, snd am
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 783, "start_col": 0, "start_line": 782 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.atom -> xa: a -> am: Steel.Effect.Common.amap a -> Steel.Effect.Common.amap a
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Pervasives.Native.Mktuple2", "Prims.list", "FStar.Pervasives.Native.tuple2", "Prims.Cons", "FStar.Pervasives.Native.fst", "FStar.Pervasives.Native.snd" ]
[]
false
false
false
true
false
let update (#a: Type) (x: atom) (xa: a) (am: amap a) : amap a =
(x, xa) :: fst am, snd am
false
Steel.Effect.Common.fsti
Steel.Effect.Common.focus_rmem
val focus_rmem (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem r0)
val focus_rmem (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem r0)
let focus_rmem (#r:vprop) (h:rmem r) (r0:vprop{r `can_be_split` r0}) : Tot (rmem r0) = lemma_valid_focus_rmem h r0; focus_rmem' h r0
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 356, "start_col": 0, "start_line": 354 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Steel.Effect.Common.rmem r -> r0: Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r r0} -> Steel.Effect.Common.rmem r0
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.focus_rmem'", "Prims.unit", "Steel.Effect.Common.lemma_valid_focus_rmem" ]
[]
false
false
false
false
false
let focus_rmem (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) : Tot (rmem r0) =
lemma_valid_focus_rmem h r0; focus_rmem' h r0
false
Steel.Effect.Common.fsti
Steel.Effect.Common.focus_rmem_refl
val focus_rmem_refl (r: vprop) (h: rmem r) : Lemma (focus_rmem #r h r == h)
val focus_rmem_refl (r: vprop) (h: rmem r) : Lemma (focus_rmem #r h r == h)
let focus_rmem_refl (r:vprop) (h:rmem r) : Lemma (focus_rmem #r h r == h) = FStar.FunctionalExtensionality.extensionality_g _ _ (focus_rmem #r h r) h
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 77, "end_line": 361, "start_col": 0, "start_line": 359 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> h: Steel.Effect.Common.rmem r -> FStar.Pervasives.Lemma (ensures Steel.Effect.Common.focus_rmem h r == h)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "FStar.FunctionalExtensionality.extensionality_g", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of", "Steel.Effect.Common.focus_rmem", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", ...
[]
false
false
true
false
false
let focus_rmem_refl (r: vprop) (h: rmem r) : Lemma (focus_rmem #r h r == h) =
FStar.FunctionalExtensionality.extensionality_g _ _ (focus_rmem #r h r) h
false
Steel.Effect.Common.fsti
Steel.Effect.Common.atom
val atom:eqtype
val atom:eqtype
let atom : eqtype = int
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 23, "end_line": 741, "start_col": 0, "start_line": 741 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.int" ]
[]
false
false
false
true
false
let atom:eqtype =
int
false
Steel.Effect.Common.fsti
Steel.Effect.Common.frame_equalities'
val frame_equalities' (frame: vprop) (h0 h1: rmem frame) : Type0
val frame_equalities' (frame: vprop) (h0 h1: rmem frame) : Type0
let rec frame_equalities' (frame:vprop) (h0:rmem frame) (h1:rmem frame) : Type0 = begin match frame with | VUnit p -> h0 frame == h1 frame | VStar p1 p2 -> can_be_split_star_l p1 p2; can_be_split_star_r p1 p2; let h01 = focus_rmem h0 p1 in let h11 = focus_rmem h1 p1 in ...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 390, "start_col": 0, "start_line": 372 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "a...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
frame: Steel.Effect.Common.vprop -> h0: Steel.Effect.Common.rmem frame -> h1: Steel.Effect.Common.rmem frame -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "Steel.Effect.Common.vprop'", "Prims.eq2", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of", "Prims.l_and", "Steel.Effect.Common.frame_equalities'", "Steel.Effect.Common.rmem'", "Steel.Effect.Common.valid_rmem", "Steel.Effect.Commo...
[ "recursion" ]
false
false
false
false
true
let rec frame_equalities' (frame: vprop) (h0 h1: rmem frame) : Type0 =
match frame with | VUnit p -> h0 frame == h1 frame | VStar p1 p2 -> can_be_split_star_l p1 p2; can_be_split_star_r p1 p2; let h01 = focus_rmem h0 p1 in let h11 = focus_rmem h1 p1 in let h02 = focus_rmem h0 p2 in let h12 = focus_rmem h1 p2 in frame_equalities' p1 h01 h11 /\ frame_equalities' p2 h02 h12
false
Steel.Effect.Common.fsti
Steel.Effect.Common.is_uvar
val is_uvar (t: term) : Tac bool
val is_uvar (t: term) : Tac bool
let is_uvar (t:term) : Tac bool = match inspect t with | Tv_Uvar _ _ -> true | Tv_App _ _ -> let hd, args = collect_app t in Tv_Uvar? (inspect hd) | _ -> false
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 793, "start_col": 0, "start_line": 788 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.nat", "FStar.Stubs.Reflection.Types.ctx_uvar_and_subst", "Prims.bool", "FStar.Stubs.Reflection.V2.Data.argv", "Prims.list", "FStar.Tactics.NamedView.uu___is_Tv_Uvar", "FStar.Tactics.NamedView.named_term_view", "FStar.Tactics.NamedView.inspect", "FStar.Pervasi...
[]
false
true
false
false
false
let is_uvar (t: term) : Tac bool =
match inspect t with | Tv_Uvar _ _ -> true | Tv_App _ _ -> let hd, args = collect_app t in Tv_Uvar? (inspect hd) | _ -> false
false
Steel.Effect.Common.fsti
Steel.Effect.Common.mk_rmem'
val mk_rmem' (r: vprop) (h: hmem r) : Tot (rmem' r)
val mk_rmem' (r: vprop) (h: hmem r) : Tot (rmem' r)
let mk_rmem' (r:vprop) (h:hmem r) : Tot (rmem' r) = FExt.on_dom_g (r0:vprop{r `can_be_split` r0}) (unrestricted_mk_rmem r h)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 298, "start_col": 0, "start_line": 295 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.Effect.Common.vprop -> h: Steel.Effect.Common.hmem r -> Steel.Effect.Common.rmem' r
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.hmem", "FStar.FunctionalExtensionality.on_dom_g", "Steel.Effect.Common.can_be_split", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of", "Steel.Effect.Common.unrestricted_mk_rmem", "Steel.Effect.Common.rmem'" ]
[]
false
false
false
false
false
let mk_rmem' (r: vprop) (h: hmem r) : Tot (rmem' r) =
FExt.on_dom_g (r0: vprop{r `can_be_split` r0}) (unrestricted_mk_rmem r h)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.rm
val rm:CE.cm vprop req
val rm:CE.cm vprop req
let rm : CE.cm vprop req = CE.CM emp star cm_identity star_associative star_commutative star_congruence
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 538, "start_col": 32, "start_line": 532 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.Algebra.CommMonoid.Equiv.cm Steel.Effect.Common.vprop Steel.Effect.Common.req
Prims.Tot
[ "total" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.CM", "Steel.Effect.Common.vprop", "Steel.Effect.Common.req", "Steel.Effect.Common.emp", "Steel.Effect.Common.star", "Steel.Effect.Common.cm_identity", "Steel.Effect.Common.star_associative", "Steel.Effect.Common.star_commutative", "Steel.Effect.Common.star_congruence"...
[]
false
false
false
true
false
let rm:CE.cm vprop req =
CE.CM emp star cm_identity star_associative star_commutative star_congruence
false
Steel.Effect.Common.fsti
Steel.Effect.Common.unrestricted_focus_rmem
val unrestricted_focus_rmem : h: Steel.Effect.Common.rmem r -> r0: Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r r0} -> r': Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r0 r'} -> Prims.GTot (Steel.Effect.Common.normal (Steel.Effect.Common.t_of r'))
let unrestricted_focus_rmem (#r:vprop) (h:rmem r) (r0:vprop{r `can_be_split` r0}) = fun (r':vprop{can_be_split r0 r'}) -> can_be_split_trans r r0 r'; h r'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 74, "end_line": 342, "start_col": 0, "start_line": 341 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Steel.Effect.Common.rmem r -> r0: Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r r0} -> r': Steel.Effect.Common.vprop{Steel.Effect.Common.can_be_split r0 r'} -> Prims.GTot (Steel.Effect.Common.normal (Steel.Effect.Common.t_of r'))
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "Steel.Effect.Common.can_be_split", "Prims.unit", "Steel.Effect.Common.can_be_split_trans", "Steel.Effect.Common.normal", "Steel.Effect.Common.t_of" ]
[]
false
false
false
false
false
let unrestricted_focus_rmem (#r: vprop) (h: rmem r) (r0: vprop{r `can_be_split` r0}) =
fun (r': vprop{can_be_split r0 r'}) -> can_be_split_trans r r0 r'; h r'
false
Steel.Effect.Common.fsti
Steel.Effect.Common.is_smt_binder
val is_smt_binder (b: binder) : Tac bool
val is_smt_binder (b: binder) : Tac bool
let is_smt_binder (b:binder) : Tac bool = let l = b.attrs in not (List.Tot.isEmpty (filter (fun t -> is_fvar t (`%smt_fallback)) l))
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 73, "end_line": 932, "start_col": 0, "start_line": 930 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Tactics.NamedView.binder -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.binder", "Prims.op_Negation", "Prims.bool", "FStar.List.Tot.Base.isEmpty", "FStar.Stubs.Reflection.Types.term", "Prims.list", "FStar.Tactics.Util.filter", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.__proj__Mkbinder__item...
[]
false
true
false
false
false
let is_smt_binder (b: binder) : Tac bool =
let l = b.attrs in not (List.Tot.isEmpty (filter (fun t -> is_fvar t (`%smt_fallback)) l))
false
Steel.Effect.Common.fsti
Steel.Effect.Common.xsdenote
val xsdenote (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs: list atom) : a
val xsdenote (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs: list atom) : a
let xsdenote (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (xs:list atom) : a = let open FStar.Algebra.CommMonoid.Equiv in xsdenote_gen (CM?.unit m) (CM?.mult m) am xs
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 1135, "start_col": 0, "start_line": 1133 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> xs: Prims.list Steel.Effect.Common.atom -> a
Prims.Tot
[ "total" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.xsdenote_gen", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult" ]
[]
false
false
false
false
false
let xsdenote (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs: list atom) : a =
let open FStar.Algebra.CommMonoid.Equiv in xsdenote_gen (CM?.unit m) (CM?.mult m) am xs
false
Steel.Effect.Common.fsti
Steel.Effect.Common.fail_atoms
val fail_atoms (#a: Type) (l1 l2: list atom) (am: amap term) : Tac a
val fail_atoms (#a: Type) (l1 l2: list atom) (am: amap term) : Tac a
let fail_atoms (#a:Type) (l1 l2:list atom) (am:amap term) : Tac a = fail ("could not find a solution for unifying\n" ^ print_atoms l1 am ^ "\nand\n" ^ print_atoms l2 am)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 105, "end_line": 981, "start_col": 0, "start_line": 980 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac a
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Tactics.V2.Derived.fail", "Prims.string", "Prims.op_Hat", "Steel.Effect.Common.print_atoms" ]
[]
false
true
false
false
false
let fail_atoms (#a: Type) (l1 l2: list atom) (am: amap term) : Tac a =
fail ("could not find a solution for unifying\n" ^ print_atoms l1 am ^ "\nand\n" ^ print_atoms l2 am )
false
Steel.Effect.Common.fsti
Steel.Effect.Common.mdenote
val mdenote (#a: Type u#aa) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (e: exp) : a
val mdenote (#a: Type u#aa) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (e: exp) : a
let mdenote (#a:Type u#aa) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (e:exp) : a = let open FStar.Algebra.CommMonoid.Equiv in mdenote_gen (CM?.unit m) (CM?.mult m) am e
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 1130, "start_col": 0, "start_line": 1128 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> e: Steel.Effect.Common.exp -> a
Prims.Tot
[ "total" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Steel.Effect.Common.exp", "Steel.Effect.Common.mdenote_gen", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult" ]
[]
false
false
false
false
false
let mdenote (#a: Type u#aa) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (e: exp) : a =
let open FStar.Algebra.CommMonoid.Equiv in mdenote_gen (CM?.unit m) (CM?.mult m) am e
false
Steel.Effect.Common.fsti
Steel.Effect.Common.replace_smt_uvars
val replace_smt_uvars (l1 l2: list atom) (am: amap term) : Tac (amap term * list term)
val replace_smt_uvars (l1 l2: list atom) (am: amap term) : Tac (amap term * list term)
let replace_smt_uvars (l1 l2:list atom) (am:amap term) : Tac (amap term * list term) = let env = cur_env () in fold_left (rewrite_term_for_smt env) (am, []) l2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 52, "end_line": 1020, "start_col": 0, "start_line": 1018 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Steel.Effect.Common.amap FStar.Tactics.NamedView.term * Prims.list FStar.Tactics.NamedView.term )
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Tactics.Util.fold_left", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.rewrite_term_for_smt", "FStar.Pervasives.Native.Mktuple2", "Prims.Nil", "FStar.Stubs.Reflection.Types.env", ...
[]
false
true
false
false
false
let replace_smt_uvars (l1 l2: list atom) (am: amap term) : Tac (amap term * list term) =
let env = cur_env () in fold_left (rewrite_term_for_smt env) (am, []) l2
false
Steel.Effect.Common.fsti
Steel.Effect.Common.rewrite_term_for_smt
val rewrite_term_for_smt (env: env) (am: (amap term * list term)) (a: atom) : Tac (amap term * list term)
val rewrite_term_for_smt (env: env) (am: (amap term * list term)) (a: atom) : Tac (amap term * list term)
let rewrite_term_for_smt (env:env) (am:amap term * list term) (a:atom) : Tac (amap term * list term) = let am, prev_uvar_terms = am in let term = select a am in let hd, args = collect_app term in let t = tc env hd in let new_args, uvar_terms = new_args_for_smt_attrs env args t in let new_term = mk...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 68, "end_line": 977, "start_col": 0, "start_line": 970 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
env: FStar.Stubs.Reflection.Types.env -> am: (Steel.Effect.Common.amap FStar.Tactics.NamedView.term * Prims.list FStar.Tactics.NamedView.term) -> a: Steel.Effect.Common.atom -> FStar.Tactics.Effect.Tac (Steel.Effect.Common.amap FStar.Tactics.NamedView.term * Prims.list FStar.Tactics.Nam...
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.env", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Prims.list", "Steel.Effect.Common.atom", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.Mktuple2", "Steel.Effect.Common.update", "FStar.List.Tot.Base....
[]
false
true
false
false
false
let rewrite_term_for_smt (env: env) (am: amap term * list term) (a: atom) : Tac (amap term * list term) =
let am, prev_uvar_terms = am in let term = select a am in let hd, args = collect_app term in let t = tc env hd in let new_args, uvar_terms = new_args_for_smt_attrs env args t in let new_term = mk_app hd new_args in update a new_term am, List.Tot.append uvar_terms prev_uvar_terms
false
Steel.Effect.Common.fsti
Steel.Effect.Common.atoms_to_string
val atoms_to_string : l: Prims.list Steel.Effect.Common.atom -> Prims.string
let rec atoms_to_string (l:list atom) = match l with | [] -> "" | hd::tl -> string_of_int hd ^ " " ^ atoms_to_string tl
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 745, "start_col": 0, "start_line": 743 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list Steel.Effect.Common.atom -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Prims.op_Hat", "Prims.string_of_int", "Steel.Effect.Common.atoms_to_string", "Prims.string" ]
[ "recursion" ]
false
false
false
true
false
let rec atoms_to_string (l: list atom) =
match l with | [] -> "" | hd :: tl -> string_of_int hd ^ " " ^ atoms_to_string tl
false
Steel.Effect.Common.fsti
Steel.Effect.Common.equivalent_lists_fallback
val equivalent_lists_fallback (n: nat) (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * bool)
val equivalent_lists_fallback (n: nat) (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * bool)
let rec equivalent_lists_fallback (n:nat) (l1 l2 l1_del l2_del:list atom) (am:amap term) : Tac (list atom * list atom * bool) = match l1 with | [] -> begin match l2 with | [] -> (l1_del, l2_del, false) | [hd] -> // Succeed if there is only one uvar left in l2, which can be therefore // be unif...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 68, "end_line": 1015, "start_col": 0, "start_line": 986 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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 -> l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> l1_del: Prims.list Steel.Effect.Common.atom -> l2_del: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac ((Prims...
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.nat", "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple3", "Prims.bool", "FStar.Pervasives.Native.tuple3", "Prims.Cons", "FStar.Tactics.V2.Derived.fail", "Prims.string", "Prims.op_Hat", "FStar.Stubs.T...
[ "recursion" ]
false
true
false
false
false
let rec equivalent_lists_fallback (n: nat) (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * bool) =
match l1 with | [] -> (match l2 with | [] -> (l1_del, l2_del, false) | [hd] -> if is_uvar (select hd am) then ((l1_del, hd :: l2_del, true)) else fail ("could not find candidates for " ^ term_to_string (get_head l2 am)) | _ -> fail ("could not find candidates for " ^ term_to_string (get_...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.equivalent_lists
val equivalent_lists (use_smt: bool) (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * bool * list term)
val equivalent_lists (use_smt: bool) (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * bool * list term)
let equivalent_lists (use_smt:bool) (l1 l2:list atom) (am:amap term) : Tac (list atom * list atom * bool * list term) = let l1, l2, l1_del, l2_del = trivial_cancels l1 l2 am in let l1 = most_restricted_at_top l1 l2 am in let n = List.Tot.length l1 in let l1_del, l2_del, emp_frame, uvar_terms = equivalent_lists'...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 1104, "start_col": 0, "start_line": 1098 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
use_smt: Prims.bool -> l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (((Prims.list Steel.Effect.Common.atom * Prims.list Steel.Effect.Common.atom) * Prims.bool) * Pr...
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.bool", "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple4", "FStar.Pervasives.Native.tuple4", "Steel.Effect.Common.equivalent_lists'", "Prims.nat", "FStar.List.Tot.Base.length", "Steel.Effect.Common.most_...
[]
false
true
false
false
false
let equivalent_lists (use_smt: bool) (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * bool * list term) =
let l1, l2, l1_del, l2_del = trivial_cancels l1 l2 am in let l1 = most_restricted_at_top l1 l2 am in let n = List.Tot.length l1 in let l1_del, l2_del, emp_frame, uvar_terms = equivalent_lists' n use_smt l1 l2 l1_del l2_del am in l1_del, l2_del, emp_frame, uvar_terms
false
Steel.Effect.Common.fsti
Steel.Effect.Common.my_assoc
val my_assoc (#key: eqtype) (#value: Type) (k: key) (dict: list (key & value)) : Pure (option value) (requires True) (ensures (fun res -> res == List.Tot.assoc k dict))
val my_assoc (#key: eqtype) (#value: Type) (k: key) (dict: list (key & value)) : Pure (option value) (requires True) (ensures (fun res -> res == List.Tot.assoc k dict))
let rec my_assoc (#key: eqtype) (#value: Type) (k: key) (dict: list (key & value)) : Pure (option value) (requires True) (ensures (fun res -> res == List.Tot.assoc k dict)) = match dict with | [] -> None | (k', v') :: q -> if k = k' then Some v' else my_assoc k q
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 770, "start_col": 0, "start_line": 765 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: key -> dict: Prims.list (key * value) -> Prims.Pure (FStar.Pervasives.Native.option value)
Prims.Pure
[]
[]
[ "Prims.eqtype", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.None", "Prims.op_Equality", "FStar.Pervasives.Native.Some", "Prims.bool", "Steel.Effect.Common.my_assoc", "FStar.Pervasives.Native.option", "Prims.l_True", "Prims.eq2", "FStar.List.Tot.Base.assoc" ]
[ "recursion" ]
false
false
false
false
false
let rec my_assoc (#key: eqtype) (#value: Type) (k: key) (dict: list (key & value)) : Pure (option value) (requires True) (ensures (fun res -> res == List.Tot.assoc k dict)) =
match dict with | [] -> None | (k', v') :: q -> if k = k' then Some v' else my_assoc k q
false
Steel.Effect.Common.fsti
Steel.Effect.Common.my_bool_of_compare
val my_bool_of_compare (#a: Type) (f: (a -> a -> Tot int)) (x y: a) : Tot bool
val my_bool_of_compare (#a: Type) (f: (a -> a -> Tot int)) (x y: a) : Tot bool
let my_bool_of_compare (#a: Type) (f: a -> a -> Tot int) (x: a) (y: a) : Tot bool = f x y < 0
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 11, "end_line": 1237, "start_col": 0, "start_line": 1236 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: (_: a -> _: a -> Prims.int) -> x: a -> y: a -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.op_LessThan", "Prims.bool" ]
[]
false
false
false
true
false
let my_bool_of_compare (#a: Type) (f: (a -> a -> Tot int)) (x y: a) : Tot bool =
f x y < 0
false
Steel.Effect.Common.fsti
Steel.Effect.Common.permute
val permute : Type0
let permute = list atom -> list atom
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 1266, "start_col": 0, "start_line": 1266 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Steel.Effect.Common.atom" ]
[]
false
false
false
true
true
let permute =
list atom -> list atom
false
Steel.Effect.Common.fsti
Steel.Effect.Common.my_compare_of_bool
val my_compare_of_bool (#a: eqtype) (rel: (a -> a -> Tot bool)) (x y: a) : Tot int
val my_compare_of_bool (#a: eqtype) (rel: (a -> a -> Tot bool)) (x y: a) : Tot int
let my_compare_of_bool (#a:eqtype) (rel: a -> a -> Tot bool) (x: a) (y: a) : Tot int = if x `rel` y then -1 else if x = y then 0 else 1
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 10, "end_line": 1271, "start_col": 0, "start_line": 1268 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
rel: (_: a -> _: a -> Prims.bool) -> x: a -> y: a -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Prims.bool", "Prims.op_Minus", "Prims.op_Equality", "Prims.int" ]
[]
false
false
false
false
false
let my_compare_of_bool (#a: eqtype) (rel: (a -> a -> Tot bool)) (x y: a) : Tot int =
if x `rel` y then - 1 else if x = y then 0 else 1
false
Steel.Effect.Common.fsti
Steel.Effect.Common.trivial_cancels
val trivial_cancels (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
val trivial_cancels (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
let rec trivial_cancels (l1 l2:list atom) (am:amap term) : Tac (list atom * list atom * list atom * list atom) = match l1 with | [] -> [], l2, [], [] | hd::tl -> let b, l2' = trivial_cancel hd l2 in let l1', l2', l1_del, l2_del = trivial_cancels tl l2' am in (if b then l1' else hd::l1'), l2'...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 76, "end_line": 828, "start_col": 0, "start_line": 820 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (((Prims.list Steel.Effect.Common.atom * Prims.list Steel.Effect.Common.atom) * Prims.list Steel.Effect.Common.atom) * ...
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple4", "Prims.Nil", "FStar.Pervasives.Native.tuple4", "Prims.bool", "Prims.Cons", "Steel.Effect.Common.trivial_cancels", "FStar.Pervasives.Native.tuple2", "Steel.E...
[ "recursion" ]
false
true
false
false
false
let rec trivial_cancels (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom) =
match l1 with | [] -> [], l2, [], [] | hd :: tl -> let b, l2' = trivial_cancel hd l2 in let l1', l2', l1_del, l2_del = trivial_cancels tl l2' am in (if b then l1' else hd :: l1'), l2', (if b then hd :: l1_del else l1_del), (if b then hd :: l2_del else l2_del)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.visit_br
val visit_br (ff: (term -> Tac unit)) (b: branch) : Tac unit
val visit_br (ff: (term -> Tac unit)) (b: branch) : Tac unit
let rec visit_tm (ff : term -> Tac unit) (t : term) : Tac unit = let tv = inspect t in (match tv with | Tv_FVar _ | Tv_UInst _ _ | Tv_Var _ | Tv_BVar _ -> () | Tv_Type _ -> () | Tv_Const c -> () | Tv_Uvar i u -> () | Tv_Unsupp -> () | Tv_Unknown -> () | Tv_Arrow b c -> on_sort_binder ff ...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 719, "start_col": 0, "start_line": 655 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ff: (_: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit) -> b: FStar.Tactics.NamedView.branch -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[ "visit_tm", "visit_br", "visit_comp" ]
[ "FStar.Tactics.NamedView.term", "Prims.unit", "FStar.Tactics.NamedView.branch", "FStar.Tactics.NamedView.pattern", "Steel.Effect.Common.visit_tm" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec visit_br (ff: (term -> Tac unit)) (b: branch) : Tac unit =
let p, t = b in visit_tm ff t
false
Steel.Effect.Common.fsti
Steel.Effect.Common.visit_comp
val visit_comp (ff: (term -> Tac unit)) (c: comp) : Tac unit
val visit_comp (ff: (term -> Tac unit)) (c: comp) : Tac unit
let rec visit_tm (ff : term -> Tac unit) (t : term) : Tac unit = let tv = inspect t in (match tv with | Tv_FVar _ | Tv_UInst _ _ | Tv_Var _ | Tv_BVar _ -> () | Tv_Type _ -> () | Tv_Const c -> () | Tv_Uvar i u -> () | Tv_Unsupp -> () | Tv_Unknown -> () | Tv_Arrow b c -> on_sort_binder ff ...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 719, "start_col": 0, "start_line": 655 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ff: (_: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit) -> c: FStar.Tactics.NamedView.comp -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[ "visit_tm", "visit_br", "visit_comp" ]
[ "FStar.Tactics.NamedView.term", "Prims.unit", "FStar.Tactics.NamedView.comp", "FStar.Stubs.Reflection.Types.typ", "Steel.Effect.Common.visit_tm", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.universes", "FStar.Stubs.Reflection.Types.name", "Prims.list", "FStar.Stubs.Reflect...
[ "mutual recursion" ]
false
true
false
false
false
let rec visit_comp (ff: (term -> Tac unit)) (c: comp) : Tac unit =
let cv = inspect_comp c in match cv with | C_Total ret -> visit_tm ff ret | C_GTotal ret -> visit_tm ff ret | C_Lemma pre post pats -> visit_tm ff pre; visit_tm ff post; visit_tm ff pats | C_Eff us eff res args decrs -> visit_tm ff res; iter (fun (a, q) -> visit_tm ff a) args; iter (visit_tm ff) decrs
false
Steel.Effect.Common.fsti
Steel.Effect.Common.remove_from_list
val remove_from_list (t: atom) (l: list atom) : Tac (list atom)
val remove_from_list (t: atom) (l: list atom) : Tac (list atom)
let rec remove_from_list (t:atom) (l:list atom) : Tac (list atom) = match l with | [] -> fail "atom in remove_from_list not found: should not happen"; [] | hd::tl -> if t = hd then tl else hd::remove_from_list t tl
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 861, "start_col": 0, "start_line": 858 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> FStar.Tactics.Effect.Tac (Prims.list Steel.Effect.Common.atom)
FStar.Tactics.Effect.Tac
[]
[]
[ "Steel.Effect.Common.atom", "Prims.list", "Prims.Nil", "Prims.unit", "FStar.Tactics.V2.Derived.fail", "Prims.op_Equality", "Prims.bool", "Prims.Cons", "Steel.Effect.Common.remove_from_list" ]
[ "recursion" ]
false
true
false
false
false
let rec remove_from_list (t: atom) (l: list atom) : Tac (list atom) =
match l with | [] -> fail "atom in remove_from_list not found: should not happen"; [] | hd :: tl -> if t = hd then tl else hd :: remove_from_list t tl
false
Steel.Effect.Common.fsti
Steel.Effect.Common.sort
val sort:permute
val sort:permute
let sort : permute = my_sortWith #int (my_compare_of_bool (<))
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 1273, "start_col": 0, "start_line": 1273 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Steel.Effect.Common.permute
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.my_sortWith", "Prims.int", "Steel.Effect.Common.my_compare_of_bool", "Prims.op_LessThan" ]
[]
false
false
false
true
false
let sort:permute =
my_sortWith #int (my_compare_of_bool ( < ))
false
Steel.Effect.Common.fsti
Steel.Effect.Common.print_atoms
val print_atoms (l: list atom) (am: amap term) : Tac string
val print_atoms (l: list atom) (am: amap term) : Tac string
let rec print_atoms (l:list atom) (am:amap term) : Tac string = match l with | [] -> "" | [hd] -> term_to_string (select hd am) | hd::tl -> term_to_string (select hd am) ^ " * " ^ print_atoms tl am
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 71, "end_line": 838, "start_col": 0, "start_line": 834 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.string
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Prims.string", "FStar.Stubs.Tactics.V2.Builtins.term_to_string", "Steel.Effect.Common.select", "Prims.op_Hat", "Steel.Effect.Common.print_atoms" ]
[ "recursion" ]
false
true
false
false
false
let rec print_atoms (l: list atom) (am: amap term) : Tac string =
match l with | [] -> "" | [hd] -> term_to_string (select hd am) | hd :: tl -> term_to_string (select hd am) ^ " * " ^ print_atoms tl am
false
Steel.Effect.Common.fsti
Steel.Effect.Common.where
val where : x: FStar.Tactics.NamedView.term -> xs: Prims.list FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option Prims.nat)
let where = where_aux 0
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 23, "end_line": 1613, "start_col": 0, "start_line": 1613 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.Tactics.NamedView.term -> xs: Prims.list FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option Prims.nat)
FStar.Tactics.Effect.Tac
[ "" ]
[]
[ "Steel.Effect.Common.where_aux" ]
[]
false
true
false
false
false
let where =
where_aux 0
false
Steel.Effect.Common.fsti
Steel.Effect.Common.n_identity_left
val n_identity_left (n: int) (eq m: term) : Tac unit
val n_identity_left (n: int) (eq m: term) : Tac unit
let rec n_identity_left (n:int) (eq m:term) : Tac unit = if n = 0 then ( apply_lemma (`(CE.EQ?.reflexivity (`#eq))); // Cleaning up, in case a uvar has been generated here. It'll be solved later set_goals []) else ( apply_lemma (`identity_right_diff (`#eq) (`#m)); // Drop the slprops...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 1570, "start_col": 0, "start_line": 1560 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "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
n: Prims.int -> eq: FStar.Tactics.NamedView.term -> m: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.int", "FStar.Tactics.NamedView.term", "Prims.op_Equality", "FStar.Stubs.Tactics.V2.Builtins.set_goals", "Prims.Nil", "FStar.Stubs.Tactics.Types.goal", "Prims.unit", "FStar.Tactics.V2.Derived.apply_lemma", "Prims.bool", "Steel.Effect.Common.n_identity_left", "Prims.op_Subtraction", "Stee...
[ "recursion" ]
false
true
false
false
false
let rec n_identity_left (n: int) (eq m: term) : Tac unit =
if n = 0 then (apply_lemma (`(CE.EQ?.reflexivity (`#eq))); set_goals []) else (apply_lemma (`identity_right_diff (`#eq) (`#m)); dismiss_slprops (); n_identity_left (n - 1) eq m)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.get_candidates
val get_candidates (t: term) (l: list term) : Tac (list term)
val get_candidates (t: term) (l: list term) : Tac (list term)
let rec get_candidates (t:term) (l:list term) : Tac (list term) = let name, _ = collect_app t in match l with | [] -> [] | hd::tl -> let n, _ = collect_app hd in if term_eq_old n name then ( hd::(get_candidates t tl) ) else get_candidates t tl
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 804, "start_col": 0, "start_line": 796 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: FStar.Tactics.NamedView.term -> l: Prims.list FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Tactics.NamedView.term)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "Prims.Nil", "Prims.Cons", "Steel.Effect.Common.get_candidates", "Prims.bool", "FStar.Stubs.Tactics.V2.Builtins.term_eq_old", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.SyntaxHelpers.collect_app" ]
[ "recursion" ]
false
true
false
false
false
let rec get_candidates (t: term) (l: list term) : Tac (list term) =
let name, _ = collect_app t in match l with | [] -> [] | hd :: tl -> let n, _ = collect_app hd in if term_eq_old n name then (hd :: (get_candidates t tl)) else get_candidates t tl
false
Steel.Effect.Common.fsti
Steel.Effect.Common.dismiss_slprops
val dismiss_slprops: Prims.unit -> Tac unit
val dismiss_slprops: Prims.unit -> Tac unit
let rec dismiss_slprops () : Tac unit = match term_as_formula' (cur_goal ()) with | App t _ -> if is_fvar t (`%squash) then () else (dismiss(); dismiss_slprops ()) | _ -> dismiss(); dismiss_slprops ()
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 1557, "start_col": 0, "start_line": 1554 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "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
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.NamedView.term", "FStar.Reflection.V2.Derived.is_fvar", "Prims.bool", "Steel.Effect.Common.dismiss_slprops", "FStar.Tactics.V2.Derived.dismiss", "FStar.Reflection.V2.Formula.formula", "FStar.Reflection.V2.Formula.term_as_formula'", "FStar.Tactics.V2.Derived.cur_goal", ...
[ "recursion" ]
false
true
false
false
false
let rec dismiss_slprops () : Tac unit =
match term_as_formula' (cur_goal ()) with | App t _ -> if is_fvar t (`%squash) then () else (dismiss (); dismiss_slprops ()) | _ -> dismiss (); dismiss_slprops ()
false
Steel.Effect.Common.fsti
Steel.Effect.Common.trivial_cancel
val trivial_cancel : t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> Prims.bool * Prims.list Steel.Effect.Common.atom
let rec trivial_cancel (t:atom) (l:list atom) = match l with | [] -> false, l | hd::tl -> if hd = t then // These elements match, we remove them true, tl else (let b, res = trivial_cancel t tl in b, hd::res)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 59, "end_line": 814, "start_col": 0, "start_line": 807 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> Prims.bool * Prims.list Steel.Effect.Common.atom
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.atom", "Prims.list", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "Prims.op_Equality", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.trivial_cancel" ]
[ "recursion" ]
false
false
false
true
false
let rec trivial_cancel (t: atom) (l: list atom) =
match l with | [] -> false, l | hd :: tl -> if hd = t then true, tl else (let b, res = trivial_cancel t tl in b, hd :: res)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.visit_tm
val visit_tm (ff: (term -> Tac unit)) (t: term) : Tac unit
val visit_tm (ff: (term -> Tac unit)) (t: term) : Tac unit
let rec visit_tm (ff : term -> Tac unit) (t : term) : Tac unit = let tv = inspect t in (match tv with | Tv_FVar _ | Tv_UInst _ _ | Tv_Var _ | Tv_BVar _ -> () | Tv_Type _ -> () | Tv_Const c -> () | Tv_Uvar i u -> () | Tv_Unsupp -> () | Tv_Unknown -> () | Tv_Arrow b c -> on_sort_binder ff ...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 719, "start_col": 0, "start_line": 655 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ff: (_: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit) -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[ "visit_tm", "visit_br", "visit_comp" ]
[ "FStar.Tactics.NamedView.term", "Prims.unit", "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.V2.Data.universes", "FStar.Tactics.NamedView.namedv", "FStar.Tactics.NamedView.bv", "FStar.Tactics.NamedView.universe", "FStar.Stubs.Reflection.V2.Data.vconst", "Prims.nat", "FStar.Stubs.Reflec...
[ "mutual recursion" ]
false
true
false
false
false
let rec visit_tm (ff: (term -> Tac unit)) (t: term) : Tac unit =
let tv = inspect t in (match tv with | Tv_FVar _ | Tv_UInst _ _ | Tv_Var _ | Tv_BVar _ -> () | Tv_Type _ -> () | Tv_Const c -> () | Tv_Uvar i u -> () | Tv_Unsupp -> () | Tv_Unknown -> () | Tv_Arrow b c -> on_sort_binder ff b; visit_comp ff c | Tv_Abs b t -> let b = on_sort_binder (visit_tm f...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.reification
val reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term)
val reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term)
let reification (eq: term) (m: term) (ts:list term) (am:amap term) (t:term) : Tac (exp * list term * amap term) = let mult = norm_term [iota; zeta; delta] (`CE.CM?.mult (`#m)) in let unit = norm_term [iota; zeta; delta] (`CE.CM?.unit (`#m)) in let t = norm_term [iota; zeta] t in reification_aux ts am mul...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 1648, "start_col": 0, "start_line": 1643 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
eq: FStar.Tactics.NamedView.term -> m: FStar.Tactics.NamedView.term -> ts: Prims.list FStar.Tactics.NamedView.term -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac ((Steel.Effect.Common.exp * Prims.list FStar.Tactics.N...
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "Steel.Effect.Common.amap", "Steel.Effect.Common.reification_aux", "FStar.Pervasives.Native.tuple3", "Steel.Effect.Common.exp", "FStar.Tactics.V2.Derived.norm_term", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.iota", "FStar.Pervasiv...
[]
false
true
false
false
false
let reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term) =
let mult = norm_term [iota; zeta; delta] (`CE.CM?.mult (`#m)) in let unit = norm_term [iota; zeta; delta] (`CE.CM?.unit (`#m)) in let t = norm_term [iota; zeta] t in reification_aux ts am mult unit t
false
Steel.Effect.Common.fsti
Steel.Effect.Common.convert_am
val convert_am (am: amap term) : term
val convert_am (am: amap term) : term
let convert_am (am : amap term) : term = let (map, def) = am in (* let def = norm_term [delta] def in *) `( (`#(convert_map map), `#def) )
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 1666, "start_col": 0, "start_line": 1663 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.NamedView.term
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.atom", "FStar.Stubs.Reflection.Types.term", "Steel.Effect.Common.convert_map" ]
[]
false
false
false
true
false
let convert_am (am: amap term) : term =
let map, def = am in `(((`#(convert_map map)), (`#def)))
false
Steel.Effect.Common.fsti
Steel.Effect.Common.equivalent_lists'
val equivalent_lists' (n: nat) (use_smt: bool) (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * bool * list term)
val equivalent_lists' (n: nat) (use_smt: bool) (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * bool * list term)
let rec equivalent_lists' (n:nat) (use_smt:bool) (l1 l2 l1_del l2_del:list atom) (am:amap term) : Tac (list atom * list atom * bool * list term) = match l1 with | [] -> begin match l2 with | [] -> (l1_del, l2_del, false, []) | [hd] -> // Succeed if there is only one uvar left in l2, which can be the...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 70, "end_line": 1067, "start_col": 0, "start_line": 1028 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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 -> use_smt: Prims.bool -> l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> l1_del: Prims.list Steel.Effect.Common.atom -> l2_del: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tac...
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.nat", "Prims.bool", "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple4", "Prims.Nil", "FStar.Pervasives.Native.tuple4", "Prims.Cons", "FStar.Tactics.V2.Derived.fail", "Prims.string", "Prims.op_Hat", ...
[ "recursion" ]
false
true
false
false
false
let rec equivalent_lists' (n: nat) (use_smt: bool) (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * bool * list term) =
match l1 with | [] -> (match l2 with | [] -> (l1_del, l2_del, false, []) | [hd] -> if is_uvar (select hd am) then ((l1_del, hd :: l2_del, true, [])) else fail ("could not find candidates for " ^ term_to_string (get_head l2 am)) | _ -> fail ("could not find candidates for " ^ term_to_stri...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.try_candidates
val try_candidates (t: atom) (l: list atom) (am: amap term) : Tac (atom * int)
val try_candidates (t: atom) (l: list atom) (am: amap term) : Tac (atom * int)
let rec try_candidates (t:atom) (l:list atom) (am:amap term) : Tac (atom * int) = match l with | [] -> t, 0 | hd::tl -> if is_uvar (select hd am) then (try_candidates t tl am) else // Encapsulate unify in a try/with to ensure unification is not actually performed let res = try if unify...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 55, "end_line": 854, "start_col": 0, "start_line": 844 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Steel.Effect.Common.atom * Prims.int)
FStar.Tactics.Effect.Tac
[]
[]
[ "Steel.Effect.Common.atom", "Prims.list", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple2", "Prims.int", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.try_candidates", "Prims.bool", "Prims.op_AmpAmp", "Prims.op_disEquality", "Prims.op_Addi...
[ "recursion" ]
false
true
false
false
false
let rec try_candidates (t: atom) (l: list atom) (am: amap term) : Tac (atom * int) =
match l with | [] -> t, 0 | hd :: tl -> if is_uvar (select hd am) then (try_candidates t tl am) else let res = try if unify (select t am) (select hd am) then raise Success else raise Failed with | Success -> true | _ -> false in let t', n' = try_candidates t tl am in if res...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.get_head
val get_head (l: list atom) (am: amap term) : term
val get_head (l: list atom) (am: amap term) : term
let get_head (l:list atom) (am:amap term) : term = match l with | [] -> `() | hd::_ -> select hd am
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 912, "start_col": 0, "start_line": 910 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.NamedView.term
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.select" ]
[]
false
false
false
true
false
let get_head (l: list atom) (am: amap term) : term =
match l with | [] -> `() | hd :: _ -> select hd am
false
Steel.Effect.Common.fsti
Steel.Effect.Common.is_only_uvar
val is_only_uvar (l: list atom) (am: amap term) : Tac bool
val is_only_uvar (l: list atom) (am: amap term) : Tac bool
let is_only_uvar (l:list atom) (am:amap term) : Tac bool = if List.Tot.Base.length l = 1 then is_uvar (select (List.Tot.Base.hd l) am) else false
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 917, "start_col": 0, "start_line": 915 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Steel.Effect.Common.is_uvar", "Steel.Effect.Common.select", "FStar.List.Tot.Base.hd", "Prims.bool" ]
[]
false
true
false
false
false
let is_only_uvar (l: list atom) (am: amap term) : Tac bool =
if List.Tot.Base.length l = 1 then is_uvar (select (List.Tot.Base.hd l) am) else false
false
Steel.Effect.Common.fsti
Steel.Effect.Common.equivalent_lists_once
val equivalent_lists_once (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
val equivalent_lists_once (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
let rec equivalent_lists_once (l1 l2 l1_del l2_del:list atom) (am:amap term) : Tac (list atom * list atom * list atom * list atom) = match l1 with | [] -> [], l2, l1_del, l2_del | hd::tl -> let t, n = try_candidates hd l2 am in if n = 1 then ( let l2 = remove_from_list t l2 in equivalent_lis...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 880, "start_col": 0, "start_line": 867 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> l1_del: Prims.list Steel.Effect.Common.atom -> l2_del: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (((Prims.list Steel.Effect....
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple4", "Prims.Nil", "FStar.Pervasives.Native.tuple4", "Prims.int", "Prims.op_Equality", "Steel.Effect.Common.equivalent_lists_once", "Prims.Cons", "Steel.Effect.Co...
[ "recursion" ]
false
true
false
false
false
let rec equivalent_lists_once (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom) =
match l1 with | [] -> [], l2, l1_del, l2_del | hd :: tl -> let t, n = try_candidates hd l2 am in if n = 1 then (let l2 = remove_from_list t l2 in equivalent_lists_once tl l2 (hd :: l1_del) (t :: l2_del) am) else (let rem1, rem2, l1'_del, l2'_del = equivalent_lists_once tl l2 l1_del l2_del am in ...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.unifies_with_all_uvars
val unifies_with_all_uvars (t: term) (l: list atom) (am: amap term) : Tac bool
val unifies_with_all_uvars (t: term) (l: list atom) (am: amap term) : Tac bool
let rec unifies_with_all_uvars (t:term) (l:list atom) (am:amap term) : Tac bool = match l with | [] -> true | hd::tl -> if unifies_with_all_uvars t tl am then ( // Unified with tail, try this term let hd_t = select hd am in if is_uvar hd_t then ( // The head term is a uvar,...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 1082, "start_col": 0, "start_line": 1070 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: FStar.Tactics.NamedView.term -> l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "Prims.bool", "FStar.Tactics.V2.Derived.try_with", "Prims.unit", "FStar.Tactics.Effect.raise", "Steel.Effect.Common.Success", "Steel.Effect.Common.Failed", "FStar.Tactics.V2.Derived.unify", "P...
[ "recursion" ]
false
true
false
false
false
let rec unifies_with_all_uvars (t: term) (l: list atom) (am: amap term) : Tac bool =
match l with | [] -> true | hd :: tl -> if unifies_with_all_uvars t tl am then (let hd_t = select hd am in if is_uvar hd_t then (try if unify t hd_t then raise Success else raise Failed with | Success -> true | _ -> false) else true) else false
false
Steel.Effect.Common.fsti
Steel.Effect.Common.reification_aux
val reification_aux (ts: list term) (am: amap term) (mult unit t: term) : Tac (exp * list term * amap term)
val reification_aux (ts: list term) (am: amap term) (mult unit t: term) : Tac (exp * list term * amap term)
let rec reification_aux (ts:list term) (am:amap term) (mult unit t : term) : Tac (exp * list term * amap term) = let hd, tl = collect_app_ref t in match inspect_unascribe hd, List.Tot.Base.list_unref tl with | Tv_FVar fv, [(t1, Q_Explicit) ; (t2, Q_Explicit)] -> if term_eq_old (pack (T...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 22, "end_line": 1640, "start_col": 0, "start_line": 1627 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ts: Prims.list FStar.Tactics.NamedView.term -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> mult: FStar.Tactics.NamedView.term -> unit: FStar.Tactics.NamedView.term -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac ((Steel.Effect.Common.exp * Prims.list FStar.Tact...
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.amap", "FStar.Stubs.Reflection.Types.term", "Prims.l_or", "Prims.eq2", "Prims.precedes", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.fst", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.Types...
[ "recursion" ]
false
true
false
false
false
let rec reification_aux (ts: list term) (am: amap term) (mult unit t: term) : Tac (exp * list term * amap term) =
let hd, tl = collect_app_ref t in match inspect_unascribe hd, List.Tot.Base.list_unref tl with | Tv_FVar fv, [t1, Q_Explicit ; t2, Q_Explicit] -> if term_eq_old (pack (Tv_FVar fv)) mult then (let e1, ts, am = reification_aux ts am mult unit t1 in let e2, ts, am = reification_aux ts am mult unit t2 in ...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.normal_tac
val normal_tac (#a: Type) (x: a) : a
val normal_tac (#a: Type) (x: a) : a
let normal_tac (#a:Type) (x:a) : a = FStar.Pervasives.norm normal_tac_steps x
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 77, "end_line": 1696, "start_col": 0, "start_line": 1696 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: a -> a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.norm", "Steel.Effect.Common.normal_tac_steps" ]
[]
false
false
false
true
false
let normal_tac (#a: Type) (x: a) : a =
FStar.Pervasives.norm normal_tac_steps x
false
Steel.Effect.Common.fsti
Steel.Effect.Common.normal_tac_steps
val normal_tac_steps : Prims.list FStar.Pervasives.norm_step
let normal_tac_steps = [primops; iota; zeta; delta_only [ `%mdenote; `%select; `%my_assoc; `%my_append; `%flatten; `%sort; `%my_sortWith; `%my_partition; `%my_bool_of_compare; `%my_compare_of_bool; `%fst; `%__proj__Mktuple2__item___1; `%snd; `%__proj...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 1693, "start_col": 0, "start_line": 1683 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.list FStar.Pervasives.norm_step
Prims.Tot
[ "total" ]
[]
[ "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.primops", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil" ]
[]
false
false
false
true
false
let normal_tac_steps =
[ primops; iota; zeta; delta_only [ `%mdenote; `%select; `%my_assoc; `%my_append; `%flatten; `%sort; `%my_sortWith; `%my_partition; `%my_bool_of_compare; `%my_compare_of_bool; `%fst; `%__proj__Mktuple2__item___1; `%snd; `%__proj__Mktuple2__item___2; `%CE.__proj__CM__item__unit; `%CE.__proj__CM...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.new_args_for_smt_attrs
val new_args_for_smt_attrs (env: env) (l: list argv) (ty: typ) : Tac (list argv * list term)
val new_args_for_smt_attrs (env: env) (l: list argv) (ty: typ) : Tac (list argv * list term)
let rec new_args_for_smt_attrs (env:env) (l:list argv) (ty:typ) : Tac (list argv * list term) = let fresh_ghost_uvar ty = let e = cur_env () in ghost_uvar_env e ty in match l, inspect_unascribe ty with | (arg, aqualv)::tl, Tv_Arrow binder comp -> let needs_smt = is_smt_binder binder in let new_h...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 66, "end_line": 967, "start_col": 0, "start_line": 936 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
env: FStar.Stubs.Reflection.Types.env -> l: Prims.list FStar.Stubs.Reflection.V2.Data.argv -> ty: FStar.Stubs.Reflection.Types.typ -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.V2.Data.argv * Prims.list FStar.Tactics.NamedView.term)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.env", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Stubs.Reflection.Types.typ", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.comp...
[ "recursion" ]
false
true
false
false
false
let rec new_args_for_smt_attrs (env: env) (l: list argv) (ty: typ) : Tac (list argv * list term) =
let fresh_ghost_uvar ty = let e = cur_env () in ghost_uvar_env e ty in match l, inspect_unascribe ty with | (arg, aqualv) :: tl, Tv_Arrow binder comp -> let needs_smt = is_smt_binder binder in let new_hd = if needs_smt then (let arg_ty = tc env arg in let uvar = fresh_ghost_uvar arg_ty in ...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.equivalent_lists_once_l2
val equivalent_lists_once_l2 (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
val equivalent_lists_once_l2 (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
let rec equivalent_lists_once_l2 (l1 l2 l1_del l2_del:list atom) (am:amap term) : Tac (list atom * list atom * list atom * list atom) = match l2 with | [] -> l1, [], l1_del, l2_del | hd::tl -> if is_uvar (select hd am) then // We do not try to match the vprop uvar let rem1, rem2, l1'_del, l2'_de...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 907, "start_col": 0, "start_line": 888 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> l1_del: Prims.list Steel.Effect.Common.atom -> l2_del: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (((Prims.list Steel.Effect....
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple4", "Prims.Nil", "FStar.Pervasives.Native.tuple4", "Prims.Cons", "Steel.Effect.Common.equivalent_lists_once_l2", "Prims.bool", "Prims.int", "Prims.op_Equality",...
[ "recursion" ]
false
true
false
false
false
let rec equivalent_lists_once_l2 (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom) =
match l2 with | [] -> l1, [], l1_del, l2_del | hd :: tl -> if is_uvar (select hd am) then let rem1, rem2, l1'_del, l2'_del = equivalent_lists_once_l2 l1 tl l1_del l2_del am in rem1, hd :: rem2, l1'_del, l2'_del else (let t, n = try_candidates hd l1 am in if n = 1 then (let l1 = rem...
false
Steel.Effect.Common.fsti
Steel.Effect.Common.flatten
val flatten (e: exp) : list atom
val flatten (e: exp) : list atom
let rec flatten (e:exp) : list atom = match e with | Unit -> [] | Atom x -> [x] | Mult e1 e2 -> flatten e1 `my_append` flatten e2
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 51, "end_line": 1152, "start_col": 0, "start_line": 1148 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
e: Steel.Effect.Common.exp -> Prims.list Steel.Effect.Common.atom
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.exp", "Prims.Nil", "Steel.Effect.Common.atom", "Prims.Cons", "Steel.Effect.Common.my_append", "Steel.Effect.Common.flatten", "Prims.list" ]
[ "recursion" ]
false
false
false
true
false
let rec flatten (e: exp) : list atom =
match e with | Unit -> [] | Atom x -> [x] | Mult e1 e2 -> (flatten e1) `my_append` (flatten e2)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.most_restricted_at_top
val most_restricted_at_top (l1 l2: list atom) (am: amap term) : Tac (list atom)
val most_restricted_at_top (l1 l2: list atom) (am: amap term) : Tac (list atom)
let rec most_restricted_at_top (l1 l2:list atom) (am:amap term) : Tac (list atom) = match l1 with | [] -> [] | hd::tl -> if unifies_with_all_uvars (select hd am) l2 am then (most_restricted_at_top tl l2 am) `List.Tot.append` [hd] else hd::(most_restricted_at_top tl l2 am)
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 1091, "start_col": 0, "start_line": 1086 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.list Steel.Effect.Common.atom)
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Prims.Nil", "FStar.List.Tot.Base.append", "Prims.Cons", "Steel.Effect.Common.most_restricted_at_top", "Prims.bool", "Steel.Effect.Common.unifies_with_all_uvars", "Steel.Effect.Common.select" ]
[ "recursion" ]
false
true
false
false
false
let rec most_restricted_at_top (l1 l2: list atom) (am: amap term) : Tac (list atom) =
match l1 with | [] -> [] | hd :: tl -> if unifies_with_all_uvars (select hd am) l2 am then (most_restricted_at_top tl l2 am) `List.Tot.append` [hd] else hd :: (most_restricted_at_top tl l2 am)
false
Steel.Effect.Common.fsti
Steel.Effect.Common.try_unifying_remaining
val try_unifying_remaining (l: list atom) (u: term) (am: amap term) : Tac unit
val try_unifying_remaining (l: list atom) (u: term) (am: amap term) : Tac unit
let rec try_unifying_remaining (l:list atom) (u:term) (am:amap term) : Tac unit = match l with | [] -> () | hd::tl -> try if unify u (select hd am) then raise Success else raise Failed with | Success -> try_unifying_remaining tl u am | _ -> fail ("could not find candidate for scrutinee " ^ term_...
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 93, "end_line": 927, "start_col": 0, "start_line": 921 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list Steel.Effect.Common.atom -> u578: FStar.Tactics.NamedView.term -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Steel.Effect.Common.atom", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.amap", "Prims.unit", "FStar.Tactics.V2.Derived.try_with", "FStar.Tactics.Effect.raise", "Steel.Effect.Common.Success", "Prims.bool", "Steel.Effect.Common.Failed", "FStar.Tactics.V2.Derived.unify", "S...
[ "recursion" ]
false
true
false
false
false
let rec try_unifying_remaining (l: list atom) (u: term) (am: amap term) : Tac unit =
match l with | [] -> () | hd :: tl -> try if unify u (select hd am) then raise Success else raise Failed with | Success -> try_unifying_remaining tl u am | _ -> fail ("could not find candidate for scrutinee " ^ term_to_string (select hd am))
false
Steel.Effect.Common.fsti
Steel.Effect.Common.close_equality_typ'
val close_equality_typ' (t: term) : Tac unit
val close_equality_typ' (t: term) : Tac unit
let close_equality_typ' (t:term) : Tac unit = let f = term_as_formula' t in match f with | Comp (Eq (Some u)) l _ -> if is_uvar u then (unshelve u; exact_with_ref (tc (cur_env()) l)) | _ -> ()
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 11, "end_line": 1712, "start_col": 0, "start_line": 1708 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Stubs.Reflection.Types.typ", "FStar.Tactics.V2.Derived.exact_with_ref", "Prims.unit", "FStar.Stubs.Tactics.V2.Builtins.tc", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.Types.env", "FStar.Tactics.V2.Derived.cur_env", "FStar.Stubs.Tactics.V2.Buil...
[]
false
true
false
false
false
let close_equality_typ' (t: term) : Tac unit =
let f = term_as_formula' t in match f with | Comp (Eq (Some u)) l _ -> if is_uvar u then (unshelve u; exact_with_ref (tc (cur_env ()) l)) | _ -> ()
false
Steel.Effect.Common.fsti
Steel.Effect.Common.bor
val bor : _: Prims.bool -> _: Prims.bool -> Prims.bool
let bor = op_BarBar
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 19, "end_line": 1767, "start_col": 0, "start_line": 1767 }
(* 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.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.CanonCommMonoidSimple.Equiv.fst.checked", "FStar.String.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2...
[ { "abbrev": false, "full_module": "FStar.Reflection.V2.Derived.Lemmas", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommMonoidSimple.Equiv", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.bool -> _: Prims.bool -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.op_BarBar" ]
[]
false
false
false
true
false
let bor =
op_BarBar
false