file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.split
val split: Prims.unit -> Tac unit
val split: Prims.unit -> Tac unit
let split () : Tac unit = try apply_lemma (`split_lem) with | _ -> fail "Could not split goal"
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 68, "start_col": 0, "start_line": 66 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.try_with", "FStar.Tactics.V1.Derived.apply_lemma", "Prims.exn", "FStar.Tactics.V1.Derived.fail" ]
[]
false
true
false
false
false
let split () : Tac unit =
try apply_lemma (`split_lem) with | _ -> fail "Could not split goal"
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.l_intro
val l_intro : _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binder
let l_intro () = forall_intro `or_else` implies_intro
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 89, "start_col": 0, "start_line": 89 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binder
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.or_else", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.forall_intro", "FStar.Tactics.V1.Logic.implies_intro" ]
[]
false
true
false
false
false
let l_intro () =
forall_intro `or_else` implies_intro
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.implies_intros
val implies_intros: Prims.unit -> Tac binders
val implies_intros: Prims.unit -> Tac binders
let implies_intros () : Tac binders = repeat1 implies_intro
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 86, "start_col": 0, "start_line": 86 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binders
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.repeat1", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.implies_intro", "Prims.list", "FStar.Stubs.Reflection.Types.binders" ]
[]
false
true
false
false
false
let implies_intros () : Tac binders =
repeat1 implies_intro
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.l_intros
val l_intros : _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.Types.binder)
let l_intros () = repeat l_intro
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 92, "start_col": 0, "start_line": 92 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.Types.binder)
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.repeat", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.l_intro", "Prims.list" ]
[]
false
true
false
false
false
let l_intros () =
repeat l_intro
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.squash_intro
val squash_intro: Prims.unit -> Tac unit
val squash_intro: Prims.unit -> Tac unit
let squash_intro () : Tac unit = apply (`FStar.Squash.return_squash)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 95, "start_col": 0, "start_line": 94 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.apply" ]
[]
false
true
false
false
false
let squash_intro () : Tac unit =
apply (`FStar.Squash.return_squash)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.hyp
val hyp (b: binder) : Tac unit
val hyp (b: binder) : Tac unit
let hyp (b:binder) : Tac unit = l_exact (binder_to_term b)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 101, "start_col": 0, "start_line": 101 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Stubs.Reflection.Types.binder -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.l_exact", "Prims.unit", "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.binder_to_term" ]
[]
false
true
false
false
false
let hyp (b: binder) : Tac unit =
l_exact (binder_to_term b)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.l_exact
val l_exact : t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
let l_exact (t:term) = try exact t with | _ -> (squash_intro (); exact t)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 99, "start_col": 0, "start_line": 97 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.try_with", "Prims.unit", "FStar.Tactics.V1.Derived.exact", "Prims.exn", "FStar.Tactics.V1.Logic.squash_intro" ]
[]
false
true
false
false
false
let l_exact (t: term) =
try exact t with | _ -> (squash_intro (); exact t)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.rewrite_all_equalities
val rewrite_all_equalities: Prims.unit -> Tac unit
val rewrite_all_equalities: Prims.unit -> Tac unit
let rewrite_all_equalities () : Tac unit = visit simplify_eq_implication
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 166, "start_col": 0, "start_line": 165 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Logic.visit", "FStar.Tactics.V1.Logic.simplify_eq_implication" ]
[]
false
true
false
false
false
let rewrite_all_equalities () : Tac unit =
visit simplify_eq_implication
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.unsquash
val unsquash (t: term) : Tac term
val unsquash (t: term) : Tac term
let unsquash (t:term) : Tac term = let v = `vbind in apply_lemma (mk_e_app v [t]); let b = intro () in pack_ln (Tv_Var (bv_of_binder b))
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 195, "start_col": 0, "start_line": 191 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V1.Builtins.pack_ln", "FStar.Stubs.Reflection.V1.Data.Tv_Var", "FStar.Reflection.V1.Derived.bv_of_binder", "FStar.Stubs.Reflection.Types.binder", "FStar.Stubs.Tactics.V1.Builtins.intro", "Prims.unit", "FStar.Tactics.V1.Derived.apply_lemma", ...
[]
false
true
false
false
false
let unsquash (t: term) : Tac term =
let v = `vbind in apply_lemma (mk_e_app v [t]); let b = intro () in pack_ln (Tv_Var (bv_of_binder b))
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.explode
val explode: Prims.unit -> Tac unit
val explode: Prims.unit -> Tac unit
let explode () : Tac unit = ignore ( repeatseq (fun () -> first [(fun () -> ignore (l_intro ())); (fun () -> ignore (split ()))]))
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 64, "end_line": 131, "start_col": 0, "start_line": 128 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Pervasives.ignore", "FStar.Tactics.V1.Derived.repeatseq", "FStar.Tactics.V1.Derived.first", "Prims.Cons", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.l_intro", "FStar.Tactics.V1.Logic.split", "Prims.Nil" ]
[]
false
true
false
false
false
let explode () : Tac unit =
ignore (repeatseq (fun () -> first [(fun () -> ignore (l_intro ())); (fun () -> ignore (split ()))]) )
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.visit
val visit (callback: (unit -> Tac unit)) : Tac unit
val visit (callback: (unit -> Tac unit)) : Tac unit
let rec visit (callback:unit -> Tac unit) : Tac unit = focus (fun () -> or_else callback (fun () -> let g = cur_goal () in match term_as_formula g with | Forall _b _sort _phi -> let binders = forall_in...
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 150, "start_col": 0, "start_line": 133 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
callback: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.focus", "FStar.Tactics.V1.Derived.or_else", "FStar.Stubs.Reflection.Types.bv", "FStar.Stubs.Reflection.Types.typ", "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.seq", "FStar.Tactics.V1.Logic.visit", "FStar.Tactics.V1.Logic.l_revert_all", "FS...
[ "recursion" ]
false
true
false
false
false
let rec visit (callback: (unit -> Tac unit)) : Tac unit =
focus (fun () -> or_else callback (fun () -> let g = cur_goal () in match term_as_formula g with | Forall _b _sort _phi -> let binders = forall_intros () in seq (fun () -> visit callback) (fun () -> l_revert_all binders) | And p q...
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.l_revert_all
val l_revert_all (bs: binders) : Tac unit
val l_revert_all (bs: binders) : Tac unit
let rec l_revert_all (bs:binders) : Tac unit = match bs with | [] -> () | _::tl -> begin l_revert (); l_revert_all tl end
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 42, "start_col": 0, "start_line": 39 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
bs: FStar.Stubs.Reflection.Types.binders -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.binders", "Prims.unit", "FStar.Stubs.Reflection.Types.binder", "Prims.list", "FStar.Tactics.V1.Logic.l_revert_all", "FStar.Tactics.V1.Logic.l_revert" ]
[ "recursion" ]
false
true
false
false
false
let rec l_revert_all (bs: binders) : Tac unit =
match bs with | [] -> () | _ :: tl -> l_revert (); l_revert_all tl
false
Spec.RSAPSS.fst
Spec.RSAPSS.os2ip_lemma
val os2ip_lemma: emBits:size_pos -> em:lbytes (blocks emBits 8) -> Lemma (requires (if emBits % 8 > 0 then v em.[0] < pow2 (emBits % 8) else v em.[0] < pow2 8)) (ensures os2ip #(blocks emBits 8) em < pow2 emBits)
val os2ip_lemma: emBits:size_pos -> em:lbytes (blocks emBits 8) -> Lemma (requires (if emBits % 8 > 0 then v em.[0] < pow2 (emBits % 8) else v em.[0] < pow2 8)) (ensures os2ip #(blocks emBits 8) em < pow2 emBits)
let os2ip_lemma emBits em = let emLen = blocks emBits 8 in let aux (emBits:size_pos{emBits % 8 > 0}) : Lemma (8 * ((emBits - 1) / 8) + emBits % 8 <= emBits) = assert ((emBits - 1) / 8 <= emBits / 8) in if emBits % 8 > 0 then begin nat_from_intseq_be_slice_lemma em 1; nat_from_intseq_be_lemma0 (slice...
{ "file_name": "specs/Spec.RSAPSS.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 245, "start_col": 0, "start_line": 219 }
module Spec.RSAPSS open FStar.Mul open Lib.IntTypes open Lib.NatMod open Lib.Sequence open Lib.ByteSequence open Lib.LoopCombinators module Hash = Spec.Agile.Hash #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** RFC spec of RSA-PSS: https://tools.ietf.org/html/rfc8017#section-8.1 List of supported hash functi...
{ "checked_file": "/", "dependencies": [ "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
emBits: Lib.IntTypes.size_pos -> em: Lib.ByteSequence.lbytes (Spec.RSAPSS.blocks emBits 8) -> FStar.Pervasives.Lemma (requires ((match emBits % 8 > 0 with | true -> Lib.IntTypes.v em.[ 0 ] < Prims.pow2 (emBits % 8) | _ -> Lib.IntTypes.v em.[ 0 ] < Prims.pow2 8) <: ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.size_pos", "Lib.ByteSequence.lbytes", "Spec.RSAPSS.blocks", "Prims.op_GreaterThan", "Prims.op_Modulus", "Prims._assert", "Prims.b2t", "Prims.op_LessThan", "Lib.ByteSequence.nat_from_bytes_be", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Calc.calc_finish", "Prims.in...
[]
false
false
true
false
false
let os2ip_lemma emBits em =
let emLen = blocks emBits 8 in let aux (emBits: size_pos{emBits % 8 > 0}) : Lemma (8 * ((emBits - 1) / 8) + emBits % 8 <= emBits) = assert ((emBits - 1) / 8 <= emBits / 8) in if emBits % 8 > 0 then (nat_from_intseq_be_slice_lemma em 1; nat_from_intseq_be_lemma0 (slice em 0 1); assert (nat_from_bytes_be em =...
false
MiniParseExample2.fst
MiniParseExample2.c3
val c3:sum_case #somme #(bounded_u16 4) imp0 3us
val c3:sum_case #somme #(bounded_u16 4) imp0 3us
let c3 : sum_case #somme #(bounded_u16 4) imp0 3us = Case #(bounded_u16 4) #somme unit parse_empty serialize_empty (fun (_: unit) -> X <: refine_with_tag #(bounded_u16 4) #somme imp0 (3us <: bounded_u16 4)) (fun (_: refine_with_tag #(bounded_u16 4) #somme imp0 (3us <: bounded_u...
{ "file_name": "examples/miniparse/MiniParseExample2.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 42, "start_col": 0, "start_line": 35 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MiniParse.Spec.TSum.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "MiniParseExample2.fst" }
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.TSum", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
MiniParse.Spec.TSum.sum_case MiniParseExample2.imp0 (3us <: FStar.UInt16.t)
Prims.Tot
[ "total" ]
[]
[ "MiniParse.Spec.TSum.Case", "MiniParse.Spec.Int.bounded_u16", "MiniParseExample2.somme", "MiniParseExample2.imp0", "FStar.UInt16.__uint_to_t", "Prims.unit", "MiniParse.Spec.Combinators.parse_empty", "MiniParse.Spec.Combinators.serialize_empty", "MiniParseExample2.X", "MiniParse.Spec.TSum.refine_wi...
[]
false
false
false
false
false
let c3:sum_case #somme #(bounded_u16 4) imp0 3us =
Case #(bounded_u16 4) #somme unit parse_empty serialize_empty (fun (_: unit) -> X <: refine_with_tag #(bounded_u16 4) #somme imp0 (3us <: bounded_u16 4)) (fun (_: refine_with_tag #(bounded_u16 4) #somme imp0 (3us <: bounded_u16 4)) -> ()) ()
false
FStar.Buffer.Quantifiers.fst
FStar.Buffer.Quantifiers.lemma_blit_quantifiers
val lemma_blit_quantifiers: #a:Type -> h0:mem -> h1:mem -> b:buffer a -> bi:UInt32.t{v bi <= length b} -> b':buffer a{disjoint b b'} -> bi':UInt32.t{v bi' <= length b'} -> len:UInt32.t{v bi+v len <= length b /\ v bi'+v len <= length b'} -> Lemma (requires (live h0 b /\ live h0 b' /\ live h1 b' /\ Seq.slice ...
val lemma_blit_quantifiers: #a:Type -> h0:mem -> h1:mem -> b:buffer a -> bi:UInt32.t{v bi <= length b} -> b':buffer a{disjoint b b'} -> bi':UInt32.t{v bi' <= length b'} -> len:UInt32.t{v bi+v len <= length b /\ v bi'+v len <= length b'} -> Lemma (requires (live h0 b /\ live h0 b' /\ live h1 b' /\ Seq.slice ...
let lemma_blit_quantifiers #a h0 h1 b bi b' bi' len = let lemma_post_1 (j:nat) = j < v len ==> get h1 b' (v bi'+j) == get h0 b (v bi+j) in let qj_1 : j:nat -> Lemma (lemma_post_1 j) = fun j -> assert (j < v len ==> Seq.index (Seq.slice (as_seq h1 b') (v bi') (v bi'+v len)) j == Seq.index (Seq.slice (as_seq...
{ "file_name": "ulib/legacy/FStar.Buffer.Quantifiers.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 105, "start_col": 0, "start_line": 90 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Buffer.fst.checked" ], "interfac...
[ { "abbrev": false, "full_module": "FStar.Classical", "short_module": null }, { "abbrev": false, "full_module": "FStar.Buffer", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> b: FStar.Buffer.buffer a -> bi: FStar.UInt32.t{FStar.UInt32.v bi <= FStar.Buffer.length b} -> b': FStar.Buffer.buffer a {FStar.Buffer.disjoint b b'} -> bi': FStar.UInt32.t{FStar.UInt32.v bi' <= FStar.Buffer.length b'} -...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "FStar.Buffer.buffer", "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "FStar.Buffer.length", "FStar.Buffer.disjoint", "Prims.l_and", "Prims.op_Addition", "FStar.Classical.forall_intro", "Prims.nat", "Prims.unit", "Prims.l_True...
[]
false
false
true
false
false
let lemma_blit_quantifiers #a h0 h1 b bi b' bi' len =
let lemma_post_1 (j: nat) = j < v len ==> get h1 b' (v bi' + j) == get h0 b (v bi + j) in let qj_1: j: nat -> Lemma (lemma_post_1 j) = fun j -> assert (j < v len ==> Seq.index (Seq.slice (as_seq h1 b') (v bi') (v bi' + v len)) j == Seq.index (Seq.slice (as_seq h0 b) (v bi) (v bi + v len)) j) in le...
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.pose_lemma
val pose_lemma (t: term) : Tac binder
val pose_lemma (t: term) : Tac binder
let pose_lemma (t : term) : Tac binder = let c = tcc (cur_env ()) t in let pre, post = match inspect_comp c with | C_Lemma pre post _ -> pre, post | _ -> fail "" in let post = `((`#post) ()) in (* unthunk *) let post = norm_term [] post in (* If the precondition is trivial, do not cut by it *) ...
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 126, "start_col": 0, "start_line": 107 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binder
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.pose", "FStar.Stubs.Reflection.Types.binder", "FStar.Reflection.V1.Formula.formula", "Prims.unit", "FStar.Pervasives.ignore", "FStar.Pervasives.Native.option", "FStar.Tactics.V1.Derived.trytac", "FStar.Tactics.V1.Derived.trivial", "FSt...
[]
false
true
false
false
false
let pose_lemma (t: term) : Tac binder =
let c = tcc (cur_env ()) t in let pre, post = match inspect_comp c with | C_Lemma pre post _ -> pre, post | _ -> fail "" in let post = `((`#post) ()) in let post = norm_term [] post in match term_as_formula' pre with | True_ -> pose (`(__lemma_to_squash #(`#pre) #(`#post) () (fun () -> (`#t)))) | _ -> let reqb ...
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.revert_squash
val revert_squash : (#a:Type) -> (#b : (a -> Type)) -> (squash (forall (x:a). b x)) -> x:a -> squash (b x)
val revert_squash : (#a:Type) -> (#b : (a -> Type)) -> (squash (forall (x:a). b x)) -> x:a -> squash (b x)
let revert_squash #a #b s x = let x : (_:unit{forall x. b x}) = s in ()
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 71, "end_line": 31, "start_col": 0, "start_line": 31 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.squash (forall (x: a). b x) -> x: a -> Prims.squash (b x)
Prims.Tot
[ "total" ]
[]
[ "Prims.squash", "Prims.l_Forall", "Prims.unit" ]
[]
false
false
true
false
false
let revert_squash #a #b s x =
let x:(_: unit{forall x. b x}) = s in ()
false
MiniParseExample2.fst
MiniParseExample2.c2
val c2:sum_case #somme #(bounded_u16 4) imp0 2us
val c2:sum_case #somme #(bounded_u16 4) imp0 2us
let c2 : sum_case #somme #(bounded_u16 4) imp0 2us = Case #(bounded_u16 4) #somme unit parse_empty serialize_empty (fun (_: unit) -> W <: refine_with_tag #(bounded_u16 4) #somme imp0 (2us <: bounded_u16 4)) (fun (x: refine_with_tag #(bounded_u16 4) #somme imp0 (2us <: bounded_u...
{ "file_name": "examples/miniparse/MiniParseExample2.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 53, "start_col": 0, "start_line": 46 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MiniParse.Spec.TSum.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "MiniParseExample2.fst" }
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.TSum", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
MiniParse.Spec.TSum.sum_case MiniParseExample2.imp0 (2us <: FStar.UInt16.t)
Prims.Tot
[ "total" ]
[]
[ "MiniParse.Spec.TSum.Case", "MiniParse.Spec.Int.bounded_u16", "MiniParseExample2.somme", "MiniParseExample2.imp0", "FStar.UInt16.__uint_to_t", "Prims.unit", "MiniParse.Spec.Combinators.parse_empty", "MiniParse.Spec.Combinators.serialize_empty", "MiniParseExample2.W", "MiniParse.Spec.TSum.refine_wi...
[]
false
false
false
false
false
let c2:sum_case #somme #(bounded_u16 4) imp0 2us =
Case #(bounded_u16 4) #somme unit parse_empty serialize_empty (fun (_: unit) -> W <: refine_with_tag #(bounded_u16 4) #somme imp0 (2us <: bounded_u16 4)) (fun (x: refine_with_tag #(bounded_u16 4) #somme imp0 (2us <: bounded_u16 4)) -> ()) ()
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.cases_or
val cases_or (o: term) : Tac unit
val cases_or (o: term) : Tac unit
let cases_or (o:term) : Tac unit = apply_lemma (mk_e_app (`or_ind) [o])
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 205, "start_col": 0, "start_line": 204 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
o: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.apply_lemma", "FStar.Reflection.V1.Derived.mk_e_app", "Prims.Cons", "Prims.Nil", "Prims.unit" ]
[]
false
true
false
false
false
let cases_or (o: term) : Tac unit =
apply_lemma (mk_e_app (`or_ind) [o])
false
MiniParseExample2.fst
MiniParseExample2.c1
val c1:sum_case #somme #(bounded_u16 4) imp0 1us
val c1:sum_case #somme #(bounded_u16 4) imp0 1us
let c1 : sum_case #somme #(bounded_u16 4) imp0 1us = Case #(bounded_u16 4) #somme unit parse_empty serialize_empty (fun (_: unit) -> V <: refine_with_tag #(bounded_u16 4) #somme imp0 (1us <: bounded_u16 4)) (fun (_: refine_with_tag #(bounded_u16 4) #somme imp0 (1us <: bounded_u...
{ "file_name": "examples/miniparse/MiniParseExample2.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 62, "start_col": 0, "start_line": 55 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MiniParse.Spec.TSum.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "MiniParseExample2.fst" }
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.TSum", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
MiniParse.Spec.TSum.sum_case MiniParseExample2.imp0 (1us <: FStar.UInt16.t)
Prims.Tot
[ "total" ]
[]
[ "MiniParse.Spec.TSum.Case", "MiniParse.Spec.Int.bounded_u16", "MiniParseExample2.somme", "MiniParseExample2.imp0", "FStar.UInt16.__uint_to_t", "Prims.unit", "MiniParse.Spec.Combinators.parse_empty", "MiniParse.Spec.Combinators.serialize_empty", "MiniParseExample2.V", "MiniParse.Spec.TSum.refine_wi...
[]
false
false
false
false
false
let c1:sum_case #somme #(bounded_u16 4) imp0 1us =
Case #(bounded_u16 4) #somme unit parse_empty serialize_empty (fun (_: unit) -> V <: refine_with_tag #(bounded_u16 4) #somme imp0 (1us <: bounded_u16 4)) (fun (_: refine_with_tag #(bounded_u16 4) #somme imp0 (1us <: bounded_u16 4)) -> ()) ()
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.right
val right: Prims.unit -> Tac unit
val right: Prims.unit -> Tac unit
let right () : Tac unit = apply_lemma (`or_intro_2)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 227, "start_col": 0, "start_line": 226 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.apply_lemma" ]
[]
false
true
false
false
false
let right () : Tac unit =
apply_lemma (`or_intro_2)
false
MiniParseExample2.fst
MiniParseExample2.c0
val c0:sum_case #somme #(bounded_u16 4) imp0 0us
val c0:sum_case #somme #(bounded_u16 4) imp0 0us
let c0 : sum_case #somme #(bounded_u16 4) imp0 0us = Case #(bounded_u16 4) #somme U8.t parse_u8 serialize_u8 (fun (x: U8.t) -> U x <: refine_with_tag #(bounded_u16 4) #somme imp0 (0us <: bounded_u16 4)) (fun (x: refine_with_tag #(bounded_u16 4) #somme imp0 0us) -> ( m...
{ "file_name": "examples/miniparse/MiniParseExample2.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 74, "start_col": 0, "start_line": 64 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MiniParse.Spec.TSum.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "MiniParseExample2.fst" }
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.TSum", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
MiniParse.Spec.TSum.sum_case MiniParseExample2.imp0 (0us <: FStar.UInt16.t)
Prims.Tot
[ "total" ]
[]
[ "MiniParse.Spec.TSum.Case", "MiniParse.Spec.Int.bounded_u16", "MiniParseExample2.somme", "MiniParseExample2.imp0", "FStar.UInt16.__uint_to_t", "FStar.UInt8.t", "MiniParse.Spec.Int.parse_u8", "MiniParse.Spec.Int.serialize_u8", "MiniParseExample2.U", "MiniParse.Spec.TSum.refine_with_tag" ]
[]
false
false
false
false
false
let c0:sum_case #somme #(bounded_u16 4) imp0 0us =
Case #(bounded_u16 4) #somme U8.t parse_u8 serialize_u8 (fun (x: U8.t) -> U x <: refine_with_tag #(bounded_u16 4) #somme imp0 (0us <: bounded_u16 4)) (fun (x: refine_with_tag #(bounded_u16 4) #somme imp0 0us) -> (match x with | U x -> x)) ()
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.imp_intro_lem
val imp_intro_lem : (#a:Type) -> (#b : Type) -> (a -> squash b) -> Lemma (a ==> b)
val imp_intro_lem : (#a:Type) -> (#b : Type) -> (a -> squash b) -> Lemma (a ==> b)
let imp_intro_lem #a #b f = FStar.Classical.give_witness (FStar.Classical.arrow_to_impl (fun (x:squash a) -> FStar.Squash.bind_squash x f))
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 113, "end_line": 74, "start_col": 0, "start_line": 73 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: a -> Prims.squash b) -> FStar.Pervasives.Lemma (ensures a ==> b)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.squash", "FStar.Classical.give_witness", "Prims.l_imp", "FStar.Classical.arrow_to_impl", "FStar.Squash.bind_squash", "Prims.unit" ]
[]
false
false
true
false
false
let imp_intro_lem #a #b f =
FStar.Classical.give_witness (FStar.Classical.arrow_to_impl (fun (x: squash a) -> FStar.Squash.bind_squash x f))
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.cases_bool
val cases_bool (b: term) : Tac unit
val cases_bool (b: term) : Tac unit
let cases_bool (b:term) : Tac unit = let bi = `bool_ind in seq (fun () -> apply_lemma (mk_e_app bi [b])) (fun () -> let _ = trytac (fun () -> let b = implies_intro () in rewrite b; clear_top ()) in ())
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 104, "end_line": 215, "start_col": 0, "start_line": 212 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.seq", "Prims.unit", "FStar.Tactics.V1.Derived.apply_lemma", "FStar.Reflection.V1.Derived.mk_e_app", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.Native.option", "FStar.Tactics.V1.Derived.trytac", "FStar.Stubs.Tactics.V1.Builtins.clear_...
[]
false
true
false
false
false
let cases_bool (b: term) : Tac unit =
let bi = `bool_ind in seq (fun () -> apply_lemma (mk_e_app bi [b])) (fun () -> let _ = trytac (fun () -> let b = implies_intro () in rewrite b; clear_top ()) in ())
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.and_elim
val and_elim (t: term) : Tac unit
val and_elim (t: term) : Tac unit
let and_elim (t : term) : Tac unit = begin try apply_lemma (`(__and_elim (`#t))) with | _ -> apply_lemma (`(__and_elim' (`#t))) end
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 245, "start_col": 0, "start_line": 241 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.try_with", "Prims.unit", "FStar.Tactics.V1.Derived.apply_lemma", "Prims.exn" ]
[]
false
true
false
false
false
let and_elim (t: term) : Tac unit =
try apply_lemma (`(__and_elim (`#t))) with | _ -> apply_lemma (`(__and_elim' (`#t)))
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.witness
val witness (t: term) : Tac unit
val witness (t: term) : Tac unit
let witness (t : term) : Tac unit = apply_raw (`__witness); exact t
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 256, "start_col": 0, "start_line": 254 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.exact", "Prims.unit", "FStar.Tactics.V1.Derived.apply_raw" ]
[]
false
true
false
false
false
let witness (t: term) : Tac unit =
apply_raw (`__witness); exact t
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.__elim_exists'
val __elim_exists' (#t: _) (#pred: (t -> Type0)) (#goal: _) (h: (exists x. pred x)) (k: (x: t -> pred x -> squash goal)) : squash goal
val __elim_exists' (#t: _) (#pred: (t -> Type0)) (#goal: _) (h: (exists x. pred x)) (k: (x: t -> pred x -> squash goal)) : squash goal
let __elim_exists' #t (#pred : t -> Type0) #goal (h : (exists x. pred x)) (k : (x:t -> pred x -> squash goal)) : squash goal = FStar.Squash.bind_squash #(x:t & pred x) h (fun (|x, pf|) -> k x pf)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 70, "end_line": 261, "start_col": 0, "start_line": 259 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: (exists (x: t). pred x) -> k: (x: t -> _: pred x -> Prims.squash goal) -> Prims.squash goal
Prims.Tot
[ "total" ]
[]
[ "Prims.l_Exists", "Prims.squash", "FStar.Squash.bind_squash", "Prims.dtuple2" ]
[]
false
false
true
false
false
let __elim_exists' #t (#pred: (t -> Type0)) #goal (h: (exists x. pred x)) (k: (x: t -> pred x -> squash goal)) : squash goal =
FStar.Squash.bind_squash #(x: t & pred x) h (fun (| x , pf |) -> k x pf)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.destruct_and
val destruct_and (t: term) : Tac (binder * binder)
val destruct_and (t: term) : Tac (binder * binder)
let destruct_and (t : term) : Tac (binder * binder) = and_elim t; (implies_intro (), implies_intro ())
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 249, "start_col": 0, "start_line": 247 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Stubs.Reflection.Types.binder * FStar.Stubs.Reflection.Types.binder)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.binder", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V1.Logic.implies_intro", "Prims.unit", "FStar.Tactics.V1.Logic.and_elim" ]
[]
false
true
false
false
false
let destruct_and (t: term) : Tac (binder * binder) =
and_elim t; (implies_intro (), implies_intro ())
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.left
val left: Prims.unit -> Tac unit
val left: Prims.unit -> Tac unit
let left () : Tac unit = apply_lemma (`or_intro_1)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 224, "start_col": 0, "start_line": 223 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.apply_lemma" ]
[]
false
true
false
false
false
let left () : Tac unit =
apply_lemma (`or_intro_1)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.elim_exists
val elim_exists (t: term) : Tac (binder & binder)
val elim_exists (t: term) : Tac (binder & binder)
let elim_exists (t : term) : Tac (binder & binder) = apply_lemma (`(__elim_exists' (`#(t)))); let x = intro () in let pf = intro () in (x, pf)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 268, "start_col": 0, "start_line": 264 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Stubs.Reflection.Types.binder * FStar.Stubs.Reflection.Types.binder)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.binder", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Tactics.V1.Builtins.intro", "Prims.unit", "FStar.Tactics.V1.Derived.apply_lemma" ]
[]
false
true
false
false
false
let elim_exists (t: term) : Tac (binder & binder) =
apply_lemma (`(__elim_exists' (`#(t)))); let x = intro () in let pf = intro () in (x, pf)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.__forall_inst_sq
val __forall_inst_sq (#t: _) (#pred: (t -> Type0)) (h: squash (forall x. pred x)) (x: t) : squash (pred x)
val __forall_inst_sq (#t: _) (#pred: (t -> Type0)) (h: squash (forall x. pred x)) (x: t) : squash (pred x)
let __forall_inst_sq #t (#pred : t -> Type0) (h : squash (forall x. pred x)) (x : t) : squash (pred x) = FStar.Squash.bind_squash h (fun (f : (forall x. pred x)) -> __forall_inst f x)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 82, "end_line": 277, "start_col": 0, "start_line": 276 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Prims.squash (forall (x: t). pred x) -> x: t -> Prims.squash (pred x)
Prims.Tot
[ "total" ]
[]
[ "Prims.squash", "Prims.l_Forall", "FStar.Squash.bind_squash", "FStar.Tactics.V1.Logic.__forall_inst" ]
[]
false
false
true
false
false
let __forall_inst_sq #t (#pred: (t -> Type0)) (h: squash (forall x. pred x)) (x: t) : squash (pred x) =
FStar.Squash.bind_squash h (fun (f: (forall x. pred x)) -> __forall_inst f x)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.instantiate_as
val instantiate_as (fa x: term) (s: string) : Tac binder
val instantiate_as (fa x: term) (s: string) : Tac binder
let instantiate_as (fa : term) (x : term) (s : string) : Tac binder = let b = instantiate fa x in rename_to b s
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 286, "start_col": 0, "start_line": 284 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
fa: FStar.Stubs.Reflection.Types.term -> x: FStar.Stubs.Reflection.Types.term -> s: Prims.string -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binder
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "Prims.string", "FStar.Stubs.Tactics.V1.Builtins.rename_to", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.instantiate" ]
[]
false
true
false
false
false
let instantiate_as (fa x: term) (s: string) : Tac binder =
let b = instantiate fa x in rename_to b s
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.easy
val easy : #a:Type -> (#[easy_fill ()] _ : a) -> a
val easy : #a:Type -> (#[easy_fill ()] _ : a) -> a
let easy #a #x = x
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 327, "start_col": 0, "start_line": 327 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let easy #a #x =
x
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.instantiate
val instantiate (fa x: term) : Tac binder
val instantiate (fa x: term) : Tac binder
let instantiate (fa : term) (x : term) : Tac binder = try pose (`__forall_inst_sq (`#fa) (`#x)) with | _ -> try pose (`__forall_inst (`#fa) (`#x)) with | _ -> fail "could not instantiate"
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 282, "start_col": 0, "start_line": 279 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
fa: FStar.Stubs.Reflection.Types.term -> x: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binder
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.try_with", "FStar.Stubs.Reflection.Types.binder", "Prims.unit", "FStar.Tactics.V1.Derived.pose", "Prims.exn", "FStar.Tactics.V1.Derived.fail" ]
[]
false
true
false
false
false
let instantiate (fa x: term) : Tac binder =
try pose (`__forall_inst_sq (`#fa) (`#x)) with | _ -> try pose (`__forall_inst (`#fa) (`#x)) with | _ -> fail "could not instantiate"
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.__lemma_to_squash
val __lemma_to_squash: #req: _ -> #ens: _ -> squash req -> h: (unit -> Lemma (requires req) (ensures ens)) -> squash ens
val __lemma_to_squash: #req: _ -> #ens: _ -> squash req -> h: (unit -> Lemma (requires req) (ensures ens)) -> squash ens
let __lemma_to_squash #req #ens (_ : squash req) (h : (unit -> Lemma (requires req) (ensures ens))) : squash ens = h ()
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 105, "start_col": 0, "start_line": 104 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.squash req -> h: (_: Prims.unit -> FStar.Pervasives.Lemma (requires req) (ensures ens)) -> Prims.squash ens
Prims.Tot
[ "total" ]
[]
[ "Prims.squash", "Prims.unit", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
false
false
true
false
false
let __lemma_to_squash #req #ens (_: squash req) (h: (unit -> Lemma (requires req) (ensures ens))) : squash ens =
h ()
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.easy_fill
val easy_fill : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
let easy_fill () = let _ = repeat intro in (* If the goal is `a -> Lemma b`, intro will fail, try to use this switch *) let _ = trytac (fun () -> apply (`lemma_from_squash); intro ()) in smt ()
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 324, "start_col": 0, "start_line": 320 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.smt", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Derived.trytac", "FStar.Stubs.Tactics.V1.Builtins.intro", "FStar.Tactics.V1.Derived.apply", "Prims.list", "FStar.Tactics.V1.Derived.repeat" ]
[]
false
true
false
false
false
let easy_fill () =
let _ = repeat intro in let _ = trytac (fun () -> apply (`lemma_from_squash); intro ()) in smt ()
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.skolem
val skolem : _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list (FStar.Stubs.Reflection.Types.binders * FStar.Stubs.Reflection.Types.binder))
let skolem () = let bs = binders_of_env (cur_env ()) in map sk_binder bs
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 312, "start_col": 0, "start_line": 310 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list (FStar.Stubs.Reflection.Types.binders * FStar.Stubs.Reflection.Types.binder))
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.Util.map", "FStar.Stubs.Reflection.Types.binder", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Reflection.Types.binders", "FStar.Tactics.V1.Logic.sk_binder", "Prims.list", "FStar.Stubs.Reflection.V1.Builtins.binders_of_env", "FStar.Stubs.Reflection.Types.env", "FStar...
[]
false
true
false
false
false
let skolem () =
let bs = binders_of_env (cur_env ()) in map sk_binder bs
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.sk_binder'
val sk_binder' (acc: binders) (b: binder) : Tac (binders * binder)
val sk_binder' (acc: binders) (b: binder) : Tac (binders * binder)
let rec sk_binder' (acc:binders) (b:binder) : Tac (binders * binder) = focus (fun () -> try apply_lemma (`(sklem0 (`#(binder_to_term b)))); if ngoals () <> 1 then fail "no"; clear b; let bx = forall_intro () in let b' = implies_intro () in sk_binder' (bx::acc) b' (* We might ha...
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 304, "start_col": 0, "start_line": 294 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
acc: FStar.Stubs.Reflection.Types.binders -> b: FStar.Stubs.Reflection.Types.binder -> FStar.Tactics.Effect.Tac (FStar.Stubs.Reflection.Types.binders * FStar.Stubs.Reflection.Types.binder)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.binders", "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Derived.focus", "FStar.Pervasives.Native.tuple2", "Prims.unit", "FStar.Tactics.V1.Derived.try_with", "FStar.Tactics.V1.Logic.sk_binder'", "Prims.Cons", "FStar.Tactics.V1.Logic.implies_intro", "FStar.Ta...
[ "recursion" ]
false
true
false
false
false
let rec sk_binder' (acc: binders) (b: binder) : Tac (binders * binder) =
focus (fun () -> try (apply_lemma (`(sklem0 (`#(binder_to_term b)))); if ngoals () <> 1 then fail "no"; clear b; let bx = forall_intro () in let b' = implies_intro () in sk_binder' (bx :: acc) b') with | _ -> (acc, b))
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.sk_binder
val sk_binder : b: FStar.Stubs.Reflection.Types.binder -> FStar.Tactics.Effect.Tac (FStar.Stubs.Reflection.Types.binders * FStar.Stubs.Reflection.Types.binder)
let sk_binder b = sk_binder' [] b
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 308, "start_col": 0, "start_line": 308 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Stubs.Reflection.Types.binder -> FStar.Tactics.Effect.Tac (FStar.Stubs.Reflection.Types.binders * FStar.Stubs.Reflection.Types.binder)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.binder", "FStar.Tactics.V1.Logic.sk_binder'", "Prims.Nil", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Reflection.Types.binders" ]
[]
false
true
false
false
false
let sk_binder b =
sk_binder' [] b
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.using_lemma
val using_lemma (t: term) : Tac binder
val using_lemma (t: term) : Tac binder
let using_lemma (t : term) : Tac binder = try pose_lemma (`(lem1_fa (`#t))) with | _ -> try pose_lemma (`(lem2_fa (`#t))) with | _ -> try pose_lemma (`(lem3_fa (`#t))) with | _ -> fail #binder "using_lemma: failed to instantiate"
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 364, "start_col": 0, "start_line": 360 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.binder
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Derived.try_with", "FStar.Stubs.Reflection.Types.binder", "Prims.unit", "FStar.Tactics.V1.Logic.pose_lemma", "Prims.exn", "FStar.Tactics.V1.Derived.fail" ]
[]
false
true
false
false
false
let using_lemma (t: term) : Tac binder =
try pose_lemma (`(lem1_fa (`#t))) with | _ -> try pose_lemma (`(lem2_fa (`#t))) with | _ -> try pose_lemma (`(lem3_fa (`#t))) with | _ -> fail #binder "using_lemma: failed to instantiate"
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.lem3_fa
val lem3_fa (#a #b #c #pre #post: _) ($lem: (x: a -> y: b -> z: c -> Lemma (requires pre x y z) (ensures post x y z))) : Lemma (forall (x: a) (y: b) (z: c). pre x y z ==> post x y z)
val lem3_fa (#a #b #c #pre #post: _) ($lem: (x: a -> y: b -> z: c -> Lemma (requires pre x y z) (ensures post x y z))) : Lemma (forall (x: a) (y: b) (z: c). pre x y z ==> post x y z)
let lem3_fa #a #b #c #pre #post ($lem : (x:a -> y:b -> z:c -> Lemma (requires pre x y z) (ensures post x y z))) : Lemma (forall (x:a) (y:b) (z:c). pre x y z ==> post x y z) = let l' x y z : Lemma (pre x y z ==> post x y z) = Classical.move_requires (lem x y) z in Classical.forall_intro_3 l'
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 354, "start_col": 0, "start_line": 348 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
$lem: (x: a -> y: b -> z: c -> FStar.Pervasives.Lemma (requires pre x y z) (ensures post x y z)) -> FStar.Pervasives.Lemma (ensures forall (x: a) (y: b) (z: c). pre x y z ==> post x y z)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern", "FStar.Classical.forall_intro_3", "Prims.l_imp", "Prims.l_True", "FStar.Classical.move_requires", "Prims.l_Forall" ]
[]
false
false
true
false
false
let lem3_fa #a #b #c #pre #post ($lem: (x: a -> y: b -> z: c -> Lemma (requires pre x y z) (ensures post x y z))) : Lemma (forall (x: a) (y: b) (z: c). pre x y z ==> post x y z) =
let l' x y z : Lemma (pre x y z ==> post x y z) = Classical.move_requires (lem x y) z in Classical.forall_intro_3 l'
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.lem1_fa
val lem1_fa (#a #pre #post: _) ($lem: (x: a -> Lemma (requires pre x) (ensures post x))) : Lemma (forall (x: a). pre x ==> post x)
val lem1_fa (#a #pre #post: _) ($lem: (x: a -> Lemma (requires pre x) (ensures post x))) : Lemma (forall (x: a). pre x ==> post x)
let lem1_fa #a #pre #post ($lem : (x:a -> Lemma (requires pre x) (ensures post x))) : Lemma (forall (x:a). pre x ==> post x) = let l' x : Lemma (pre x ==> post x) = Classical.move_requires lem x in Classical.forall_intro l'
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 336, "start_col": 0, "start_line": 330 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
$lem: (x: a -> FStar.Pervasives.Lemma (requires pre x) (ensures post x)) -> FStar.Pervasives.Lemma (ensures forall (x: a). pre x ==> post x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern", "FStar.Classical.forall_intro", "Prims.l_imp", "Prims.l_True", "FStar.Classical.move_requires", "Prims.l_Forall" ]
[]
false
false
true
false
false
let lem1_fa #a #pre #post ($lem: (x: a -> Lemma (requires pre x) (ensures post x))) : Lemma (forall (x: a). pre x ==> post x) =
let l' x : Lemma (pre x ==> post x) = Classical.move_requires lem x in Classical.forall_intro l'
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.vbind
val vbind : (#p:Type) -> (#q:Type) -> squash p -> (p -> squash q) -> Lemma q
val vbind : (#p:Type) -> (#q:Type) -> squash p -> (p -> squash q) -> Lemma q
let vbind #p #q sq f = FStar.Classical.give_witness_from_squash (FStar.Squash.bind_squash sq f)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 95, "end_line": 187, "start_col": 0, "start_line": 187 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
sq: Prims.squash p -> f: (_: p -> Prims.squash q) -> FStar.Pervasives.Lemma (ensures q)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.squash", "FStar.Classical.give_witness_from_squash", "FStar.Squash.bind_squash", "Prims.unit" ]
[]
true
false
true
false
false
let vbind #p #q sq f =
FStar.Classical.give_witness_from_squash (FStar.Squash.bind_squash sq f)
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.simplify_eq_implication
val simplify_eq_implication: Prims.unit -> Tac unit
val simplify_eq_implication: Prims.unit -> Tac unit
let rec simplify_eq_implication () : Tac unit = let e = cur_env () in let g = cur_goal () in let r = destruct_equality_implication g in match r with | None -> fail "Not an equality implication" | Some (_, rhs) -> let eq_h = implies_intro () in // G, eq_h:x=e |- P rewrite ...
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 163, "start_col": 0, "start_line": 152 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.fail", "FStar.Reflection.V1.Formula.formula", "FStar.Stubs.Reflection.Types.term", "FStar.Tactics.V1.Logic.visit", "FStar.Tactics.V1.Logic.simplify_eq_implication", "FStar.Stubs.Tactics.V1.Builtins.clear_top", "FStar.Stubs.Tactics.V1.Builtins.rewrite", "FStar....
[ "recursion" ]
false
true
false
false
false
let rec simplify_eq_implication () : Tac unit =
let e = cur_env () in let g = cur_goal () in let r = destruct_equality_implication g in match r with | None -> fail "Not an equality implication" | Some (_, rhs) -> let eq_h = implies_intro () in rewrite eq_h; clear_top (); visit simplify_eq_implication
false
LowStar.Lens.fst
LowStar.Lens.mods
val mods (l:hs_lens 'a 'b) (h:HS.mem) : Type0
val mods (l:hs_lens 'a 'b) (h:HS.mem) : Type0
let mods (l:hs_lens 'a 'b) (h:HS.mem) = B.modifies (as_loc l.footprint) l.snapshot h /\ FStar.HyperStack.ST.equal_domains l.snapshot h
{ "file_name": "examples/data_structures/LowStar.Lens.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 48, "end_line": 24, "start_col": 0, "start_line": 22 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": true, "source_file": "LowStar.Lens.fst" }
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: LowStar.Lens.hs_lens 'a 'b -> h: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.Lens.hs_lens", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Monotonic.Buffer.modifies", "LowStar.Lens.as_loc", "LowStar.Lens.__proj__Mkhs_lens__item__footprint", "LowStar.Lens.__proj__Mkhs_lens__item__snapshot", "FStar.HyperStack.ST.equal_domains" ]
[]
false
false
false
true
true
let mods (l: hs_lens 'a 'b) (h: HS.mem) =
B.modifies (as_loc l.footprint) l.snapshot h /\ FStar.HyperStack.ST.equal_domains l.snapshot h
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.lem2_fa
val lem2_fa (#a #b #pre #post: _) ($lem: (x: a -> y: b -> Lemma (requires pre x y) (ensures post x y))) : Lemma (forall (x: a) (y: b). pre x y ==> post x y)
val lem2_fa (#a #b #pre #post: _) ($lem: (x: a -> y: b -> Lemma (requires pre x y) (ensures post x y))) : Lemma (forall (x: a) (y: b). pre x y ==> post x y)
let lem2_fa #a #b #pre #post ($lem : (x:a -> y:b -> Lemma (requires pre x y) (ensures post x y))) : Lemma (forall (x:a) (y:b). pre x y ==> post x y) = let l' x y : Lemma (pre x y ==> post x y) = Classical.move_requires (lem x) y in Classical.forall_intro_2 l'
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 345, "start_col": 0, "start_line": 339 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
$lem: (x: a -> y: b -> FStar.Pervasives.Lemma (requires pre x y) (ensures post x y)) -> FStar.Pervasives.Lemma (ensures forall (x: a) (y: b). pre x y ==> post x y)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern", "FStar.Classical.forall_intro_2", "Prims.l_imp", "Prims.l_True", "FStar.Classical.move_requires", "Prims.l_Forall" ]
[]
false
false
true
false
false
let lem2_fa #a #b #pre #post ($lem: (x: a -> y: b -> Lemma (requires pre x y) (ensures post x y))) : Lemma (forall (x: a) (y: b). pre x y ==> post x y) =
let l' x y : Lemma (pre x y ==> post x y) = Classical.move_requires (lem x) y in Classical.forall_intro_2 l'
false
LowStar.Lens.fst
LowStar.Lens.inv
val inv (#roots:_) (#view:_) (l:hs_lens roots view) (h:HS.mem) : Type0
val inv (#roots:_) (#view:_) (l:hs_lens roots view) (h:HS.mem) : Type0
let inv #roots #view (l:hs_lens roots view) (h:HS.mem) = l.invariant l.x h /\ mods l h
{ "file_name": "examples/data_structures/LowStar.Lens.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 28, "start_col": 0, "start_line": 26 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": true, "source_file": "LowStar.Lens.fst" }
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: LowStar.Lens.hs_lens roots view -> h: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.Lens.hs_lens", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Lens.__proj__Mkhs_lens__item__invariant", "LowStar.Lens.__proj__Mkhs_lens__item__x", "LowStar.Lens.mods" ]
[]
false
false
false
true
true
let inv #roots #view (l: hs_lens roots view) (h: HS.mem) =
l.invariant l.x h /\ mods l h
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.unfold_definition_and_simplify_eq
val unfold_definition_and_simplify_eq (tm: term) : Tac unit
val unfold_definition_and_simplify_eq (tm: term) : Tac unit
let rec unfold_definition_and_simplify_eq (tm:term) : Tac unit = let g = cur_goal () in match term_as_formula g with | App hd arg -> if term_eq hd tm then trivial () else () | _ -> begin let r = destruct_equality_implication g in match r with | None -> fai...
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 184, "start_col": 0, "start_line": 168 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
tm: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V1.Builtins.term_eq", "FStar.Tactics.V1.Derived.trivial", "Prims.unit", "Prims.bool", "FStar.Reflection.V1.Formula.formula", "FStar.Tactics.V1.Derived.fail", "FStar.Tactics.V1.Logic.visit", "FStar.Tactics.V1.Logic.unfold_definition_and_sim...
[ "recursion" ]
false
true
false
false
false
let rec unfold_definition_and_simplify_eq (tm: term) : Tac unit =
let g = cur_goal () in match term_as_formula g with | App hd arg -> if term_eq hd tm then trivial () | _ -> let r = destruct_equality_implication g in match r with | None -> fail "Not an equality implication" | Some (_, rhs) -> let eq_h = implies_intro () in rewrite eq_h; clear_top (); visit (fu...
false
ProgramOptimizations.fst
ProgramOptimizations.com12
val com12 : ProgramOptimizations.com
let com12 = Seq (Assign x (IOp Add (Var y) (Const 1))) //x := y + 1; (Assign z (Var x))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 160, "start_col": 0, "start_line": 159 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.Seq", "ProgramOptimizations.Assign", "ProgramOptimizations.x", "ProgramOptimizations.IOp", "ProgramOptimizations.Add", "ProgramOptimizations.Var", "ProgramOptimizations.y", "ProgramOptimizations.Const", "ProgramOptimizations.z" ]
[]
false
false
false
true
false
let com12 =
Seq (Assign x (IOp Add (Var y) (Const 1))) (Assign z (Var x))
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.test1_keypaircoins
val test1_keypaircoins : Prims.list Lib.IntTypes.uint8
let test1_keypaircoins = List.Tot.map u8_from_UInt8 [ 0xa6uy; 0x65uy; 0x65uy; 0x9fuy; 0xfbuy; 0xe4uy; 0x06uy; 0x5cuy; 0xcauy; 0x81uy; 0x5auy; 0x45uy; 0xe4uy; 0x94uy; 0xd8uy; 0x01uy; 0x90uy; 0x30uy; 0x33uy; 0x55uy; 0x33uy; 0x84uy; 0x2euy; 0xe4uy; 0x4cuy; 0x55uy; 0x8fuy; 0xd8uy; 0xaeuy; 0x4buy; 0x...
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 62, "start_col": 0, "start_line": 55 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list Lib.IntTypes.uint8
Prims.Tot
[ "total" ]
[]
[ "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.IntTypes.uint8", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons", "FStar.UInt8.__uint_to_t", "Prims.Nil" ]
[]
false
false
false
true
false
let test1_keypaircoins =
List.Tot.map u8_from_UInt8 [ 0xa6uy; 0x65uy; 0x65uy; 0x9fuy; 0xfbuy; 0xe4uy; 0x06uy; 0x5cuy; 0xcauy; 0x81uy; 0x5auy; 0x45uy; 0xe4uy; 0x94uy; 0xd8uy; 0x01uy; 0x90uy; 0x30uy; 0x33uy; 0x55uy; 0x33uy; 0x84uy; 0x2euy; 0xe4uy; 0x4cuy; 0x55uy; 0x8fuy; 0xd8uy; 0xaeuy; 0x4buy; 0x4euy; 0x91uy; 0x62uy; 0xfeuy; 0xc7u...
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.test1_ss_expected
val test1_ss_expected : Prims.list Lib.IntTypes.uint8
let test1_ss_expected = List.Tot.map u8_from_UInt8 [ 0xf8uy; 0x96uy; 0x15uy; 0x94uy; 0x80uy; 0x9fuy; 0xebuy; 0x77uy; 0x56uy; 0xbeuy; 0x37uy; 0x69uy; 0xa0uy; 0xeauy; 0x60uy; 0x16uy ]
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 76, "start_col": 0, "start_line": 71 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list Lib.IntTypes.uint8
Prims.Tot
[ "total" ]
[]
[ "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.IntTypes.uint8", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons", "FStar.UInt8.__uint_to_t", "Prims.Nil" ]
[]
false
false
false
true
false
let test1_ss_expected =
List.Tot.map u8_from_UInt8 [ 0xf8uy; 0x96uy; 0x15uy; 0x94uy; 0x80uy; 0x9fuy; 0xebuy; 0x77uy; 0x56uy; 0xbeuy; 0x37uy; 0x69uy; 0xa0uy; 0xeauy; 0x60uy; 0x16uy ]
false
ProgramOptimizations.fst
ProgramOptimizations.rel11
val rel11 : ProgramOptimizations.rel_exp
let rel11 = RROp Eq (Left y) (Right y)
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 162, "start_col": 0, "start_line": 162 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RROp", "ProgramOptimizations.Eq", "ProgramOptimizations.Left", "ProgramOptimizations.y", "ProgramOptimizations.Right" ]
[]
false
false
false
true
false
let rel11 =
RROp Eq (Left y) (Right y)
false
ProgramOptimizations.fst
ProgramOptimizations.com21
val com21 : ProgramOptimizations.com
let com21 = If (ROp Gt (Var x) (Const 3)) (Assign y (Var x)) (Assign y (Const 7))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 181, "start_col": 0, "start_line": 179 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.If", "ProgramOptimizations.ROp", "ProgramOptimizations.Gt", "ProgramOptimizations.Var", "ProgramOptimizations.x", "ProgramOptimizations.Const", "ProgramOptimizations.Assign", "ProgramOptimizations.y" ]
[]
false
false
false
true
false
let com21 =
If (ROp Gt (Var x) (Const 3)) (Assign y (Var x)) (Assign y (Const 7))
false
ProgramOptimizations.fst
ProgramOptimizations.com22
val com22 : ProgramOptimizations.com
let com22 = Skip
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 16, "end_line": 182, "start_col": 0, "start_line": 182 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.Skip" ]
[]
false
false
false
true
false
let com22 =
Skip
false
ProgramOptimizations.fst
ProgramOptimizations.rel22
val rel22 : ProgramOptimizations.rel_exp
let rel22 = RBOp And (RROp Gt (Left y) (GConst 2)) //Left y > 2 (RROp Gt (Right y) (GConst 2))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 188, "start_col": 0, "start_line": 187 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RBOp", "ProgramOptimizations.And", "ProgramOptimizations.RROp", "ProgramOptimizations.Gt", "ProgramOptimizations.Left", "ProgramOptimizations.y", "ProgramOptimizations.GConst", "ProgramOptimizations.Right" ]
[]
false
false
false
true
false
let rel22 =
RBOp And (RROp Gt (Left y) (GConst 2)) (RROp Gt (Right y) (GConst 2))
false
ProgramOptimizations.fst
ProgramOptimizations.rel12
val rel12 : ProgramOptimizations.rel_exp
let rel12 = RBOp And (RROp Eq (Left x) (Right x)) //Left x = Right x /\ (RROp Eq (Left z) (Right z))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 164, "start_col": 0, "start_line": 163 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RBOp", "ProgramOptimizations.And", "ProgramOptimizations.RROp", "ProgramOptimizations.Eq", "ProgramOptimizations.Left", "ProgramOptimizations.x", "ProgramOptimizations.Right", "ProgramOptimizations.z" ]
[]
false
false
false
true
false
let rel12 =
RBOp And (RROp Eq (Left x) (Right x)) (RROp Eq (Left z) (Right z))
false
ProgramOptimizations.fst
ProgramOptimizations.com31
val com31 : ProgramOptimizations.com
let com31 = If (ROp Eq (Var x) (Const 3)) (Assign y (Var x)) (Assign y (Const 3))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 205, "start_col": 0, "start_line": 203 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.If", "ProgramOptimizations.ROp", "ProgramOptimizations.Eq", "ProgramOptimizations.Var", "ProgramOptimizations.x", "ProgramOptimizations.Const", "ProgramOptimizations.Assign", "ProgramOptimizations.y" ]
[]
false
false
false
true
false
let com31 =
If (ROp Eq (Var x) (Const 3)) (Assign y (Var x)) (Assign y (Const 3))
false
ProgramOptimizations.fst
ProgramOptimizations.com11
val com11 : ProgramOptimizations.com
let com11 = Seq (Assign x (IOp Add (Var y) (Const 1))) //x := y + 1; (Assign z (IOp Add (Var y) (Const 1)))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 158, "start_col": 0, "start_line": 157 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.Seq", "ProgramOptimizations.Assign", "ProgramOptimizations.x", "ProgramOptimizations.IOp", "ProgramOptimizations.Add", "ProgramOptimizations.Var", "ProgramOptimizations.y", "ProgramOptimizations.Const", "ProgramOptimizations.z" ]
[]
false
false
false
true
false
let com11 =
Seq (Assign x (IOp Add (Var y) (Const 1))) (Assign z (IOp Add (Var y) (Const 1)))
false
ProgramOptimizations.fst
ProgramOptimizations.rel21
val rel21 : ProgramOptimizations.rel_exp
let rel21 = RBOp And (RBOp And (RROp Eq (Left x) (Right x)) //Left x = Right x (RROp Gt (Left y) (GConst 2))) //Left y > 2 (RROp Gt (Right y) (GConst 2))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 186, "start_col": 0, "start_line": 184 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RBOp", "ProgramOptimizations.And", "ProgramOptimizations.RROp", "ProgramOptimizations.Eq", "ProgramOptimizations.Left", "ProgramOptimizations.x", "ProgramOptimizations.Right", "ProgramOptimizations.Gt", "ProgramOptimizations.y", "ProgramOptimizations.GConst" ]
[]
false
false
false
true
false
let rel21 =
RBOp And (RBOp And (RROp Eq (Left x) (Right x)) (RROp Gt (Left y) (GConst 2))) (RROp Gt (Right y) (GConst 2))
false
ProgramOptimizations.fst
ProgramOptimizations.com32
val com32 : ProgramOptimizations.com
let com32 = Assign y (Const 3)
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 206, "start_col": 0, "start_line": 206 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.Assign", "ProgramOptimizations.y", "ProgramOptimizations.Const" ]
[]
false
false
false
true
false
let com32 =
Assign y (Const 3)
false
ProgramOptimizations.fst
ProgramOptimizations.rel31
val rel31 : ProgramOptimizations.rel_exp
let rel31 = RTrue
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 208, "start_col": 0, "start_line": 208 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RTrue" ]
[]
false
false
false
true
false
let rel31 =
RTrue
false
ProgramOptimizations.fst
ProgramOptimizations.rel32
val rel32 : ProgramOptimizations.rel_exp
let rel32 = RBOp And (RROp Eq (Left y) (GConst 3)) //Left y = 3 (RROp Eq (Right y) (GConst 3))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 210, "start_col": 0, "start_line": 209 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RBOp", "ProgramOptimizations.And", "ProgramOptimizations.RROp", "ProgramOptimizations.Eq", "ProgramOptimizations.Left", "ProgramOptimizations.y", "ProgramOptimizations.GConst", "ProgramOptimizations.Right" ]
[]
false
false
false
true
false
let rel32 =
RBOp And (RROp Eq (Left y) (GConst 3)) (RROp Eq (Right y) (GConst 3))
false
ProgramOptimizations.fst
ProgramOptimizations.com42
val com42 : ProgramOptimizations.com
let com42 = Seq (Assign x (Var y)) //x := y; (Assign z (IOp Add (Var z) (Var x)))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 229, "start_col": 0, "start_line": 228 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.Seq", "ProgramOptimizations.Assign", "ProgramOptimizations.x", "ProgramOptimizations.Var", "ProgramOptimizations.y", "ProgramOptimizations.z", "ProgramOptimizations.IOp", "ProgramOptimizations.Add" ]
[]
false
false
false
true
false
let com42 =
Seq (Assign x (Var y)) (Assign z (IOp Add (Var z) (Var x)))
false
ProgramOptimizations.fst
ProgramOptimizations.com41
val com41 : ProgramOptimizations.com
let com41 = Seq (Assign x (UMinus (Var y))) //x := -y; (Seq (Assign z (IOp Sub (Var z) (Var x))) //z := z - x; (Assign x (UMinus (Var x))))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 227, "start_col": 0, "start_line": 225 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.com
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.Seq", "ProgramOptimizations.Assign", "ProgramOptimizations.x", "ProgramOptimizations.UMinus", "ProgramOptimizations.Var", "ProgramOptimizations.y", "ProgramOptimizations.z", "ProgramOptimizations.IOp", "ProgramOptimizations.Sub" ]
[]
false
false
false
true
false
let com41 =
Seq (Assign x (UMinus (Var y))) (Seq (Assign z (IOp Sub (Var z) (Var x))) (Assign x (UMinus (Var x))))
false
ProgramOptimizations.fst
ProgramOptimizations.rhl
val rhl : c1: ProgramOptimizations.com -> c2: ProgramOptimizations.com -> re1: ProgramOptimizations.rel_exp -> re2: ProgramOptimizations.rel_exp -> Prims.logical
let rhl (c1:com) (c2:com) (re1:rel_exp) (re2:rel_exp) = forall (h_left:heap) (h_right:heap). rel_exp_denotation re1 h_left h_right ==> (let _, h_left' = reify (com_denotation c1) h_left in let _, h_right' = reify (com_denotation c2) h_right in rel_exp_denotation re2 h_l...
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 248, "start_col": 0, "start_line": 244 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c1: ProgramOptimizations.com -> c2: ProgramOptimizations.com -> re1: ProgramOptimizations.rel_exp -> re2: ProgramOptimizations.rel_exp -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.com", "ProgramOptimizations.rel_exp", "Prims.l_Forall", "FStar.DM4F.Heap.IntStoreFixed.heap", "Prims.l_imp", "Prims.b2t", "ProgramOptimizations.rel_exp_denotation", "Prims.unit", "Prims.logical", "FStar.Pervasives.Native.tuple2", "ProgramOptimizations.com_denotation" ]
[]
false
false
false
true
true
let rhl (c1 c2: com) (re1 re2: rel_exp) =
forall (h_left: heap) (h_right: heap). rel_exp_denotation re1 h_left h_right ==> (let _, h_left' = reify (com_denotation c1) h_left in let _, h_right' = reify (com_denotation c2) h_right in rel_exp_denotation re2 h_left' h_right')
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.test1_enccoins
val test1_enccoins : Prims.list Lib.IntTypes.uint8
let test1_enccoins = List.Tot.map u8_from_UInt8 [ 0x8duy; 0xf3uy; 0xfauy; 0xe3uy; 0x83uy; 0x27uy; 0xc5uy; 0x3cuy; 0xc1uy; 0xc4uy; 0x8cuy; 0x60uy; 0xb2uy; 0x52uy; 0x2buy; 0xb5uy ]
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 69, "start_col": 0, "start_line": 64 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list Lib.IntTypes.uint8
Prims.Tot
[ "total" ]
[]
[ "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.IntTypes.uint8", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons", "FStar.UInt8.__uint_to_t", "Prims.Nil" ]
[]
false
false
false
true
false
let test1_enccoins =
List.Tot.map u8_from_UInt8 [ 0x8duy; 0xf3uy; 0xfauy; 0xe3uy; 0x83uy; 0x27uy; 0xc5uy; 0x3cuy; 0xc1uy; 0xc4uy; 0x8cuy; 0x60uy; 0xb2uy; 0x52uy; 0x2buy; 0xb5uy ]
false
ProgramOptimizations.fst
ProgramOptimizations.rel4
val rel4 : ProgramOptimizations.rel_exp
let rel4 = RBOp And (RROp Eq (Left x) (Right x)) (RBOp And (RROp Eq (Left y) (Right y)) (RROp Eq (Left z) (Right z)))
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 233, "start_col": 0, "start_line": 231 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ProgramOptimizations.rel_exp
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.RBOp", "ProgramOptimizations.And", "ProgramOptimizations.RROp", "ProgramOptimizations.Eq", "ProgramOptimizations.Left", "ProgramOptimizations.x", "ProgramOptimizations.Right", "ProgramOptimizations.y", "ProgramOptimizations.z" ]
[]
false
false
false
true
false
let rel4 =
RBOp And (RROp Eq (Left x) (Right x)) (RBOp And (RROp Eq (Left y) (Right y)) (RROp Eq (Left z) (Right z)))
false
ProgramOptimizations.fst
ProgramOptimizations.com_denotation
val com_denotation (c: com) : ISNull unit
val com_denotation (c: com) : ISNull unit
let rec com_denotation (c:com) :ISNull unit = match c with | Skip -> () | Assign r e -> let n = i_exp_denotation e in write r n (* r := n does not work, as it goes to FStar.ST *) | Seq c1 c2 -> com_denotation c1; com_denotation c2 | If b c1 c2 -> if b_exp_denotation b then com_denotation c...
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 71, "end_line": 100, "start_col": 1, "start_line": 92 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: ProgramOptimizations.com -> FStar.DM4F.IntStoreFixed.ISNull Prims.unit
FStar.DM4F.IntStoreFixed.ISNull
[]
[]
[ "ProgramOptimizations.com", "Prims.unit", "ProgramOptimizations.var", "ProgramOptimizations.i_exp", "FStar.DM4F.IntStoreFixed.write", "Prims.int", "ProgramOptimizations.i_exp_denotation", "ProgramOptimizations.com_denotation", "ProgramOptimizations.b_exp", "Prims.bool", "ProgramOptimizations.b_e...
[ "recursion" ]
false
true
false
false
false
let rec com_denotation (c: com) : ISNull unit =
match c with | Skip -> () | Assign r e -> let n = i_exp_denotation e in write r n | Seq c1 c2 -> com_denotation c1; com_denotation c2 | If b c1 c2 -> if b_exp_denotation b then com_denotation c1 else com_denotation c2
false
ProgramOptimizations.fst
ProgramOptimizations.b_exp_denotation
val b_exp_denotation (b: b_exp) : ISNull bool
val b_exp_denotation (b: b_exp) : ISNull bool
let rec b_exp_denotation (b:b_exp) :ISNull bool = match b with | CTrue -> true | CFalse -> false | ROp op e1 e2 -> let n1 = i_exp_denotation e1 in let n2 = i_exp_denotation e2 in (match op with | Lt -> n1 < n2 | Gt -> n1 > n2 | Eq -> n1 = n2) | BOp op b1 b2 -> let b...
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 90, "start_col": 1, "start_line": 73 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: ProgramOptimizations.b_exp -> FStar.DM4F.IntStoreFixed.ISNull Prims.bool
FStar.DM4F.IntStoreFixed.ISNull
[]
[]
[ "ProgramOptimizations.b_exp", "Prims.bool", "ProgramOptimizations.r_op", "ProgramOptimizations.i_exp", "Prims.op_LessThan", "Prims.op_GreaterThan", "Prims.op_Equality", "Prims.int", "ProgramOptimizations.i_exp_denotation", "ProgramOptimizations.b_op", "Prims.op_AmpAmp", "Prims.op_BarBar", "P...
[ "recursion" ]
false
true
false
false
false
let rec b_exp_denotation (b: b_exp) : ISNull bool =
match b with | CTrue -> true | CFalse -> false | ROp op e1 e2 -> let n1 = i_exp_denotation e1 in let n2 = i_exp_denotation e2 in (match op with | Lt -> n1 < n2 | Gt -> n1 > n2 | Eq -> n1 = n2) | BOp op b1 b2 -> let bc1 = b_exp_denotation b1 in let bc2 = b_exp_denotation b2 in (match op with ...
false
ProgramOptimizations.fst
ProgramOptimizations.i_exp_denotation
val i_exp_denotation (e: i_exp) : ISNull int
val i_exp_denotation (e: i_exp) : ISNull int
let rec i_exp_denotation (e:i_exp) :ISNull int = match e with | Const n -> n | Var r -> !r | IOp op e1 e2 -> (let n1 = i_exp_denotation e1 in let n2 = i_exp_denotation e2 in match op with | Add -> n1 + n2 | Sub -> n1 - n2) | UMinus e -> - (i_exp_denotation e)
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 71, "start_col": 1, "start_line": 61 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
e: ProgramOptimizations.i_exp -> FStar.DM4F.IntStoreFixed.ISNull Prims.int
FStar.DM4F.IntStoreFixed.ISNull
[]
[]
[ "ProgramOptimizations.i_exp", "Prims.int", "FStar.DM4F.Heap.IntStoreFixed.id", "FStar.DM4F.IntStoreFixed.op_Bang", "ProgramOptimizations.i_op", "Prims.op_Addition", "Prims.op_Subtraction", "ProgramOptimizations.i_exp_denotation", "Prims.op_Minus" ]
[ "recursion" ]
false
true
false
false
false
let rec i_exp_denotation (e: i_exp) : ISNull int =
match e with | Const n -> n | Var r -> !r | IOp op e1 e2 -> (let n1 = i_exp_denotation e1 in let n2 = i_exp_denotation e2 in match op with | Add -> n1 + n2 | Sub -> n1 - n2) | UMinus e -> - (i_exp_denotation e)
false
ProgramOptimizations.fst
ProgramOptimizations.g_exp_denotation
val g_exp_denotation (g: g_exp) (h_left h_right: heap) : int
val g_exp_denotation (g: g_exp) (h_left h_right: heap) : int
let rec g_exp_denotation (g:g_exp) (h_left:heap) (h_right:heap) :int = match g with | GConst n -> n | Left r -> sel h_left r | Right r -> sel h_right r | GIOp op g1 g2 -> match op with | Add -> g_exp_denotation g1 h_left h_right + g_exp_denotation g2 h_left h_right | Sub -> g_exp...
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 84, "end_line": 123, "start_col": 0, "start_line": 115 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g: ProgramOptimizations.g_exp -> h_left: FStar.DM4F.Heap.IntStoreFixed.heap -> h_right: FStar.DM4F.Heap.IntStoreFixed.heap -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.g_exp", "FStar.DM4F.Heap.IntStoreFixed.heap", "Prims.int", "FStar.DM4F.Heap.IntStoreFixed.id", "FStar.DM4F.Heap.IntStoreFixed.sel", "ProgramOptimizations.i_op", "Prims.op_Addition", "ProgramOptimizations.g_exp_denotation", "Prims.op_Subtraction" ]
[ "recursion" ]
false
false
false
true
false
let rec g_exp_denotation (g: g_exp) (h_left h_right: heap) : int =
match g with | GConst n -> n | Left r -> sel h_left r | Right r -> sel h_right r | GIOp op g1 g2 -> match op with | Add -> g_exp_denotation g1 h_left h_right + g_exp_denotation g2 h_left h_right | Sub -> g_exp_denotation g1 h_left h_right - g_exp_denotation g2 h_left h_right
false
FStar.Tactics.V1.Logic.fst
FStar.Tactics.V1.Logic.lemma_from_squash
val lemma_from_squash : #a:Type -> #b:(a -> Type) -> (x:a -> squash (b x)) -> x:a -> Lemma (b x)
val lemma_from_squash : #a:Type -> #b:(a -> Type) -> (x:a -> squash (b x)) -> x:a -> Lemma (b x)
let lemma_from_squash #a #b f x = let _ = f x in assert (b x)
{ "file_name": "ulib/FStar.Tactics.V1.Logic.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 317, "start_col": 0, "start_line": 317 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Stubs.Tactics.V1.Builtins.fsti.checked", "FStar.Squash.fsti.checked", "FStar.Reflection.V1.Formula.fst.check...
[ { "abbrev": false, "full_module": "FStar.Reflection.V1.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V1", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Util", "short_module": null }, { "abbrev": fa...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (x: a -> Prims.squash (b x)) -> x: a -> FStar.Pervasives.Lemma (ensures b x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.squash", "Prims._assert", "Prims.unit" ]
[]
true
false
true
false
false
let lemma_from_squash #a #b f x =
let _ = f x in assert (b x)
false
ProgramOptimizations.fst
ProgramOptimizations.rel_exp_denotation
val rel_exp_denotation (re: rel_exp) (h_left h_right: heap) : bool
val rel_exp_denotation (re: rel_exp) (h_left h_right: heap) : bool
let rec rel_exp_denotation (re:rel_exp) (h_left:heap) (h_right:heap) :bool = match re with | RTrue -> true | RFalse -> false | RROp op g1 g2 -> let n1 = g_exp_denotation g1 h_left h_right in let n2 = g_exp_denotation g2 h_left h_right in (match op with | Lt -> n1 < n2 | Gt -...
{ "file_name": "examples/rel/ProgramOptimizations.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 142, "start_col": 0, "start_line": 125 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "ProgramOptimizations.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
re: ProgramOptimizations.rel_exp -> h_left: FStar.DM4F.Heap.IntStoreFixed.heap -> h_right: FStar.DM4F.Heap.IntStoreFixed.heap -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "ProgramOptimizations.rel_exp", "FStar.DM4F.Heap.IntStoreFixed.heap", "ProgramOptimizations.r_op", "ProgramOptimizations.g_exp", "Prims.op_LessThan", "Prims.op_GreaterThan", "Prims.op_Equality", "Prims.int", "Prims.bool", "ProgramOptimizations.g_exp_denotation", "ProgramOptimizations.b_op", "P...
[ "recursion" ]
false
false
false
true
false
let rec rel_exp_denotation (re: rel_exp) (h_left h_right: heap) : bool =
match re with | RTrue -> true | RFalse -> false | RROp op g1 g2 -> let n1 = g_exp_denotation g1 h_left h_right in let n2 = g_exp_denotation g2 h_left h_right in (match op with | Lt -> n1 < n2 | Gt -> n1 > n2 | Eq -> n1 = n2) | RBOp op re1 re2 -> let bc1 = rel_exp_denotation re1 h_left h_right in l...
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.compare
val compare : test_expected: Lib.ByteSequence.lbytes len -> test_result: Lib.ByteSequence.lbytes len -> Prims.bool
let compare (#len: size_nat) (test_expected: lbytes len) (test_result: lbytes len) = for_all2 (fun a b -> uint_to_nat #U8 a = uint_to_nat #U8 b) test_expected test_result
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 23, "start_col": 0, "start_line": 22 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
test_expected: Lib.ByteSequence.lbytes len -> test_result: Lib.ByteSequence.lbytes len -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Lib.ByteSequence.lbytes", "Lib.Sequence.for_all2", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.op_Equality", "Prims.nat", "Prims.l_or", "Prims.b2t", "Prims.int", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.uint_v", ...
[]
false
false
false
false
false
let compare (#len: size_nat) (test_expected test_result: lbytes len) =
for_all2 (fun a b -> uint_to_nat #U8 a = uint_to_nat #U8 b) test_expected test_result
false
LowStar.Lens.fst
LowStar.Lens.view
val view (#roots:_) (#view:_) (l:hs_lens roots view) (h:imem (inv l)) : GTot view
val view (#roots:_) (#view:_) (l:hs_lens roots view) (h:imem (inv l)) : GTot view
let view #roots #view (l:hs_lens roots view) (h:imem (inv l)) = l.l.get h
{ "file_name": "examples/data_structures/LowStar.Lens.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 31, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": true, "source_file": "LowStar.Lens.fst" }
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: LowStar.Lens.hs_lens roots view -> h: LowStar.Lens.imem (LowStar.Lens.inv l) -> Prims.GTot view
Prims.GTot
[ "sometrivial" ]
[]
[ "LowStar.Lens.hs_lens", "LowStar.Lens.imem", "LowStar.Lens.inv", "LowStar.Lens.__proj__Mklens__item__get", "LowStar.Lens.__proj__Mkhs_lens__item__invariant", "LowStar.Lens.__proj__Mkhs_lens__item__x", "LowStar.Lens.__proj__Mkhs_lens__item__l" ]
[]
false
false
false
false
false
let view #roots #view (l: hs_lens roots view) (h: imem (inv l)) =
l.l.get h
false
Demo.MultiplyByRepeatedAddition.fst
Demo.MultiplyByRepeatedAddition.i
val i (x: U32.t) : GTot int
val i (x: U32.t) : GTot int
let i (x:U32.t) : GTot int = U32.v x
{ "file_name": "share/steel/examples/pulse/Demo.MultiplyByRepeatedAddition.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 83, "start_col": 0, "start_line": 83 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Lib.Pervasives.fst.checked", "Pulse.Lib.BoundedIntegers.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Demo.MultiplyByRe...
[ { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.BoundedIntegers", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt32.t -> Prims.GTot Prims.int
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.UInt32.t", "FStar.UInt32.v", "Prims.int" ]
[]
false
false
false
false
false
let i (x: U32.t) : GTot int =
U32.v x
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.uint64
val uint64 : Prims.eqtype
let uint64 = UInt64.t
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 27, "start_col": 0, "start_line": 27 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t" ]
[]
false
false
false
true
false
let uint64 =
UInt64.t
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.t128_no_mod
val t128_no_mod : Vale.Interop.Base.td
let t128_no_mod = TD_Buffer TUInt8 TUInt128 ({modified=false; strict_disjointness=false; taint=MS.Secret})
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 106, "end_line": 40, "start_col": 0, "start_line": 40 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.Interop.Base.td
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.TD_Buffer", "Vale.Arch.HeapTypes_s.TUInt8", "Vale.Arch.HeapTypes_s.TUInt128", "Vale.Interop.Base.Mkbuffer_qualifiers", "Vale.Arch.HeapTypes_s.Secret" ]
[]
false
false
false
true
false
let t128_no_mod =
TD_Buffer TUInt8 TUInt128 ({ modified = false; strict_disjointness = false; taint = MS.Secret })
false
RecordOfArrays.fst
RecordOfArrays.rec_array_perm
val rec_array_perm (r: rec_array) (v: rec_array_repr) : vprop
val rec_array_perm (r: rec_array) (v: rec_array_repr) : vprop
let rec_array_perm (r:rec_array) (v:rec_array_repr) : vprop = A.pts_to r.r1 v.v1 ** A.pts_to r.r2 v.v2
{ "file_name": "share/steel/examples/pulse/bug-reports/RecordOfArrays.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 40, "start_col": 0, "start_line": 37 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "Pulse.Lib.Array.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "Pulse.Lib.Array", "short_module": "A" }, { "abbrev": true, "full_module": "Pulse.L...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: RecordOfArrays.rec_array -> v: RecordOfArrays.rec_array_repr -> Pulse.Lib.Core.vprop
Prims.Tot
[ "total" ]
[]
[ "RecordOfArrays.rec_array", "RecordOfArrays.rec_array_repr", "Pulse.Lib.Core.op_Star_Star", "Pulse.Lib.Array.Core.pts_to", "FStar.UInt8.t", "RecordOfArrays.__proj__Mkrec_array__item__r1", "PulseCore.FractionalPermission.full_perm", "RecordOfArrays.__proj__Mkrec_array_repr__item__v1", "RecordOfArrays...
[]
false
false
false
true
false
let rec_array_perm (r: rec_array) (v: rec_array_repr) : vprop =
A.pts_to r.r1 v.v1 ** A.pts_to r.r2 v.v2
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.tuint64
val tuint64 : Vale.Interop.Base.td
let tuint64 = TD_Base TUInt64
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 42, "start_col": 0, "start_line": 42 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.Interop.Base.td
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.TD_Base", "Vale.Arch.HeapTypes_s.TUInt64" ]
[]
false
false
false
true
false
let tuint64 =
TD_Base TUInt64
false
RecordOfArrays.fst
RecordOfArrays.mk_rec_array_repr
val mk_rec_array_repr : v1: FStar.Seq.Base.seq FStar.UInt8.t -> v2: FStar.Seq.Base.seq FStar.UInt8.t -> RecordOfArrays.rec_array_repr
let mk_rec_array_repr (v1 v2:Seq.seq U8.t) = { v1=v1; v2=v2 }
{ "file_name": "share/steel/examples/pulse/bug-reports/RecordOfArrays.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 44, "start_col": 0, "start_line": 44 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "Pulse.Lib.Array.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "Pulse.Lib.Array", "short_module": "A" }, { "abbrev": true, "full_module": "Pulse.L...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v1: FStar.Seq.Base.seq FStar.UInt8.t -> v2: FStar.Seq.Base.seq FStar.UInt8.t -> RecordOfArrays.rec_array_repr
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "FStar.UInt8.t", "RecordOfArrays.Mkrec_array_repr", "RecordOfArrays.rec_array_repr" ]
[]
false
false
false
true
false
let mk_rec_array_repr (v1 v2: Seq.seq U8.t) =
{ v1 = v1; v2 = v2 }
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.t128_mod
val t128_mod : Vale.Interop.Base.td
let t128_mod = TD_Buffer TUInt8 TUInt128 default_bq
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 38, "start_col": 0, "start_line": 38 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.Interop.Base.td
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.TD_Buffer", "Vale.Arch.HeapTypes_s.TUInt8", "Vale.Arch.HeapTypes_s.TUInt128", "Vale.Interop.Base.default_bq" ]
[]
false
false
false
true
false
let t128_mod =
TD_Buffer TUInt8 TUInt128 default_bq
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.test1_ct_expected
val test1_ct_expected : Prims.list Lib.IntTypes.uint8
let test1_ct_expected = List.Tot.map u8_from_UInt8 [ 0xebuy; 0x01uy; 0x36uy; 0x7duy; 0xe9uy; 0xdauy; 0x51uy; 0x3fuy; 0x8duy; 0xc7uy; 0x53uy; 0xdeuy; 0xfcuy; 0xa2uy; 0x2cuy; 0xacuy; 0x2duy; 0xbcuy; 0x9buy; 0xacuy; 0x9cuy; 0xc0uy; 0xc5uy; 0x08uy; 0x9duy; 0x0duy; 0x07uy; 0xbcuy; 0xd8uy; 0x69uy; 0x2...
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 258, "start_col": 0, "start_line": 165 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list Lib.IntTypes.uint8
Prims.Tot
[ "total" ]
[]
[ "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.IntTypes.uint8", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons", "FStar.UInt8.__uint_to_t", "Prims.Nil" ]
[]
false
false
false
true
false
let test1_ct_expected =
List.Tot.map u8_from_UInt8 [ 0xebuy; 0x01uy; 0x36uy; 0x7duy; 0xe9uy; 0xdauy; 0x51uy; 0x3fuy; 0x8duy; 0xc7uy; 0x53uy; 0xdeuy; 0xfcuy; 0xa2uy; 0x2cuy; 0xacuy; 0x2duy; 0xbcuy; 0x9buy; 0xacuy; 0x9cuy; 0xc0uy; 0xc5uy; 0x08uy; 0x9duy; 0x0duy; 0x07uy; 0xbcuy; 0xd8uy; 0x69uy; 0x20uy; 0xccuy; 0x18uy; 0x0cuy; 0xbcu...
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.test_frodo
val test_frodo (a: frodo_alg) (gen_a: frodo_gen_a) (keypaircoins: list uint8 {List.Tot.length keypaircoins == 2 * crypto_bytes a + bytes_seed_a}) (enccoins: list uint8 {List.Tot.length enccoins == bytes_mu a}) (ss_expected: list uint8 {List.Tot.length ss_expected == crypto_bytes a}) ...
val test_frodo (a: frodo_alg) (gen_a: frodo_gen_a) (keypaircoins: list uint8 {List.Tot.length keypaircoins == 2 * crypto_bytes a + bytes_seed_a}) (enccoins: list uint8 {List.Tot.length enccoins == bytes_mu a}) (ss_expected: list uint8 {List.Tot.length ss_expected == crypto_bytes a}) ...
let test_frodo (a:frodo_alg) (gen_a:frodo_gen_a) (keypaircoins: list uint8 {List.Tot.length keypaircoins == 2 * crypto_bytes a + bytes_seed_a}) (enccoins: list uint8 {List.Tot.length enccoins == bytes_mu a}) (ss_expected: list uint8 {List.Tot.length ss_expected == crypto_bytes a}) (pk_expected: list uint8 {...
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 50, "start_col": 0, "start_line": 26 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a -> keypaircoins: Prims.list Lib.IntTypes.uint8 { FStar.List.Tot.Base.length keypaircoins == 2 * Spec.Frodo.Params.crypto_bytes a + Spec.Frodo.Params.bytes_seed_a } -> enccoins: Prims.list Lib.IntTypes.u...
FStar.All.ML
[ "ml" ]
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.list", "Lib.IntTypes.uint8", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.op_Addition", "FStar.Mul.op_Star", "Spec.Frodo.Params.crypto_bytes", "Spec.Frodo.Params.bytes_seed_a", "Prims.l_or", "Prims.b2t",...
[]
false
true
false
false
false
let test_frodo (a: frodo_alg) (gen_a: frodo_gen_a) (keypaircoins: list uint8 {List.Tot.length keypaircoins == 2 * crypto_bytes a + bytes_seed_a}) (enccoins: list uint8 {List.Tot.length enccoins == bytes_mu a}) (ss_expected: list uint8 {List.Tot.length ss_expected == crypto_bytes a}) ...
let keypaircoins = createL keypaircoins in let enccoins = createL enccoins in let ss_expected = createL ss_expected in let pk_expected = createL pk_expected in let ct_expected = createL ct_expected in let sk_expected = createL sk_expected in let pk, sk = crypto_kem_keypair_ a gen_a keypaircoins in let ct, ss1 = crypto_...
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.b128
val b128 : Type0
let b128 = buf_t TUInt8 TUInt128
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 36, "start_col": 0, "start_line": 36 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.buf_t", "Vale.Arch.HeapTypes_s.TUInt8", "Vale.Arch.HeapTypes_s.TUInt128" ]
[]
false
false
false
true
true
let b128 =
buf_t TUInt8 TUInt128
false
Spec.Frodo.Test.fst
Spec.Frodo.Test.test1_pk_expected
val test1_pk_expected : Prims.list Lib.IntTypes.uint8
let test1_pk_expected = List.Tot.map u8_from_UInt8 [ 0x0duy; 0xacuy; 0x6fuy; 0x83uy; 0x94uy; 0x00uy; 0x1auy; 0xcauy; 0x97uy; 0xa1uy; 0xaauy; 0x42uy; 0x80uy; 0x9duy; 0x6buy; 0xa5uy; 0xfcuy; 0x64uy; 0x43uy; 0xdbuy; 0xbeuy; 0x6fuy; 0x12uy; 0x2auy; 0x94uy; 0x58uy; 0x36uy; 0xf2uy; 0xb1uy; 0xf8uy; 0xe...
{ "file_name": "specs/tests/Spec.Frodo.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 163, "start_col": 0, "start_line": 78 }
module Spec.Frodo.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Frodo.KEM open Spec.Frodo.KEM.KeyGen open Spec.Frodo.KEM.Encaps open Spec.Frodo.KEM.Decaps open Spec.Frodo.Params open FStar.All module PS = Lib.PrintSequence #set-options "--z3rlimit 50 ...
{ "checked_file": "/", "dependencies": [ "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.KeyGen.fst.checked", "Spec.Frodo.KEM.Encaps.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "Spec.Frodo.KEM.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fs...
[ { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo.Params", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list Lib.IntTypes.uint8
Prims.Tot
[ "total" ]
[]
[ "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.IntTypes.uint8", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons", "FStar.UInt8.__uint_to_t", "Prims.Nil" ]
[]
false
false
false
true
false
let test1_pk_expected =
List.Tot.map u8_from_UInt8 [ 0x0duy; 0xacuy; 0x6fuy; 0x83uy; 0x94uy; 0x00uy; 0x1auy; 0xcauy; 0x97uy; 0xa1uy; 0xaauy; 0x42uy; 0x80uy; 0x9duy; 0x6buy; 0xa5uy; 0xfcuy; 0x64uy; 0x43uy; 0xdbuy; 0xbeuy; 0x6fuy; 0x12uy; 0x2auy; 0x94uy; 0x58uy; 0x36uy; 0xf2uy; 0xb1uy; 0xf8uy; 0xe5uy; 0xf0uy; 0x57uy; 0x4buy; 0x35u...
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.code_compute_iv
val code_compute_iv : Vale.X64.Decls.va_code
let code_compute_iv = GC.va_code_Compute_iv_stdcall IA.win
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 127, "start_col": 0, "start_line": 127 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.X64.GCMencryptOpt.va_code_Compute_iv_stdcall", "Vale.Interop.Assumptions.win" ]
[]
false
false
false
true
false
let code_compute_iv =
GC.va_code_Compute_iv_stdcall IA.win
false
RecordOfArrays.fst
RecordOfArrays.rec_array_repr_with_v2
val rec_array_repr_with_v2 : r: RecordOfArrays.rec_array_repr -> v2: FStar.Seq.Base.seq FStar.UInt8.t -> RecordOfArrays.rec_array_repr
let rec_array_repr_with_v2 (r:rec_array_repr) v2 = {r with v2}
{ "file_name": "share/steel/examples/pulse/bug-reports/RecordOfArrays.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 86, "start_col": 0, "start_line": 86 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "Pulse.Lib.Array.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "Pulse.Lib.Array", "short_module": "A" }, { "abbrev": true, "full_module": "Pulse.L...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: RecordOfArrays.rec_array_repr -> v2: FStar.Seq.Base.seq FStar.UInt8.t -> RecordOfArrays.rec_array_repr
Prims.Tot
[ "total" ]
[]
[ "RecordOfArrays.rec_array_repr", "FStar.Seq.Base.seq", "FStar.UInt8.t", "RecordOfArrays.Mkrec_array_repr", "RecordOfArrays.__proj__Mkrec_array_repr__item__v1" ]
[]
false
false
false
true
false
let rec_array_repr_with_v2 (r: rec_array_repr) v2 =
{ r with v2 = v2 }
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.gcd_inv0
val gcd_inv0 (n0 l0: SZ.t) (pn pl: R.ref SZ.t) (b: bool) : Tot vprop
val gcd_inv0 (n0 l0: SZ.t) (pn pl: R.ref SZ.t) (b: bool) : Tot vprop
let gcd_inv0 (n0: SZ.t) (l0: SZ.t) (pn: R.ref SZ.t) (pl: R.ref SZ.t) (b: bool) : Tot vprop = exists_ (fun n -> exists_ (fun l -> R.pts_to pn full_perm n `star` R.pts_to pl full_perm l `star` pure (gcd_inv_prop (SZ.v n0) (SZ.v l0) (SZ.v n) (SZ.v l) b) ))
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 4, "end_line": 31, "start_col": 0, "start_line": 20 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0)
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n0: FStar.SizeT.t -> l0: FStar.SizeT.t -> pn: Steel.ST.Reference.ref FStar.SizeT.t -> pl: Steel.ST.Reference.ref FStar.SizeT.t -> b: Prims.bool -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "FStar.SizeT.t", "Steel.ST.Reference.ref", "Prims.bool", "Steel.ST.Util.exists_", "Steel.Effect.Common.star", "Steel.ST.Reference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.ST.Util.pure", "Steel.ST.GenArraySwap.gcd_inv_prop", "FStar.SizeT.v", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let gcd_inv0 (n0 l0: SZ.t) (pn pl: R.ref SZ.t) (b: bool) : Tot vprop =
exists_ (fun n -> exists_ (fun l -> ((R.pts_to pn full_perm n) `star` (R.pts_to pl full_perm l)) `star` (pure (gcd_inv_prop (SZ.v n0) (SZ.v l0) (SZ.v n) (SZ.v l) b))))
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.gcd_inv
val gcd_inv (n0 l0: SZ.t) (pn pl: R.ref SZ.t) (b: bool) : Tot vprop
val gcd_inv (n0 l0: SZ.t) (pn pl: R.ref SZ.t) (b: bool) : Tot vprop
let gcd_inv (n0: SZ.t) (l0: SZ.t) (pn: R.ref SZ.t) (pl: R.ref SZ.t) (b: bool) : Tot vprop = gcd_inv0 n0 l0 pn pl b
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 40, "start_col": 0, "start_line": 33 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0) [@@__reduce__] l...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n0: FStar.SizeT.t -> l0: FStar.SizeT.t -> pn: Steel.ST.Reference.ref FStar.SizeT.t -> pl: Steel.ST.Reference.ref FStar.SizeT.t -> b: Prims.bool -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "FStar.SizeT.t", "Steel.ST.Reference.ref", "Prims.bool", "Steel.ST.GenArraySwap.gcd_inv0", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let gcd_inv (n0 l0: SZ.t) (pn pl: R.ref SZ.t) (b: bool) : Tot vprop =
gcd_inv0 n0 l0 pn pl b
false
Hacl.Impl.Curve25519.Generic.fst
Hacl.Impl.Curve25519.Generic.scalar
val scalar : Type0
let scalar = lbuffer uint8 32ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Generic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 32, "start_col": 0, "start_line": 32 }
module Hacl.Impl.Curve25519.Generic open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Curve25519.Fields include Hacl.Impl.Curve25519.Finv include Hacl.Impl.Curve25519.AddAndDouble module ST = FStar.HyperStack.ST module BSeq = Lib.Byt...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fst.checked", "Lib.IntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.AddAndDouble", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let scalar =
lbuffer uint8 32ul
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.compute_iv_stdcall
val compute_iv_stdcall : Vale.Interop.Base.normal (iv: FStar.Ghost.erased Vale.AES.GCM_s.supported_iv_LE -> Vale.Stdcalls.X64.GCM_IV.lowstar_compute_iv_t iv)
let compute_iv_stdcall = as_normal_t #((iv:Ghost.erased supported_iv_LE) -> lowstar_compute_iv_t iv) (fun (iv:Ghost.erased supported_iv_LE) -> lowstar_compute_iv iv)
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 154, "start_col": 0, "start_line": 152 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.Interop.Base.normal (iv: FStar.Ghost.erased Vale.AES.GCM_s.supported_iv_LE -> Vale.Stdcalls.X64.GCM_IV.lowstar_compute_iv_t iv)
Prims.Tot
[ "total" ]
[]
[ "Vale.Stdcalls.X64.GCM_IV.as_normal_t", "FStar.Ghost.erased", "Vale.AES.GCM_s.supported_iv_LE", "Vale.Stdcalls.X64.GCM_IV.lowstar_compute_iv_t", "Vale.Stdcalls.X64.GCM_IV.lowstar_compute_iv" ]
[]
false
false
false
false
false
let compute_iv_stdcall =
as_normal_t #(iv: Ghost.erased supported_iv_LE -> lowstar_compute_iv_t iv) (fun (iv: Ghost.erased supported_iv_LE) -> lowstar_compute_iv iv)
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.array_swap_outer_invariant_body0
val array_swap_outer_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (pi: R.ref SZ.t) (i: SZ.t) (s: Ghost.erased (Seq.seq t)) : Tot vprop
val array_swap_outer_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (pi: R.ref SZ.t) (i: SZ.t) (s: Ghost.erased (Seq.seq t)) : Tot vprop
let array_swap_outer_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (pi: R.ref SZ.t) (i: SZ.t) (s: Ghost.erased (Seq.seq t)) : Tot vprop = R.pts_to pi full_perm i `star` pts_to s
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 168, "start_col": 0, "start_line": 159 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0) [@@__reduce__] l...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pts_to: Steel.ST.GenArraySwap.array_pts_to_t t -> pi: Steel.ST.Reference.ref FStar.SizeT.t -> i: FStar.SizeT.t -> s: FStar.Ghost.erased (FStar.Seq.Base.seq t) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GenArraySwap.array_pts_to_t", "Steel.ST.Reference.ref", "FStar.SizeT.t", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Steel.Effect.Common.star", "Steel.ST.Reference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let array_swap_outer_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (pi: R.ref SZ.t) (i: SZ.t) (s: Ghost.erased (Seq.seq t)) : Tot vprop =
(R.pts_to pi full_perm i) `star` (pts_to s)
false
Demo.MultiplyByRepeatedAddition.fst
Demo.MultiplyByRepeatedAddition.multiply
val multiply (x y: nat) : z: nat{z == x * y}
val multiply (x y: nat) : z: nat{z == x * y}
let rec multiply (x y:nat) : z:nat { z == x * y} = if x = 0 then 0 else multiply (x - 1) y + y
{ "file_name": "share/steel/examples/pulse/Demo.MultiplyByRepeatedAddition.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 28, "start_col": 0, "start_line": 26 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Lib.Pervasives.fst.checked", "Pulse.Lib.BoundedIntegers.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Demo.MultiplyByRe...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Pulse....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.nat -> y: Prims.nat -> z: Prims.nat{z == x * y}
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.bool", "Prims.op_Addition", "Demo.MultiplyByRepeatedAddition.multiply", "Prims.op_Subtraction", "Prims.eq2", "FStar.Mul.op_Star" ]
[ "recursion" ]
false
false
false
false
false
let rec multiply (x y: nat) : z: nat{z == x * y} =
if x = 0 then 0 else multiply (x - 1) y + y
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.array_swap_inner_invariant_body0
val array_swap_inner_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (n l: SZ.t) (bz: Prf.bezout (SZ.v n) (SZ.v l)) (s0: Ghost.erased (Seq.seq t)) (pi: R.ref SZ.t) (i: SZ.t) (pj pidx: R.ref SZ.t) (b: bool) (j idx: SZ.t) (s: Ghost.erased (Seq.seq t)...
val array_swap_inner_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (n l: SZ.t) (bz: Prf.bezout (SZ.v n) (SZ.v l)) (s0: Ghost.erased (Seq.seq t)) (pi: R.ref SZ.t) (i: SZ.t) (pj pidx: R.ref SZ.t) (b: bool) (j idx: SZ.t) (s: Ghost.erased (Seq.seq t)...
let array_swap_inner_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (n: SZ.t) (l: SZ.t) (bz: Prf.bezout (SZ.v n) (SZ.v l)) (s0: Ghost.erased (Seq.seq t)) (pi: R.ref SZ.t) (i: SZ.t) (pj: R.ref SZ.t) (pidx: R.ref SZ.t) (b: bool) (j: SZ.t) (idx: SZ.t) (s: Ghost.erased (Seq.seq t)) : Tot ...
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 284, "start_col": 0, "start_line": 265 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0) [@@__reduce__] l...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pts_to: Steel.ST.GenArraySwap.array_pts_to_t t -> n: FStar.SizeT.t -> l: FStar.SizeT.t -> bz: Steel.ST.GenArraySwap.Proof.bezout (FStar.SizeT.v n) (FStar.SizeT.v l) -> s0: FStar.Ghost.erased (FStar.Seq.Base.seq t) -> pi: Steel.ST.Reference.ref FStar.SizeT.t -> i: FStar.SizeT.t -> pj: St...
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GenArraySwap.array_pts_to_t", "FStar.SizeT.t", "Steel.ST.GenArraySwap.Proof.bezout", "FStar.SizeT.v", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Steel.ST.Reference.ref", "Prims.bool", "Steel.Effect.Common.star", "Steel.ST.Reference.pts_to", "Steel.FractionalPermission.full_perm", "...
[]
false
false
false
false
false
let array_swap_inner_invariant_body0 (#t: Type) (pts_to: array_pts_to_t t) (n l: SZ.t) (bz: Prf.bezout (SZ.v n) (SZ.v l)) (s0: Ghost.erased (Seq.seq t)) (pi: R.ref SZ.t) (i: SZ.t) (pj pidx: R.ref SZ.t) (b: bool) (j idx: SZ.t) (s: Ghost.erased (Seq.seq t)...
(((R.pts_to pi full_perm i) `star` (R.pts_to pj full_perm j)) `star` (R.pts_to pidx full_perm idx)) `star` (pts_to s)
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.gcd_inv_prop
val gcd_inv_prop (n0 l0 n l: nat) (b: bool) : Tot prop
val gcd_inv_prop (n0 l0 n l: nat) (b: bool) : Tot prop
let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0)
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 17, "start_col": 0, "start_line": 7 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n0: Prims.nat -> l0: Prims.nat -> n: Prims.nat -> l: Prims.nat -> b: Prims.bool -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.bool", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.eq2", "Prims.pos", "Steel.ST.GenArraySwap.Proof.__proj__Mkbezout_t__item__d", "Steel.ST.GenArraySwap.Proof.mk_bezout", "Prims.op_GreaterThan", "Prims.prop" ]
[]
false
false
false
true
true
let gcd_inv_prop (n0 l0 n l: nat) (b: bool) : Tot prop =
l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0)
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.as_normal_t
val as_normal_t (#a: Type) (x: a) : normal a
val as_normal_t (#a: Type) (x: a) : normal a
let as_normal_t (#a:Type) (x:a) : normal a = x
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 33, "start_col": 0, "start_line": 33 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> Vale.Interop.Base.normal a
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.normal" ]
[]
false
false
false
true
false
let as_normal_t (#a: Type) (x: a) : normal a =
x
false
Vale.Stdcalls.X64.GCM_IV.fst
Vale.Stdcalls.X64.GCM_IV.as_t
val as_t (#a: Type) (x: normal a) : a
val as_t (#a: Type) (x: normal a) : a
let as_t (#a:Type) (x:normal a) : a = x
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.GCM_IV.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 31, "start_col": 0, "start_line": 31 }
module Vale.Stdcalls.X64.GCM_IV open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": false, "full_module": "Vale.AES.GCM_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": "GC" }, { "abbrev": true, "full_module": "Vale.X64.Machine_s", "short_module": "MS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Vale.Interop.Base.normal a -> a
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.normal" ]
[]
false
false
false
true
false
let as_t (#a: Type) (x: normal a) : a =
x
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.gcd_post
val gcd_post (n0 l0 res: SZ.t) : Tot prop
val gcd_post (n0 l0 res: SZ.t) : Tot prop
let gcd_post (n0: SZ.t) (l0: SZ.t) (res: SZ.t) : Tot prop = SZ.v l0 < SZ.v n0 /\ SZ.v res == (Prf.mk_bezout (SZ.v n0) (SZ.v l0)).d
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 51, "end_line": 48, "start_col": 0, "start_line": 42 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0) [@@__reduce__] l...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n0: FStar.SizeT.t -> l0: FStar.SizeT.t -> res: FStar.SizeT.t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.SizeT.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.SizeT.v", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.op_GreaterThan", "Steel.ST.GenArraySwap.Proof.__proj__Mkbezout_t__item__d", "Steel.ST.GenArraySwap.Proof.mk_bezout", "Prims.prop" ]
[]
false
false
false
true
true
let gcd_post (n0 l0 res: SZ.t) : Tot prop =
SZ.v l0 < SZ.v n0 /\ SZ.v res == (Prf.mk_bezout (SZ.v n0) (SZ.v l0)).d
false
Steel.ST.GenArraySwap.fst
Steel.ST.GenArraySwap.array_swap_partial_invariant
val array_swap_partial_invariant (#t: Type) (n l: nat) (bz: Prf.bezout n l) (s0 s: Ghost.erased (Seq.seq t)) (i: nat) : GTot prop
val array_swap_partial_invariant (#t: Type) (n l: nat) (bz: Prf.bezout n l) (s0 s: Ghost.erased (Seq.seq t)) (i: nat) : GTot prop
let array_swap_partial_invariant (#t: Type) (n: nat) (l: nat) (bz: Prf.bezout n l) (s0: Ghost.erased (Seq.seq t)) (s: Ghost.erased (Seq.seq t)) (i: nat) : GTot prop = n == Seq.length s0 /\ n == Seq.length s /\ 0 < l /\ l < n /\ i <= bz.d /\ (forall (i': Prf.nat_up_to bz.d) . (forall (j: Prf....
{ "file_name": "lib/steel/Steel.ST.GenArraySwap.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 128, "start_col": 0, "start_line": 103 }
module Steel.ST.GenArraySwap open Steel.ST.GenElim module Prf = Steel.ST.GenArraySwap.Proof module R = Steel.ST.Reference let gcd_inv_prop (n0: nat) (l0: nat) (n: nat) (l: nat) (b: bool) : Tot prop = l0 < n0 /\ l < n /\ (Prf.mk_bezout n0 l0).d == (Prf.mk_bezout n l).d /\ b == (l > 0) [@@__reduce__] l...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.GenElim.fsti.checked", "Steel.ST.GenArraySwap.Proof.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.GenArraySwap.Proof", "short_module": "Prf" }, { "abbrev": false, "full_module": "Steel.ST.GenElim", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> l: Prims.nat -> bz: Steel.ST.GenArraySwap.Proof.bezout n l -> s0: FStar.Ghost.erased (FStar.Seq.Base.seq t) -> s: FStar.Ghost.erased (FStar.Seq.Base.seq t) -> i: Prims.nat -> Prims.GTot Prims.prop
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.nat", "Steel.ST.GenArraySwap.Proof.bezout", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Prims.l_and", "Prims.eq2", "FStar.Seq.Base.length", "FStar.Ghost.reveal", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "Steel.ST.GenArraySwap.Proof.__proj__Mkbezout_t__item__d", "...
[]
false
false
false
false
true
let array_swap_partial_invariant (#t: Type) (n l: nat) (bz: Prf.bezout n l) (s0 s: Ghost.erased (Seq.seq t)) (i: nat) : GTot prop =
n == Seq.length s0 /\ n == Seq.length s /\ 0 < l /\ l < n /\ i <= bz.d /\ (forall (i': Prf.nat_up_to bz.d). (forall (j: Prf.nat_up_to bz.q_n). (i' < i) ==> (let idx = Prf.iter_fun #(Prf.nat_up_to n) (Prf.jump n l) j i' in Seq.index s idx == Seq.index s0 (Prf.jump n l idx)))) /\ (forall (i'...
false