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.V2.Derived.fst | FStar.Tactics.V2.Derived.type_of_var | val type_of_var (x: namedv) : Tac typ | val type_of_var (x: namedv) : Tac typ | let type_of_var (x : namedv) : Tac typ =
unseal ((inspect_namedv x).sort) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 34,
"end_line": 52,
"start_col": 0,
"start_line": 51
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | x: FStar.Tactics.NamedView.namedv -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.typ | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.namedv",
"FStar.Tactics.Unseal.unseal",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Reflection.V2.Data.__proj__Mknamedv_view__item__sort",
"FStar.Tactics.NamedView.inspect_namedv"
] | [] | false | true | false | false | false | let type_of_var (x: namedv) : Tac typ =
| unseal ((inspect_namedv x).sort) | false |
Vale.AES.X64.AESopt.fst | Vale.AES.X64.AESopt.va_wpProof_Loop6x_partial | val va_wpProof_Loop6x_partial : alg:algorithm -> h_LE:quad32 -> y_prev:quad32 -> data:(seq quad32)
-> count:nat -> in0_count:nat -> iv_b:buffer128 -> in0_b:buffer128 -> in_b:buffer128 ->
scratch_b:buffer128 -> key_words:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 ->
hkeys_b:buffer128 -> ctr_BE:quad... | val va_wpProof_Loop6x_partial : alg:algorithm -> h_LE:quad32 -> y_prev:quad32 -> data:(seq quad32)
-> count:nat -> in0_count:nat -> iv_b:buffer128 -> in0_b:buffer128 -> in_b:buffer128 ->
scratch_b:buffer128 -> key_words:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 ->
hkeys_b:buffer128 -> ctr_BE:quad... | let va_wpProof_Loop6x_partial alg h_LE y_prev data count in0_count iv_b in0_b in_b scratch_b
key_words round_keys keys_b hkeys_b ctr_BE va_s0 va_k =
let (va_sM, va_f0, init) = va_lemma_Loop6x_partial (va_code_Loop6x_partial alg) va_s0 alg h_LE
y_prev data count in0_count iv_b in0_b in_b scratch_b key_words roun... | {
"file_name": "obj/Vale.AES.X64.AESopt.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 2216,
"start_col": 0,
"start_line": 2196
} | module Vale.AES.X64.AESopt
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Transform",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESGCM_expected_code",
"short_module": null
},
{
"abbrev... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"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 |
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
y_prev: Vale.X64.Decls.quad32 ->
data: FStar.Seq.Base.seq Vale.X64.Decls.quad32 ->
count: Prims.nat ->
in0_count: Prims.nat ->
iv_b: Vale.X64.Memory.buffer128 ->
in0_b: Vale.X64.Memory.buffer128 ->
in_b: Vale.X64... | Prims.Ghost | [] | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Prims.nat",
"Vale.X64.Memory.buffer128",
"Vale.X64.Memory.nat32",
"Vale.X64.Decls.va_state",
"Vale.AES.X64.AESopt.quad32_6",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Vale.X64.... | [] | false | false | false | false | false | let va_wpProof_Loop6x_partial
alg
h_LE
y_prev
data
count
in0_count
iv_b
in0_b
in_b
scratch_b
key_words
round_keys
keys_b
hkeys_b
ctr_BE
va_s0
va_k
=
| let va_sM, va_f0, init =
va_lemma_Loop6x_partial (va_code_Loop6x_partial alg) va_s0 alg h_LE y_prev data count in0_count
iv_b in0_b in_b scratch_b key_words round_keys keys_b hkeys_b ctr_BE
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_mem_heaplet 3
... | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.goals | val goals: Prims.unit -> Tac (list goal) | val goals: Prims.unit -> Tac (list goal) | let goals () : Tac (list goal) = goals_of (get ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 50,
"end_line": 59,
"start_col": 0,
"start_line": 59
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Tactics.Types.goal) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.goals_of",
"Prims.list",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Stubs.Tactics.Types.proofstate",
"FStar.Tactics.Effect.get"
] | [] | false | true | false | false | false | let goals () : Tac (list goal) =
| goals_of (get ()) | false |
CQueue.LList.fst | CQueue.LList.cllist1 | val cllist1 (#a: Type0) (c: cllist_ptrvalue a) : Tot vprop | val cllist1 (#a: Type0) (c: cllist_ptrvalue a) : Tot vprop | let cllist1
(#a: Type0)
(c: cllist_ptrvalue a)
: Tot vprop
= emp `vrefine` cllist0_refine c `vrewrite` cllist0_rewrite c `vdep` cllist0 a `vrewrite` cllist_rewrite c | {
"file_name": "share/steel/examples/steel/CQueue.LList.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 106,
"end_line": 60,
"start_col": 0,
"start_line": 56
} | module CQueue.LList
noeq
type cllist_ptrvalue (a: Type0) = {
head: ref (ccell_ptrvalue a);
tail: ref (ref (ccell_ptrvalue a));
all_or_none_null: squash (is_null head == is_null tail);
}
let cllist_ptrvalue_null a = {head = null; tail = null; all_or_none_null = ()}
let cllist_ptrvalue_is_null #a x = is_null x.h... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "CQueue.LList.fst"
} | [
{
"abbrev": false,
"full_module": "Steel.Reference",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: CQueue.LList.cllist_ptrvalue a -> Steel.Effect.Common.vprop | Prims.Tot | [
"total"
] | [] | [
"CQueue.LList.cllist_ptrvalue",
"Steel.Effect.Common.vrewrite",
"Steel.Effect.Common.vdep",
"Steel.Effect.Common.vrefine",
"Steel.Effect.Common.emp",
"CQueue.LList.cllist0_refine",
"CQueue.LList.cllist_lvalue",
"CQueue.LList.cllist0_rewrite",
"CQueue.LList.cllist0",
"CQueue.LList.vllist",
"CQueu... | [] | false | false | false | true | false | let cllist1 (#a: Type0) (c: cllist_ptrvalue a) : Tot vprop =
| (((emp `vrefine` (cllist0_refine c)) `vrewrite` (cllist0_rewrite c)) `vdep` (cllist0 a))
`vrewrite`
(cllist_rewrite c) | false |
CQueue.LList.fst | CQueue.LList.cllist_ptrvalue_is_null | val cllist_ptrvalue_is_null (#a: Type0) (c: cllist_ptrvalue a) : Pure bool
(requires True)
(ensures (fun b -> b == true <==> c == cllist_ptrvalue_null a)) | val cllist_ptrvalue_is_null (#a: Type0) (c: cllist_ptrvalue a) : Pure bool
(requires True)
(ensures (fun b -> b == true <==> c == cllist_ptrvalue_null a)) | let cllist_ptrvalue_is_null #a x = is_null x.head | {
"file_name": "share/steel/examples/steel/CQueue.LList.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 49,
"end_line": 12,
"start_col": 0,
"start_line": 12
} | module CQueue.LList
noeq
type cllist_ptrvalue (a: Type0) = {
head: ref (ccell_ptrvalue a);
tail: ref (ref (ccell_ptrvalue a));
all_or_none_null: squash (is_null head == is_null tail);
}
let cllist_ptrvalue_null a = {head = null; tail = null; all_or_none_null = ()} | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "CQueue.LList.fst"
} | [
{
"abbrev": false,
"full_module": "Steel.Reference",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: CQueue.LList.cllist_ptrvalue a -> Prims.Pure Prims.bool | Prims.Pure | [] | [] | [
"CQueue.LList.cllist_ptrvalue",
"Steel.Reference.is_null",
"CQueue.Cell.ccell_ptrvalue",
"CQueue.LList.__proj__Mkcllist_ptrvalue__item__head",
"Prims.bool"
] | [] | false | false | false | false | false | let cllist_ptrvalue_is_null #a x =
| is_null x.head | false |
CQueue.LList.fst | CQueue.LList.cllist0_rewrite | val cllist0_rewrite: #a: Type0 -> c: cllist_ptrvalue a -> t_of (emp `vrefine` (cllist0_refine c))
-> Tot (cllist_lvalue a) | val cllist0_rewrite: #a: Type0 -> c: cllist_ptrvalue a -> t_of (emp `vrefine` (cllist0_refine c))
-> Tot (cllist_lvalue a) | let cllist0_rewrite
(#a: Type0)
(c: cllist_ptrvalue a)
(_: t_of (emp `vrefine` cllist0_refine c))
: Tot (cllist_lvalue a)
= c | {
"file_name": "share/steel/examples/steel/CQueue.LList.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 35,
"start_col": 0,
"start_line": 30
} | module CQueue.LList
noeq
type cllist_ptrvalue (a: Type0) = {
head: ref (ccell_ptrvalue a);
tail: ref (ref (ccell_ptrvalue a));
all_or_none_null: squash (is_null head == is_null tail);
}
let cllist_ptrvalue_null a = {head = null; tail = null; all_or_none_null = ()}
let cllist_ptrvalue_is_null #a x = is_null x.h... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "CQueue.LList.fst"
} | [
{
"abbrev": false,
"full_module": "Steel.Reference",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
c: CQueue.LList.cllist_ptrvalue a ->
_:
Steel.Effect.Common.t_of (Steel.Effect.Common.vrefine Steel.Effect.Common.emp
(CQueue.LList.cllist0_refine c))
-> CQueue.LList.cllist_lvalue a | Prims.Tot | [
"total"
] | [] | [
"CQueue.LList.cllist_ptrvalue",
"Steel.Effect.Common.t_of",
"Steel.Effect.Common.vrefine",
"Steel.Effect.Common.emp",
"CQueue.LList.cllist0_refine",
"CQueue.LList.cllist_lvalue"
] | [] | false | false | false | false | false | let cllist0_rewrite (#a: Type0) (c: cllist_ptrvalue a) (_: t_of (emp `vrefine` (cllist0_refine c)))
: Tot (cllist_lvalue a) =
| c | false |
Spec.Ed25519.fst | Spec.Ed25519.aff_point_add_c | val aff_point_add_c (p q: aff_point_c) : aff_point_c | val aff_point_add_c (p q: aff_point_c) : aff_point_c | let aff_point_add_c (p:aff_point_c) (q:aff_point_c) : aff_point_c =
EL.aff_point_add_lemma p q;
aff_point_add p q | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 37,
"start_col": 0,
"start_line": 35
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | p: Spec.Ed25519.aff_point_c -> q: Spec.Ed25519.aff_point_c -> Spec.Ed25519.aff_point_c | Prims.Tot | [
"total"
] | [] | [
"Spec.Ed25519.aff_point_c",
"Spec.Ed25519.PointOps.aff_point_add",
"Prims.unit",
"Spec.Ed25519.Lemmas.aff_point_add_lemma"
] | [] | false | false | false | true | false | let aff_point_add_c (p q: aff_point_c) : aff_point_c =
| EL.aff_point_add_lemma p q;
aff_point_add p q | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_wpProof_Load_stack128 | val va_wpProof_Load_stack128 : dst:va_operand_vec_opr -> offset:int -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Load_stack128 dst offset va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Load_stack128 dst... | val va_wpProof_Load_stack128 : dst:va_operand_vec_opr -> offset:int -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Load_stack128 dst offset va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Load_stack128 dst... | let va_wpProof_Load_stack128 dst offset va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Load_stack128 (va_code_Load_stack128 dst offset) va_s0 dst offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_vec_opr dst va_sM va_s0)));
va_lemma_norm_mods ([va_mod_vec_opr dst]... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 136,
"start_col": 0,
"start_line": 130
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
dst: Vale.PPC64LE.Decls.va_operand_vec_opr ->
offset: Prims.int ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) * Prims.unit) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Prims.int",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_mod_vec_opr",
... | [] | false | false | false | false | false | let va_wpProof_Load_stack128 dst offset va_s0 va_k =
| let va_sM, va_f0 = va_lemma_Load_stack128 (va_code_Load_stack128 dst offset) va_s0 dst offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_vec_opr dst va_sM va_s0)));
va_lemma_norm_mods ([va_mod_vec_opr dst]) va_sM va_s0;
let va_g = () in
(va_sM, va_f0, va_g) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.smt_goals | val smt_goals: Prims.unit -> Tac (list goal) | val smt_goals: Prims.unit -> Tac (list goal) | let smt_goals () : Tac (list goal) = smt_goals_of (get ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 58,
"end_line": 60,
"start_col": 0,
"start_line": 60
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Tactics.Types.goal) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.smt_goals_of",
"Prims.list",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Stubs.Tactics.Types.proofstate",
"FStar.Tactics.Effect.get"
] | [] | false | true | false | false | false | let smt_goals () : Tac (list goal) =
| smt_goals_of (get ()) | false |
Vale.AES.X64.AESopt.fst | Vale.AES.X64.AESopt.va_qcode_untransformedoriginal_Loop6x_partial | val va_qcode_untransformedoriginal_Loop6x_partial
(va_mods: va_mods_t)
(alg: algorithm)
(h_LE y_prev: quad32)
(data: (seq quad32))
(count in0_count: nat)
(iv_b in0_b in_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buff... | val va_qcode_untransformedoriginal_Loop6x_partial
(va_mods: va_mods_t)
(alg: algorithm)
(h_LE y_prev: quad32)
(data: (seq quad32))
(count in0_count: nat)
(iv_b in0_b in_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buff... | let va_qcode_untransformedoriginal_Loop6x_partial (va_mods:va_mods_t) (alg:algorithm) (h_LE:quad32)
(y_prev:quad32) (data:(seq quad32)) (count:nat) (in0_count:nat) (iv_b:buffer128)
(in0_b:buffer128) (in_b:buffer128) (scratch_b:buffer128) (key_words:(seq nat32)) (round_keys:(seq
quad32)) (keys_b:buffer128) (hkeys_... | {
"file_name": "obj/Vale.AES.X64.AESopt.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 42,
"end_line": 2072,
"start_col": 0,
"start_line": 1923
} | module Vale.AES.X64.AESopt
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Transform",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESGCM_expected_code",
"short_module": null
},
{
"abbrev... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"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 |
va_mods: Vale.X64.QuickCode.va_mods_t ->
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
y_prev: Vale.X64.Decls.quad32 ->
data: FStar.Seq.Base.seq Vale.X64.Decls.quad32 ->
count: Prims.nat ->
in0_count: Prims.nat ->
iv_b: Vale.X64.Memory.buffer128 ->
in0_b: Va... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Prims.nat",
"Vale.X64.Memory.buffer128",
"Vale.X64.Memory.nat32",
"Vale.X64.QuickCodes.qblock",
"Vale.AES.X64.AESopt.quad32_6",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.AES.X... | [] | false | false | false | false | false | let va_qcode_untransformedoriginal_Loop6x_partial
(va_mods: va_mods_t)
(alg: algorithm)
(h_LE y_prev: quad32)
(data: (seq quad32))
(count in0_count: nat)
(iv_b in0_b in_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buff... | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let h:Vale.Math.Poly2_s.poly =
Vale.Math.Poly2.Bits_s.of_quad32 (Vale.Def.Types_s.reverse_bytes_quad32 h_LE)
in
let prev:Vale.Math.Poly2_s.poly =
Vale.Math.Poly2.Bits_s.of_quad32 (Vale.Def.Ty... | false |
Spec.Ed25519.fst | Spec.Ed25519.point_add_c | val point_add_c: SE.mul_st ext_point_c mk_to_ed25519_comm_monoid | val point_add_c: SE.mul_st ext_point_c mk_to_ed25519_comm_monoid | let point_add_c p q =
EL.to_aff_point_add_lemma p q;
point_add p q | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 15,
"end_line": 62,
"start_col": 0,
"start_line": 60
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | Spec.Exponentiation.mul_st Spec.Ed25519.ext_point_c Spec.Ed25519.mk_to_ed25519_comm_monoid | Prims.Tot | [
"total"
] | [] | [
"Spec.Ed25519.ext_point_c",
"Spec.Ed25519.PointOps.point_add",
"Prims.unit",
"Spec.Ed25519.Lemmas.to_aff_point_add_lemma"
] | [] | false | false | false | true | false | let point_add_c p q =
| EL.to_aff_point_add_lemma p q;
point_add p q | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_wpProof_Load_stack64 | val va_wpProof_Load_stack64 : dst:va_operand_reg_opr -> offset:int -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Load_stack64 dst offset va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Load_stack64 dst of... | val va_wpProof_Load_stack64 : dst:va_operand_reg_opr -> offset:int -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Load_stack64 dst offset va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Load_stack64 dst of... | let va_wpProof_Load_stack64 dst offset va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Load_stack64 (va_code_Load_stack64 dst offset) va_s0 dst offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_reg_opr dst va_sM va_s0)));
va_lemma_norm_mods ([va_mod_reg_opr dst]) v... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 197,
"start_col": 0,
"start_line": 191
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
dst: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) * Prims.unit) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_mod_reg_opr",
... | [] | false | false | false | false | false | let va_wpProof_Load_stack64 dst offset va_s0 va_k =
| let va_sM, va_f0 = va_lemma_Load_stack64 (va_code_Load_stack64 dst offset) va_s0 dst offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_reg_opr dst va_sM va_s0)));
va_lemma_norm_mods ([va_mod_reg_opr dst]) va_sM va_s0;
let va_g = () in
(va_sM, va_f0, va_g) | false |
Vale.AES.X64.AESopt.fst | Vale.AES.X64.AESopt.va_wpProof_Loop6x | val va_wpProof_Loop6x : alg:algorithm -> h_LE:quad32 -> y_orig:quad32 -> y_prev:quad32 -> count:nat
-> iv_b:buffer128 -> in0_b:buffer128 -> in_b:buffer128 -> out_b:buffer128 -> scratch_b:buffer128
-> plain_quads:(seq quad32) -> key_words:(seq nat32) -> round_keys:(seq quad32) ->
keys_b:buffer128 -> hkeys_b:buffer... | val va_wpProof_Loop6x : alg:algorithm -> h_LE:quad32 -> y_orig:quad32 -> y_prev:quad32 -> count:nat
-> iv_b:buffer128 -> in0_b:buffer128 -> in_b:buffer128 -> out_b:buffer128 -> scratch_b:buffer128
-> plain_quads:(seq quad32) -> key_words:(seq nat32) -> round_keys:(seq quad32) ->
keys_b:buffer128 -> hkeys_b:buffer... | let va_wpProof_Loop6x alg h_LE y_orig y_prev count iv_b in0_b in_b out_b scratch_b plain_quads
key_words round_keys keys_b hkeys_b ctr_BE_orig ctr_BE va_s0 va_k =
let (va_sM, va_f0, y_new) = va_lemma_Loop6x (va_code_Loop6x alg) va_s0 alg h_LE y_orig y_prev
count iv_b in0_b in_b out_b scratch_b plain_quads key_w... | {
"file_name": "obj/Vale.AES.X64.AESopt.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 2569,
"start_col": 0,
"start_line": 2546
} | module Vale.AES.X64.AESopt
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Transform",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESGCM_expected_code",
"short_module": null
},
{
"abbrev... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
y_orig: Vale.X64.Decls.quad32 ->
y_prev: Vale.X64.Decls.quad32 ->
count: Prims.nat ->
iv_b: Vale.X64.Memory.buffer128 ->
in0_b: Vale.X64.Memory.buffer128 ->
in_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memo... | Prims.Ghost | [] | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"Prims.nat",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.Def.Types_s.quad32",
"Prims.unit",
"Vale.X64.Quick... | [] | false | false | false | false | false | let va_wpProof_Loop6x
alg
h_LE
y_orig
y_prev
count
iv_b
in0_b
in_b
out_b
scratch_b
plain_quads
key_words
round_keys
keys_b
hkeys_b
ctr_BE_orig
ctr_BE
va_s0
va_k
=
| let va_sM, va_f0, y_new =
va_lemma_Loop6x (va_code_Loop6x alg) va_s0 alg h_LE y_orig y_prev count iv_b in0_b in_b out_b
scratch_b plain_quads key_words round_keys keys_b hkeys_b ctr_BE_orig ctr_BE
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_mem_heaplet... | false |
Spec.Ed25519.fst | Spec.Ed25519.point_double_c | val point_double_c: SE.sqr_st ext_point_c mk_to_ed25519_comm_monoid | val point_double_c: SE.sqr_st ext_point_c mk_to_ed25519_comm_monoid | let point_double_c p =
EL.to_aff_point_double_lemma p;
point_double p | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 67,
"start_col": 0,
"start_line": 65
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | Spec.Exponentiation.sqr_st Spec.Ed25519.ext_point_c Spec.Ed25519.mk_to_ed25519_comm_monoid | Prims.Tot | [
"total"
] | [] | [
"Spec.Ed25519.ext_point_c",
"Spec.Ed25519.PointOps.point_double",
"Prims.unit",
"Spec.Ed25519.Lemmas.to_aff_point_double_lemma"
] | [] | false | false | false | true | false | let point_double_c p =
| EL.to_aff_point_double_lemma p;
point_double p | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.cur_goal | val cur_goal: Prims.unit -> Tac typ | val cur_goal: Prims.unit -> Tac typ | let cur_goal () : Tac typ = goal_type (_cur_goal ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 81,
"start_col": 0,
"start_line": 81
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.typ | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.goal_type",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Tactics.V2.Derived._cur_goal"
] | [] | false | true | false | false | false | let cur_goal () : Tac typ =
| goal_type (_cur_goal ()) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.cur_env | val cur_env: Prims.unit -> Tac env | val cur_env: Prims.unit -> Tac env | let cur_env () : Tac env = goal_env (_cur_goal ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 50,
"end_line": 78,
"start_col": 0,
"start_line": 78
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.env | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.goal_env",
"FStar.Stubs.Reflection.Types.env",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Tactics.V2.Derived._cur_goal"
] | [] | false | true | false | false | false | let cur_env () : Tac env =
| goal_env (_cur_goal ()) | false |
Spec.Ed25519.fst | Spec.Ed25519.mk_ed25519_comm_monoid | val mk_ed25519_comm_monoid:LE.comm_monoid aff_point_c | val mk_ed25519_comm_monoid:LE.comm_monoid aff_point_c | let mk_ed25519_comm_monoid: LE.comm_monoid aff_point_c = {
LE.one = aff_point_at_infinity;
LE.mul = aff_point_add_c;
LE.lemma_one = EL.aff_point_at_infinity_lemma;
LE.lemma_mul_assoc = EL.aff_point_add_assoc_lemma;
LE.lemma_mul_comm = EL.aff_point_add_comm_lemma;
} | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 3,
"end_line": 45,
"start_col": 0,
"start_line": 39
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Lib.Exponentiation.Definition.comm_monoid Spec.Ed25519.aff_point_c | Prims.Tot | [
"total"
] | [] | [
"Lib.Exponentiation.Definition.Mkcomm_monoid",
"Spec.Ed25519.aff_point_c",
"Spec.Ed25519.PointOps.aff_point_at_infinity",
"Spec.Ed25519.aff_point_add_c",
"Spec.Ed25519.Lemmas.aff_point_at_infinity_lemma",
"Spec.Ed25519.Lemmas.aff_point_add_assoc_lemma",
"Spec.Ed25519.Lemmas.aff_point_add_comm_lemma"
] | [] | false | false | false | true | false | let mk_ed25519_comm_monoid:LE.comm_monoid aff_point_c =
| {
LE.one = aff_point_at_infinity;
LE.mul = aff_point_add_c;
LE.lemma_one = EL.aff_point_at_infinity_lemma;
LE.lemma_mul_assoc = EL.aff_point_add_assoc_lemma;
LE.lemma_mul_comm = EL.aff_point_add_comm_lemma
} | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.exact_with_ref | val exact_with_ref (t: term) : Tac unit | val exact_with_ref (t: term) : Tac unit | let exact_with_ref (t : term) : Tac unit =
with_policy SMT (fun () -> t_exact true true t) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 51,
"end_line": 114,
"start_col": 0,
"start_line": 113
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.Derived.with_policy",
"Prims.unit",
"FStar.Stubs.Tactics.Types.SMT",
"FStar.Stubs.Tactics.V2.Builtins.t_exact"
] | [] | false | true | false | false | false | let exact_with_ref (t: term) : Tac unit =
| with_policy SMT (fun () -> t_exact true true t) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.cur_vars | val cur_vars: Prims.unit -> Tac (list binding) | val cur_vars: Prims.unit -> Tac (list binding) | let cur_vars () : Tac (list binding) =
vars_of_env (cur_env ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 28,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Tactics.NamedView.binding) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Reflection.V2.Builtins.vars_of_env",
"Prims.list",
"FStar.Tactics.NamedView.binding",
"FStar.Stubs.Reflection.Types.env",
"FStar.Tactics.V2.Derived.cur_env"
] | [] | false | true | false | false | false | let cur_vars () : Tac (list binding) =
| vars_of_env (cur_env ()) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.trivial | val trivial: Prims.unit -> Tac unit | val trivial: Prims.unit -> Tac unit | let trivial () : Tac unit =
norm [iota; zeta; reify_; delta; primops; simplify; unmeta];
let g = cur_goal () in
match term_as_formula g with
| True_ -> exact (`())
| _ -> raise Goal_not_trivial | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 31,
"end_line": 121,
"start_col": 0,
"start_line": 116
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.exact",
"FStar.Reflection.V2.Formula.formula",
"FStar.Tactics.Effect.raise",
"FStar.Tactics.V2.Derived.Goal_not_trivial",
"FStar.Reflection.V2.Formula.term_as_formula",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Tactics.V2.Derived.cur_goal",
"FStar.Stubs.Tacti... | [] | false | true | false | false | false | let trivial () : Tac unit =
| norm [iota; zeta; reify_; delta; primops; simplify; unmeta];
let g = cur_goal () in
match term_as_formula g with
| True_ -> exact (`())
| _ -> raise Goal_not_trivial | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_wpProof_Store_stack64 | val va_wpProof_Store_stack64 : src:va_operand_reg_opr -> offset:int -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Store_stack64 src offset va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Store_stack64 src... | val va_wpProof_Store_stack64 : src:va_operand_reg_opr -> offset:int -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Store_stack64 src offset va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Store_stack64 src... | let va_wpProof_Store_stack64 src offset va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Store_stack64 (va_code_Store_stack64 src offset) va_s0 src offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_stackTaint va_sM (va_update_stack va_sM (va_update_ok va_sM
va_s0))));
va_lemma_norm_mods ([... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 166,
"start_col": 0,
"start_line": 159
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
src: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) * Prims.unit) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_Mod_stackTaint"... | [] | false | false | false | false | false | let va_wpProof_Store_stack64 src offset va_s0 va_k =
| let va_sM, va_f0 = va_lemma_Store_stack64 (va_code_Store_stack64 src offset) va_s0 src offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_stackTaint va_sM (va_update_stack va_sM (va_update_ok va_sM va_s0))));
va_lemma_norm_mods ([va_Mod_stackTaint; va_Mod_stack]) va_sM va_s0;
let va_g = () ... | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_wpProof_Dealloc_stack | val va_wpProof_Dealloc_stack : n:nat64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Dealloc_stack n va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Dealloc_stack n) ([va_Mod_stack;
va_Mod_reg 1]) va_s0... | val va_wpProof_Dealloc_stack : n:nat64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Dealloc_stack n va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Dealloc_stack n) ([va_Mod_stack;
va_Mod_reg 1]) va_s0... | let va_wpProof_Dealloc_stack n va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Dealloc_stack (va_code_Dealloc_stack n) va_s0 n in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_stack va_sM (va_update_reg 1 va_sM (va_update_ok va_sM
va_s0))));
va_lemma_norm_mods ([va_Mod_stack; va_Mod_reg 1]) va_... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 74,
"start_col": 0,
"start_line": 67
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"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: Vale.PPC64LE.Memory.nat64 ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) * Prims.unit) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Memory.nat64",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_Mod_stack",
"Vale.PPC64LE.QuickCode.va_M... | [] | false | false | false | false | false | let va_wpProof_Dealloc_stack n va_s0 va_k =
| let va_sM, va_f0 = va_lemma_Dealloc_stack (va_code_Dealloc_stack n) va_s0 n in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_stack va_sM (va_update_reg 1 va_sM (va_update_ok va_sM va_s0)))
);
va_lemma_norm_mods ([va_Mod_stack; va_Mod_reg 1]) va_sM va_s0;
let va_g = () in
(va_sM, va_f0, va_g) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.cur_witness | val cur_witness: Prims.unit -> Tac term | val cur_witness: Prims.unit -> Tac term | let cur_witness () : Tac term = goal_witness (_cur_goal ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 59,
"end_line": 84,
"start_col": 0,
"start_line": 84
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.goal_witness",
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Tactics.V2.Derived._cur_goal"
] | [] | false | true | false | false | false | let cur_witness () : Tac term =
| goal_witness (_cur_goal ()) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.exact | val exact (t: term) : Tac unit | val exact (t: term) : Tac unit | let exact (t : term) : Tac unit =
with_policy SMT (fun () -> t_exact true false t) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 108,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.Derived.with_policy",
"Prims.unit",
"FStar.Stubs.Tactics.Types.SMT",
"FStar.Stubs.Tactics.V2.Builtins.t_exact"
] | [] | false | true | false | false | false | let exact (t: term) : Tac unit =
| with_policy SMT (fun () -> t_exact true false t) | false |
Spec.Ed25519.fst | Spec.Ed25519.sha512_modq | val sha512_modq (len: nat{len <= max_input_length_sha512}) (s: bytes{length s = len})
: n: nat{n < pow2 256} | val sha512_modq (len: nat{len <= max_input_length_sha512}) (s: bytes{length s = len})
: n: nat{n < pow2 256} | let sha512_modq (len:nat{len <= max_input_length_sha512}) (s:bytes{length s = len}) : n:nat{n < pow2 256} =
nat_from_bytes_le (Spec.Agile.Hash.hash Spec.Hash.Definitions.SHA2_512 s) % q | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 79,
"end_line": 30,
"start_col": 0,
"start_line": 29
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 |
len: Prims.nat{len <= Spec.Ed25519.max_input_length_sha512} ->
s: Lib.ByteSequence.bytes{Lib.Sequence.length s = len}
-> n: Prims.nat{n < Prims.pow2 256} | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Spec.Ed25519.max_input_length_sha512",
"Lib.ByteSequence.bytes",
"Prims.op_Equality",
"Lib.Sequence.length",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Prims.op_Modulus",
"Lib.ByteSequence.nat_from_bytes_le",
"Spec.Ag... | [] | false | false | false | false | false | let sha512_modq (len: nat{len <= max_input_length_sha512}) (s: bytes{length s = len})
: n: nat{n < pow2 256} =
| nat_from_bytes_le (Spec.Agile.Hash.hash Spec.Hash.Definitions.SHA2_512 s) % q | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.trefl_guard | val trefl_guard: Prims.unit -> Tac unit | val trefl_guard: Prims.unit -> Tac unit | let trefl_guard () : Tac unit =
t_trefl true | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 14,
"end_line": 200,
"start_col": 0,
"start_line": 199
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.t_trefl"
] | [] | false | true | false | false | false | let trefl_guard () : Tac unit =
| t_trefl true | false |
Spec.Ed25519.fst | Spec.Ed25519.point_at_inifinity_c | val point_at_inifinity_c: SE.one_st ext_point_c mk_to_ed25519_comm_monoid | val point_at_inifinity_c: SE.one_st ext_point_c mk_to_ed25519_comm_monoid | let point_at_inifinity_c _ =
EL.to_aff_point_at_infinity_lemma ();
point_at_infinity | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 57,
"start_col": 0,
"start_line": 55
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | Spec.Exponentiation.one_st Spec.Ed25519.ext_point_c Spec.Ed25519.mk_to_ed25519_comm_monoid | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Spec.Ed25519.PointOps.point_at_infinity",
"Spec.Ed25519.Lemmas.to_aff_point_at_infinity_lemma",
"Spec.Ed25519.ext_point_c"
] | [] | false | false | false | true | false | let point_at_inifinity_c _ =
| EL.to_aff_point_at_infinity_lemma ();
point_at_infinity | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.qed | val qed: Prims.unit -> Tac unit | val qed: Prims.unit -> Tac unit | let qed () : Tac unit =
match goals () with
| [] -> ()
| _ -> fail "qed: not done!" | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 32,
"end_line": 148,
"start_col": 0,
"start_line": 145
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Tactics.V2.Derived.fail",
"FStar.Tactics.V2.Derived.goals"
] | [] | false | true | false | false | false | let qed () : Tac unit =
| match goals () with
| [] -> ()
| _ -> fail "qed: not done!" | false |
Spec.Ed25519.fst | Spec.Ed25519.size_signature | val size_signature:size_nat | val size_signature:size_nat | let size_signature: size_nat = 64 | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 19,
"start_col": 0,
"start_line": 19
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100" | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat{n <= Prims.pow2 32 - 1} | Prims.Tot | [
"total"
] | [] | [] | [] | false | false | false | false | false | let size_signature:size_nat =
| 64 | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.debug | val debug (m: string) : Tac unit | val debug (m: string) : Tac unit | let debug (m:string) : Tac unit =
if debugging () then print m | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 32,
"end_line": 154,
"start_col": 0,
"start_line": 153
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | m: Prims.string -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.string",
"FStar.Stubs.Tactics.V2.Builtins.print",
"Prims.unit",
"Prims.bool",
"FStar.Stubs.Tactics.V2.Builtins.debugging"
] | [] | false | true | false | false | false | let debug (m: string) : Tac unit =
| if debugging () then print m | false |
Spec.Ed25519.fst | Spec.Ed25519.q | val q:n: nat{n < pow2 256} | val q:n: nat{n < pow2 256} | let q: n:nat{n < pow2 256} =
assert_norm(pow2 252 + 27742317777372353535851937790883648493 < pow2 255 - 19);
(pow2 252 + 27742317777372353535851937790883648493) | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 53,
"end_line": 23,
"start_col": 0,
"start_line": 21
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat{n < Prims.pow2 256} | Prims.Tot | [
"total"
] | [] | [
"Prims.op_Addition",
"Prims.pow2",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.op_Subtraction"
] | [] | false | false | false | false | false | let q:n: nat{n < pow2 256} =
| assert_norm (pow2 252 + 27742317777372353535851937790883648493 < pow2 255 - 19);
(pow2 252 + 27742317777372353535851937790883648493) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.later | val later: Prims.unit -> Tac unit | val later: Prims.unit -> Tac unit | let later () : Tac unit =
match goals () with
| g::gs -> set_goals (gs @ [g])
| _ -> fail "later: no goals" | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 33,
"end_line": 175,
"start_col": 0,
"start_line": 172
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.goal",
"Prims.list",
"FStar.Stubs.Tactics.V2.Builtins.set_goals",
"FStar.Tactics.V2.Derived.op_At",
"Prims.Cons",
"Prims.Nil",
"FStar.Tactics.V2.Derived.fail",
"FStar.Tactics.V2.Derived.goals"
] | [] | false | true | false | false | false | let later () : Tac unit =
| match goals () with
| g :: gs -> set_goals (gs @ [g])
| _ -> fail "later: no goals" | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_lemma_Dealloc_stack | val va_lemma_Dealloc_stack : va_b0:va_code -> va_s0:va_state -> n:nat64
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Dealloc_stack n) va_s0 /\ va_get_ok va_s0 /\ n
`op_Modulus` 16 == 0 /\ va_get_reg 1 va_s0 >= Vale.PPC64LE.Stack_i.init_r1 (va_get_stack va_s0)
- 65536 /\ va_get_re... | val va_lemma_Dealloc_stack : va_b0:va_code -> va_s0:va_state -> n:nat64
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Dealloc_stack n) va_s0 /\ va_get_ok va_s0 /\ n
`op_Modulus` 16 == 0 /\ va_get_reg 1 va_s0 >= Vale.PPC64LE.Stack_i.init_r1 (va_get_stack va_s0)
- 65536 /\ va_get_re... | let va_lemma_Dealloc_stack va_b0 va_s0 n =
va_reveal_opaque (`%va_code_Dealloc_stack) (va_code_Dealloc_stack n);
let (va_old_s:va_state) = va_s0 in
va_ins_lemma (Ins (S.Dealloc n)) va_s0;
let (va_sM, va_fM) = va_eval_ins (Ins (S.Dealloc n)) va_s0 in
(va_sM, va_fM) | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 63,
"start_col": 0,
"start_line": 58
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
n: Vale.PPC64LE.Memory.nat64
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Vale.PPC64LE.Memory.nat64",
"Vale.PPC64LE.State.state",
"Vale.PPC64LE.Lemmas.fuel",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.tuple2",
"Vale.PPC64LE.Machine_s.state",
"Prims.nat",
"Vale... | [] | false | false | false | false | false | let va_lemma_Dealloc_stack va_b0 va_s0 n =
| va_reveal_opaque (`%va_code_Dealloc_stack) (va_code_Dealloc_stack n);
let va_old_s:va_state = va_s0 in
va_ins_lemma (Ins (S.Dealloc n)) va_s0;
let va_sM, va_fM = va_eval_ins (Ins (S.Dealloc n)) va_s0 in
(va_sM, va_fM) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.apply_lemma | val apply_lemma (t: term) : Tac unit | val apply_lemma (t: term) : Tac unit | let apply_lemma (t : term) : Tac unit =
t_apply_lemma false false t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 31,
"end_line": 192,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.t_apply_lemma",
"Prims.unit"
] | [] | false | true | false | false | false | let apply_lemma (t: term) : Tac unit =
| t_apply_lemma false false t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.apply_noinst | val apply_noinst (t: term) : Tac unit | val apply_noinst (t: term) : Tac unit | let apply_noinst (t : term) : Tac unit =
t_apply true true false t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 29,
"end_line": 185,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.t_apply",
"Prims.unit"
] | [] | false | true | false | false | false | let apply_noinst (t: term) : Tac unit =
| t_apply true true false t | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_lemma_Store_stack128 | val va_lemma_Store_stack128 : va_b0:va_code -> va_s0:va_state -> src:va_operand_vec_opr ->
offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Store_stack128 src offset) va_s0 /\ va_is_src_vec_opr
src va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset128 offs... | val va_lemma_Store_stack128 : va_b0:va_code -> va_s0:va_state -> src:va_operand_vec_opr ->
offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Store_stack128 src offset) va_s0 /\ va_is_src_vec_opr
src va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset128 offs... | let va_lemma_Store_stack128 va_b0 va_s0 src offset =
va_reveal_opaque (`%va_code_Store_stack128) (va_code_Store_stack128 src offset);
let (va_old_s:va_state) = va_s0 in
va_ins_lemma (Ins (S.StoreStack128 src Secret offset)) va_s0;
let (va_sM, va_fM) = va_eval_ins (Ins (S.StoreStack128 src Secret offset)) va_s0 ... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 93,
"start_col": 0,
"start_line": 88
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
src: Vale.PPC64LE.Decls.va_operand_vec_opr ->
offset: Prims.int
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Prims.int",
"Vale.PPC64LE.State.state",
"Vale.PPC64LE.Lemmas.fuel",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.tuple2",
"Vale.PPC64LE.Machine_s.sta... | [] | false | false | false | false | false | let va_lemma_Store_stack128 va_b0 va_s0 src offset =
| va_reveal_opaque (`%va_code_Store_stack128) (va_code_Store_stack128 src offset);
let va_old_s:va_state = va_s0 in
va_ins_lemma (Ins (S.StoreStack128 src Secret offset)) va_s0;
let va_sM, va_fM = va_eval_ins (Ins (S.StoreStack128 src Secret offset)) va_s0 in
(va_sM, va_fM) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.apply | val apply (t: term) : Tac unit | val apply (t: term) : Tac unit | let apply (t : term) : Tac unit =
t_apply true false false t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 182,
"start_col": 0,
"start_line": 181
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.t_apply",
"Prims.unit"
] | [] | false | true | false | false | false | let apply (t: term) : Tac unit =
| t_apply true false false t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.commute_applied_match | val commute_applied_match: Prims.unit -> Tac unit | val commute_applied_match: Prims.unit -> Tac unit | let commute_applied_match () : Tac unit =
t_commute_applied_match () | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 28,
"end_line": 204,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.t_commute_applied_match"
] | [] | false | true | false | false | false | let commute_applied_match () : Tac unit =
| t_commute_applied_match () | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.apply_lemma_rw | val apply_lemma_rw (t: term) : Tac unit | val apply_lemma_rw (t: term) : Tac unit | let apply_lemma_rw (t : term) : Tac unit =
t_apply_lemma false true t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 212,
"start_col": 0,
"start_line": 211
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.t_apply_lemma",
"Prims.unit"
] | [] | false | true | false | false | false | let apply_lemma_rw (t: term) : Tac unit =
| t_apply_lemma false true t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.apply_lemma_noinst | val apply_lemma_noinst (t: term) : Tac unit | val apply_lemma_noinst (t: term) : Tac unit | let apply_lemma_noinst (t : term) : Tac unit =
t_apply_lemma true false t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 209,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.t_apply_lemma",
"Prims.unit"
] | [] | false | true | false | false | false | let apply_lemma_noinst (t: term) : Tac unit =
| t_apply_lemma true false t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.t_pointwise | val t_pointwise (d: direction) (tau: (unit -> Tac unit)) : Tac unit | val t_pointwise (d: direction) (tau: (unit -> Tac unit)) : Tac unit | let t_pointwise (d:direction) (tau : unit -> Tac unit) : Tac unit =
let ctrl (t:term) : Tac (bool & ctrl_flag) =
true, Continue
in
let rw () : Tac unit =
tau ()
in
ctrl_rewrite d ctrl rw | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 24,
"end_line": 239,
"start_col": 0,
"start_line": 232
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 |
d: FStar.Stubs.Tactics.Types.direction ->
tau: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit)
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Stubs.Tactics.Types.direction",
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.ctrl_rewrite",
"FStar.Tactics.NamedView.term",
"FStar.Pervasives.Native.tuple2",
"Prims.bool",
"FStar.Stubs.Tactics.Types.ctrl_flag",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.Tactics.Types.Continue"
] | [] | false | true | false | false | false | let t_pointwise (d: direction) (tau: (unit -> Tac unit)) : Tac unit =
| let ctrl (t: term) : Tac (bool & ctrl_flag) = true, Continue in
let rw () : Tac unit = tau () in
ctrl_rewrite d ctrl rw | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.trefl | val trefl: Prims.unit -> Tac unit | val trefl: Prims.unit -> Tac unit | let trefl () : Tac unit =
t_trefl false | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 15,
"end_line": 196,
"start_col": 0,
"start_line": 195
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.t_trefl"
] | [] | false | true | false | false | false | let trefl () : Tac unit =
| t_trefl false | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.fail | val fail (#a: Type) (m: string) : TAC a (fun ps post -> post (Failed (TacticFailure m) ps)) | val fail (#a: Type) (m: string) : TAC a (fun ps post -> post (Failed (TacticFailure m) ps)) | let fail (#a:Type) (m:string)
: TAC a (fun ps post -> post (Failed (TacticFailure m) ps))
= raise #a (TacticFailure m) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 64,
"start_col": 0,
"start_line": 62
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | m: Prims.string -> FStar.Tactics.Effect.TAC a | FStar.Tactics.Effect.TAC | [] | [] | [
"Prims.string",
"FStar.Tactics.Effect.raise",
"FStar.Stubs.Tactics.Common.TacticFailure",
"FStar.Stubs.Tactics.Types.proofstate",
"FStar.Stubs.Tactics.Result.__result",
"FStar.Stubs.Tactics.Result.Failed"
] | [] | false | true | false | false | false | let fail (#a: Type) (m: string) : TAC a (fun ps post -> post (Failed (TacticFailure m) ps)) =
| raise #a (TacticFailure m) | false |
Spec.Ed25519.fst | Spec.Ed25519.max_input_length_sha512 | val max_input_length_sha512 : Prims.pos | let max_input_length_sha512 = Some?.v (Spec.Hash.Definitions.max_input_length Spec.Hash.Definitions.SHA2_512) | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 109,
"end_line": 25,
"start_col": 0,
"start_line": 25
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.pos | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.__proj__Some__item__v",
"Prims.pos",
"Spec.Hash.Definitions.max_input_length",
"Spec.Hash.Definitions.SHA2_512"
] | [] | false | false | false | true | false | let max_input_length_sha512 =
| Some?.v (Spec.Hash.Definitions.max_input_length Spec.Hash.Definitions.SHA2_512) | false | |
Spec.Ed25519.fst | Spec.Ed25519.point_mul_g | val point_mul_g (a: lbytes 32) : ext_point_c | val point_mul_g (a: lbytes 32) : ext_point_c | let point_mul_g (a:lbytes 32) : ext_point_c =
EL.g_is_on_curve ();
point_mul a g | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 15,
"end_line": 87,
"start_col": 0,
"start_line": 85
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | a: Lib.ByteSequence.lbytes 32 -> Spec.Ed25519.ext_point_c | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Spec.Ed25519.point_mul",
"Spec.Ed25519.PointOps.g",
"Prims.unit",
"Spec.Ed25519.Lemmas.g_is_on_curve",
"Spec.Ed25519.ext_point_c"
] | [] | false | false | false | false | false | let point_mul_g (a: lbytes 32) : ext_point_c =
| EL.g_is_on_curve ();
point_mul a g | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.cur_module | val cur_module: Prims.unit -> Tac name | val cur_module: Prims.unit -> Tac name | let cur_module () : Tac name =
moduleof (top_env ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 25,
"end_line": 280,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.name | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Reflection.V2.Builtins.moduleof",
"FStar.Stubs.Reflection.Types.name",
"FStar.Stubs.Reflection.Types.env",
"FStar.Stubs.Tactics.V2.Builtins.top_env"
] | [] | false | true | false | false | false | let cur_module () : Tac name =
| moduleof (top_env ()) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.exact_guard | val exact_guard (t: term) : Tac unit | val exact_guard (t: term) : Tac unit | let exact_guard (t : term) : Tac unit =
with_policy Goal (fun () -> t_exact true false t) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 53,
"end_line": 223,
"start_col": 0,
"start_line": 222
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.Derived.with_policy",
"Prims.unit",
"FStar.Stubs.Tactics.Types.Goal",
"FStar.Stubs.Tactics.V2.Builtins.t_exact"
] | [] | false | true | false | false | false | let exact_guard (t: term) : Tac unit =
| with_policy Goal (fun () -> t_exact true false t) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.pointwise | val pointwise (tau: (unit -> Tac unit)) : Tac unit | val pointwise (tau: (unit -> Tac unit)) : Tac unit | let pointwise (tau : unit -> Tac unit) : Tac unit = t_pointwise BottomUp tau | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 77,
"end_line": 276,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | tau: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.t_pointwise",
"FStar.Stubs.Tactics.Types.BottomUp"
] | [] | false | true | false | false | false | let pointwise (tau: (unit -> Tac unit)) : Tac unit =
| t_pointwise BottomUp tau | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.pointwise' | val pointwise' (tau: (unit -> Tac unit)) : Tac unit | val pointwise' (tau: (unit -> Tac unit)) : Tac unit | let pointwise' (tau : unit -> Tac unit) : Tac unit = t_pointwise TopDown tau | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 77,
"end_line": 277,
"start_col": 0,
"start_line": 277
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | tau: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.t_pointwise",
"FStar.Stubs.Tactics.Types.TopDown"
] | [] | false | true | false | false | false | let pointwise' (tau: (unit -> Tac unit)) : Tac unit =
| t_pointwise TopDown tau | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_lemma_Alloc_stack | val va_lemma_Alloc_stack : va_b0:va_code -> va_s0:va_state -> n:nat64
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Alloc_stack n) va_s0 /\ va_get_ok va_s0 /\ n
`op_Modulus` 16 == 0 /\ va_get_reg 1 va_s0 <= Vale.PPC64LE.Stack_i.init_r1 (va_get_stack va_s0)
/\ Vale.PPC64LE.Stack_i.... | val va_lemma_Alloc_stack : va_b0:va_code -> va_s0:va_state -> n:nat64
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Alloc_stack n) va_s0 /\ va_get_ok va_s0 /\ n
`op_Modulus` 16 == 0 /\ va_get_reg 1 va_s0 <= Vale.PPC64LE.Stack_i.init_r1 (va_get_stack va_s0)
/\ Vale.PPC64LE.Stack_i.... | let va_lemma_Alloc_stack va_b0 va_s0 n =
va_reveal_opaque (`%va_code_Alloc_stack) (va_code_Alloc_stack n);
let (va_old_s:va_state) = va_s0 in
va_ins_lemma (Ins (S.Alloc n)) va_s0;
let (va_sM, va_fM) = va_eval_ins (Ins (S.Alloc n)) va_s0 in
(va_sM, va_fM) | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 34,
"start_col": 0,
"start_line": 29
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
n: Vale.PPC64LE.Memory.nat64
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Vale.PPC64LE.Memory.nat64",
"Vale.PPC64LE.State.state",
"Vale.PPC64LE.Lemmas.fuel",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.tuple2",
"Vale.PPC64LE.Machine_s.state",
"Prims.nat",
"Vale... | [] | false | false | false | false | false | let va_lemma_Alloc_stack va_b0 va_s0 n =
| va_reveal_opaque (`%va_code_Alloc_stack) (va_code_Alloc_stack n);
let va_old_s:va_state = va_s0 in
va_ins_lemma (Ins (S.Alloc n)) va_s0;
let va_sM, va_fM = va_eval_ins (Ins (S.Alloc n)) va_s0 in
(va_sM, va_fM) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.apply_raw | val apply_raw (t: term) : Tac unit | val apply_raw (t: term) : Tac unit | let apply_raw (t : term) : Tac unit =
t_apply false false false t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 31,
"end_line": 218,
"start_col": 0,
"start_line": 217
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.t_apply",
"Prims.unit"
] | [] | false | true | false | false | false | let apply_raw (t: term) : Tac unit =
| t_apply false false false t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.topdown_rewrite | val topdown_rewrite (ctrl: (term -> Tac (bool * int))) (rw: (unit -> Tac unit)) : Tac unit | val topdown_rewrite (ctrl: (term -> Tac (bool * int))) (rw: (unit -> Tac unit)) : Tac unit | let topdown_rewrite (ctrl : term -> Tac (bool * int))
(rw:unit -> Tac unit) : Tac unit
= let ctrl' (t:term) : Tac (bool & ctrl_flag) =
let b, i = ctrl t in
let f =
match i with
| 0 -> Continue
| 1 -> Skip
| 2 -> Abort
| _ -> fail "topdown_rewrite... | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 33,
"end_line": 274,
"start_col": 0,
"start_line": 261
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 |
ctrl: (_: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.bool * Prims.int)) ->
rw: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit)
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Pervasives.Native.tuple2",
"Prims.bool",
"Prims.int",
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.ctrl_rewrite",
"FStar.Stubs.Tactics.Types.TopDown",
"FStar.Stubs.Tactics.Types.ctrl_flag",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.Tactics.Types.Cont... | [] | false | true | false | false | false | let topdown_rewrite (ctrl: (term -> Tac (bool * int))) (rw: (unit -> Tac unit)) : Tac unit =
| let ctrl' (t: term) : Tac (bool & ctrl_flag) =
let b, i = ctrl t in
let f =
match i with
| 0 -> Continue
| 1 -> Skip
| 2 -> Abort
| _ -> fail "topdown_rewrite: bad value from ctrl"
in
b, f
in
ctrl_rewrite TopDown ctrl' rw | false |
CQueue.LList.fst | CQueue.LList.cllist_rewrite | val cllist_rewrite
(#a: Type0)
(c: cllist_ptrvalue a)
(x:
dtuple2 (cllist_lvalue a)
(vdep_payload ((emp `vrefine` (cllist0_refine c)) `vrewrite` (cllist0_rewrite c))
(cllist0 a)))
: GTot (vllist a) | val cllist_rewrite
(#a: Type0)
(c: cllist_ptrvalue a)
(x:
dtuple2 (cllist_lvalue a)
(vdep_payload ((emp `vrefine` (cllist0_refine c)) `vrewrite` (cllist0_rewrite c))
(cllist0 a)))
: GTot (vllist a) | let cllist_rewrite
(#a: Type0)
(c: cllist_ptrvalue a)
(x: dtuple2 (cllist_lvalue a) (vdep_payload (emp `vrefine` cllist0_refine c `vrewrite` cllist0_rewrite c) (cllist0 a)))
: GTot (vllist a)
= let p =
dsnd #(cllist_lvalue a) #(vdep_payload (emp `vrefine` cllist0_refine c `vrewrite` cllist0_rewrite c) (cllist... | {
"file_name": "share/steel/examples/steel/CQueue.LList.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 53,
"start_col": 0,
"start_line": 42
} | module CQueue.LList
noeq
type cllist_ptrvalue (a: Type0) = {
head: ref (ccell_ptrvalue a);
tail: ref (ref (ccell_ptrvalue a));
all_or_none_null: squash (is_null head == is_null tail);
}
let cllist_ptrvalue_null a = {head = null; tail = null; all_or_none_null = ()}
let cllist_ptrvalue_is_null #a x = is_null x.h... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "CQueue.LList.fst"
} | [
{
"abbrev": false,
"full_module": "Steel.Reference",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
c: CQueue.LList.cllist_ptrvalue a ->
x:
Prims.dtuple2 (CQueue.LList.cllist_lvalue a)
(Steel.Effect.Common.vdep_payload (Steel.Effect.Common.vrewrite (Steel.Effect.Common.vrefine
Steel.Effect.Common.emp
(CQueue.LList.cllist0_refine c))
(CQueu... | Prims.GTot | [
"sometrivial"
] | [] | [
"CQueue.LList.cllist_ptrvalue",
"Prims.dtuple2",
"CQueue.LList.cllist_lvalue",
"Steel.Effect.Common.vdep_payload",
"Steel.Effect.Common.vrewrite",
"Steel.Effect.Common.vrefine",
"Steel.Effect.Common.emp",
"CQueue.LList.cllist0_refine",
"CQueue.LList.cllist0_rewrite",
"CQueue.LList.cllist0",
"CQu... | [] | false | false | false | false | false | let cllist_rewrite
(#a: Type0)
(c: cllist_ptrvalue a)
(x:
dtuple2 (cllist_lvalue a)
(vdep_payload ((emp `vrefine` (cllist0_refine c)) `vrewrite` (cllist0_rewrite c))
(cllist0 a)))
: GTot (vllist a) =
| let p =
dsnd #(cllist_lvalue a)
#(vdep_payload ((emp `vrefine` (cllist0_refine c)) `vrewrite` (cllist0_rewrite c)) (cllist0 a))
x
in
{ vllist_head = fst p; vllist_tail = snd p } | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.tmatch | val tmatch (t1 t2: term) : Tac bool | val tmatch (t1 t2: term) : Tac bool | let tmatch (t1 t2 : term) : Tac bool =
let e = cur_env () in
match_env e t1 t2 | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 299,
"start_col": 0,
"start_line": 297
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t1: FStar.Tactics.NamedView.term -> t2: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac Prims.bool | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.match_env",
"Prims.bool",
"FStar.Stubs.Reflection.Types.env",
"FStar.Tactics.V2.Derived.cur_env"
] | [] | false | true | false | false | false | let tmatch (t1 t2: term) : Tac bool =
| let e = cur_env () in
match_env e t1 t2 | false |
Spec.Ed25519.fst | Spec.Ed25519.point_mul_double_g | val point_mul_double_g (a1 a2: lbytes 32) (p: ext_point_c) : ext_point_c | val point_mul_double_g (a1 a2: lbytes 32) (p: ext_point_c) : ext_point_c | let point_mul_double_g (a1:lbytes 32) (a2:lbytes 32) (p:ext_point_c) : ext_point_c =
EL.g_is_on_curve ();
point_mul_double a1 g a2 p | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 28,
"end_line": 92,
"start_col": 0,
"start_line": 90
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | a1: Lib.ByteSequence.lbytes 32 -> a2: Lib.ByteSequence.lbytes 32 -> p: Spec.Ed25519.ext_point_c
-> Spec.Ed25519.ext_point_c | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Spec.Ed25519.ext_point_c",
"Spec.Ed25519.point_mul_double",
"Spec.Ed25519.PointOps.g",
"Prims.unit",
"Spec.Ed25519.Lemmas.g_is_on_curve"
] | [] | false | false | false | false | false | let point_mul_double_g (a1 a2: lbytes 32) (p: ext_point_c) : ext_point_c =
| EL.g_is_on_curve ();
point_mul_double a1 g a2 p | false |
Spec.Ed25519.fst | Spec.Ed25519.point_negate_mul_double_g | val point_negate_mul_double_g (a1 a2: lbytes 32) (p: ext_point_c) : ext_point_c | val point_negate_mul_double_g (a1 a2: lbytes 32) (p: ext_point_c) : ext_point_c | let point_negate_mul_double_g (a1:lbytes 32) (a2:lbytes 32) (p:ext_point_c) : ext_point_c =
let p1 = point_negate p in
EL.to_aff_point_negate p;
point_mul_double_g a1 a2 p1 | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 29,
"end_line": 98,
"start_col": 0,
"start_line": 95
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | a1: Lib.ByteSequence.lbytes 32 -> a2: Lib.ByteSequence.lbytes 32 -> p: Spec.Ed25519.ext_point_c
-> Spec.Ed25519.ext_point_c | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Spec.Ed25519.ext_point_c",
"Spec.Ed25519.point_mul_double_g",
"Prims.unit",
"Spec.Ed25519.Lemmas.to_aff_point_negate",
"Spec.Ed25519.PointOps.ext_point",
"Spec.Ed25519.PointOps.point_negate"
] | [] | false | false | false | false | false | let point_negate_mul_double_g (a1 a2: lbytes 32) (p: ext_point_c) : ext_point_c =
| let p1 = point_negate p in
EL.to_aff_point_negate p;
point_mul_double_g a1 a2 p1 | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.dump1 | val dump1 : m: Prims.string -> FStar.Tactics.Effect.Tac Prims.unit | let dump1 (m : string) = focus (fun () -> dump m) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 49,
"end_line": 339,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | m: Prims.string -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.string",
"FStar.Tactics.V2.Derived.focus",
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.dump"
] | [] | false | true | false | false | false | let dump1 (m: string) =
| focus (fun () -> dump m) | false | |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.fresh_uvar | val fresh_uvar (o: option typ) : Tac term | val fresh_uvar (o: option typ) : Tac term | let fresh_uvar (o : option typ) : Tac term =
let e = cur_env () in
uvar_env e o | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 16,
"end_line": 287,
"start_col": 0,
"start_line": 285
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | o: FStar.Pervasives.Native.option FStar.Stubs.Reflection.Types.typ
-> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Pervasives.Native.option",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Tactics.V2.Builtins.uvar_env",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.Types.env",
"FStar.Tactics.V2.Derived.cur_env",
"FStar.Tactics.NamedView.term"
] | [] | false | true | false | false | false | let fresh_uvar (o: option typ) : Tac term =
| let e = cur_env () in
uvar_env e o | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.unify_guard | val unify_guard (t1 t2: term) : Tac bool | val unify_guard (t1 t2: term) : Tac bool | let unify_guard (t1 t2 : term) : Tac bool =
let e = cur_env () in
unify_guard_env e t1 t2 | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 27,
"end_line": 295,
"start_col": 0,
"start_line": 293
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t1: FStar.Tactics.NamedView.term -> t2: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac Prims.bool | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.unify_guard_env",
"Prims.bool",
"FStar.Stubs.Reflection.Types.env",
"FStar.Tactics.V2.Derived.cur_env"
] | [] | false | true | false | false | false | let unify_guard (t1 t2: term) : Tac bool =
| let e = cur_env () in
unify_guard_env e t1 t2 | false |
Spec.Ed25519.fst | Spec.Ed25519.point_mul | val point_mul (a: lbytes 32) (p: ext_point_c) : ext_point_c | val point_mul (a: lbytes 32) (p: ext_point_c) : ext_point_c | let point_mul (a:lbytes 32) (p:ext_point_c) : ext_point_c =
SE.exp_fw mk_ed25519_concrete_ops p 256 (nat_from_bytes_le a) 4 | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 78,
"start_col": 0,
"start_line": 77
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | a: Lib.ByteSequence.lbytes 32 -> p: Spec.Ed25519.ext_point_c -> Spec.Ed25519.ext_point_c | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Spec.Ed25519.ext_point_c",
"Spec.Exponentiation.exp_fw",
"Spec.Ed25519.mk_ed25519_concrete_ops",
"Lib.ByteSequence.nat_from_bytes_le",
"Lib.IntTypes.SEC"
] | [] | false | false | false | false | false | let point_mul (a: lbytes 32) (p: ext_point_c) : ext_point_c =
| SE.exp_fw mk_ed25519_concrete_ops p 256 (nat_from_bytes_le a) 4 | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.open_modules | val open_modules: Prims.unit -> Tac (list name) | val open_modules: Prims.unit -> Tac (list name) | let open_modules () : Tac (list name) =
env_open_modules (top_env ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 33,
"end_line": 283,
"start_col": 0,
"start_line": 282
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.Types.name) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Reflection.V2.Builtins.env_open_modules",
"Prims.list",
"FStar.Stubs.Reflection.Types.name",
"FStar.Stubs.Reflection.Types.env",
"FStar.Stubs.Tactics.V2.Builtins.top_env"
] | [] | false | true | false | false | false | let open_modules () : Tac (list name) =
| env_open_modules (top_env ()) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.unify | val unify (t1 t2: term) : Tac bool | val unify (t1 t2: term) : Tac bool | let unify (t1 t2 : term) : Tac bool =
let e = cur_env () in
unify_env e t1 t2 | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 291,
"start_col": 0,
"start_line": 289
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t1: FStar.Tactics.NamedView.term -> t2: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac Prims.bool | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.unify_env",
"Prims.bool",
"FStar.Stubs.Reflection.Types.env",
"FStar.Tactics.V2.Derived.cur_env"
] | [] | false | true | false | false | false | let unify (t1 t2: term) : Tac bool =
| let e = cur_env () in
unify_env e t1 t2 | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived._cur_goal | val _cur_goal: Prims.unit -> Tac goal | val _cur_goal: Prims.unit -> Tac goal | let _cur_goal () : Tac goal =
match goals () with
| [] -> fail "no more goals"
| g::_ -> g | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 15,
"end_line": 75,
"start_col": 0,
"start_line": 72
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Stubs.Tactics.Types.goal | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.fail",
"FStar.Stubs.Tactics.Types.goal",
"Prims.list",
"FStar.Tactics.V2.Derived.goals"
] | [] | false | true | false | false | false | let _cur_goal () : Tac goal =
| match goals () with
| [] -> fail "no more goals"
| g :: _ -> g | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.exact_n | val exact_n (n: int) (t: term) : Tac unit | val exact_n (n: int) (t: term) : Tac unit | let exact_n (n : int) (t : term) : Tac unit =
exact_args (repeatn n (fun () -> Q_Explicit)) t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 51,
"end_line": 379,
"start_col": 0,
"start_line": 378
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | n: Prims.int -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.int",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.Derived.exact_args",
"Prims.unit",
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"FStar.Tactics.Util.repeatn",
"FStar.Stubs.Reflection.V2.Data.Q_Explicit",
"Prims.l_or",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.eq2",
"FS... | [] | false | true | false | false | false | let exact_n (n: int) (t: term) : Tac unit =
| exact_args (repeatn n (fun () -> Q_Explicit)) t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.seq | val seq (f g: (unit -> Tac unit)) : Tac unit | val seq (f g: (unit -> Tac unit)) : Tac unit | let seq (f : unit -> Tac unit) (g : unit -> Tac unit) : Tac unit =
focus (fun () -> f (); iterAll g) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 37,
"end_line": 365,
"start_col": 0,
"start_line": 364
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 |
f: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) ->
g: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit)
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.focus",
"FStar.Tactics.V2.Derived.iterAll"
] | [] | false | true | false | false | false | let seq (f g: (unit -> Tac unit)) : Tac unit =
| focus (fun () ->
f ();
iterAll g) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.exact_args | val exact_args (qs: list aqualv) (t: term) : Tac unit | val exact_args (qs: list aqualv) (t: term) : Tac unit | let exact_args (qs : list aqualv) (t : term) : Tac unit =
focus (fun () ->
let n = List.Tot.Base.length qs in
let uvs = repeatn n (fun () -> fresh_uvar None) in
let t' = mk_app t (zip uvs qs) in
exact t';
iter (fun uv -> if is_uvar uv
then unshelve uv
... | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 5,
"end_line": 376,
"start_col": 0,
"start_line": 367
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | qs: Prims.list FStar.Stubs.Reflection.V2.Data.aqualv -> t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.Derived.focus",
"Prims.unit",
"FStar.Tactics.Util.iter",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.V2.Derived.is_uvar",
"FStar.Stubs.Tactics.V2.Builtins.unshelve",
"Prims.bool",
... | [] | false | true | false | false | false | let exact_args (qs: list aqualv) (t: term) : Tac unit =
| focus (fun () ->
let n = List.Tot.Base.length qs in
let uvs = repeatn n (fun () -> fresh_uvar None) in
let t' = mk_app t (zip uvs qs) in
exact t';
iter (fun uv -> if is_uvar uv then unshelve uv) (L.rev uvs)) | false |
Spec.Ed25519.fst | Spec.Ed25519.point_mul_double | val point_mul_double (a1: lbytes 32) (p1: ext_point_c) (a2: lbytes 32) (p2: ext_point_c)
: ext_point_c | val point_mul_double (a1: lbytes 32) (p1: ext_point_c) (a2: lbytes 32) (p2: ext_point_c)
: ext_point_c | let point_mul_double (a1:lbytes 32) (p1:ext_point_c) (a2:lbytes 32) (p2:ext_point_c) : ext_point_c =
SE.exp_double_fw mk_ed25519_concrete_ops p1 256 (nat_from_bytes_le a1) p2 (nat_from_bytes_le a2) 5 | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 100,
"end_line": 82,
"start_col": 0,
"start_line": 81
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 |
a1: Lib.ByteSequence.lbytes 32 ->
p1: Spec.Ed25519.ext_point_c ->
a2: Lib.ByteSequence.lbytes 32 ->
p2: Spec.Ed25519.ext_point_c
-> Spec.Ed25519.ext_point_c | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Spec.Ed25519.ext_point_c",
"Spec.Exponentiation.exp_double_fw",
"Spec.Ed25519.mk_ed25519_concrete_ops",
"Lib.ByteSequence.nat_from_bytes_le",
"Lib.IntTypes.SEC"
] | [] | false | false | false | false | false | let point_mul_double (a1: lbytes 32) (p1: ext_point_c) (a2: lbytes 32) (p2: ext_point_c)
: ext_point_c =
| SE.exp_double_fw mk_ed25519_concrete_ops p1 256 (nat_from_bytes_le a1) p2 (nat_from_bytes_le a2) 5 | false |
Spec.Ed25519.fst | Spec.Ed25519.sign | val sign: secret:lbytes 32 -> msg:bytes{length msg <= max_size_t} -> lbytes 64 | val sign: secret:lbytes 32 -> msg:bytes{length msg <= max_size_t} -> lbytes 64 | let sign secret msg =
let pub, s, prefix = expand_keys secret in
sign_expanded pub s prefix msg | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 32,
"end_line": 136,
"start_col": 0,
"start_line": 134
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 |
secret: Lib.ByteSequence.lbytes 32 ->
msg: Lib.ByteSequence.bytes{Lib.Sequence.length msg <= Lib.IntTypes.max_size_t}
-> Lib.ByteSequence.lbytes 64 | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Lib.ByteSequence.bytes",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Lib.Sequence.length",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.IntTypes.max_size_t",
"Spec.Ed25519.sign_expanded",
"FStar.Pervasives.Native.tuple3",
"Lib.Sequence.lseq",
"... | [] | false | false | false | false | false | let sign secret msg =
| let pub, s, prefix = expand_keys secret in
sign_expanded pub s prefix msg | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.ngoals | val ngoals: Prims.unit -> Tac int | val ngoals: Prims.unit -> Tac int | let ngoals () : Tac int = List.Tot.Base.length (goals ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 57,
"end_line": 382,
"start_col": 0,
"start_line": 382
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.List.Tot.Base.length",
"FStar.Stubs.Tactics.Types.goal",
"Prims.int",
"Prims.list",
"FStar.Tactics.V2.Derived.goals"
] | [] | false | true | false | false | false | let ngoals () : Tac int =
| List.Tot.Base.length (goals ()) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.dismiss | val dismiss: Prims.unit -> Tac unit | val dismiss: Prims.unit -> Tac unit | let dismiss () : Tac unit =
match goals () with
| [] -> fail "dismiss: no more goals"
| _::gs -> set_goals gs | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 27,
"end_line": 135,
"start_col": 0,
"start_line": 132
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.fail",
"FStar.Stubs.Tactics.Types.goal",
"Prims.list",
"FStar.Stubs.Tactics.V2.Builtins.set_goals",
"FStar.Tactics.V2.Derived.goals"
] | [] | false | true | false | false | false | let dismiss () : Tac unit =
| match goals () with
| [] -> fail "dismiss: no more goals"
| _ :: gs -> set_goals gs | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_lemma_Store_stack64 | val va_lemma_Store_stack64 : va_b0:va_code -> va_s0:va_state -> src:va_operand_reg_opr -> offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Store_stack64 src offset) va_s0 /\ va_is_src_reg_opr
src va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\... | val va_lemma_Store_stack64 : va_b0:va_code -> va_s0:va_state -> src:va_operand_reg_opr -> offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Store_stack64 src offset) va_s0 /\ va_is_src_reg_opr
src va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\... | let va_lemma_Store_stack64 va_b0 va_s0 src offset =
va_reveal_opaque (`%va_code_Store_stack64) (va_code_Store_stack64 src offset);
let (va_old_s:va_state) = va_s0 in
va_ins_lemma (Ins (S.StoreStack64 src Secret offset)) va_s0;
let (va_sM, va_fM) = va_eval_ins (Ins (S.StoreStack64 src Secret offset)) va_s0 in
... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 155,
"start_col": 0,
"start_line": 150
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
src: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.PPC64LE.State.state",
"Vale.PPC64LE.Lemmas.fuel",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.tuple2",
"Vale.PPC64LE.Machine_s.sta... | [] | false | false | false | false | false | let va_lemma_Store_stack64 va_b0 va_s0 src offset =
| va_reveal_opaque (`%va_code_Store_stack64) (va_code_Store_stack64 src offset);
let va_old_s:va_state = va_s0 in
va_ins_lemma (Ins (S.StoreStack64 src Secret offset)) va_s0;
let va_sM, va_fM = va_eval_ins (Ins (S.StoreStack64 src Secret offset)) va_s0 in
(va_sM, va_fM) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.iterAllSMT | val iterAllSMT (t: (unit -> Tac unit)) : Tac unit | val iterAllSMT (t: (unit -> Tac unit)) : Tac unit | let iterAllSMT (t : unit -> Tac unit) : Tac unit =
let gs, sgs = goals (), smt_goals () in
set_goals sgs;
set_smt_goals [];
iterAll t;
let gs', sgs' = goals (), smt_goals () in
set_goals gs;
set_smt_goals (gs'@sgs') | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 28,
"end_line": 359,
"start_col": 0,
"start_line": 352
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Stubs.Tactics.V2.Builtins.set_smt_goals",
"FStar.Tactics.V2.Derived.op_At",
"FStar.Stubs.Tactics.V2.Builtins.set_goals",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Tactics.V2.Derived.smt_goals",
... | [] | false | true | false | false | false | let iterAllSMT (t: (unit -> Tac unit)) : Tac unit =
| let gs, sgs = goals (), smt_goals () in
set_goals sgs;
set_smt_goals [];
iterAll t;
let gs', sgs' = goals (), smt_goals () in
set_goals gs;
set_smt_goals (gs' @ sgs') | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.trytac | val trytac (t: (unit -> Tac 'a)) : Tac (option 'a) | val trytac (t: (unit -> Tac 'a)) : Tac (option 'a) | let trytac (t : unit -> Tac 'a) : Tac (option 'a) =
try Some (t ())
with
| _ -> None | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 15,
"end_line": 454,
"start_col": 0,
"start_line": 451
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: (_: Prims.unit -> FStar.Tactics.Effect.Tac 'a)
-> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option 'a) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.try_with",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.Some",
"Prims.exn",
"FStar.Pervasives.Native.None"
] | [] | false | true | false | false | false | let trytac (t: (unit -> Tac 'a)) : Tac (option 'a) =
| try Some (t ()) with | _ -> None | false |
Spec.Ed25519.fst | Spec.Ed25519.secret_to_public | val secret_to_public (secret: lbytes 32) : lbytes 32 | val secret_to_public (secret: lbytes 32) : lbytes 32 | let secret_to_public (secret:lbytes 32) : lbytes 32 =
let a, dummy = secret_expand secret in
point_compress (point_mul_g a) | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 32,
"end_line": 113,
"start_col": 0,
"start_line": 111
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | secret: Lib.ByteSequence.lbytes 32 -> Lib.ByteSequence.lbytes 32 | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Spec.Ed25519.PointOps.point_compress",
"Spec.Ed25519.point_mul_g",
"FStar.Pervasives.Native.tuple2",
"Lib.Sequence.lseq",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Spec.Ed25519.secret_expand"
] | [] | false | false | false | false | false | let secret_to_public (secret: lbytes 32) : lbytes 32 =
| let a, dummy = secret_expand secret in
point_compress (point_mul_g a) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.cur_goal_safe | val cur_goal_safe: Prims.unit
-> TacH goal
(requires (fun ps -> ~(goals_of ps == [])))
(ensures (fun ps0 r -> exists g. r == Success g ps0)) | val cur_goal_safe: Prims.unit
-> TacH goal
(requires (fun ps -> ~(goals_of ps == [])))
(ensures (fun ps0 r -> exists g. r == Success g ps0)) | let cur_goal_safe () : TacH goal (requires (fun ps -> ~(goals_of ps == [])))
(ensures (fun ps0 r -> exists g. r == Success g ps0))
= match goals_of (get ()) with
| g :: _ -> g | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 16,
"end_line": 92,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.TacH FStar.Stubs.Tactics.Types.goal | FStar.Tactics.Effect.TacH | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.goal",
"Prims.list",
"FStar.Stubs.Tactics.Types.goals_of",
"FStar.Stubs.Tactics.Types.proofstate",
"FStar.Tactics.Effect.get",
"Prims.l_not",
"Prims.eq2",
"Prims.Nil",
"FStar.Stubs.Tactics.Result.__result",
"Prims.l_Exists",
"FStar.Stubs.Tactics.Result.... | [] | false | true | false | false | false | let cur_goal_safe ()
: TacH goal
(requires (fun ps -> ~(goals_of ps == [])))
(ensures (fun ps0 r -> exists g. r == Success g ps0)) =
| match goals_of (get ()) with | g :: _ -> g | false |
Spec.Ed25519.fst | Spec.Ed25519.expand_keys | val expand_keys (secret: lbytes 32) : (lbytes 32 & lbytes 32 & lbytes 32) | val expand_keys (secret: lbytes 32) : (lbytes 32 & lbytes 32 & lbytes 32) | let expand_keys (secret:lbytes 32) : (lbytes 32 & lbytes 32 & lbytes 32) =
let s, prefix = secret_expand secret in
let pub = point_compress (point_mul_g s) in
pub, s, prefix | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 119,
"start_col": 0,
"start_line": 116
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 | secret: Lib.ByteSequence.lbytes 32
-> (Lib.ByteSequence.lbytes 32 * Lib.ByteSequence.lbytes 32) * Lib.ByteSequence.lbytes 32 | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"FStar.Pervasives.Native.Mktuple3",
"Lib.Sequence.lseq",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Spec.Ed25519.PointOps.point_compress",
"Spec.Ed25519.point_mul_g",
"FStar.Pervasives.Native.tuple3",
"FStar.Pervasives.Native.tuple2",
"Spec.Ed25519.s... | [] | false | false | false | false | false | let expand_keys (secret: lbytes 32) : (lbytes 32 & lbytes 32 & lbytes 32) =
| let s, prefix = secret_expand secret in
let pub = point_compress (point_mul_g s) in
pub, s, prefix | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.discard | val discard: tau: (unit -> Tac 'a) -> unit -> Tac unit | val discard: tau: (unit -> Tac 'a) -> unit -> Tac unit | let discard (tau : unit -> Tac 'a) : unit -> Tac unit =
fun () -> let _ = tau () in () | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 34,
"end_line": 500,
"start_col": 0,
"start_line": 499
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | tau: (_: Prims.unit -> FStar.Tactics.Effect.Tac 'a) -> _: Prims.unit
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit"
] | [] | false | true | false | false | false | let discard (tau: (unit -> Tac 'a)) : unit -> Tac unit =
| fun () ->
let _ = tau () in
() | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.norm_term | val norm_term (s: list norm_step) (t: term) : Tac term | val norm_term (s: list norm_step) (t: term) : Tac term | let norm_term (s : list norm_step) (t : term) : Tac term =
let e =
try cur_env ()
with | _ -> top_env ()
in
norm_term_env e s t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 23,
"end_line": 484,
"start_col": 0,
"start_line": 479
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | s: Prims.list FStar.Pervasives.norm_step -> t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.list",
"FStar.Pervasives.norm_step",
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.norm_term_env",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.Types.env",
"FStar.Tactics.V2.Derived.try_with",
"Prims.unit",
"FStar.Tactics.V2.Derived.cur_env",
"Prims.exn",
... | [] | false | true | false | false | false | let norm_term (s: list norm_step) (t: term) : Tac term =
| let e = try cur_env () with | _ -> top_env () in
norm_term_env e s t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.fail_silently | val fail_silently (#a: Type) (m: string)
: TAC a (fun _ post -> forall ps. post (Failed (TacticFailure m) ps)) | val fail_silently (#a: Type) (m: string)
: TAC a (fun _ post -> forall ps. post (Failed (TacticFailure m) ps)) | let fail_silently (#a:Type) (m:string)
: TAC a (fun _ post -> forall ps. post (Failed (TacticFailure m) ps))
= set_urgency 0;
raise #a (TacticFailure m) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 69,
"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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | m: Prims.string -> FStar.Tactics.Effect.TAC a | FStar.Tactics.Effect.TAC | [] | [] | [
"Prims.string",
"FStar.Tactics.Effect.raise",
"FStar.Stubs.Tactics.Common.TacticFailure",
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.set_urgency",
"FStar.Stubs.Tactics.Types.proofstate",
"FStar.Stubs.Tactics.Result.__result",
"Prims.l_Forall",
"FStar.Stubs.Tactics.Result.Failed",
"Prims.logica... | [] | false | true | false | false | false | let fail_silently (#a: Type) (m: string)
: TAC a (fun _ post -> forall ps. post (Failed (TacticFailure m) ps)) =
| set_urgency 0;
raise #a (TacticFailure m) | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.repeatseq | val repeatseq (#a: Type) (t: (unit -> Tac a)) : Tac unit | val repeatseq (#a: Type) (t: (unit -> Tac a)) : Tac unit | let rec repeatseq (#a:Type) (t : unit -> Tac a) : Tac unit =
let _ = trytac (fun () -> (discard t) `seq` (discard (fun () -> repeatseq t))) in () | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 88,
"end_line": 504,
"start_col": 0,
"start_line": 503
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: (_: Prims.unit -> FStar.Tactics.Effect.Tac a) -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Pervasives.Native.option",
"FStar.Tactics.V2.Derived.trytac",
"FStar.Tactics.V2.Derived.seq",
"FStar.Tactics.V2.Derived.discard",
"FStar.Tactics.V2.Derived.repeatseq"
] | [
"recursion"
] | false | true | false | false | false | let rec repeatseq (#a: Type) (t: (unit -> Tac a)) : Tac unit =
| let _ = trytac (fun () -> (discard t) `seq` (discard (fun () -> repeatseq t))) in
() | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.ngoals_smt | val ngoals_smt: Prims.unit -> Tac int | val ngoals_smt: Prims.unit -> Tac int | let ngoals_smt () : Tac int = List.Tot.Base.length (smt_goals ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 65,
"end_line": 385,
"start_col": 0,
"start_line": 385
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.List.Tot.Base.length",
"FStar.Stubs.Tactics.Types.goal",
"Prims.int",
"Prims.list",
"FStar.Tactics.V2.Derived.smt_goals"
] | [] | false | true | false | false | false | let ngoals_smt () : Tac int =
| List.Tot.Base.length (smt_goals ()) | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_lemma_Load_stack128 | val va_lemma_Load_stack128 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_vec_opr -> offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Load_stack128 dst offset) va_s0 /\ va_is_dst_vec_opr
dst va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset128 offset /... | val va_lemma_Load_stack128 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_vec_opr -> offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Load_stack128 dst offset) va_s0 /\ va_is_dst_vec_opr
dst va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset128 offset /... | let va_lemma_Load_stack128 va_b0 va_s0 dst offset =
va_reveal_opaque (`%va_code_Load_stack128) (va_code_Load_stack128 dst offset);
let (va_old_s:va_state) = va_s0 in
va_ins_lemma (Ins (S.LoadStack128 dst Secret offset)) va_s0;
let (va_sM, va_fM) = va_eval_ins (Ins (S.LoadStack128 dst Secret offset)) va_s0 in
... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 126,
"start_col": 0,
"start_line": 119
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
dst: Vale.PPC64LE.Decls.va_operand_vec_opr ->
offset: Prims.int
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Prims.int",
"Vale.PPC64LE.State.state",
"Vale.PPC64LE.Lemmas.fuel",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"Prims.unit",
"Vale.PPC64LE.Stack_i.lemma_valid_taint_stack12... | [] | false | false | false | false | false | let va_lemma_Load_stack128 va_b0 va_s0 dst offset =
| va_reveal_opaque (`%va_code_Load_stack128) (va_code_Load_stack128 dst offset);
let va_old_s:va_state = va_s0 in
va_ins_lemma (Ins (S.LoadStack128 dst Secret offset)) va_s0;
let va_sM, va_fM = va_eval_ins (Ins (S.LoadStack128 dst Secret offset)) va_s0 in
Vale.PPC64LE.Stack_i.lemma_valid_taint_stack128 (va_get_reg 1 va_o... | false |
Vale.PPC64LE.InsStack.fst | Vale.PPC64LE.InsStack.va_lemma_Load_stack64 | val va_lemma_Load_stack64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_reg_opr -> offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Load_stack64 dst offset) va_s0 /\ va_is_dst_reg_opr
dst va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\
... | val va_lemma_Load_stack64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_reg_opr -> offset:int
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Load_stack64 dst offset) va_s0 /\ va_is_dst_reg_opr
dst va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\
... | let va_lemma_Load_stack64 va_b0 va_s0 dst offset =
va_reveal_opaque (`%va_code_Load_stack64) (va_code_Load_stack64 dst offset);
let (va_old_s:va_state) = va_s0 in
va_ins_lemma (Ins (S.LoadStack64 dst Secret offset)) va_s0;
let (va_sM, va_fM) = va_eval_ins (Ins (S.LoadStack64 dst Secret offset)) va_s0 in
Vale.... | {
"file_name": "obj/Vale.PPC64LE.InsStack.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 187,
"start_col": 0,
"start_line": 180
} | module Vale.PPC64LE.InsStack
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.StateLemmas
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.Stack_Sems
module S = Vale.PPC64LE.Semantics_s
module P = Val... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.StateLemmas.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_Sems.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.PPC64LE.Semanti... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Print_s",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_Sems",
"short_module": null
},
{
"abbrev": fal... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
dst: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.PPC64LE.State.state",
"Vale.PPC64LE.Lemmas.fuel",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"Prims.unit",
"Vale.PPC64LE.Stack_i.lemma_valid_taint_stack64... | [] | false | false | false | false | false | let va_lemma_Load_stack64 va_b0 va_s0 dst offset =
| va_reveal_opaque (`%va_code_Load_stack64) (va_code_Load_stack64 dst offset);
let va_old_s:va_state = va_s0 in
va_ins_lemma (Ins (S.LoadStack64 dst Secret offset)) va_s0;
let va_sM, va_fM = va_eval_ins (Ins (S.LoadStack64 dst Secret offset)) va_s0 in
Vale.PPC64LE.Stack_i.lemma_valid_taint_stack64 (va_get_reg 1 va_old_s ... | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.or_else | val or_else (#a: Type) (t1 t2: (unit -> Tac a)) : Tac a | val or_else (#a: Type) (t1 t2: (unit -> Tac a)) : Tac a | let or_else (#a:Type) (t1 : unit -> Tac a) (t2 : unit -> Tac a) : Tac a =
try t1 ()
with | _ -> t2 () | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 458,
"start_col": 0,
"start_line": 456
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 |
t1: (_: Prims.unit -> FStar.Tactics.Effect.Tac a) ->
t2: (_: Prims.unit -> FStar.Tactics.Effect.Tac a)
-> FStar.Tactics.Effect.Tac a | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.try_with",
"Prims.exn"
] | [] | false | true | false | false | false | let or_else (#a: Type) (t1 t2: (unit -> Tac a)) : Tac a =
| try t1 () with | _ -> t2 () | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.smt | val smt: Prims.unit -> Tac unit | val smt: Prims.unit -> Tac unit | let smt () : Tac unit =
match goals (), smt_goals () with
| [], _ -> fail "smt: no active goals"
| g::gs, gs' ->
begin
set_goals gs;
set_smt_goals (g :: gs')
end | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 11,
"end_line": 167,
"start_col": 0,
"start_line": 160
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Tactics.V2.Derived.fail",
"FStar.Stubs.Tactics.V2.Builtins.set_smt_goals",
"Prims.Cons",
"FStar.Stubs.Tactics.V2.Builtins.set_goals",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Tactics.V2.Derived... | [] | false | true | false | false | false | let smt () : Tac unit =
| match goals (), smt_goals () with
| [], _ -> fail "smt: no active goals"
| g :: gs, gs' ->
set_goals gs;
set_smt_goals (g :: gs') | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.first | val first (ts: list (unit -> Tac 'a)) : Tac 'a | val first (ts: list (unit -> Tac 'a)) : Tac 'a | let first (ts : list (unit -> Tac 'a)) : Tac 'a =
L.fold_right (<|>) ts (fun () -> fail "no tactics to try") () | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 65,
"end_line": 466,
"start_col": 0,
"start_line": 465
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | ts: Prims.list (_: Prims.unit -> FStar.Tactics.Effect.Tac 'a) -> FStar.Tactics.Effect.Tac 'a | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.list",
"Prims.unit",
"FStar.List.Tot.Base.fold_right",
"FStar.Tactics.V2.Derived.op_Less_Bar_Greater",
"FStar.Tactics.V2.Derived.fail"
] | [] | false | true | false | false | false | let first (ts: list (unit -> Tac 'a)) : Tac 'a =
| L.fold_right ( <|> ) ts (fun () -> fail "no tactics to try") () | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.admit_all | val admit_all: Prims.unit -> Tac unit | val admit_all: Prims.unit -> Tac unit | let admit_all () : Tac unit =
let _ = repeat tadmit in
() | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 6,
"end_line": 513,
"start_col": 0,
"start_line": 511
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Tactics.V2.Derived.repeat",
"FStar.Tactics.V2.Derived.tadmit"
] | [] | false | true | false | false | false | let admit_all () : Tac unit =
| let _ = repeat tadmit in
() | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.repeat' | val repeat' (f: (unit -> Tac 'a)) : Tac unit | val repeat' (f: (unit -> Tac 'a)) : Tac unit | let repeat' (f : unit -> Tac 'a) : Tac unit =
let _ = repeat f in () | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 26,
"end_line": 477,
"start_col": 0,
"start_line": 476
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | f: (_: Prims.unit -> FStar.Tactics.Effect.Tac 'a) -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Tactics.V2.Derived.repeat"
] | [] | false | true | false | false | false | let repeat' (f: (unit -> Tac 'a)) : Tac unit =
| let _ = repeat f in
() | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.join_all_smt_goals | val join_all_smt_goals : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | let join_all_smt_goals () =
let gs, sgs = goals (), smt_goals () in
set_smt_goals [];
set_goals sgs;
repeat' join;
let sgs' = goals () in // should be a single one
set_goals gs;
set_smt_goals sgs' | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 20,
"end_line": 497,
"start_col": 0,
"start_line": 490
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Stubs.Tactics.V2.Builtins.set_smt_goals",
"FStar.Stubs.Tactics.V2.Builtins.set_goals",
"FStar.Tactics.V2.Derived.goals",
"FStar.Tactics.V2.Derived.repeat'",
"FStar.Stubs.Tactics.V2.Builtins.join",
"Prims.Nil",
"FStar.Pervasives.N... | [] | false | true | false | false | false | let join_all_smt_goals () =
| let gs, sgs = goals (), smt_goals () in
set_smt_goals [];
set_goals sgs;
repeat' join;
let sgs' = goals () in
set_goals gs;
set_smt_goals sgs' | false | |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.skip_guard | val skip_guard: Prims.unit -> Tac unit | val skip_guard: Prims.unit -> Tac unit | let skip_guard () : Tac unit =
if is_guard ()
then smt ()
else fail "" | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 16,
"end_line": 522,
"start_col": 0,
"start_line": 519
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.smt",
"Prims.bool",
"FStar.Tactics.V2.Derived.fail",
"FStar.Tactics.V2.Derived.is_guard"
] | [] | false | true | false | false | false | let skip_guard () : Tac unit =
| if is_guard () then smt () else fail "" | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.tadmit | val tadmit : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | let tadmit () = tadmit_t (`()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 506,
"start_col": 0,
"start_line": 506
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.tadmit_t"
] | [] | false | true | false | false | false | let tadmit () =
| tadmit_t (`()) | false | |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.simpl | val simpl: Prims.unit -> Tac unit | val simpl: Prims.unit -> Tac unit | let simpl () : Tac unit = norm [simplify; primops] | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 528,
"start_col": 0,
"start_line": 528
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.simplify",
"FStar.Pervasives.primops",
"Prims.Nil"
] | [] | false | true | false | false | false | let simpl () : Tac unit =
| norm [simplify; primops] | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.repeat1 | val repeat1 (#a: Type) (t: (unit -> Tac a)) : Tac (list a) | val repeat1 (#a: Type) (t: (unit -> Tac a)) : Tac (list a) | let repeat1 (#a:Type) (t : unit -> Tac a) : Tac (list a) =
t () :: repeat t | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 20,
"end_line": 474,
"start_col": 0,
"start_line": 473
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | t: (_: Prims.unit -> FStar.Tactics.Effect.Tac a) -> FStar.Tactics.Effect.Tac (Prims.list a) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.Cons",
"Prims.list",
"FStar.Tactics.V2.Derived.repeat"
] | [] | false | true | false | false | false | let repeat1 (#a: Type) (t: (unit -> Tac a)) : Tac (list a) =
| t () :: repeat t | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.guards_to_smt | val guards_to_smt: Prims.unit -> Tac unit | val guards_to_smt: Prims.unit -> Tac unit | let guards_to_smt () : Tac unit =
let _ = repeat skip_guard in
() | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 6,
"end_line": 526,
"start_col": 0,
"start_line": 524
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"Prims.list",
"FStar.Tactics.V2.Derived.repeat",
"FStar.Tactics.V2.Derived.skip_guard"
] | [] | false | true | false | false | false | let guards_to_smt () : Tac unit =
| let _ = repeat skip_guard in
() | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.pose_as | val pose_as (s: string) (t: term) : Tac binding | val pose_as (s: string) (t: term) : Tac binding | let pose_as (s:string) (t:term) : Tac binding =
let b = pose t in
rename_to b s | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 17,
"end_line": 559,
"start_col": 0,
"start_line": 557
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | s: Prims.string -> t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.binding | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.string",
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Tactics.V2.Builtins.rename_to",
"FStar.Stubs.Reflection.V2.Data.binding",
"FStar.Tactics.NamedView.binding",
"FStar.Tactics.V2.Derived.pose"
] | [] | false | true | false | false | false | let pose_as (s: string) (t: term) : Tac binding =
| let b = pose t in
rename_to b s | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.whnf | val whnf: Prims.unit -> Tac unit | val whnf: Prims.unit -> Tac unit | let whnf () : Tac unit = norm [weak; hnf; primops; delta] | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 60,
"end_line": 529,
"start_col": 0,
"start_line": 529
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.weak",
"FStar.Pervasives.hnf",
"FStar.Pervasives.primops",
"FStar.Pervasives.delta",
"Prims.Nil"
] | [] | false | true | false | false | false | let whnf () : Tac unit =
| norm [weak; hnf; primops; delta] | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.flip | val flip: Prims.unit -> Tac unit | val flip: Prims.unit -> Tac unit | let flip () : Tac unit =
let gs = goals () in
match goals () with
| [] | [_] -> fail "flip: less than two goals"
| g1::g2::gs -> set_goals (g2::g1::gs) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 42,
"end_line": 142,
"start_col": 0,
"start_line": 138
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.fail",
"FStar.Stubs.Tactics.Types.goal",
"Prims.list",
"FStar.Stubs.Tactics.V2.Builtins.set_goals",
"Prims.Cons",
"FStar.Tactics.V2.Derived.goals"
] | [] | false | true | false | false | false | let flip () : Tac unit =
| let gs = goals () in
match goals () with
| [] | [_] -> fail "flip: less than two goals"
| g1 :: g2 :: gs -> set_goals (g2 :: g1 :: gs) | false |
Spec.Ed25519.fst | Spec.Ed25519.verify | val verify: public:lbytes 32 -> msg:bytes{length msg <= max_size_t} -> signature:lbytes 64 -> bool | val verify: public:lbytes 32 -> msg:bytes{length msg <= max_size_t} -> signature:lbytes 64 -> bool | let verify public msg signature =
let len = length msg in
let a' = point_decompress public in
match a' with
| None -> false
| Some a' -> (
let rs = slice signature 0 32 in
let r' = point_decompress rs in
match r' with
| None -> false
| Some r' -> (
let sb = slice signature 32 64 in
... | {
"file_name": "specs/Spec.Ed25519.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 3,
"end_line": 162,
"start_col": 0,
"start_line": 140
} | module Spec.Ed25519
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence
open Spec.Curve25519
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module EL = Spec.Ed25519.Lemmas
include Spec.Ed25519.PointOps
#reset-options "--fuel 0 --ifuel 0 --z3rlimit 100"
inline_for_extraction
le... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Exponentiation.fsti.checked",
"Spec.Ed25519.PointOps.fst.checked",
"Spec.Ed25519.Lemmas.fsti.checked",
"Spec.Curve25519.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.Sequence... | [
{
"abbrev": false,
"full_module": "Spec.Ed25519.PointOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "Spec.Ed25519.Lemmas",
"short_module": "EL"
},
{
"abbrev": true,
"full_module": "Spec.Exponentiation",
"short_module": "SE"
},
{
"abbrev": true,
... | {
"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 |
public: Lib.ByteSequence.lbytes 32 ->
msg: Lib.ByteSequence.bytes{Lib.Sequence.length msg <= Lib.IntTypes.max_size_t} ->
signature: Lib.ByteSequence.lbytes 64
-> Prims.bool | Prims.Tot | [
"total"
] | [] | [
"Lib.ByteSequence.lbytes",
"Lib.ByteSequence.bytes",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Lib.Sequence.length",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.IntTypes.max_size_t",
"Spec.Ed25519.PointOps.ext_point",
"Prims.op_GreaterThanOrEqual",
"Lib.ByteSequence.nat_... | [] | false | false | false | false | false | let verify public msg signature =
| let len = length msg in
let a' = point_decompress public in
match a' with
| None -> false
| Some a' ->
(let rs = slice signature 0 32 in
let r' = point_decompress rs in
match r' with
| None -> false
| Some r' ->
(let sb = slice signature 32 64 in
if nat_from_bytes_le sb >= q
then... | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.compute | val compute: Prims.unit -> Tac unit | val compute: Prims.unit -> Tac unit | let compute () : Tac unit = norm [primops; iota; delta; zeta] | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 61,
"end_line": 530,
"start_col": 0,
"start_line": 530
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.V2.Builtins.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.primops",
"FStar.Pervasives.iota",
"FStar.Pervasives.delta",
"FStar.Pervasives.zeta",
"Prims.Nil"
] | [] | false | true | false | false | false | let compute () : Tac unit =
| norm [primops; iota; delta; zeta] | false |
FStar.Tactics.V2.Derived.fst | FStar.Tactics.V2.Derived.is_guard | val is_guard: Prims.unit -> Tac bool | val is_guard: Prims.unit -> Tac bool | let is_guard () : Tac bool =
Stubs.Tactics.Types.is_guard (_cur_goal ()) | {
"file_name": "ulib/FStar.Tactics.V2.Derived.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 47,
"end_line": 517,
"start_col": 0,
"start_line": 516
} | (*
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.VConfig.fsti.checked",
"FStar.Tactics.Visit.fst.checked",
"FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"FStar.Tactics.V2.SyntaxCoercions.fst.checked",
"FStar.Tactics.Util.fst.checked",
"FStar.Tactics.NamedView.fsti.che... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.Visit",
"short_module": "V"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot.Base",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.SyntaxCoercions",
"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 | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.bool | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Stubs.Tactics.Types.is_guard",
"Prims.bool",
"FStar.Stubs.Tactics.Types.goal",
"FStar.Tactics.V2.Derived._cur_goal"
] | [] | false | true | false | false | false | let is_guard () : Tac bool =
| Stubs.Tactics.Types.is_guard (_cur_goal ()) | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.