effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
val rm:CE.cm vprop req
[ { "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 }...
false
let rm : CE.cm vprop req = CE.CM emp star cm_identity star_associative star_commutative star_congruence
val rm:CE.cm vprop req let rm:CE.cm vprop req =
false
null
false
CE.CM emp star cm_identity star_associative star_commutative star_congruence
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "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"...
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val rm:CE.cm vprop req
[]
Steel.Effect.Common.rm
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
FStar.Algebra.CommMonoid.Equiv.cm Steel.Effect.Common.vprop Steel.Effect.Common.req
{ "end_col": 20, "end_line": 538, "start_col": 2, "start_line": 533 }
Prims.Tot
val my_compare_of_bool (#a: eqtype) (rel: (a -> a -> Tot bool)) (x y: a) : Tot int
[ { "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...
false
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
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 y: a) : Tot int =
false
null
false
if x `rel` y then - 1 else if x = y then 0 else 1
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.eqtype", "Prims.bool", "Prims.op_Minus", "Prims.op_Equality", "Prims.int" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val my_compare_of_bool (#a: eqtype) (rel: (a -> a -> Tot bool)) (x y: a) : Tot int
[]
Steel.Effect.Common.my_compare_of_bool
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
rel: (_: a -> _: a -> Prims.bool) -> x: a -> y: a -> Prims.int
{ "end_col": 10, "end_line": 1271, "start_col": 4, "start_line": 1269 }
FStar.Tactics.Effect.Tac
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)
[ { "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 }...
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 | [] -> begin match l2 with | [] -> (l1_del, l2_del, false, []) | [hd] -> // Succeed if there is only one uvar left in l2, which can be the...
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) =
true
null
false
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...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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", ...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val 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)
[ "recursion" ]
Steel.Effect.Common.equivalent_lists'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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...
{ "end_col": 70, "end_line": 1067, "start_col": 2, "start_line": 1030 }
Prims.Tot
val sort:permute
[ { "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...
false
let sort : permute = my_sortWith #int (my_compare_of_bool (<))
val sort:permute let sort:permute =
false
null
false
my_sortWith #int (my_compare_of_bool ( < ))
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.my_sortWith", "Prims.int", "Steel.Effect.Common.my_compare_of_bool", "Prims.op_LessThan" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sort:permute
[]
Steel.Effect.Common.sort
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Steel.Effect.Common.permute
{ "end_col": 62, "end_line": 1273, "start_col": 21, "start_line": 1273 }
FStar.Pervasives.Lemma
val focus_rmem_refl (r: vprop) (h: rmem r) : Lemma (focus_rmem #r h r == h)
[ { "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, ...
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
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) =
false
null
true
FStar.FunctionalExtensionality.extensionality_g _ _ (focus_rmem #r h r) h
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "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", ...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val focus_rmem_refl (r: vprop) (h: rmem r) : Lemma (focus_rmem #r h r == h)
[]
Steel.Effect.Common.focus_rmem_refl
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.Effect.Common.vprop -> h: Steel.Effect.Common.rmem r -> FStar.Pervasives.Lemma (ensures Steel.Effect.Common.focus_rmem h r == h)
{ "end_col": 77, "end_line": 361, "start_col": 4, "start_line": 361 }
Prims.Tot
[ { "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 }...
false
let rec atoms_to_string (l:list atom) = match l with | [] -> "" | hd::tl -> string_of_int hd ^ " " ^ atoms_to_string tl
let rec atoms_to_string (l: list atom) =
false
null
false
match l with | [] -> "" | hd :: tl -> string_of_int hd ^ " " ^ atoms_to_string tl
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.list", "Steel.Effect.Common.atom", "Prims.op_Hat", "Prims.string_of_int", "Steel.Effect.Common.atoms_to_string", "Prims.string" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val atoms_to_string : l: Prims.list Steel.Effect.Common.atom -> Prims.string
[ "recursion" ]
Steel.Effect.Common.atoms_to_string
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Steel.Effect.Common.atom -> Prims.string
{ "end_col": 57, "end_line": 745, "start_col": 40, "start_line": 743 }
FStar.Tactics.Effect.Tac
val n_identity_left (n: int) (eq m: term) : Tac unit
[ { "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...
false
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...
val n_identity_left (n: int) (eq m: term) : Tac unit let rec n_identity_left (n: int) (eq m: term) : Tac unit =
true
null
false
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)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.int", "FStar.Tactics.NamedView.term", "Prims.op_Equality", "FStar.Tactics.V2.Builtins.set_goals", "Prims.Nil", "FStar.Tactics.Types.goal", "Prims.unit", "FStar.Tactics.V2.Derived.apply_lemma", "Prims.bool", "Steel.Effect.Common.n_identity_left", "Prims.op_Subtraction", "Steel.Effect.Com...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val n_identity_left (n: int) (eq m: term) : Tac unit
[ "recursion" ]
Steel.Effect.Common.n_identity_left
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
n: Prims.int -> eq: FStar.Tactics.NamedView.term -> m: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 5, "end_line": 1570, "start_col": 4, "start_line": 1561 }
FStar.Tactics.Effect.Tac
val dismiss_slprops: Prims.unit -> Tac unit
[ { "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...
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 ()
val dismiss_slprops: Prims.unit -> Tac unit let rec dismiss_slprops () : Tac unit =
true
null
false
match term_as_formula' (cur_goal ()) with | App t _ -> if is_fvar t (`%squash) then () else (dismiss (); dismiss_slprops ()) | _ -> dismiss (); dismiss_slprops ()
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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", ...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val dismiss_slprops: Prims.unit -> Tac unit
[ "recursion" ]
Steel.Effect.Common.dismiss_slprops
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 40, "end_line": 1557, "start_col": 2, "start_line": 1555 }
FStar.Tactics.Effect.Tac
val reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term)
[ { "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...
false
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...
val reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term) let reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term) =
true
null
false
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
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val reification (eq m: term) (ts: list term) (am: amap term) (t: term) : Tac (exp * list term * amap term)
[]
Steel.Effect.Common.reification
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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...
{ "end_col": 35, "end_line": 1648, "start_col": 39, "start_line": 1644 }
FStar.Tactics.Effect.Tac
val reification_aux (ts: list term) (am: amap term) (mult unit t: term) : Tac (exp * list term * amap term)
[ { "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...
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 (T...
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) =
true
null
false
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 ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.amap", "FStar.Reflection.Types.term", "Prims.l_or", "Prims.eq2", "Prims.precedes", "FStar.Reflection.V2.Data.argv", "FStar.Pervasives.Native.fst", "FStar.Reflection.V2.Data.aqualv", "FStar.Reflection.Types.fv", "Steel.Effect.Co...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val reification_aux (ts: list term) (am: amap term) (mult unit t: term) : Tac (exp * list term * amap term)
[ "recursion" ]
Steel.Effect.Common.reification_aux
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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...
{ "end_col": 22, "end_line": 1640, "start_col": 82, "start_line": 1628 }
Prims.Tot
[ { "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...
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...
let normal_tac_steps =
false
null
false
[ 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...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.primops", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val normal_tac_steps : Prims.list FStar.Pervasives.norm_step
[]
Steel.Effect.Common.normal_tac_steps
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Prims.list FStar.Pervasives.norm_step
{ "end_col": 16, "end_line": 1693, "start_col": 23, "start_line": 1683 }
Prims.Tot
val normal_tac (#a: Type) (x: a) : a
[ { "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...
false
let normal_tac (#a:Type) (x:a) : a = FStar.Pervasives.norm normal_tac_steps x
val normal_tac (#a: Type) (x: a) : a let normal_tac (#a: Type) (x: a) : a =
false
null
false
FStar.Pervasives.norm normal_tac_steps x
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "FStar.Pervasives.norm", "Steel.Effect.Common.normal_tac_steps" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val normal_tac (#a: Type) (x: a) : a
[]
Steel.Effect.Common.normal_tac
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: a -> a
{ "end_col": 77, "end_line": 1696, "start_col": 37, "start_line": 1696 }
Prims.Tot
[ { "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 }...
false
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)
let rec trivial_cancel (t: atom) (l: list atom) =
false
null
false
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)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "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" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val trivial_cancel : t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> Prims.bool * Prims.list Steel.Effect.Common.atom
[ "recursion" ]
Steel.Effect.Common.trivial_cancel
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> Prims.bool * Prims.list Steel.Effect.Common.atom
{ "end_col": 59, "end_line": 814, "start_col": 2, "start_line": 808 }
FStar.Tactics.Effect.Tac
val close_equality_typ' (t: term) : Tac unit
[ { "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...
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)) | _ -> ()
val close_equality_typ' (t: term) : Tac unit let close_equality_typ' (t: term) : Tac unit =
true
null
false
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)) | _ -> ()
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "FStar.Reflection.Types.typ", "FStar.Tactics.V2.Derived.exact_with_ref", "Prims.unit", "FStar.Tactics.V2.Builtins.tc", "FStar.Reflection.Types.term", "FStar.Reflection.Types.env", "FStar.Tactics.V2.Derived.cur_env", "FStar.Tactics.V2.Builtins.unshelve", "Prims.bool"...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val close_equality_typ' (t: term) : Tac unit
[]
Steel.Effect.Common.close_equality_typ'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 11, "end_line": 1712, "start_col": 45, "start_line": 1708 }
FStar.Tactics.Effect.Tac
val get_candidates (t: term) (l: list term) : Tac (list term)
[ { "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 }...
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
val get_candidates (t: term) (l: list term) : Tac (list term) let rec get_candidates (t: term) (l: list term) : Tac (list term) =
true
null
false
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
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "Prims.Nil", "Prims.Cons", "Steel.Effect.Common.get_candidates", "Prims.bool", "FStar.Tactics.V2.Builtins.term_eq_old", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.SyntaxHelpers.collect_app" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val get_candidates (t: term) (l: list term) : Tac (list term)
[ "recursion" ]
Steel.Effect.Common.get_candidates
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> l: Prims.list FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Tactics.NamedView.term)
{ "end_col": 32, "end_line": 804, "start_col": 65, "start_line": 796 }
FStar.Tactics.Effect.Tac
val trivial_cancels (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
[ { "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 }...
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'...
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) =
true
null
false
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)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val trivial_cancels (l1 l2: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
[ "recursion" ]
Steel.Effect.Common.trivial_cancels
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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) * ...
{ "end_col": 76, "end_line": 828, "start_col": 2, "start_line": 822 }
Prims.Tot
val get_head (l: list atom) (am: amap term) : term
[ { "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 }...
false
let get_head (l:list atom) (am:amap term) : term = match l with | [] -> `() | hd::_ -> select hd am
val get_head (l: list atom) (am: amap term) : term let get_head (l: list atom) (am: amap term) : term =
false
null
false
match l with | [] -> `() | hd :: _ -> select hd am
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.amap", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.select" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val get_head (l: list atom) (am: amap term) : term
[]
Steel.Effect.Common.get_head
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.NamedView.term
{ "end_col": 25, "end_line": 912, "start_col": 51, "start_line": 910 }
Prims.Tot
[ { "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...
false
let bor = op_BarBar
let bor =
false
null
false
op_BarBar
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.op_BarBar" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val bor : _: Prims.bool -> _: Prims.bool -> Prims.bool
[]
Steel.Effect.Common.bor
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.bool -> _: Prims.bool -> Prims.bool
{ "end_col": 19, "end_line": 1767, "start_col": 10, "start_line": 1767 }
FStar.Tactics.Effect.Tac
val remove_from_list (t: atom) (l: list atom) : Tac (list atom)
[ { "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 }...
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
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) =
true
null
false
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
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val remove_from_list (t: atom) (l: list atom) : Tac (list atom)
[ "recursion" ]
Steel.Effect.Common.remove_from_list
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: Steel.Effect.Common.atom -> l: Prims.list Steel.Effect.Common.atom -> FStar.Tactics.Effect.Tac (Prims.list Steel.Effect.Common.atom)
{ "end_col": 62, "end_line": 861, "start_col": 2, "start_line": 859 }
FStar.Tactics.Effect.Tac
val try_unifying_remaining (l: list atom) (u: term) (am: amap term) : Tac unit
[ { "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 }...
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_...
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 =
true
null
false
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))
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val try_unifying_remaining (l: list atom) (u: term) (am: amap term) : Tac unit
[ "recursion" ]
Steel.Effect.Common.try_unifying_remaining
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Steel.Effect.Common.atom -> u210: FStar.Tactics.NamedView.term -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 93, "end_line": 927, "start_col": 2, "start_line": 922 }
FStar.Tactics.Effect.Tac
val is_only_uvar (l: list atom) (am: amap term) : Tac bool
[ { "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 }...
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
val is_only_uvar (l: list atom) (am: amap term) : Tac bool let is_only_uvar (l: list atom) (am: amap term) : Tac bool =
true
null
false
if List.Tot.Base.length l = 1 then is_uvar (select (List.Tot.Base.hd l) am) else false
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_only_uvar (l: list atom) (am: amap term) : Tac bool
[]
Steel.Effect.Common.is_only_uvar
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Steel.Effect.Common.atom -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 12, "end_line": 917, "start_col": 2, "start_line": 916 }
FStar.Tactics.Effect.Tac
val equivalent_lists_once (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
[ { "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 }...
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_lis...
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) =
true
null
false
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 ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val equivalent_lists_once (l1 l2 l1_del l2_del: list atom) (am: amap term) : Tac (list atom * list atom * list atom * list atom)
[ "recursion" ]
Steel.Effect.Common.equivalent_lists_once
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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....
{ "end_col": 5, "end_line": 880, "start_col": 2, "start_line": 869 }
Prims.Tot
val is_star (t: term) : bool
[ { "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...
false
let is_star (t:term) : bool = is_any_fvar t [`%star; `%VStar]
val is_star (t: term) : bool let is_star (t: term) : bool =
false
null
false
is_any_fvar t [`%star; `%VStar]
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "FStar.Tactics.NamedView.term", "FStar.Reflection.V2.Derived.is_any_fvar", "Prims.Cons", "Prims.string", "Prims.Nil", "Prims.bool" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_star (t: term) : bool
[]
Steel.Effect.Common.is_star
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> Prims.bool
{ "end_col": 33, "end_line": 1779, "start_col": 2, "start_line": 1779 }
FStar.Tactics.Effect.Tac
val try_candidates (t: atom) (l: list atom) (am: amap term) : Tac (atom * int)
[ { "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 }...
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 // Encapsulate unify in a try/with to ensure unification is not actually performed let res = try if unify...
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) =
true
null
false
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...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val try_candidates (t: atom) (l: list atom) (am: amap term) : Tac (atom * int)
[ "recursion" ]
Steel.Effect.Common.try_candidates
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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)
{ "end_col": 55, "end_line": 854, "start_col": 2, "start_line": 845 }
FStar.Tactics.Effect.Tac
val most_restricted_at_top (l1 l2: list atom) (am: amap term) : Tac (list atom)
[ { "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 }...
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)
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) =
true
null
false
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)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val most_restricted_at_top (l1 l2: list atom) (am: amap term) : Tac (list atom)
[ "recursion" ]
Steel.Effect.Common.most_restricted_at_top
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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)
{ "end_col": 46, "end_line": 1091, "start_col": 2, "start_line": 1087 }
Prims.Tot
val xsdenote_gen (#a: Type) (unit: a) (mult: (a -> a -> a)) (am: amap a) (xs: list atom) : a
[ { "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...
false
let rec xsdenote_gen (#a:Type) (unit:a) (mult:a -> a -> a) (am:amap a) (xs:list atom) : a = match xs with | [] -> unit | [x] -> select x am | x::xs' -> mult (select x am) (xsdenote_gen unit mult am xs')
val xsdenote_gen (#a: Type) (unit: a) (mult: (a -> a -> a)) (am: amap a) (xs: list atom) : a let rec xsdenote_gen (#a: Type) (unit: a) (mult: (a -> a -> a)) (am: amap a) (xs: list atom) : a =
false
null
false
match xs with | [] -> unit | [x] -> select x am | x :: xs' -> mult (select x am) (xsdenote_gen unit mult am xs')
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.amap", "Prims.list", "Steel.Effect.Common.atom", "Steel.Effect.Common.select", "Steel.Effect.Common.xsdenote_gen" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val xsdenote_gen (#a: Type) (unit: a) (mult: (a -> a -> a)) (am: amap a) (xs: list atom) : a
[ "recursion" ]
Steel.Effect.Common.xsdenote_gen
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
unit: a -> mult: (_: a -> _: a -> a) -> am: Steel.Effect.Common.amap a -> xs: Prims.list Steel.Effect.Common.atom -> a
{ "end_col": 64, "end_line": 1125, "start_col": 2, "start_line": 1122 }
FStar.Tactics.Effect.Tac
val list_to_string (l: list term) : Tac string
[ { "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...
false
let rec list_to_string (l:list term) : Tac string = match l with | [] -> "end" | hd::tl -> term_to_string hd ^ " " ^ list_to_string tl
val list_to_string (l: list term) : Tac string let rec list_to_string (l: list term) : Tac string =
true
null
false
match l with | [] -> "end" | hd :: tl -> term_to_string hd ^ " " ^ list_to_string tl
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Tactics.NamedView.term", "Prims.string", "Prims.op_Hat", "Steel.Effect.Common.list_to_string", "FStar.Tactics.V2.Builtins.term_to_string" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val list_to_string (l: list term) : Tac string
[ "recursion" ]
Steel.Effect.Common.list_to_string
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.string
{ "end_col": 57, "end_line": 1113, "start_col": 2, "start_line": 1111 }
Prims.Tot
val flatten (e: exp) : list atom
[ { "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...
false
let rec flatten (e:exp) : list atom = match e with | Unit -> [] | Atom x -> [x] | Mult e1 e2 -> flatten e1 `my_append` flatten e2
val flatten (e: exp) : list atom let rec flatten (e: exp) : list atom =
false
null
false
match e with | Unit -> [] | Atom x -> [x] | Mult e1 e2 -> (flatten e1) `my_append` (flatten e2)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.exp", "Prims.Nil", "Steel.Effect.Common.atom", "Prims.Cons", "Steel.Effect.Common.my_append", "Steel.Effect.Common.flatten", "Prims.list" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val flatten (e: exp) : list atom
[ "recursion" ]
Steel.Effect.Common.flatten
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
e: Steel.Effect.Common.exp -> Prims.list Steel.Effect.Common.atom
{ "end_col": 51, "end_line": 1152, "start_col": 2, "start_line": 1149 }
Prims.Tot
val mdenote_gen (#a: Type u#aa) (unit: a) (mult: (a -> a -> a)) (am: amap a) (e: exp) : a
[ { "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...
false
let rec mdenote_gen (#a:Type u#aa) (unit:a) (mult:a -> a -> a) (am:amap a) (e:exp) : a = match e with | Unit -> unit | Atom x -> select x am | Mult e1 e2 -> mult (mdenote_gen unit mult am e1) (mdenote_gen unit mult am e2)
val mdenote_gen (#a: Type u#aa) (unit: a) (mult: (a -> a -> a)) (am: amap a) (e: exp) : a let rec mdenote_gen (#a: Type u#aa) (unit: a) (mult: (a -> a -> a)) (am: amap a) (e: exp) : a =
false
null
false
match e with | Unit -> unit | Atom x -> select x am | Mult e1 e2 -> mult (mdenote_gen unit mult am e1) (mdenote_gen unit mult am e2)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.amap", "Steel.Effect.Common.exp", "Steel.Effect.Common.atom", "Steel.Effect.Common.select", "Steel.Effect.Common.mdenote_gen" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mdenote_gen (#a: Type u#aa) (unit: a) (mult: (a -> a -> a)) (am: amap a) (e: exp) : a
[ "recursion" ]
Steel.Effect.Common.mdenote_gen
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
unit: a -> mult: (_: a -> _: a -> a) -> am: Steel.Effect.Common.amap a -> e: Steel.Effect.Common.exp -> a
{ "end_col": 82, "end_line": 1119, "start_col": 2, "start_line": 1116 }
Prims.Tot
val is_star_or_unit (t: term) : bool
[ { "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...
false
let is_star_or_unit (t:term) : bool = is_any_fvar t [`%star; `%VStar; `%VUnit]
val is_star_or_unit (t: term) : bool let is_star_or_unit (t: term) : bool =
false
null
false
is_any_fvar t [`%star; `%VStar; `%VUnit]
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "FStar.Tactics.NamedView.term", "FStar.Reflection.V2.Derived.is_any_fvar", "Prims.Cons", "Prims.string", "Prims.Nil", "Prims.bool" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_star_or_unit (t: term) : bool
[]
Steel.Effect.Common.is_star_or_unit
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> Prims.bool
{ "end_col": 42, "end_line": 1783, "start_col": 2, "start_line": 1783 }
FStar.Tactics.Effect.Tac
val unifies_with_all_uvars (t: term) (l: list atom) (am: amap term) : Tac bool
[ { "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 }...
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 ( // 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,...
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 =
true
null
false
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
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "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...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val unifies_with_all_uvars (t: term) (l: list atom) (am: amap term) : Tac bool
[ "recursion" ]
Steel.Effect.Common.unifies_with_all_uvars
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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
{ "end_col": 18, "end_line": 1082, "start_col": 2, "start_line": 1071 }
FStar.Tactics.Effect.Tac
val new_args_for_smt_attrs (env: env) (l: list argv) (ty: typ) : Tac (list argv * list term)
[ { "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 }...
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_h...
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) =
true
null
false
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 ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Reflection.Types.env", "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.typ", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.comp", "FStar.Tactics.NamedView....
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val new_args_for_smt_attrs (env: env) (l: list argv) (ty: typ) : Tac (list argv * list term)
[ "recursion" ]
Steel.Effect.Common.new_args_for_smt_attrs
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
env: FStar.Reflection.Types.env -> l: Prims.list FStar.Reflection.V2.Data.argv -> ty: FStar.Reflection.Types.typ -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.V2.Data.argv * Prims.list FStar.Tactics.NamedView.term)
{ "end_col": 66, "end_line": 967, "start_col": 95, "start_line": 936 }
Prims.Tot
val monoid_reflect: #a: Type -> eq: CE.equiv a -> m: CE.cm a eq -> am: amap a -> e1: exp -> e2: exp -> squash (CE.EQ?.eq eq (xsdenote eq m am (flatten e1)) (xsdenote eq m am (flatten e2))) -> squash (CE.EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2))
[ { "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...
false
let monoid_reflect (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (e1 e2:exp) (_ : squash (xsdenote eq m am (flatten e1) `CE.EQ?.eq eq` xsdenote eq m am (flatten e2))) : squash (mdenote eq m am e1 `CE.EQ?.eq eq` mdenote eq m am e2) = flatten_correct eq m am e1; flatten_correct eq m am e2; C...
val monoid_reflect: #a: Type -> eq: CE.equiv a -> m: CE.cm a eq -> am: amap a -> e1: exp -> e2: exp -> squash (CE.EQ?.eq eq (xsdenote eq m am (flatten e1)) (xsdenote eq m am (flatten e2))) -> squash (CE.EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2)) let monoid_reflect (#a: Type...
false
null
true
flatten_correct eq m am e1; flatten_correct eq m am e2; CE.EQ?.symmetry eq (mdenote eq m am e2) (xsdenote eq m am (flatten e2)); CE.EQ?.transitivity eq (xsdenote eq m am (flatten e1)) (xsdenote eq m am (flatten e2)) (mdenote eq m am e2); CE.EQ?.transitivity eq (mdenote eq m am e1) (xsdenote eq m am (flatten e1)) ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Steel.Effect.Common.exp", "Prims.squash", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__eq", "Steel.Effect.Common.xsdenote", "Steel.Effect.Common.flatten", "FStar.Algebra.CommMonoid.Equiv.__...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val monoid_reflect: #a: Type -> eq: CE.equiv a -> m: CE.cm a eq -> am: amap a -> e1: exp -> e2: exp -> squash (CE.EQ?.eq eq (xsdenote eq m am (flatten e1)) (xsdenote eq m am (flatten e2))) -> squash (CE.EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2))
[]
Steel.Effect.Common.monoid_reflect
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> e1: Steel.Effect.Common.exp -> e2: Steel.Effect.Common.exp -> _: Prims.squash (EQ?.eq eq (Steel.Effect.Common.xsdenote eq m am (Steel.Effect.Common.flat...
{ "end_col": 26, "end_line": 1210, "start_col": 4, "start_line": 1200 }
FStar.Pervasives.Lemma
val partition_ext (#a: Type) (f1 f2: (a -> Tot bool)) (l: list a) : Lemma (requires (forall x. f1 x == f2 x)) (ensures (List.Tot.partition f1 l == List.Tot.partition f2 l))
[ { "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...
false
let rec partition_ext (#a: Type) (f1 f2: (a -> Tot bool)) (l: list a) : Lemma (requires (forall x . f1 x == f2 x)) (ensures (List.Tot.partition f1 l == List.Tot.partition f2 l)) = match l with | [] -> () | hd::tl -> partition_ext f1 f2 tl
val partition_ext (#a: Type) (f1 f2: (a -> Tot bool)) (l: list a) : Lemma (requires (forall x. f1 x == f2 x)) (ensures (List.Tot.partition f1 l == List.Tot.partition f2 l)) let rec partition_ext (#a: Type) (f1 f2: (a -> Tot bool)) (l: list a) : Lemma (requires (forall x. f1 x == f2 x)) (ensures (Lis...
false
null
true
match l with | [] -> () | hd :: tl -> partition_ext f1 f2 tl
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "Prims.bool", "Prims.list", "Steel.Effect.Common.partition_ext", "Prims.unit", "Prims.l_Forall", "Prims.eq2", "Prims.squash", "FStar.Pervasives.Native.tuple2", "FStar.List.Tot.Base.partition", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val partition_ext (#a: Type) (f1 f2: (a -> Tot bool)) (l: list a) : Lemma (requires (forall x. f1 x == f2 x)) (ensures (List.Tot.partition f1 l == List.Tot.partition f2 l))
[ "recursion" ]
Steel.Effect.Common.partition_ext
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f1: (_: a -> Prims.bool) -> f2: (_: a -> Prims.bool) -> l: Prims.list a -> FStar.Pervasives.Lemma (requires forall (x: a). f1 x == f2 x) (ensures FStar.List.Tot.Base.partition f1 l == FStar.List.Tot.Base.partition f2 l)
{ "end_col": 36, "end_line": 1234, "start_col": 2, "start_line": 1232 }
Prims.Pure
val my_append (#t: Type) (l1 l2: list t) : Pure (list t) (requires True) (ensures (fun res -> res == l1 `List.Tot.append` l2)) (decreases l1)
[ { "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...
false
let rec my_append (#t: Type) (l1 l2: list t) : Pure (list t) (requires True) (ensures (fun res -> res == l1 `List.Tot.append` l2)) (decreases l1) = match l1 with | [] -> l2 | a :: q -> a :: my_append q l2
val my_append (#t: Type) (l1 l2: list t) : Pure (list t) (requires True) (ensures (fun res -> res == l1 `List.Tot.append` l2)) (decreases l1) let rec my_append (#t: Type) (l1 l2: list t) : Pure (list t) (requires True) (ensures (fun res -> res == l1 `List.Tot.append` l2)) (de...
false
null
false
match l1 with | [] -> l2 | a :: q -> a :: my_append q l2
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "" ]
[ "Prims.list", "Prims.Cons", "Steel.Effect.Common.my_append", "Prims.l_True", "Prims.eq2", "FStar.List.Tot.Base.append" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val my_append (#t: Type) (l1 l2: list t) : Pure (list t) (requires True) (ensures (fun res -> res == l1 `List.Tot.append` l2)) (decreases l1)
[ "recursion" ]
Steel.Effect.Common.my_append
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l1: Prims.list t -> l2: Prims.list t -> Prims.Pure (Prims.list t)
{ "end_col": 33, "end_line": 1146, "start_col": 2, "start_line": 1144 }
Prims.Pure
val my_partition (#a: Type) (f: (a -> Tot bool)) (l: list a) : Pure (list a & list a) (requires True) (ensures (fun res -> res == List.Tot.partition f l))
[ { "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...
false
let rec my_partition (#a: Type) (f: (a -> Tot bool)) (l: list a) : Pure (list a & list a) (requires True) (ensures (fun res -> res == List.Tot.partition f l)) = match l with | [] -> [], [] | hd::tl -> let l1, l2 = my_partition f tl in if f hd then hd::l1, l2 else l1, hd::l2
val my_partition (#a: Type) (f: (a -> Tot bool)) (l: list a) : Pure (list a & list a) (requires True) (ensures (fun res -> res == List.Tot.partition f l)) let rec my_partition (#a: Type) (f: (a -> Tot bool)) (l: list a) : Pure (list a & list a) (requires True) (ensures (fun res -> res == List.Tot.partition f l)...
false
null
false
match l with | [] -> [], [] | hd :: tl -> let l1, l2 = my_partition f tl in if f hd then hd :: l1, l2 else l1, hd :: l2
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.bool", "Prims.list", "FStar.Pervasives.Native.Mktuple2", "Prims.Nil", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.my_partition", "Prims.l_True", "Prims.eq2", "FStar.List.Tot.Base.partition" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val my_partition (#a: Type) (f: (a -> Tot bool)) (l: list a) : Pure (list a & list a) (requires True) (ensures (fun res -> res == List.Tot.partition f l))
[ "recursion" ]
Steel.Effect.Common.my_partition
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: (_: a -> Prims.bool) -> l: Prims.list a -> Prims.Pure (Prims.list a * Prims.list a)
{ "end_col": 20, "end_line": 1226, "start_col": 2, "start_line": 1220 }
Prims.Pure
val my_sortWith (#a: Type) (f: (a -> a -> Tot int)) (l: list a) : Pure (list a) (requires True) (ensures (fun res -> res == List.Tot.sortWith f l)) (decreases (List.Tot.length l))
[ { "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...
false
let rec my_sortWith (#a: Type) (f: (a -> a -> Tot int)) (l:list a) : Pure (list a) (requires True) (ensures (fun res -> res == List.Tot.sortWith f l)) (decreases (List.Tot.length l)) = match l with | [] -> [] | pivot::tl -> let hi, lo = my_partition (my_bool_of_compare f pivot) tl in partiti...
val my_sortWith (#a: Type) (f: (a -> a -> Tot int)) (l: list a) : Pure (list a) (requires True) (ensures (fun res -> res == List.Tot.sortWith f l)) (decreases (List.Tot.length l)) let rec my_sortWith (#a: Type) (f: (a -> a -> Tot int)) (l: list a) : Pure (list a) (requires True) (e...
false
null
false
match l with | [] -> [] | pivot :: tl -> let hi, lo = my_partition (my_bool_of_compare f pivot) tl in partition_ext (my_bool_of_compare f pivot) (List.Tot.bool_of_compare f pivot) tl; List.Tot.partition_length (List.Tot.bool_of_compare f pivot) tl; my_append (my_sortWith f lo) (pivot :: my_sortWith f hi)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "" ]
[ "Prims.int", "Prims.list", "Prims.Nil", "Steel.Effect.Common.my_append", "Steel.Effect.Common.my_sortWith", "Prims.Cons", "Prims.unit", "FStar.List.Tot.Base.partition_length", "FStar.List.Tot.Base.bool_of_compare", "Steel.Effect.Common.partition_ext", "Steel.Effect.Common.my_bool_of_compare", ...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val my_sortWith (#a: Type) (f: (a -> a -> Tot int)) (l: list a) : Pure (list a) (requires True) (ensures (fun res -> res == List.Tot.sortWith f l)) (decreases (List.Tot.length l))
[ "recursion" ]
Steel.Effect.Common.my_sortWith
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: (_: a -> _: a -> Prims.int) -> l: Prims.list a -> Prims.Pure (Prims.list a)
{ "end_col": 59, "end_line": 1250, "start_col": 2, "start_line": 1244 }
FStar.Pervasives.Lemma
val flatten_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs1 xs2: list atom) : Lemma (CE.EQ?.eq eq (xsdenote eq m am (xs1 `my_append` xs2)) (CE.CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2)))
[ { "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...
false
let rec flatten_correct_aux (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (xs1 xs2:list atom) : Lemma (xsdenote eq m am (xs1 `my_append` xs2) `CE.EQ?.eq eq` CE.CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2)) = let open FStar.Algeb...
val flatten_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs1 xs2: list atom) : Lemma (CE.EQ?.eq eq (xsdenote eq m am (xs1 `my_append` xs2)) (CE.CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2))) let rec flatten_correct_aux (#a:...
false
null
true
let open FStar.Algebra.CommMonoid.Equiv in match xs1 with | [] -> CM?.identity m (xsdenote eq m am xs2); EQ?.symmetry eq (CM?.mult m (CM?.unit m) (xsdenote eq m am xs2)) (xsdenote eq m am xs2) | [x] -> (if (Nil? xs2) then (right_identity eq m (select x am); EQ?.symmetry eq (CM?.mult m (select x ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Prims.list", "Steel.Effect.Common.atom", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__symmetry", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult", "FStar.Algebra.CommMonoid.Equiv.__pro...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val flatten_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs1 xs2: list atom) : Lemma (CE.EQ?.eq eq (xsdenote eq m am (xs1 `my_append` xs2)) (CE.CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2)))
[ "recursion" ]
Steel.Effect.Common.flatten_correct_aux
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> xs1: Prims.list Steel.Effect.Common.atom -> xs2: Prims.list Steel.Effect.Common.atom -> FStar.Pervasives.Lemma (ensures EQ?.eq eq (Steel.Effect.Common.xsd...
{ "end_col": 112, "end_line": 1177, "start_col": 2, "start_line": 1157 }
FStar.Tactics.Effect.Tac
val unify_pr_with_true (pr: term) : Tac unit
[ { "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...
false
let rec unify_pr_with_true (pr: term) : Tac unit = let hd, tl = collect_app pr in if is_and hd then match tl with | [pr_l, _; pr_r, _] -> unify_pr_with_true pr_l; unify_pr_with_true pr_r | _ -> fail "unify_pr_with_true: ill-formed /\\" else match inspect_unascribe hd with | Tv_Uv...
val unify_pr_with_true (pr: term) : Tac unit let rec unify_pr_with_true (pr: term) : Tac unit =
true
null
false
let hd, tl = collect_app pr in if is_and hd then match tl with | [pr_l, _ ; pr_r, _] -> unify_pr_with_true pr_l; unify_pr_with_true pr_r | _ -> fail "unify_pr_with_true: ill-formed /\\" else match inspect_unascribe hd with | Tv_Uvar _ _ -> if unify pr (`true_p) then () else fail "unify_pr_with_tru...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "Steel.Effect.Common.is_and", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "Steel.Effect.Common.unify_pr_with_true", "Prims.unit", "FStar.Tactics.V2.Derived.fail", "Prims.bool", "Prims.nat", "FS...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val unify_pr_with_true (pr: term) : Tac unit
[ "recursion" ]
Steel.Effect.Common.unify_pr_with_true
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
pr: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 73, "end_line": 1807, "start_col": 50, "start_line": 1785 }
FStar.Pervasives.Lemma
val sortWith_ext (#a: Type) (f1 f2: (a -> a -> Tot int)) (l: list a) : Lemma (requires (forall x y. f1 x y == f2 x y)) (ensures (List.Tot.sortWith f1 l == List.Tot.sortWith f2 l)) (decreases (List.Tot.length l))
[ { "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...
false
let rec sortWith_ext (#a: Type) (f1 f2: (a -> a -> Tot int)) (l: list a) : Lemma (requires (forall x y . f1 x y == f2 x y)) (ensures (List.Tot.sortWith f1 l == List.Tot.sortWith f2 l)) (decreases (List.Tot.length l)) = match l with | [] -> () | pivot::tl -> partition_ext (List.Tot.bool_of_compare f1 pivot...
val sortWith_ext (#a: Type) (f1 f2: (a -> a -> Tot int)) (l: list a) : Lemma (requires (forall x y. f1 x y == f2 x y)) (ensures (List.Tot.sortWith f1 l == List.Tot.sortWith f2 l)) (decreases (List.Tot.length l)) let rec sortWith_ext (#a: Type) (f1 f2: (a -> a -> Tot int)) (l: list a) : Lemma (requir...
false
null
true
match l with | [] -> () | pivot :: tl -> partition_ext (List.Tot.bool_of_compare f1 pivot) (List.Tot.bool_of_compare f2 pivot) tl; List.Tot.partition_length (List.Tot.bool_of_compare f1 pivot) tl; let hi, lo = List.Tot.partition (List.Tot.bool_of_compare f1 pivot) tl in sortWith_ext f1 f2 lo; sortWith_ext f1 ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma", "" ]
[ "Prims.int", "Prims.list", "Steel.Effect.Common.sortWith_ext", "Prims.unit", "FStar.Pervasives.Native.tuple2", "FStar.List.Tot.Base.partition", "FStar.List.Tot.Base.bool_of_compare", "FStar.List.Tot.Base.partition_length", "Steel.Effect.Common.partition_ext", "Prims.l_Forall", "Prims.eq2", "Pr...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sortWith_ext (#a: Type) (f1 f2: (a -> a -> Tot int)) (l: list a) : Lemma (requires (forall x y. f1 x y == f2 x y)) (ensures (List.Tot.sortWith f1 l == List.Tot.sortWith f2 l)) (decreases (List.Tot.length l))
[ "recursion" ]
Steel.Effect.Common.sortWith_ext
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f1: (_: a -> _: a -> Prims.int) -> f2: (_: a -> _: a -> Prims.int) -> l: Prims.list a -> FStar.Pervasives.Lemma (requires forall (x: a) (y: a). f1 x y == f2 x y) (ensures FStar.List.Tot.Base.sortWith f1 l == FStar.List.Tot.Base.sortWith f2 l) (decreases FStar.List.Tot.Base.length l)
{ "end_col": 25, "end_line": 1264, "start_col": 2, "start_line": 1257 }
Prims.Tot
val _return_squash: #a: Type -> Prims.unit -> x: a -> Tot (squash a)
[ { "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...
false
let _return_squash (#a: Type) () (x: a) : Tot (squash a) = FStar.Squash.return_squash x
val _return_squash: #a: Type -> Prims.unit -> x: a -> Tot (squash a) let _return_squash (#a: Type) () (x: a) : Tot (squash a) =
false
null
true
FStar.Squash.return_squash x
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.unit", "FStar.Squash.return_squash", "Prims.squash" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val _return_squash: #a: Type -> Prims.unit -> x: a -> Tot (squash a)
[]
Steel.Effect.Common._return_squash
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> x: a -> Prims.squash a
{ "end_col": 30, "end_line": 1824, "start_col": 2, "start_line": 1824 }
FStar.Pervasives.Lemma
val smt_reflexivity (#a: Type) (eq: CE.equiv a) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x y)
[ { "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...
false
let smt_reflexivity (#a:Type) (eq:CE.equiv a) (x y:a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x y) = CE.EQ?.reflexivity eq x
val smt_reflexivity (#a: Type) (eq: CE.equiv a) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x y) let smt_reflexivity (#a: Type) (eq: CE.equiv a) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x y) =
false
null
true
CE.EQ?.reflexivity eq x
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__reflexivity", "Prims.unit", "Prims.eq2", "Prims.squash", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__eq", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val smt_reflexivity (#a: Type) (eq: CE.equiv a) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x y)
[]
Steel.Effect.Common.smt_reflexivity
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> x: a -> y: a -> FStar.Pervasives.Lemma (requires x == y) (ensures EQ?.eq eq x y)
{ "end_col": 27, "end_line": 1532, "start_col": 4, "start_line": 1532 }
FStar.Pervasives.Lemma
val lemma_xsdenote_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (hd: atom) (tl: list atom) : Lemma (CE.EQ?.eq eq (xsdenote eq m am (hd :: tl)) (CE.CM?.mult m (select hd am) (xsdenote eq m am tl)) )
[ { "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...
false
let lemma_xsdenote_aux (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (hd:atom) (tl:list atom) : Lemma (xsdenote eq m am (hd::tl) `CE.EQ?.eq eq` (CE.CM?.mult m (select hd am) (xsdenote eq m am tl))) = let open FStar.Algebra.CommMonoid.Equiv in match tl with | [] -> assert (xsdenote eq m...
val lemma_xsdenote_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (hd: atom) (tl: list atom) : Lemma (CE.EQ?.eq eq (xsdenote eq m am (hd :: tl)) (CE.CM?.mult m (select hd am) (xsdenote eq m am tl)) ) let lemma_xsdenote_aux (#a: Type) (eq: CE.equi...
false
null
true
let open FStar.Algebra.CommMonoid.Equiv in match tl with | [] -> assert (xsdenote eq m am (hd :: tl) == select hd am); CM?.identity m (select hd am); EQ?.symmetry eq (CM?.mult m (CM?.unit m) (select hd am)) (select hd am); CM?.commutativity m (CM?.unit m) (select hd am); EQ?.transitivity eq (xsdenote eq m...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Steel.Effect.Common.atom", "Prims.list", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity", "Steel.Effect.Common.xsdenote", "Prims.Cons", "FStar.Algebra.CommMonoid.Equiv.__proj__CM...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_xsdenote_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (hd: atom) (tl: list atom) : Lemma (CE.EQ?.eq eq (xsdenote eq m am (hd :: tl)) (CE.CM?.mult m (select hd am) (xsdenote eq m am tl)) )
[]
Steel.Effect.Common.lemma_xsdenote_aux
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> hd: Steel.Effect.Common.atom -> tl: Prims.list Steel.Effect.Common.atom -> FStar.Pervasives.Lemma (ensures EQ?.eq eq (Steel.Effect.Common.xsdenote eq m am...
{ "end_col": 57, "end_line": 1291, "start_col": 4, "start_line": 1280 }
FStar.Tactics.Effect.Tac
val set_abduction_variable: Prims.unit -> Tac unit
[ { "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...
false
let set_abduction_variable () : Tac unit = let g = cur_goal () in match inspect_unascribe g with | Tv_Arrow b _ -> let pr = b.sort in exact (set_abduction_variable_term pr) | _ -> fail "Not an arrow goal"
val set_abduction_variable: Prims.unit -> Tac unit let set_abduction_variable () : Tac unit =
true
null
false
let g = cur_goal () in match inspect_unascribe g with | Tv_Arrow b _ -> let pr = b.sort in exact (set_abduction_variable_term pr) | _ -> fail "Not an arrow goal"
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.comp", "FStar.Tactics.V2.Derived.exact", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.set_abduction_variable_term", "FStar.Reflection.Types.typ", "FStar.Tactics.NamedView.__proj__Mkbinder__item__sort", "FStar.Tactics.Na...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val set_abduction_variable: Prims.unit -> Tac unit
[]
Steel.Effect.Common.set_abduction_variable
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 33, "end_line": 1856, "start_col": 42, "start_line": 1850 }
FStar.Pervasives.Lemma
val identity_left_smt (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) y))
[ { "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...
false
let identity_left_smt (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (x y:a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) y)) = CE.CM?.identity m x; CE.EQ?.symmetry eq (CE.CM?.mult m (CE.CM?.unit m) x) x
val identity_left_smt (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) y)) let identity_left_smt (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit...
false
null
true
CE.CM?.identity m x; CE.EQ?.symmetry eq (CE.CM?.mult m (CE.CM?.unit m) x) x
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__symmetry", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "Prims.unit", "FStar.Algebra.CommMonoid.Equiv.__proj...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val identity_left_smt (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires x == y) (ensures CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) y))
[]
Steel.Effect.Common.identity_left_smt
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> x: a -> y: a -> FStar.Pervasives.Lemma (requires x == y) (ensures EQ?.eq eq x (CM?.mult m (CM?.unit m) y))
{ "end_col": 58, "end_line": 1539, "start_col": 4, "start_line": 1538 }
FStar.Tactics.Effect.Tac
val set_abduction_variable_term (pr: term) : Tac term
[ { "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...
false
let rec set_abduction_variable_term (pr: term) : Tac term = let hd, tl = collect_app pr in if is_and hd then match tl with | (pr_l, Q_Explicit) :: (pr_r, Q_Explicit) :: [] -> if List.Tot.length (free_uvars pr_r) = 0 then let arg = set_abduction_variable_term pr_l in mk_app (`el...
val set_abduction_variable_term (pr: term) : Tac term let rec set_abduction_variable_term (pr: term) : Tac term =
true
null
false
let hd, tl = collect_app pr in if is_and hd then match tl with | (pr_l, Q_Explicit) :: (pr_r, Q_Explicit) :: [] -> if List.Tot.length (free_uvars pr_r) = 0 then let arg = set_abduction_variable_term pr_l in mk_app (`elim_and_l_squash) [arg, Q_Explicit] else if List.Tot.length (free_uva...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "Steel.Effect.Common.is_and", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Derived.mk_app", "Prims.Cons", "FStar.Pervasives.Native.Mktuple2", "FStar.Reflection.V2.Data.aqualv", "FStar.Reflection.V2.Data.Q_Explici...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val set_abduction_variable_term (pr: term) : Tac term
[ "recursion" ]
Steel.Effect.Common.set_abduction_variable_term
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
pr: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
{ "end_col": 54, "end_line": 1848, "start_col": 59, "start_line": 1826 }
FStar.Tactics.Effect.Tac
val canon' (use_smt: bool) (pr pr_bind: term) : Tac unit
[ { "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...
false
let canon' (use_smt:bool) (pr:term) (pr_bind:term) : Tac unit = canon_monoid use_smt (pack (Tv_FVar (pack_fv [`%vprop]))) (`req) (`rm) pr pr_bind
val canon' (use_smt: bool) (pr pr_bind: term) : Tac unit let canon' (use_smt: bool) (pr pr_bind: term) : Tac unit =
true
null
false
canon_monoid use_smt (pack (Tv_FVar (pack_fv [`%vprop]))) (`req) (`rm) pr pr_bind
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.bool", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.canon_monoid", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedView.Tv_FVar", "FStar.Reflection.V2.Builtins.pack_fv", "Prims.Cons", "Prims.string", "Prims.Nil", "Prims.unit" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val canon' (use_smt: bool) (pr pr_bind: term) : Tac unit
[]
Steel.Effect.Common.canon'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
use_smt: Prims.bool -> pr: FStar.Tactics.NamedView.term -> pr_bind: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 83, "end_line": 2107, "start_col": 2, "start_line": 2107 }
FStar.Pervasives.Lemma
val identity_left (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x: a) : Lemma (CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) x))
[ { "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...
false
let identity_left (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (x:a) : Lemma (CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) x)) = CE.CM?.identity m x; CE.EQ?.symmetry eq (CE.CM?.mult m (CE.CM?.unit m) x) x
val identity_left (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x: a) : Lemma (CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) x)) let identity_left (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x: a) : Lemma (CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) x)) =
false
null
true
CE.CM?.identity m x; CE.EQ?.symmetry eq (CE.CM?.mult m (CE.CM?.unit m) x) x
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__symmetry", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "Prims.unit", "FStar.Algebra.CommMonoid.Equiv.__proj...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val identity_left (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x: a) : Lemma (CE.EQ?.eq eq x (CE.CM?.mult m (CE.CM?.unit m) x))
[]
Steel.Effect.Common.identity_left
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> x: a -> FStar.Pervasives.Lemma (ensures EQ?.eq eq x (CM?.mult m (CM?.unit m) x))
{ "end_col": 58, "end_line": 1544, "start_col": 4, "start_line": 1543 }
FStar.Pervasives.Lemma
val equivalent_sorted (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (l1 l2 l1' l2': list atom) : Lemma (requires sort l1 == sort l1' /\ sort l2 == sort l2' /\ CE.EQ?.eq eq (xsdenote eq m am l1) (xsdenote eq m am l2)) (ensures CE.EQ?.eq eq (xsdenot...
[ { "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...
false
let equivalent_sorted (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (l1 l2 l1' l2':list atom) : Lemma (requires sort l1 == sort l1' /\ sort l2 == sort l2' /\ xsdenote eq m am l1 `CE.EQ?.eq eq` xsdenote eq m am l2) (ensures xsdenote eq m am l1' `CE.EQ?.eq e...
val equivalent_sorted (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (l1 l2 l1' l2': list atom) : Lemma (requires sort l1 == sort l1' /\ sort l2 == sort l2' /\ CE.EQ?.eq eq (xsdenote eq m am l1) (xsdenote eq m am l2)) (ensures CE.EQ?.eq eq (xsdenot...
false
null
true
let open FStar.Algebra.CommMonoid.Equiv in sort_correct_aux eq m am l1'; sort_correct_aux eq m am l1; EQ?.symmetry eq (xsdenote eq m am l1) (xsdenote eq m am (sort l1)); EQ?.transitivity eq (xsdenote eq m am l1') (xsdenote eq m am (sort l1')) (xsdenote eq m am l1); EQ?.transitivity eq (xsdenote eq m am l1') (xsdenote e...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Prims.list", "Steel.Effect.Common.atom", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity", "Steel.Effect.Common.xsdenote", "Steel.Effect.Common.sort", "Prims.unit", "FStar.Algeb...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val equivalent_sorted (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (l1 l2 l1' l2': list atom) : Lemma (requires sort l1 == sort l1' /\ sort l2 == sort l2' /\ CE.EQ?.eq eq (xsdenote eq m am l1) (xsdenote eq m am l2)) (ensures CE.EQ?.eq eq (xsdenot...
[]
Steel.Effect.Common.equivalent_sorted
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> l1: Prims.list Steel.Effect.Common.atom -> l2: Prims.list Steel.Effect.Common.atom -> l1': Prims.list Steel.Effect.Common.atom -> l2': Prims.list Steel.Effect.Common....
{ "end_col": 28, "end_line": 1602, "start_col": 4, "start_line": 1580 }
FStar.Tactics.Effect.Tac
val fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term)
[ { "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...
false
let fatom (t:term) (ts:list term) (am:amap term) : Tac (exp * list term * amap term) = match where t ts with | Some v -> (Atom v, ts, am) | None -> let vfresh = List.Tot.Base.length ts in let t = norm_term [iota; zeta] t in (Atom vfresh, ts `List.Tot.append` [t], update vfresh t am)
val fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term) let fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term) =
true
null
false
match where t ts with | Some v -> (Atom v, ts, am) | None -> let vfresh = List.Tot.Base.length ts in let t = norm_term [iota; zeta] t in (Atom vfresh, ts `List.Tot.append` [t], update vfresh t am)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "Steel.Effect.Common.amap", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "Steel.Effect.Common.exp", "Steel.Effect.Common.Atom", "FStar.Pervasives.Native.tuple3", "FStar.List.Tot.Base.append", "Prims.Cons", "Prims.Nil", "Steel.Effect.Common.upda...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term)
[]
Steel.Effect.Common.fatom
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> ts: Prims.list FStar.Tactics.NamedView.term -> am: Steel.Effect.Common.amap FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac ((Steel.Effect.Common.exp * Prims.list FStar.Tactics.NamedView.term) * Steel.Effect.Common.amap FStar.Tactics.NamedView.term)
{ "end_col": 63, "end_line": 1621, "start_col": 2, "start_line": 1616 }
FStar.Pervasives.Lemma
val identity_right_diff (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires CE.EQ?.eq eq x y) (ensures CE.EQ?.eq eq (CE.CM?.mult m x (CE.CM?.unit m)) y)
[ { "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...
false
let identity_right_diff (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (x y:a) : Lemma (requires CE.EQ?.eq eq x y) (ensures CE.EQ?.eq eq (CE.CM?.mult m x (CE.CM?.unit m)) y) = CE.right_identity eq m x; CE.EQ?.transitivity eq (CE.CM?.mult m x (CE.CM?.unit m)) x y
val identity_right_diff (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires CE.EQ?.eq eq x y) (ensures CE.EQ?.eq eq (CE.CM?.mult m x (CE.CM?.unit m)) y) let identity_right_diff (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires CE.EQ?.eq eq x y) (ensures CE.EQ?.eq eq (CE.C...
false
null
true
CE.right_identity eq m x; CE.EQ?.transitivity eq (CE.CM?.mult m x (CE.CM?.unit m)) x y
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "Prims.unit", "FStar.Algebra.CommMonoid.Equiv.ri...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val identity_right_diff (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (x y: a) : Lemma (requires CE.EQ?.eq eq x y) (ensures CE.EQ?.eq eq (CE.CM?.mult m x (CE.CM?.unit m)) y)
[]
Steel.Effect.Common.identity_right_diff
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> x: a -> y: a -> FStar.Pervasives.Lemma (requires EQ?.eq eq x y) (ensures EQ?.eq eq (CM?.mult m x (CM?.unit m)) y)
{ "end_col": 64, "end_line": 1550, "start_col": 4, "start_line": 1549 }
FStar.Tactics.Effect.Tac
val term_is_uvar (t: term) (i: int) : Tac bool
[ { "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...
false
let rec term_is_uvar (t: term) (i: int) : Tac bool = match inspect t with | Tv_Uvar i' _ -> i = i' | Tv_App _ _ -> let hd, args = collect_app t in term_is_uvar hd i | _ -> false
val term_is_uvar (t: term) (i: int) : Tac bool let rec term_is_uvar (t: term) (i: int) : Tac bool =
true
null
false
match inspect t with | Tv_Uvar i' _ -> i = i' | Tv_App _ _ -> let hd, args = collect_app t in term_is_uvar hd i | _ -> false
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.int", "Prims.nat", "FStar.Reflection.Types.ctx_uvar_and_subst", "Prims.op_Equality", "Prims.bool", "FStar.Reflection.V2.Data.argv", "Prims.list", "Steel.Effect.Common.term_is_uvar", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.SyntaxHelpers.collect_a...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val term_is_uvar (t: term) (i: int) : Tac bool
[ "recursion" ]
Steel.Effect.Common.term_is_uvar
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> i: Prims.int -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 14, "end_line": 2165, "start_col": 53, "start_line": 2160 }
FStar.Tactics.Effect.Tac
val dismiss_all_but_last: Prims.unit -> Tac unit
[ { "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...
false
let dismiss_all_but_last () : Tac unit = dismiss_all_but_last' (goals ())
val dismiss_all_but_last: Prims.unit -> Tac unit let dismiss_all_but_last () : Tac unit =
true
null
false
dismiss_all_but_last' (goals ())
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "Steel.Effect.Common.dismiss_all_but_last'", "Prims.list", "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Derived.goals" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val dismiss_all_but_last: Prims.unit -> Tac unit
[]
Steel.Effect.Common.dismiss_all_but_last
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 34, "end_line": 2177, "start_col": 2, "start_line": 2177 }
FStar.Tactics.Effect.Tac
val all_guards_solved (t: term) : Tac bool
[ { "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...
false
let rec all_guards_solved (t: term) : Tac bool = match inspect_unascribe t with | Tv_Abs _ t -> all_guards_solved t | Tv_App _ _ -> let hd, args = collect_app t in if hd `is_fvar` (`%guard_vprop) then slterm_nbr_uvars_argv args = 0 else if not (all_guards_solved hd) then false else L...
val all_guards_solved (t: term) : Tac bool let rec all_guards_solved (t: term) : Tac bool =
true
null
false
match inspect_unascribe t with | Tv_Abs _ t -> all_guards_solved t | Tv_App _ _ -> let hd, args = collect_app t in if hd `is_fvar` (`%guard_vprop) then slterm_nbr_uvars_argv args = 0 else if not (all_guards_solved hd) then false else List.Tot.fold_left (fun (tac: (unit -> Tac bool)) (tm, _) ->...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.binder", "Steel.Effect.Common.all_guards_solved", "Prims.bool", "FStar.Reflection.V2.Data.argv", "Prims.list", "FStar.Reflection.V2.Derived.is_fvar", "Prims.op_Equality", "Prims.int", "Steel.Effect.Common.slterm_nbr_uvars_argv", "FStar.Lis...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val all_guards_solved (t: term) : Tac bool
[ "recursion" ]
Steel.Effect.Common.all_guards_solved
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 13, "end_line": 2150, "start_col": 2, "start_line": 2129 }
Prims.Tot
val convert_map (m: list (atom * term)) : term
[ { "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...
false
let rec convert_map (m : list (atom * term)) : term = match m with | [] -> `[] | (a, t)::ps -> let a = pack (Tv_Const (C_Int a)) in (* let t = norm_term [delta] t in *) `((`#a, (`#t)) :: (`#(convert_map ps)))
val convert_map (m: list (atom * term)) : term let rec convert_map (m: list (atom * term)) : term =
false
null
false
match m with | [] -> `[] | (a, t) :: ps -> let a = pack (Tv_Const (C_Int a)) in `(((`#a), (`#t)) :: (`#(convert_map ps)))
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.list", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.atom", "FStar.Tactics.NamedView.term", "FStar.Reflection.Types.term", "Steel.Effect.Common.convert_map", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedView.Tv_Const", "FStar.Reflection.V2.Data.C_Int" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val convert_map (m: list (atom * term)) : term
[ "recursion" ]
Steel.Effect.Common.convert_map
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
m: Prims.list (Steel.Effect.Common.atom * FStar.Tactics.NamedView.term) -> FStar.Tactics.NamedView.term
{ "end_col": 45, "end_line": 1657, "start_col": 2, "start_line": 1652 }
FStar.Tactics.Effect.Tac
[ { "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...
false
let dismiss_non_squash_goals () = let g = goals () in dismiss_non_squash_goals' [] g
let dismiss_non_squash_goals () =
true
null
false
let g = goals () in dismiss_non_squash_goals' [] g
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "Steel.Effect.Common.dismiss_non_squash_goals'", "Prims.Nil", "FStar.Tactics.Types.goal", "Prims.list", "FStar.Tactics.V2.Derived.goals" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val dismiss_non_squash_goals : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
[]
Steel.Effect.Common.dismiss_non_squash_goals
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 32, "end_line": 2196, "start_col": 33, "start_line": 2194 }
Prims.Tot
[ { "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...
false
let rec quote_atoms (l:list atom) = match l with | [] -> `[] | hd::tl -> let nt = pack (Tv_Const (C_Int hd)) in (`Cons (`#nt) (`#(quote_atoms tl)))
let rec quote_atoms (l: list atom) =
false
null
false
match l with | [] -> `[] | hd :: tl -> let nt = pack (Tv_Const (C_Int hd)) in (`Cons (`#nt) (`#(quote_atoms tl)))
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.list", "Steel.Effect.Common.atom", "FStar.Reflection.Types.term", "Steel.Effect.Common.quote_atoms", "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedView.Tv_Const", "FStar.Reflection.V2.Data.C_Int" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val quote_atoms : l: Prims.list Steel.Effect.Common.atom -> FStar.Reflection.Types.term
[ "recursion" ]
Steel.Effect.Common.quote_atoms
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Steel.Effect.Common.atom -> FStar.Reflection.Types.term
{ "end_col": 49, "end_line": 1679, "start_col": 36, "start_line": 1676 }
FStar.Pervasives.Lemma
val partition_equiv (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (pivot: atom) (q: list atom) : Lemma (let open FStar.List.Tot.Base in let hi, lo = partition (bool_of_compare (compare_of_bool ( < )) pivot) q in CE.EQ?.eq eq (CE.CM?.mult m (xsdenote eq ...
[ { "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...
false
let rec partition_equiv (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (pivot:atom) (q:list atom) : Lemma (let open FStar.List.Tot.Base in let hi, lo = partition (bool_of_compare (compare_of_bool (<)) pivot) q in CE.EQ?.eq eq (xsdenote eq m am hi `CE.CM?.mult m` xsdenote eq m am lo) (x...
val partition_equiv (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (pivot: atom) (q: list atom) : Lemma (let open FStar.List.Tot.Base in let hi, lo = partition (bool_of_compare (compare_of_bool ( < )) pivot) q in CE.EQ?.eq eq (CE.CM?.mult m (xsdenote eq ...
false
null
true
let open FStar.Algebra.CommMonoid.Equiv in let open FStar.List.Tot.Base in let f = bool_of_compare (compare_of_bool ( < )) pivot in let hi, lo = partition f q in match q with | [] -> CM?.identity m (xsdenote eq m am hi) | hd :: tl -> let l1, l2 = partition f tl in partition_equiv eq m am pivot tl; assert (EQ?.eq ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Steel.Effect.Common.atom", "Prims.list", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__identity", "Steel.Effect.Common.xsdenote", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val partition_equiv (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (pivot: atom) (q: list atom) : Lemma (let open FStar.List.Tot.Base in let hi, lo = partition (bool_of_compare (compare_of_bool ( < )) pivot) q in CE.EQ?.eq eq (CE.CM?.mult m (xsdenote eq ...
[ "recursion" ]
Steel.Effect.Common.partition_equiv
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
eq: FStar.Algebra.CommMonoid.Equiv.equiv a -> m: FStar.Algebra.CommMonoid.Equiv.cm a eq -> am: Steel.Effect.Common.amap a -> pivot: Steel.Effect.Common.atom -> q: Prims.list Steel.Effect.Common.atom -> FStar.Pervasives.Lemma (ensures (let _ = FStar.List.Tot.Base.partition (FSt...
{ "end_col": 12, "end_line": 1411, "start_col": 5, "start_line": 1300 }
FStar.Tactics.Effect.Tac
val lookup_by_term_attr (label_attr attr: term) : Tac (list fv)
[ { "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...
false
let lookup_by_term_attr (label_attr: term) (attr: term) : Tac (list fv) = let e = cur_env () in let candidates = lookup_attr label_attr e in lookup_by_term_attr' attr e [] candidates
val lookup_by_term_attr (label_attr attr: term) : Tac (list fv) let lookup_by_term_attr (label_attr attr: term) : Tac (list fv) =
true
null
false
let e = cur_env () in let candidates = lookup_attr label_attr e in lookup_by_term_attr' attr e [] candidates
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Steel.Effect.Common.lookup_by_term_attr'", "Prims.Nil", "FStar.Reflection.Types.fv", "Prims.list", "FStar.Reflection.V2.Builtins.lookup_attr", "FStar.Reflection.Types.env", "FStar.Tactics.V2.Derived.cur_env" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lookup_by_term_attr (label_attr attr: term) : Tac (list fv)
[]
Steel.Effect.Common.lookup_by_term_attr
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
label_attr: FStar.Tactics.NamedView.term -> attr: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.fv)
{ "end_col": 43, "end_line": 2224, "start_col": 73, "start_line": 2221 }
FStar.Pervasives.Lemma
val sort_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs: list atom) : Lemma (requires True) (ensures CE.EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (sort xs))) (decreases (FStar.List.Tot.Base.length xs))
[ { "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...
false
let rec sort_correct_aux (#a:Type) (eq:CE.equiv a) (m:CE.cm a eq) (am:amap a) (xs:list atom) : Lemma (requires True) (ensures xsdenote eq m am xs `CE.EQ?.eq eq` xsdenote eq m am (sort xs)) (decreases (FStar.List.Tot.Base.length xs)) = let open FStar.Algebra.CommMonoid.Equiv in match xs with ...
val sort_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs: list atom) : Lemma (requires True) (ensures CE.EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (sort xs))) (decreases (FStar.List.Tot.Base.length xs)) let rec sort_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq)...
false
null
true
let open FStar.Algebra.CommMonoid.Equiv in match xs with | [] -> EQ?.reflexivity eq (xsdenote eq m am []) | pivot :: q -> let sort0:permute = List.Tot.sortWith #int (List.Tot.compare_of_bool ( < )) in let sort_eq (l: list atom) : Lemma (sort l == sort0 l) [SMTPat (sort l)] = sortWith_ext (my_compare_of_bool ( <...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "lemma", "" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Steel.Effect.Common.amap", "Prims.list", "Steel.Effect.Common.atom", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__reflexivity", "Steel.Effect.Common.xsdenote", "Prims.Nil", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sort_correct_aux (#a: Type) (eq: CE.equiv a) (m: CE.cm a eq) (am: amap a) (xs: list atom) : Lemma (requires True) (ensures CE.EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (sort xs))) (decreases (FStar.List.Tot.Base.length xs))
[ "recursion" ]
Steel.Effect.Common.sort_correct_aux
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
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 -> FStar.Pervasives.Lemma (ensures EQ?.eq eq (Steel.Effect.Common.xsdenote eq m am xs) (Steel.Effect.C...
{ "end_col": 72, "end_line": 1521, "start_col": 4, "start_line": 1417 }
FStar.Tactics.Effect.Tac
val try_open_existentials: Prims.unit -> Tac bool
[ { "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...
false
let try_open_existentials () : Tac bool = focus (fun _ -> try open_existentials (); true with _ -> false )
val try_open_existentials: Prims.unit -> Tac bool let try_open_existentials () : Tac bool =
true
null
false
focus (fun _ -> try (open_existentials (); true) with | _ -> false)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.focus", "Prims.bool", "FStar.Tactics.V2.Derived.try_with", "Steel.Effect.Common.open_existentials", "Prims.exn" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val try_open_existentials: Prims.unit -> Tac bool
[]
Steel.Effect.Common.try_open_existentials
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 3, "end_line": 2334, "start_col": 2, "start_line": 2329 }
FStar.Tactics.Effect.Tac
[ { "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...
false
let extract_cbs_forall_dep_contexts = extract_contexts (`can_be_split_forall_dep_congr_l) (`can_be_split_forall_dep_congr_r) (`solve_can_be_split_forall_dep_lookup) (`solve_can_be_split_forall_dep_for)
let extract_cbs_forall_dep_contexts =
true
null
false
extract_contexts (`can_be_split_forall_dep_congr_l) (`can_be_split_forall_dep_congr_r) (`solve_can_be_split_forall_dep_lookup) (`solve_can_be_split_forall_dep_for)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Steel.Effect.Common.extract_contexts" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val extract_cbs_forall_dep_contexts : t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit))
[]
Steel.Effect.Common.extract_cbs_forall_dep_contexts
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit))
{ "end_col": 40, "end_line": 2472, "start_col": 2, "start_line": 2468 }
FStar.Tactics.Effect.Tac
val try_open_existentials_forall_dep: Prims.unit -> Tac bool
[ { "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...
false
let try_open_existentials_forall_dep () : Tac bool = focus (fun _ -> try open_existentials_forall_dep (); true with _ -> false )
val try_open_existentials_forall_dep: Prims.unit -> Tac bool let try_open_existentials_forall_dep () : Tac bool =
true
null
false
focus (fun _ -> try (open_existentials_forall_dep (); true) with | _ -> false)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.focus", "Prims.bool", "FStar.Tactics.V2.Derived.try_with", "Steel.Effect.Common.open_existentials_forall_dep", "Prims.exn" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val try_open_existentials_forall_dep: Prims.unit -> Tac bool
[]
Steel.Effect.Common.try_open_existentials_forall_dep
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 3, "end_line": 2524, "start_col": 2, "start_line": 2519 }
FStar.Tactics.Effect.Tac
val solve_can_be_split_forall (args: list argv) : Tac bool
[ { "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...
false
let solve_can_be_split_forall (args:list argv) : Tac bool = match args with | [_; (t1, _); (t2, _)] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then ( let open FStar.Algebra.Comm...
val solve_can_be_split_forall (args: list argv) : Tac bool let solve_can_be_split_forall (args: list argv) : Tac bool =
true
null
false
match args with | [_ ; t1, _ ; t2, _] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then (let open FStar.Algebra.CommMonoid.Equiv in focus (fun _ -> ignore (forall_intro ()); apply_lemma (`equiv_can...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "Prims.bool", "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.apply_lemma", "Steel.Effect.Common.canon'", "FStar.Tactics....
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_can_be_split_forall (args: list argv) : Tac bool
[]
Steel.Effect.Common.solve_can_be_split_forall
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
args: Prims.list FStar.Reflection.V2.Data.argv -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 65, "end_line": 2460, "start_col": 2, "start_line": 2430 }
FStar.Tactics.Effect.Tac
val solve_can_be_split_dep (args: list argv) : Tac bool
[ { "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...
false
let solve_can_be_split_dep (args:list argv) : Tac bool = match args with | [(p, _); (t1, _); (t2, _)] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then ( let open FStar.Algebra.Co...
val solve_can_be_split_dep (args: list argv) : Tac bool let solve_can_be_split_dep (args: list argv) : Tac bool =
true
null
false
match args with | [p, _ ; t1, _ ; t2, _] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then (let open FStar.Algebra.CommMonoid.Equiv in focus (fun _ -> let p_bind = implies_intro () in apply_lemma (...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "Prims.bool", "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.apply_lemma", "Prims.op_Negation", "FStar.Tactics.V2.Derive...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_can_be_split_dep (args: list argv) : Tac bool
[]
Steel.Effect.Common.solve_can_be_split_dep
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
args: Prims.list FStar.Reflection.V2.Data.argv -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 43, "end_line": 2422, "start_col": 2, "start_line": 2386 }
FStar.Tactics.Effect.Tac
val is_return_eq (l r: term) : Tac bool
[ { "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...
false
let is_return_eq (l r:term) : Tac bool = let nl, al = collect_app l in let nr, ar = collect_app r in is_fvar nl (`%return_pre) || is_fvar nr (`%return_pre)
val is_return_eq (l r: term) : Tac bool let is_return_eq (l r: term) : Tac bool =
true
null
false
let nl, al = collect_app l in let nr, ar = collect_app r in is_fvar nl (`%return_pre) || is_fvar nr (`%return_pre)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "Prims.op_BarBar", "FStar.Reflection.V2.Derived.is_fvar", "Prims.bool", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.SyntaxHelpers.collect_app" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_return_eq (l r: term) : Tac bool
[]
Steel.Effect.Common.is_return_eq
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: FStar.Tactics.NamedView.term -> r: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 56, "end_line": 2693, "start_col": 40, "start_line": 2690 }
FStar.Tactics.Effect.Tac
val canon_l_r (use_smt: bool) (carrier_t eq m pr pr_bind lhs rel rhs: term) : Tac unit
[ { "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...
false
let canon_l_r (use_smt:bool) (carrier_t:term) //e.g. vprop (eq:term) (m:term) (pr pr_bind:term) (lhs rel rhs:term) : Tac unit = let m_unit = norm_term [iota; zeta; delta] (`(CE.CM?.unit (`#m))) in let m_mult = norm_term [iota; zeta; delta] (`(CE.CM?.mult (`#m))) in let am = const m_unit in (* empty map...
val canon_l_r (use_smt: bool) (carrier_t eq m pr pr_bind lhs rel rhs: term) : Tac unit let canon_l_r (use_smt: bool) (carrier_t eq m pr pr_bind lhs rel rhs: term) : Tac unit =
true
null
false
let m_unit = norm_term [iota; zeta; delta] (`(CE.CM?.unit (`#m))) in let m_mult = norm_term [iota; zeta; delta] (`(CE.CM?.mult (`#m))) in let am = const m_unit in let r1_raw, ts, am = reification eq m [] am lhs in let r2_raw, _, am = reification eq m ts am rhs in let l1_raw, l2_raw, emp_frame, uvar_terms = try le...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.bool", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.exp", "Prims.list", "Steel.Effect.Common.amap", "Steel.Effect.Common.atom", "FStar.Tactics.V2.Derived.focus", "Prims.unit", "FStar.Tactics.V2.Derived.try_with", "FStar.Tactics.V2.Derived.apply_lemma", "Steel.Effect.Common.unify_p...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val canon_l_r (use_smt: bool) (carrier_t eq m pr pr_bind lhs rel rhs: term) : Tac unit
[]
Steel.Effect.Common.canon_l_r
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
use_smt: Prims.bool -> carrier_t: FStar.Tactics.NamedView.term -> eq: FStar.Tactics.NamedView.term -> m: FStar.Tactics.NamedView.term -> pr: FStar.Tactics.NamedView.term -> pr_bind: FStar.Tactics.NamedView.term -> lhs: FStar.Tactics.NamedView.term -> rel: FStar.Tactics.NamedView.term ->...
{ "end_col": 29, "end_line": 2078, "start_col": 33, "start_line": 1862 }
FStar.Tactics.Effect.Tac
val solve_equiv (args: list argv) : Tac bool
[ { "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...
false
let solve_equiv (args:list argv) : Tac bool = match args with | [(t1, _); (t2, _)] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then ( let open FStar.Algebra.CommMonoid.Equiv in ...
val solve_equiv (args: list argv) : Tac bool let solve_equiv (args: list argv) : Tac bool =
true
null
false
match args with | [t1, _ ; t2, _] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then (let open FStar.Algebra.CommMonoid.Equiv in focus (fun _ -> or_else (fun _ -> apply_lemma (`equiv_refl)) (fun _...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "Prims.bool", "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.apply_lemma", "Steel.Effect.Common.canon'", "FStar.Tactics....
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_equiv (args: list argv) : Tac bool
[]
Steel.Effect.Common.solve_equiv
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
args: Prims.list FStar.Reflection.V2.Data.argv -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 51, "end_line": 2647, "start_col": 2, "start_line": 2618 }
FStar.Tactics.Effect.Tac
val solve_can_be_split_forall_dep (args: list argv) : Tac bool
[ { "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...
false
let rec solve_can_be_split_forall_dep (args:list argv) : Tac bool = match args with | [_; (pr, _); (t1, _); (t2, _)] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then ( let open F...
val solve_can_be_split_forall_dep (args: list argv) : Tac bool let rec solve_can_be_split_forall_dep (args: list argv) : Tac bool =
true
null
false
match args with | [_ ; pr, _ ; t1, _ ; t2, _] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then (let open FStar.Algebra.CommMonoid.Equiv in try (focus (fun _ -> norm []; let x = for...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "FStar.Tactics.V2.Derived.try_with", "Prims.bool", "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.apply_lemma", "Prims.o...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_can_be_split_forall_dep (args: list argv) : Tac bool
[ "recursion" ]
Steel.Effect.Common.solve_can_be_split_forall_dep
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
args: Prims.list FStar.Reflection.V2.Data.argv -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 69, "end_line": 2577, "start_col": 2, "start_line": 2528 }
FStar.Tactics.Effect.Tac
val solve_equiv_forall (args: list argv) : Tac bool
[ { "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...
false
let solve_equiv_forall (args:list argv) : Tac bool = match args with | [_; (t1, _); (t2, _)] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then ( let open FStar.Algebra.CommMonoid....
val solve_equiv_forall (args: list argv) : Tac bool let solve_equiv_forall (args: list argv) : Tac bool =
true
null
false
match args with | [_ ; t1, _ ; t2, _] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then (let open FStar.Algebra.CommMonoid.Equiv in focus (fun _ -> apply_lemma (`equiv_forall_elim); match goals () ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "Prims.bool", "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.apply_lemma", "Steel.Effect.Com...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_equiv_forall (args: list argv) : Tac bool
[]
Steel.Effect.Common.solve_equiv_forall
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
args: Prims.list FStar.Reflection.V2.Data.argv -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 58, "end_line": 2614, "start_col": 2, "start_line": 2581 }
FStar.Tactics.Effect.Tac
val solve_can_be_split_post (args: list argv) : Tac bool
[ { "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...
false
let solve_can_be_split_post (args:list argv) : Tac bool = match args with | [_; _; (t1, _); (t2, _)] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then ( let open FStar.Algebra.Com...
val solve_can_be_split_post (args: list argv) : Tac bool let solve_can_be_split_post (args: list argv) : Tac bool =
true
null
false
match args with | [_ ; _ ; t1, _ ; t2, _] -> let lnbr = slterm_nbr_uvars t1 in let rnbr = slterm_nbr_uvars t2 in if if lnbr + rnbr <= 1 then unfold_guard () else false then (let open FStar.Algebra.CommMonoid.Equiv in focus (fun _ -> norm []; let g = _cur_goal () in ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.Types.term", "FStar.Reflection.V2.Data.aqualv", "Prims.bool", "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.V2.Derived.apply_lemma", "Steel.Effect.Com...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_can_be_split_post (args: list argv) : Tac bool
[]
Steel.Effect.Common.solve_can_be_split_post
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
args: Prims.list FStar.Reflection.V2.Data.argv -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 44, "end_line": 2687, "start_col": 2, "start_line": 2651 }
Prims.Tot
val simplify_list (l: list int) : Tot (list int)
[ { "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...
false
let simplify_list (l: list int) : Tot (list int) = remove_dups_from_sorted (List.Tot.sortWith (List.Tot.compare_of_bool (<)) l)
val simplify_list (l: list int) : Tot (list int) let simplify_list (l: list int) : Tot (list int) =
false
null
false
remove_dups_from_sorted (List.Tot.sortWith (List.Tot.compare_of_bool ( < )) l)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.list", "Prims.int", "Steel.Effect.Common.remove_dups_from_sorted", "FStar.List.Tot.Base.sortWith", "FStar.List.Tot.Base.compare_of_bool", "Prims.op_LessThan" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val simplify_list (l: list int) : Tot (list int)
[]
Steel.Effect.Common.simplify_list
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Prims.int -> Prims.list Prims.int
{ "end_col": 78, "end_line": 2861, "start_col": 2, "start_line": 2861 }
FStar.Tactics.Effect.Tac
val goal_to_equiv (loc: string) : Tac unit
[ { "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...
false
let goal_to_equiv (loc:string) : Tac unit = let t = cur_goal () in let f = term_as_formula' t in match f with | App hd0 t -> if not (is_fvar hd0 (`%squash)) then fail (loc ^ " unexpected non-squash goal in goal_to_equiv"); let hd, args = collect_app t in if hd `is_fvar` (`%can_be_s...
val goal_to_equiv (loc: string) : Tac unit let goal_to_equiv (loc: string) : Tac unit =
true
null
false
let t = cur_goal () in let f = term_as_formula' t in match f with | App hd0 t -> if not (is_fvar hd0 (`%squash)) then fail (loc ^ " unexpected non-squash goal in goal_to_equiv"); let hd, args = collect_app t in if hd `is_fvar` (`%can_be_split) then (apply_lemma (`equiv_can_be_split)) else if hd `is_fvar` ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.string", "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Tactics.V2.Derived.apply_lemma", "Prims.unit", "Prims.bool", "FStar.Pervasives.ignore", "FStar.Tactics.NamedView.binding", "FStar.Tactics.V2.Logic.forall_i...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val goal_to_equiv (loc: string) : Tac unit
[]
Steel.Effect.Common.goal_to_equiv
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
loc: Prims.string -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 42, "end_line": 2769, "start_col": 3, "start_line": 2742 }
FStar.Tactics.Effect.Tac
val goal_term_uvars (t: term) : Tac (list int)
[ { "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...
false
let goal_term_uvars (t: term) : Tac (list int) = let hd, tl = collect_app t in if hd `is_fvar` (`%squash) then match tl with | [tl0, Q_Explicit] -> let _, tl1 = collect_app tl0 in simplify_list (argv_uvars tl1) | _ -> dump "ill-formed squash"; [] else []
val goal_term_uvars (t: term) : Tac (list int) let goal_term_uvars (t: term) : Tac (list int) =
true
null
false
let hd, tl = collect_app t in if hd `is_fvar` (`%squash) then match tl with | [tl0, Q_Explicit] -> let _, tl1 = collect_app tl0 in simplify_list (argv_uvars tl1) | _ -> dump "ill-formed squash"; [] else []
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Reflection.Types.term", "Steel.Effect.Common.simplify_list", "Prims.int", "Steel.Effect.Common.argv_uvars", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.SyntaxHelpers...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val goal_term_uvars (t: term) : Tac (list int)
[]
Steel.Effect.Common.goal_term_uvars
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.list Prims.int)
{ "end_col": 6, "end_line": 2873, "start_col": 48, "start_line": 2863 }
Prims.Tot
val elim_and_l_squash (#a #b #goal: Type0) (f: (a -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal)
[ { "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...
false
let elim_and_l_squash (#a #b: Type0) (#goal: Type0) (f: (a -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal) = let f' (x: squash a) : Tot (squash goal) = FStar.Squash.bind_squash x f in let elim_impl (x: squash (a /\ b)) : Tot (squash a) = () in f' (elim_impl (FStar.Squash.return_squash h))
val elim_and_l_squash (#a #b #goal: Type0) (f: (a -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal) let elim_and_l_squash (#a #b #goal: Type0) (f: (a -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal) =
false
null
true
let f' (x: squash a) : Tot (squash goal) = FStar.Squash.bind_squash x f in let elim_impl (x: squash (a /\ b)) : Tot (squash a) = () in f' (elim_impl (FStar.Squash.return_squash h))
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.squash", "Prims.l_and", "FStar.Squash.return_squash", "FStar.Squash.bind_squash" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val elim_and_l_squash (#a #b #goal: Type0) (f: (a -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal)
[]
Steel.Effect.Common.elim_and_l_squash
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: (_: a -> Prims.squash goal) -> h: a /\ b -> Prims.squash goal
{ "end_col": 47, "end_line": 1814, "start_col": 117, "start_line": 1809 }
FStar.Tactics.Effect.Tac
val solve_or_delay (dict: list (term & (unit -> Tac bool))) : Tac bool
[ { "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...
false
let solve_or_delay (dict: list (term & (unit -> Tac bool))) : Tac bool = // Beta-reduce the goal first if possible norm []; let f = term_as_formula' (cur_goal ()) in match f with | App hd0 t -> if is_fvar hd0 (`%squash) then let hd, args = collect_app t in if hd `is_fvar` (`%can_be_split) ...
val solve_or_delay (dict: list (term & (unit -> Tac bool))) : Tac bool let solve_or_delay (dict: list (term & (unit -> Tac bool))) : Tac bool =
true
null
false
norm []; let f = term_as_formula' (cur_goal ()) in match f with | App hd0 t -> if is_fvar hd0 (`%squash) then let hd, args = collect_app t in if hd `is_fvar` (`%can_be_split) then solve_can_be_split args else if hd `is_fvar` (`%can_be_split_forall) then solve_can_be_split_forall args ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.NamedView.term", "Prims.unit", "Prims.bool", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Reflection.V2.Data.argv", "Steel.Effect.Common.solve_can_be_split", "Steel.Effect.Common.solve_can_be_split_forall", "Steel.Effect.Common.solve_...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_or_delay (dict: list (term & (unit -> Tac bool))) : Tac bool
[]
Steel.Effect.Common.solve_or_delay
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
dict: Prims.list (FStar.Tactics.NamedView.term * (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.bool)) -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 14, "end_line": 2822, "start_col": 2, "start_line": 2787 }
FStar.Tactics.Effect.Tac
val typ_contains_req_ens (t: term) : Tac bool
[ { "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...
false
let typ_contains_req_ens (t:term) : Tac bool = let name, _ = collect_app t in is_any_fvar name [`%req_t; `%ens_t; `%pure_wp; `%pure_pre; `%pure_post]
val typ_contains_req_ens (t: term) : Tac bool let typ_contains_req_ens (t: term) : Tac bool =
true
null
false
let name, _ = collect_app t in is_any_fvar name [`%req_t; `%ens_t; `%pure_wp; `%pure_pre; `%pure_post]
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.V2.Derived.is_any_fvar", "Prims.Cons", "Prims.string", "Prims.Nil", "Prims.bool", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.SyntaxHelpers.collect_app" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val typ_contains_req_ens (t: term) : Tac bool
[]
Steel.Effect.Common.typ_contains_req_ens
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 73, "end_line": 2998, "start_col": 46, "start_line": 2996 }
Prims.Tot
val elim_and_r_squash (#a #b #goal: Type0) (f: (b -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal)
[ { "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...
false
let elim_and_r_squash (#a #b: Type0) (#goal: Type0) (f: (b -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal) = let f' (x: squash b) : Tot (squash goal) = FStar.Squash.bind_squash x f in let elim_impl (x: squash (a /\ b)) : Tot (squash b) = () in f' (elim_impl (FStar.Squash.return_squash h))
val elim_and_r_squash (#a #b #goal: Type0) (f: (b -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal) let elim_and_r_squash (#a #b #goal: Type0) (f: (b -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal) =
false
null
true
let f' (x: squash b) : Tot (squash goal) = FStar.Squash.bind_squash x f in let elim_impl (x: squash (a /\ b)) : Tot (squash b) = () in f' (elim_impl (FStar.Squash.return_squash h))
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.squash", "Prims.l_and", "FStar.Squash.return_squash", "FStar.Squash.bind_squash" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val elim_and_r_squash (#a #b #goal: Type0) (f: (b -> Tot (squash goal))) (h: (a /\ b)) : Tot (squash goal)
[]
Steel.Effect.Common.elim_and_r_squash
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: (_: b -> Prims.squash goal) -> h: a /\ b -> Prims.squash goal
{ "end_col": 47, "end_line": 1821, "start_col": 117, "start_line": 1816 }
FStar.Tactics.Effect.Tac
val is_true: t: term -> Prims.unit -> Tac unit
[ { "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...
false
let is_true (t:term) () : Tac unit = match term_as_formula t with | True_ -> exact (`()) | _ -> raise Goal_not_trivial
val is_true: t: term -> Prims.unit -> Tac unit let is_true (t: term) () : Tac unit =
true
null
false
match term_as_formula t with | True_ -> exact (`()) | _ -> raise Goal_not_trivial
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.unit", "FStar.Tactics.V2.Derived.exact", "FStar.Reflection.V2.Formula.formula", "FStar.Tactics.Effect.raise", "FStar.Tactics.V2.Derived.Goal_not_trivial", "FStar.Reflection.V2.Formula.term_as_formula" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_true: t: term -> Prims.unit -> Tac unit
[]
Steel.Effect.Common.is_true
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Tactics.NamedView.term -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 31, "end_line": 3025, "start_col": 2, "start_line": 3023 }
FStar.Tactics.Effect.Tac
val print_goal (g: goal) : Tac string
[ { "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...
false
let print_goal (g:goal) : Tac string = let t = goal_type g in term_to_string t
val print_goal (g: goal) : Tac string let print_goal (g: goal) : Tac string =
true
null
false
let t = goal_type g in term_to_string t
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Builtins.term_to_string", "Prims.string", "FStar.Reflection.Types.typ", "FStar.Tactics.Types.goal_type" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_goal (g: goal) : Tac string
[]
Steel.Effect.Common.print_goal
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: FStar.Tactics.Types.goal -> FStar.Tactics.Effect.Tac Prims.string
{ "end_col": 18, "end_line": 3066, "start_col": 38, "start_line": 3064 }
FStar.Tactics.Effect.Tac
val init_resolve_tac: Prims.unit -> Tac unit
[ { "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...
false
let init_resolve_tac () : Tac unit = init_resolve_tac' []
val init_resolve_tac: Prims.unit -> Tac unit let init_resolve_tac () : Tac unit =
true
null
false
init_resolve_tac' []
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "Steel.Effect.Common.init_resolve_tac'", "Prims.Nil", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.NamedView.term", "Prims.bool" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val init_resolve_tac: Prims.unit -> Tac unit
[]
Steel.Effect.Common.init_resolve_tac
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 57, "end_line": 3116, "start_col": 37, "start_line": 3116 }
Prims.Tot
val squash_and (p: _) (x: squash (p /\ True)) : (p /\ True)
[ { "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...
false
let squash_and p (x:squash (p /\ True)) : (p /\ True) = let x : squash (p `Prims.pair` True) = FStar.Squash.join_squash x in x
val squash_and (p: _) (x: squash (p /\ True)) : (p /\ True) let squash_and p (x: squash (p /\ True)) : (p /\ True) =
false
null
false
let x:squash (p `Prims.pair` True) = FStar.Squash.join_squash x in x
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Prims.logical", "Prims.squash", "Prims.l_and", "Prims.l_True", "Prims.pair", "FStar.Squash.join_squash" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val squash_and (p: _) (x: squash (p /\ True)) : (p /\ True)
[]
Steel.Effect.Common.squash_and
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Prims.logical -> x: Prims.squash (p /\ Prims.l_True) -> p /\ Prims.l_True
{ "end_col": 3, "end_line": 3121, "start_col": 55, "start_line": 3119 }
FStar.Tactics.Effect.Tac
val selector_tactic: Prims.unit -> Tac unit
[ { "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...
false
let selector_tactic () : Tac unit = apply (`squash_and); apply_lemma (`intro_can_be_split_frame); flip (); norm [delta_only [ `%CE.__proj__CM__item__unit; `%CE.__proj__CM__item__mult; `%rm; `%__proj__Mktuple2__item___1; `%__proj__Mktuple2__item___2; `%fst; `%snd]; ...
val selector_tactic: Prims.unit -> Tac unit let selector_tactic () : Tac unit =
true
null
false
apply (`squash_and); apply_lemma (`intro_can_be_split_frame); flip (); norm [ delta_only [ `%CE.__proj__CM__item__unit; `%CE.__proj__CM__item__mult; `%rm; `%__proj__Mktuple2__item___1; `%__proj__Mktuple2__item___2; `%fst; `%snd ]; delta_attr [`%__red...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "Steel.Effect.Common.canon'", "FStar.Tactics.V2.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil", "FStar.Pervasives.delta_attr", "FStar.Pervasives.primops", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val selector_tactic: Prims.unit -> Tac unit
[]
Steel.Effect.Common.selector_tactic
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 34, "end_line": 3137, "start_col": 2, "start_line": 3126 }
Prims.Tot
[ { "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...
false
let obs_at_most_one (o1 o2:observability) = o1=Unobservable || o2=Unobservable
let obs_at_most_one (o1 o2: observability) =
false
null
false
o1 = Unobservable || o2 = Unobservable
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.observability", "Prims.op_BarBar", "Prims.op_Equality", "Steel.Effect.Common.Unobservable", "Prims.bool" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val obs_at_most_one : o1: Steel.Effect.Common.observability -> o2: Steel.Effect.Common.observability -> Prims.bool
[]
Steel.Effect.Common.obs_at_most_one
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
o1: Steel.Effect.Common.observability -> o2: Steel.Effect.Common.observability -> Prims.bool
{ "end_col": 36, "end_line": 3189, "start_col": 2, "start_line": 3189 }
Prims.Tot
val inv (p: vprop) : Type0
[ { "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...
false
let inv (p:vprop) : Type0 = Mem.inv (hp_of p)
val inv (p: vprop) : Type0 let inv (p: vprop) : Type0 =
false
null
false
Mem.inv (hp_of p)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.vprop", "Steel.Memory.inv", "Steel.Effect.Common.hp_of" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val inv (p: vprop) : Type0
[]
Steel.Effect.Common.inv
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Steel.Effect.Common.vprop -> Type0
{ "end_col": 45, "end_line": 3201, "start_col": 28, "start_line": 3201 }
Prims.Tot
[ { "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...
false
let join_obs (o1:observability) (o2:observability) = if o1 = Observable || o2 = Observable then Observable else Unobservable
let join_obs (o1 o2: observability) =
false
null
false
if o1 = Observable || o2 = Observable then Observable else Unobservable
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.observability", "Prims.op_BarBar", "Prims.op_Equality", "Steel.Effect.Common.Observable", "Prims.bool", "Steel.Effect.Common.Unobservable" ]
[]
(* 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...
false
true
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val join_obs : o1: Steel.Effect.Common.observability -> o2: Steel.Effect.Common.observability -> Steel.Effect.Common.observability
[]
Steel.Effect.Common.join_obs
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
o1: Steel.Effect.Common.observability -> o2: Steel.Effect.Common.observability -> Steel.Effect.Common.observability
{ "end_col": 19, "end_line": 3195, "start_col": 2, "start_line": 3193 }
Prims.Tot
val mem_inv (#p: vprop) (e: inames) (i: inv p) : erased bool
[ { "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...
false
let mem_inv (#p:vprop) (e:inames) (i:inv p) : erased bool = elift2 (fun e i -> Set.mem i e) e (name_of_inv i)
val mem_inv (#p: vprop) (e: inames) (i: inv p) : erased bool let mem_inv (#p: vprop) (e: inames) (i: inv p) : erased bool =
false
null
false
elift2 (fun e i -> Set.mem i e) e (name_of_inv i)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "total" ]
[ "Steel.Effect.Common.vprop", "Steel.Memory.inames", "Steel.Effect.Common.inv", "FStar.Ghost.elift2", "FStar.Set.set", "Steel.Memory.iname", "Prims.bool", "FStar.Set.mem", "FStar.Ghost.hide", "Steel.Effect.Common.name_of_inv", "FStar.Ghost.erased" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mem_inv (#p: vprop) (e: inames) (i: inv p) : erased bool
[]
Steel.Effect.Common.mem_inv
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
e: Steel.Memory.inames -> i: Steel.Effect.Common.inv p -> FStar.Ghost.erased Prims.bool
{ "end_col": 109, "end_line": 3206, "start_col": 60, "start_line": 3206 }
Prims.GTot
val name_of_inv (#p: vprop) (i: inv p) : GTot iname
[ { "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...
false
let name_of_inv (#p:vprop) (i:inv p) : GTot iname = Mem.name_of_inv i
val name_of_inv (#p: vprop) (i: inv p) : GTot iname let name_of_inv (#p: vprop) (i: inv p) : GTot iname =
false
null
false
Mem.name_of_inv i
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[ "sometrivial" ]
[ "Steel.Effect.Common.vprop", "Steel.Effect.Common.inv", "Steel.Memory.name_of_inv", "Steel.Effect.Common.hp_of", "Steel.Memory.iname" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val name_of_inv (#p: vprop) (i: inv p) : GTot iname
[]
Steel.Effect.Common.name_of_inv
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
i: Steel.Effect.Common.inv p -> Prims.GTot Steel.Memory.iname
{ "end_col": 69, "end_line": 3203, "start_col": 52, "start_line": 3203 }
FStar.Tactics.Effect.Tac
val canon_monoid (use_smt: bool) (carrier_t eq m pr pr_bind: term) : Tac unit
[ { "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...
false
let canon_monoid (use_smt:bool) (carrier_t:term) (eq m:term) (pr pr_bind:term) : Tac unit = norm [iota; zeta]; let t = cur_goal () in // removing top-level squash application let sq, rel_xy = collect_app_ref t in // unpacking the application of the equivalence relation (lhs `EQ?.eq eq` rhs) (match rel_xy wi...
val canon_monoid (use_smt: bool) (carrier_t eq m pr pr_bind: term) : Tac unit let canon_monoid (use_smt: bool) (carrier_t eq m pr pr_bind: term) : Tac unit =
true
null
false
norm [iota; zeta]; let t = cur_goal () in let sq, rel_xy = collect_app_ref t in (match rel_xy with | [rel_xy, _] -> (let open FStar.List.Tot.Base in let rel, xy = collect_app_ref rel_xy in if (length xy >= 2) then (match index xy (length xy - 2), index xy (length xy - 1) with |...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.bool", "FStar.Tactics.NamedView.term", "FStar.Reflection.Types.term", "Prims.l_or", "Prims.eq2", "Prims.precedes", "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Pervasives.Native.fst", "FStar.Reflection.V2.Data.aqualv", "Prims.op_GreaterThanOrEqual", "FStar.List.Tot.Base.length"...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val canon_monoid (use_smt: bool) (carrier_t eq m pr pr_bind: term) : Tac unit
[]
Steel.Effect.Common.canon_monoid
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
use_smt: Prims.bool -> carrier_t: FStar.Tactics.NamedView.term -> eq: FStar.Tactics.NamedView.term -> m: FStar.Tactics.NamedView.term -> pr: FStar.Tactics.NamedView.term -> pr_bind: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 68, "end_line": 2103, "start_col": 2, "start_line": 2083 }
FStar.Tactics.Effect.Tac
val bring_last_goal_on_top' (others goals: list goal) : Tac unit
[ { "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...
false
let rec bring_last_goal_on_top' (others: list goal) (goals: list goal) : Tac unit = match goals with | [] -> set_goals (List.Tot.rev others) | last :: [] -> set_goals (last :: List.Tot.rev others) | a :: q -> bring_last_goal_on_top' (a :: others) q
val bring_last_goal_on_top' (others goals: list goal) : Tac unit let rec bring_last_goal_on_top' (others goals: list goal) : Tac unit =
true
null
false
match goals with | [] -> set_goals (List.Tot.rev others) | last :: [] -> set_goals (last :: List.Tot.rev others) | a :: q -> bring_last_goal_on_top' (a :: others) q
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Builtins.set_goals", "FStar.List.Tot.Base.rev", "Prims.unit", "Prims.Cons", "Steel.Effect.Common.bring_last_goal_on_top'" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val bring_last_goal_on_top' (others goals: list goal) : Tac unit
[ "recursion" ]
Steel.Effect.Common.bring_last_goal_on_top'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
others: Prims.list FStar.Tactics.Types.goal -> goals: Prims.list FStar.Tactics.Types.goal -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 53, "end_line": 2230, "start_col": 2, "start_line": 2227 }
FStar.Tactics.Effect.Tac
val dismiss_all_but_last' (l: list goal) : Tac unit
[ { "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...
false
let rec dismiss_all_but_last' (l: list goal) : Tac unit = match l with | [] | [_] -> set_goals l | _ :: q -> dismiss_all_but_last' q
val dismiss_all_but_last' (l: list goal) : Tac unit let rec dismiss_all_but_last' (l: list goal) : Tac unit =
true
null
false
match l with | [] | [_] -> set_goals l | _ :: q -> dismiss_all_but_last' q
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Builtins.set_goals", "Prims.unit", "Steel.Effect.Common.dismiss_all_but_last'" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val dismiss_all_but_last' (l: list goal) : Tac unit
[ "recursion" ]
Steel.Effect.Common.dismiss_all_but_last'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list FStar.Tactics.Types.goal -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 37, "end_line": 2174, "start_col": 2, "start_line": 2172 }
FStar.Tactics.Effect.Tac
val dismiss_non_squash_goals' (keep goals: list goal) : Tac unit
[ { "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...
false
let rec dismiss_non_squash_goals' (keep:list goal) (goals:list goal) : Tac unit = match goals with | [] -> set_goals (List.Tot.rev keep) | hd :: tl -> let f = term_as_formula' (goal_type hd) in match f with | App hs _ -> if is_squash hs then dismiss_non_squash_goals' (hd::keep) ...
val dismiss_non_squash_goals' (keep goals: list goal) : Tac unit let rec dismiss_non_squash_goals' (keep goals: list goal) : Tac unit =
true
null
false
match goals with | [] -> set_goals (List.Tot.rev keep) | hd :: tl -> let f = term_as_formula' (goal_type hd) in match f with | App hs _ -> if is_squash hs then dismiss_non_squash_goals' (hd :: keep) tl else dismiss_non_squash_goals' keep tl | _ -> dismiss_non_squash_goals' keep tl
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "FStar.Tactics.Types.goal", "FStar.Tactics.V2.Builtins.set_goals", "FStar.List.Tot.Base.rev", "Prims.unit", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.is_squash", "Steel.Effect.Common.dismiss_non_squash_goals'", "Prims.Cons", "Prims.bool", "FStar.Reflection.V2.Formula.for...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val dismiss_non_squash_goals' (keep goals: list goal) : Tac unit
[ "recursion" ]
Steel.Effect.Common.dismiss_non_squash_goals'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
keep: Prims.list FStar.Tactics.Types.goal -> goals: Prims.list FStar.Tactics.Types.goal -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 40, "end_line": 2192, "start_col": 4, "start_line": 2181 }
FStar.Tactics.Effect.Tac
val lookup_by_term_attr' (attr: term) (e: env) (found l: list fv) : Tac (list fv)
[ { "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...
false
let rec lookup_by_term_attr' (attr: term) (e: env) (found: list fv) (l: list fv) : Tac (list fv) = match l with | [] -> List.Tot.rev found | f :: q -> let n = inspect_fv f in begin match lookup_typ e n with | None -> lookup_by_term_attr' attr e found q | Some se -> let found' = if at...
val lookup_by_term_attr' (attr: term) (e: env) (found l: list fv) : Tac (list fv) let rec lookup_by_term_attr' (attr: term) (e: env) (found l: list fv) : Tac (list fv) =
true
null
false
match l with | [] -> List.Tot.rev found | f :: q -> let n = inspect_fv f in match lookup_typ e n with | None -> lookup_by_term_attr' attr e found q | Some se -> let found' = if attr `term_mem` (sigelt_attrs se) then f :: found else found in lookup_by_term_attr' attr e found' q
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "FStar.Reflection.Types.env", "Prims.list", "FStar.Reflection.Types.fv", "FStar.List.Tot.Base.rev", "FStar.Reflection.V2.Builtins.lookup_typ", "Steel.Effect.Common.lookup_by_term_attr'", "FStar.Reflection.Types.sigelt", "Prims.Cons", "Prims.bool", "Steel.Effect.Co...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lookup_by_term_attr' (attr: term) (e: env) (found l: list fv) : Tac (list fv)
[ "recursion" ]
Steel.Effect.Common.lookup_by_term_attr'
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
attr: FStar.Tactics.NamedView.term -> e: FStar.Reflection.Types.env -> found: Prims.list FStar.Reflection.Types.fv -> l: Prims.list FStar.Reflection.Types.fv -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.fv)
{ "end_col": 7, "end_line": 2219, "start_col": 2, "start_line": 2206 }
FStar.Tactics.Effect.Tac
val open_existentials: Prims.unit -> Tac unit
[ { "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...
false
let open_existentials () : Tac unit = let e = cur_env () in if Nil? (lookup_attr (`solve_can_be_split_lookup) e) then fail "Tactic disabled: no available lemmas in context"; norm [delta_attr [`%__reduce__]]; let t0 = cur_goal () in match collect_app t0 with | _ (* squa...
val open_existentials: Prims.unit -> Tac unit let open_existentials () : Tac unit =
true
null
false
let e = cur_env () in if Nil? (lookup_attr (`solve_can_be_split_lookup) e) then fail "Tactic disabled: no available lemmas in context"; norm [delta_attr [`%__reduce__]]; let t0 = cur_goal () in match collect_app t0 with | _, (t1, Q_Explicit) :: [] -> let hd, tl = collect_app t1 in if hd `is_fvar` (`%can_be_split) ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.unit", "FStar.Tactics.NamedView.term", "FStar.Reflection.Types.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Tactics.V2.Derived.fail", "Steel.Effect.Common.bring_last_goal_on_top", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.V2.Logi...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val open_existentials: Prims.unit -> Tac unit
[]
Steel.Effect.Common.open_existentials
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 57, "end_line": 2326, "start_col": 3, "start_line": 2301 }
FStar.Tactics.Effect.Tac
val extract_contexts (lemma_left lemma_right label_attr attr t: term) : Tac (option (unit -> Tac unit))
[ { "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...
false
let rec extract_contexts (lemma_left lemma_right label_attr attr: term) (t: term) : Tac (option (unit -> Tac unit)) = let hd, tl = collect_app t in if is_star hd then match tl with | (t_left, Q_Explicit) :: (t_right, Q_Explicit) :: [] -> let extract_right () : Tac (option (unit -> Tac unit)) = ...
val extract_contexts (lemma_left lemma_right label_attr attr t: term) : Tac (option (unit -> Tac unit)) let rec extract_contexts (lemma_left lemma_right label_attr attr t: term) : Tac (option (unit -> Tac unit)) =
true
null
false
let hd, tl = collect_app t in if is_star hd then match tl with | (t_left, Q_Explicit) :: (t_right, Q_Explicit) :: [] -> let extract_right () : Tac (option (unit -> Tac unit)) = match extract_contexts lemma_left lemma_right label_attr attr t_right with | None -> None | Some f -> Some ...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Reflection.V2.Data.argv", "Steel.Effect.Common.is_star", "FStar.Reflection.Types.term", "FStar.Pervasives.Native.option", "Prims.unit", "FStar.Pervasives.Native.Some", "FStar.Tactics.V2.Derived.try_with", "Steel.Effect.Common.dismiss_all_but_las...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val extract_contexts (lemma_left lemma_right label_attr attr t: term) : Tac (option (unit -> Tac unit))
[ "recursion" ]
Steel.Effect.Common.extract_contexts
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
lemma_left: FStar.Tactics.NamedView.term -> lemma_right: FStar.Tactics.NamedView.term -> label_attr: FStar.Tactics.NamedView.term -> attr: FStar.Tactics.NamedView.term -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (_: Prims.unit -> FStar.Tactic...
{ "end_col": 7, "end_line": 2292, "start_col": 1, "start_line": 2240 }
FStar.Tactics.Effect.Tac
val term_dict_assoc (#a: Type) (key: term) (l: list (term & a)) : Tac (list a)
[ { "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...
false
let rec term_dict_assoc (#a: Type) (key: term) (l: list (term & a)) : Tac (list a) = match l with | [] -> [] | (k, v) :: q -> let q' = term_dict_assoc key q in if k `term_eq_old` key then (v :: q') else q'
val term_dict_assoc (#a: Type) (key: term) (l: list (term & a)) : Tac (list a) let rec term_dict_assoc (#a: Type) (key: term) (l: list (term & a)) : Tac (list a) =
true
null
false
match l with | [] -> [] | (k, v) :: q -> let q' = term_dict_assoc key q in if k `term_eq_old` key then (v :: q') else q'
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Pervasives.Native.tuple2", "Prims.Nil", "Prims.Cons", "Prims.bool", "FStar.Tactics.V2.Builtins.term_eq_old", "Steel.Effect.Common.term_dict_assoc" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val term_dict_assoc (#a: Type) (key: term) (l: list (term & a)) : Tac (list a)
[ "recursion" ]
Steel.Effect.Common.term_dict_assoc
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
key: FStar.Tactics.NamedView.term -> l: Prims.list (FStar.Tactics.NamedView.term * a) -> FStar.Tactics.Effect.Tac (Prims.list a)
{ "end_col": 11, "end_line": 2782, "start_col": 2, "start_line": 2776 }
FStar.Tactics.Effect.Tac
val solve_return_eqs (fuel: nat) : Tac unit
[ { "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...
false
let rec solve_return_eqs (fuel: nat) : Tac unit = if fuel = 0 then () else match goals () with | [] -> () | hd::_ -> let f = term_as_formula' (goal_type hd) in match f with | Comp (Eq _) l r -> trefl(); solve_return_eqs (fuel - 1) | _ -> later(); solve_return_eqs (fuel - 1)
val solve_return_eqs (fuel: nat) : Tac unit let rec solve_return_eqs (fuel: nat) : Tac unit =
true
null
false
if fuel = 0 then () else match goals () with | [] -> () | hd :: _ -> let f = term_as_formula' (goal_type hd) in match f with | Comp (Eq _) l r -> trefl (); solve_return_eqs (fuel - 1) | _ -> later (); solve_return_eqs (fuel - 1)
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.unit", "Prims.bool", "FStar.Tactics.Types.goal", "Prims.list", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.typ", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.solve_return_eqs", "Prims.op_Subtraction", "FStar.Tactics....
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_return_eqs (fuel: nat) : Tac unit
[ "recursion" ]
Steel.Effect.Common.solve_return_eqs
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
fuel: Prims.nat -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 47, "end_line": 2738, "start_col": 2, "start_line": 2728 }
FStar.Tactics.Effect.Tac
val solve_indirection_eqs (fuel: nat) : Tac unit
[ { "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...
false
let rec solve_indirection_eqs (fuel: nat) : Tac unit = if fuel = 0 then () else match goals () with | [] -> () | hd::_ -> let f = term_as_formula' (goal_type hd) in match f with | Comp (Eq _) l r -> if is_return_eq l r then later() else trefl(); solve_indirection_eqs (fuel - 1) ...
val solve_indirection_eqs (fuel: nat) : Tac unit let rec solve_indirection_eqs (fuel: nat) : Tac unit =
true
null
false
if fuel = 0 then () else match goals () with | [] -> () | hd :: _ -> let f = term_as_formula' (goal_type hd) in match f with | Comp (Eq _) l r -> if is_return_eq l r then later () else trefl (); solve_indirection_eqs (fuel - 1) | _ -> later (); solve_indirection_eqs (fuel -...
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.unit", "Prims.bool", "FStar.Tactics.Types.goal", "Prims.list", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.typ", "FStar.Tactics.NamedView.term", "Steel.Effect.Common.solve_indirection_eqs", "Prims.op_Subtraction", "FStar.Tac...
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val solve_indirection_eqs (fuel: nat) : Tac unit
[ "recursion" ]
Steel.Effect.Common.solve_indirection_eqs
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
fuel: Prims.nat -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 52, "end_line": 2709, "start_col": 2, "start_line": 2699 }
FStar.Tactics.Effect.Tac
val compute_guarded_uvars1 (accu: list int) (g: list goal) : Tac (list int)
[ { "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...
false
let rec compute_guarded_uvars1 (accu: list int) (g: list goal) : Tac (list int) = match g with | [] -> accu | a :: q -> let t = goal_type a in let accu' = if all_guards_solved t then accu else merge_sorted accu (goal_term_uvars t) in compute_guarded_uvars1 accu' q
val compute_guarded_uvars1 (accu: list int) (g: list goal) : Tac (list int) let rec compute_guarded_uvars1 (accu: list int) (g: list goal) : Tac (list int) =
true
null
false
match g with | [] -> accu | a :: q -> let t = goal_type a in let accu' = if all_guards_solved t then accu else merge_sorted accu (goal_term_uvars t) in compute_guarded_uvars1 accu' q
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "Prims.int", "FStar.Tactics.Types.goal", "Steel.Effect.Common.compute_guarded_uvars1", "Prims.bool", "Steel.Effect.Common.merge_sorted", "Steel.Effect.Common.goal_term_uvars", "Steel.Effect.Common.all_guards_solved", "FStar.Reflection.Types.typ", "FStar.Tactics.Types.goal_type" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val compute_guarded_uvars1 (accu: list int) (g: list goal) : Tac (list int)
[ "recursion" ]
Steel.Effect.Common.compute_guarded_uvars1
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
accu: Prims.list Prims.int -> g: Prims.list FStar.Tactics.Types.goal -> FStar.Tactics.Effect.Tac (Prims.list Prims.int)
{ "end_col": 34, "end_line": 2917, "start_col": 2, "start_line": 2908 }
FStar.Tactics.Effect.Tac
val compute_guarded_uvars3 (accu: list int) (g: list goal) : Tac (list int)
[ { "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...
false
let rec compute_guarded_uvars3 (accu: list int) (g: list goal) : Tac (list int) = let accu' = compute_guarded_uvars2 accu g in if accu = accu' then accu else compute_guarded_uvars3 accu' g
val compute_guarded_uvars3 (accu: list int) (g: list goal) : Tac (list int) let rec compute_guarded_uvars3 (accu: list int) (g: list goal) : Tac (list int) =
true
null
false
let accu' = compute_guarded_uvars2 accu g in if accu = accu' then accu else compute_guarded_uvars3 accu' g
{ "checked_file": "Steel.Effect.Common.fsti.checked", "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.che...
[]
[ "Prims.list", "Prims.int", "FStar.Tactics.Types.goal", "Prims.op_Equality", "Prims.bool", "Steel.Effect.Common.compute_guarded_uvars3", "Steel.Effect.Common.compute_guarded_uvars2" ]
[]
(* 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...
false
false
Steel.Effect.Common.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val compute_guarded_uvars3 (accu: list int) (g: list goal) : Tac (list int)
[ "recursion" ]
Steel.Effect.Common.compute_guarded_uvars3
{ "file_name": "lib/steel/Steel.Effect.Common.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
accu: Prims.list Prims.int -> g: Prims.list FStar.Tactics.Types.goal -> FStar.Tactics.Effect.Tac (Prims.list Prims.int)
{ "end_col": 37, "end_line": 2937, "start_col": 81, "start_line": 2933 }