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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HyE.HCCA2.fst | HyE.HCCA2.keygen | val keygen: parent:C.rid{HyperStack.ST.witnessed (region_contains_pred parent)} -> ML (pkey * skey) | val keygen: parent:C.rid{HyperStack.ST.witnessed (region_contains_pred parent)} -> ML (pkey * skey) | let keygen parent =
let cca_pk, cca_sk = C.keygen parent in
let region = new_region parent in
let pkey = PKey #region (C.access_pk_raw cca_pk) cca_pk in
pkey, SKey cca_sk pkey | {
"file_name": "examples/crypto/HyE.HCCA2.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 24,
"end_line": 46,
"start_col": 0,
"start_line": 42
} | (*
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",
"Platform.Bytes.fst.checked",
"HyE.RSA.fst.checked",
"HyE.PlainPKE.fst.checked",
"HyE.Plain.fsti.checked",
"HyE.CCA2.fsti.checked",
"HyE.AE.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.c... | [
{
"abbrev": true,
"full_module": "HyE.RSA",
"short_module": "RSA"
},
{
"abbrev": true,
"full_module": "HyE.AE",
"short_module": "A"
},
{
"abbrev": true,
"full_module": "HyE.CCA2",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "HyE.Plain",
"short_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
parent:
HyE.CCA2.rid{FStar.HyperStack.ST.witnessed (FStar.HyperStack.ST.region_contains_pred parent)}
-> FStar.HyperStack.All.ML (HyE.HCCA2.pkey * HyE.HCCA2.skey) | FStar.HyperStack.All.ML | [] | [] | [
"HyE.CCA2.rid",
"FStar.HyperStack.ST.witnessed",
"FStar.HyperStack.ST.region_contains_pred",
"HyE.CCA2.pkey",
"HyE.CCA2.skey",
"FStar.Pervasives.Native.Mktuple2",
"HyE.HCCA2.pkey",
"HyE.HCCA2.skey",
"HyE.HCCA2.SKey",
"HyE.HCCA2.PKey",
"HyE.CCA2.access_pk_raw",
"FStar.Pervasives.Native.tuple2",... | [] | false | true | false | false | false | let keygen parent =
| let cca_pk, cca_sk = C.keygen parent in
let region = new_region parent in
let pkey = PKey #region (C.access_pk_raw cca_pk) cca_pk in
pkey, SKey cca_sk pkey | false |
HyE.HCCA2.fst | HyE.HCCA2.encrypt | val encrypt: pkey -> p -> ML c | val encrypt: pkey -> p -> ML c | let encrypt pk t =
let region = new_region pk.region in
let k = A.keygen region in
((C.encrypt pk.cca_pk k) ,(A.encrypt k t)) | {
"file_name": "examples/crypto/HyE.HCCA2.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 44,
"end_line": 51,
"start_col": 0,
"start_line": 48
} | (*
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",
"Platform.Bytes.fst.checked",
"HyE.RSA.fst.checked",
"HyE.PlainPKE.fst.checked",
"HyE.Plain.fsti.checked",
"HyE.CCA2.fsti.checked",
"HyE.AE.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.c... | [
{
"abbrev": true,
"full_module": "HyE.RSA",
"short_module": "RSA"
},
{
"abbrev": true,
"full_module": "HyE.AE",
"short_module": "A"
},
{
"abbrev": true,
"full_module": "HyE.CCA2",
"short_module": "C"
},
{
"abbrev": true,
"full_module": "HyE.Plain",
"short_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | pk: HyE.HCCA2.pkey -> t: HyE.HCCA2.p -> FStar.HyperStack.All.ML HyE.HCCA2.c | FStar.HyperStack.All.ML | [] | [] | [
"HyE.HCCA2.pkey",
"HyE.HCCA2.p",
"FStar.Pervasives.Native.Mktuple2",
"HyE.CCA2.cipher",
"HyE.AE.cipher",
"HyE.HCCA2.c",
"HyE.AE.encrypt",
"HyE.CCA2.encrypt",
"HyE.HCCA2.__proj__PKey__item__cca_pk",
"HyE.RSA.cipher",
"HyE.AE.key",
"HyE.AE.keygen",
"FStar.Monotonic.HyperHeap.rid",
"FStar.Hyp... | [] | false | true | false | false | false | let encrypt pk t =
| let region = new_region pk.region in
let k = A.keygen region in
((C.encrypt pk.cca_pk k), (A.encrypt k t)) | false |
GlobalEnv.fst | GlobalEnv.default_probe_fn | val default_probe_fn (g: global_env) : ML (option ident) | val default_probe_fn (g: global_env) : ML (option ident) | let default_probe_fn (g:global_env)
: ML (option ident)
= if H.length g.ge_probe_fn <> 1
then None
else (
match H.fold (fun k v _ -> Some v) g.ge_probe_fn (None #decl) with
| Some {d_decl={v=ExternProbe id}} -> Some id
| _ -> None
) | {
"file_name": "src/3d/GlobalEnv.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 5,
"end_line": 91,
"start_col": 0,
"start_line": 83
} | (*
Copyright 2019 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Hashtable.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List.Tot.fst.checked",
"FStar.All.fst.checked",
"Config.fst.checked",
"Ast.fst.checked"
],
"interface_file": false,
"source_f... | [
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | g: GlobalEnv.global_env -> FStar.All.ML (FStar.Pervasives.Native.option Ast.ident) | FStar.All.ML | [
"ml"
] | [] | [
"GlobalEnv.global_env",
"FStar.Pervasives.Native.None",
"Ast.ident",
"FStar.Pervasives.Native.option",
"Prims.bool",
"Ast.range",
"Ast.comments",
"FStar.Pervasives.Native.Some",
"Ast.decl",
"Hashtable.fold",
"Ast.ident'",
"GlobalEnv.__proj__Mkglobal_env__item__ge_probe_fn",
"Prims.op_disEqua... | [] | false | true | false | false | false | let default_probe_fn (g: global_env) : ML (option ident) =
| if H.length g.ge_probe_fn <> 1
then None
else
(match H.fold (fun k v _ -> Some v) g.ge_probe_fn (None #decl) with
| Some { d_decl = { v = ExternProbe id } } -> Some id
| _ -> None) | false |
GlobalEnv.fst | GlobalEnv.resolve_probe_fn | val resolve_probe_fn (g: global_env) (id: ident) : ML (option ident) | val resolve_probe_fn (g: global_env) (id: ident) : ML (option ident) | let resolve_probe_fn (g:global_env) (id:ident)
: ML (option ident)
= match H.try_find g.ge_probe_fn id.v with
| Some {d_decl={v=ExternProbe id}} -> Some id
| _ -> None | {
"file_name": "src/3d/GlobalEnv.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 15,
"end_line": 97,
"start_col": 0,
"start_line": 93
} | (*
Copyright 2019 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain as copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Hashtable.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List.Tot.fst.checked",
"FStar.All.fst.checked",
"Config.fst.checked",
"Ast.fst.checked"
],
"interface_file": false,
"source_f... | [
{
"abbrev": true,
"full_module": "Hashtable",
"short_module": "H"
},
{
"abbrev": false,
"full_module": "FStar.All",
"short_module": null
},
{
"abbrev": false,
"full_module": "Ast",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | g: GlobalEnv.global_env -> id: Ast.ident -> FStar.All.ML (FStar.Pervasives.Native.option Ast.ident) | FStar.All.ML | [
"ml"
] | [] | [
"GlobalEnv.global_env",
"Ast.ident",
"Ast.range",
"Ast.comments",
"Prims.bool",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.option",
"Ast.decl",
"FStar.Pervasives.Native.None",
"Hashtable.try_find",
"Ast.ident'",
"GlobalEnv.__proj__Mkglobal_env__item__ge_probe_fn",
"Ast.__proj__... | [] | false | true | false | false | false | let resolve_probe_fn (g: global_env) (id: ident) : ML (option ident) =
| match H.try_find g.ge_probe_fn id.v with
| Some { d_decl = { v = ExternProbe id } } -> Some id
| _ -> None | false |
Steel.ST.CancellableSpinLock.fsti | Steel.ST.CancellableSpinLock.maybe_acquired | val maybe_acquired : b: Prims.bool -> c: Steel.ST.CancellableSpinLock.cancellable_lock v -> Steel.Effect.Common.vprop | let maybe_acquired (b:bool) (#v:vprop) (c:cancellable_lock v)
= if b then (v `star` can_release c) else emp | {
"file_name": "lib/steel/Steel.ST.CancellableSpinLock.fsti",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 47,
"end_line": 52,
"start_col": 0,
"start_line": 51
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Steel.ST.CancellableSpinLock.fsti"
} | [
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": false,
"full_module": "Steel.ST.SpinLock",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Reference",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: Prims.bool -> c: Steel.ST.CancellableSpinLock.cancellable_lock v -> Steel.Effect.Common.vprop | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Steel.Effect.Common.vprop",
"Steel.ST.CancellableSpinLock.cancellable_lock",
"Steel.Effect.Common.star",
"Steel.ST.CancellableSpinLock.can_release",
"Steel.Effect.Common.emp"
] | [] | false | false | false | false | false | let maybe_acquired (b: bool) (#v: vprop) (c: cancellable_lock v) =
| if b then (v `star` (can_release c)) else emp | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.lookup_fvar | val lookup_fvar (e: env) (x: fv) : option term | val lookup_fvar (e: env) (x: fv) : option term | let lookup_fvar (e:env) (x:fv) : option term = lookup_fvar_uinst e x [] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 71,
"end_line": 126,
"start_col": 0,
"start_line": 126
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | e: FStar.Stubs.Reflection.Types.env -> x: FStar.Stubs.Reflection.Types.fv
-> FStar.Pervasives.Native.option FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"FStar.Stubs.Reflection.Types.fv",
"FStar.Reflection.Typing.lookup_fvar_uinst",
"Prims.Nil",
"FStar.Stubs.Reflection.Types.universe",
"FStar.Pervasives.Native.option",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | false | let lookup_fvar (e: env) (x: fv) : option term =
| lookup_fvar_uinst e x [] | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.pp_name_default | val pp_name_default:pp_name_t | val pp_name_default:pp_name_t | let pp_name_default : pp_name_t = FStar.Sealed.Inhabited.seal "x" | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 65,
"end_line": 129,
"start_col": 0,
"start_line": 129
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Reflection.Typing.pp_name_t | Prims.Tot | [
"total"
] | [] | [
"FStar.Sealed.Inhabited.seal",
"Prims.string"
] | [] | false | false | false | true | false | let pp_name_default:pp_name_t =
| FStar.Sealed.Inhabited.seal "x" | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.sort_t | val sort_t : Type0 | let sort_t = FStar.Sealed.Inhabited.sealed tun | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 46,
"end_line": 134,
"start_col": 0,
"start_line": 134
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Sealed.Inhabited.sealed",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.tun"
] | [] | false | false | false | true | true | let sort_t =
| FStar.Sealed.Inhabited.sealed tun | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.pp_name_t | val pp_name_t : Type0 | let pp_name_t = FStar.Sealed.Inhabited.sealed "x" | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 49,
"end_line": 128,
"start_col": 0,
"start_line": 128
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Sealed.Inhabited.sealed",
"Prims.string"
] | [] | false | false | false | true | true | let pp_name_t =
| FStar.Sealed.Inhabited.sealed "x" | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.tun | val tun : FStar.Stubs.Reflection.Types.term | let tun = pack_ln Tv_Unknown | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 28,
"end_line": 132,
"start_col": 0,
"start_line": 132
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Unknown"
] | [] | false | false | false | true | false | let tun =
| pack_ln Tv_Unknown | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.sort_default | val sort_default:sort_t | val sort_default:sort_t | let sort_default : sort_t = FStar.Sealed.Inhabited.seal tun | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 59,
"end_line": 135,
"start_col": 0,
"start_line": 135
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Reflection.Typing.sort_t | Prims.Tot | [
"total"
] | [] | [
"FStar.Sealed.Inhabited.seal",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.tun"
] | [] | false | false | false | true | false | let sort_default:sort_t =
| FStar.Sealed.Inhabited.seal tun | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.map_dec | val map_dec (#a #b: _) (l: list a) (f: (x: a{x << l} -> b)) : Tot (list b) (decreases l) | val map_dec (#a #b: _) (l: list a) (f: (x: a{x << l} -> b)) : Tot (list b) (decreases l) | let rec map_dec #a #b
(l : list a)
(f : (x:a{x << l}) -> b)
: Tot (list b) (decreases l)
=
match l with
| [] -> []
| x::xs -> f x :: map_dec xs f | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 32,
"end_line": 55,
"start_col": 0,
"start_line": 48
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | l: Prims.list a -> f: (x: a{x << l} -> b) -> Prims.Tot (Prims.list b) | Prims.Tot | [
"total",
""
] | [] | [
"Prims.list",
"Prims.precedes",
"Prims.Nil",
"Prims.Cons",
"FStar.Reflection.Typing.map_dec"
] | [
"recursion"
] | false | false | false | false | false | let rec map_dec #a #b (l: list a) (f: (x: a{x << l} -> b)) : Tot (list b) (decreases l) =
| match l with
| [] -> []
| x :: xs -> f x :: map_dec xs f | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.namedv_uniq | val namedv_uniq (x: namedv) : var | val namedv_uniq (x: namedv) : var | let namedv_uniq (x:namedv)
: var
= (inspect_namedv x).uniq | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 27,
"end_line": 178,
"start_col": 0,
"start_line": 176
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: FStar.Stubs.Reflection.Types.namedv -> FStar.Stubs.Reflection.V2.Data.var | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.namedv",
"FStar.Stubs.Reflection.V2.Data.__proj__Mknamedv_view__item__uniq",
"FStar.Stubs.Reflection.V2.Builtins.inspect_namedv",
"FStar.Stubs.Reflection.V2.Data.var"
] | [] | false | false | false | true | false | let namedv_uniq (x: namedv) : var =
| (inspect_namedv x).uniq | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binder_sort | val binder_sort : b: FStar.Stubs.Reflection.Types.binder -> FStar.Stubs.Reflection.Types.typ | let binder_sort (b:binder) =
(inspect_binder b).sort | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 25,
"end_line": 181,
"start_col": 0,
"start_line": 180
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Stubs.Reflection.Types.binder -> FStar.Stubs.Reflection.Types.typ | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.binder",
"FStar.Stubs.Reflection.V2.Data.__proj__Mkbinder_view__item__sort",
"FStar.Stubs.Reflection.V2.Builtins.inspect_binder",
"FStar.Stubs.Reflection.Types.typ"
] | [] | false | false | false | true | false | let binder_sort (b: binder) =
| (inspect_binder b).sort | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.zip2prop | val zip2prop (#a #b: _) (f: (a -> b -> Type0)) (xs: list a) (ys: list b) : Type0 | val zip2prop (#a #b: _) (f: (a -> b -> Type0)) (xs: list a) (ys: list b) : Type0 | let rec zip2prop #a #b (f : a -> b -> Type0) (xs : list a) (ys : list b) : Type0 =
match xs, ys with
| [], [] -> True
| x::xx, y::yy -> f x y /\ zip2prop f xx yy
| _ -> False | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 14,
"end_line": 61,
"start_col": 0,
"start_line": 57
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: (_: a -> _: b -> Type0) -> xs: Prims.list a -> ys: Prims.list b -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Pervasives.Native.Mktuple2",
"Prims.l_True",
"Prims.l_and",
"FStar.Reflection.Typing.zip2prop",
"FStar.Pervasives.Native.tuple2",
"Prims.l_False"
] | [
"recursion"
] | false | false | false | true | true | let rec zip2prop #a #b (f: (a -> b -> Type0)) (xs: list a) (ys: list b) : Type0 =
| match xs, ys with
| [], [] -> True
| x :: xx, y :: yy -> f x y /\ zip2prop f xx yy
| _ -> False | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.bv_index | val bv_index (x: bv) : var | val bv_index (x: bv) : var | let bv_index (x:bv)
: var
= (inspect_bv x).index | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 24,
"end_line": 174,
"start_col": 0,
"start_line": 172
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: FStar.Stubs.Reflection.Types.bv -> FStar.Stubs.Reflection.V2.Data.var | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.bv",
"FStar.Stubs.Reflection.V2.Data.__proj__Mkbv_view__item__index",
"FStar.Stubs.Reflection.V2.Builtins.inspect_bv",
"FStar.Stubs.Reflection.V2.Data.var"
] | [] | false | false | false | true | false | let bv_index (x: bv) : var =
| (inspect_bv x).index | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binder_qual | val binder_qual : b: FStar.Stubs.Reflection.Types.binder -> FStar.Stubs.Reflection.V2.Data.aqualv | let binder_qual (b:binder) =
let { qual = q } = inspect_binder b in q | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 42,
"end_line": 184,
"start_col": 0,
"start_line": 183
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Stubs.Reflection.Types.binder -> FStar.Stubs.Reflection.V2.Data.aqualv | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.binder",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"Prims.list",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.ppname_t",
"FStar.Stubs.Reflection.V2.Data.binder_view",
"Prims.precedes",
"FStar.Stubs.Reflection.V2... | [] | false | false | false | true | false | let binder_qual (b: binder) =
| let { qual = q } = inspect_binder b in
q | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst | val subst : Type0 | let subst = list subst_elt | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 26,
"end_line": 197,
"start_col": 0,
"start_line": 197
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Reflection.Typing.subst_elt"
] | [] | false | false | false | true | true | let subst =
| list subst_elt | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.fold_left_dec | val fold_left_dec (#a #b: _) (acc: a) (l: list b) (f: (a -> x: b{x << l} -> a))
: Tot a (decreases l) | val fold_left_dec (#a #b: _) (acc: a) (l: list b) (f: (a -> x: b{x << l} -> a))
: Tot a (decreases l) | let rec fold_left_dec #a #b
(acc : a)
(l : list b)
(f : a -> (x:b{x << l}) -> a)
: Tot a (decreases l)
=
match l with
| [] -> acc
| x::xs -> fold_left_dec (f acc x) xs f | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 41,
"end_line": 46,
"start_col": 0,
"start_line": 38
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | acc: a -> l: Prims.list b -> f: (_: a -> x: b{x << l} -> a) -> Prims.Tot a | Prims.Tot | [
"total",
""
] | [] | [
"Prims.list",
"Prims.precedes",
"FStar.Reflection.Typing.fold_left_dec"
] | [
"recursion"
] | false | false | false | false | false | let rec fold_left_dec #a #b (acc: a) (l: list b) (f: (a -> x: b{x << l} -> a)) : Tot a (decreases l) =
| match l with
| [] -> acc
| x :: xs -> fold_left_dec (f acc x) xs f | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.maybe_uniq_of_term | val maybe_uniq_of_term : x: FStar.Stubs.Reflection.Types.term
-> FStar.Pervasives.Native.option FStar.Stubs.Reflection.V2.Data.var | let maybe_uniq_of_term (x:term) =
match inspect_ln x with
| Tv_Var namedv -> Some (namedv_uniq namedv)
| _ -> None | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 13,
"end_line": 206,
"start_col": 0,
"start_line": 203
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: FStar.Stubs.Reflection.Types.term
-> FStar.Pervasives.Native.option FStar.Stubs.Reflection.V2.Data.var | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Builtins.inspect_ln",
"FStar.Stubs.Reflection.Types.namedv",
"FStar.Pervasives.Native.Some",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Reflection.Typing.namedv_uniq",
"FStar.Stubs.Reflection.V2.Data.term_view",
"FStar.Pervasives.Native... | [] | false | false | false | true | false | let maybe_uniq_of_term (x: term) =
| match inspect_ln x with
| Tv_Var namedv -> Some (namedv_uniq namedv)
| _ -> None | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.shift_subst | val shift_subst : x: Prims.list FStar.Reflection.Typing.subst_elt -> Prims.list FStar.Reflection.Typing.subst_elt | let shift_subst = shift_subst_n 1 | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 33,
"end_line": 201,
"start_col": 0,
"start_line": 201
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Prims.list FStar.Reflection.Typing.subst_elt -> Prims.list FStar.Reflection.Typing.subst_elt | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.shift_subst_n"
] | [] | false | false | false | true | false | let shift_subst =
| shift_subst_n 1 | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.shift_subst_n | val shift_subst_n : n: Prims.nat -> x: Prims.list FStar.Reflection.Typing.subst_elt
-> Prims.list FStar.Reflection.Typing.subst_elt | let shift_subst_n (n:nat) = L.map (shift_subst_elt n) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 53,
"end_line": 199,
"start_col": 0,
"start_line": 199
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat -> x: Prims.list FStar.Reflection.Typing.subst_elt
-> Prims.list FStar.Reflection.Typing.subst_elt | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"FStar.List.Tot.Base.map",
"FStar.Reflection.Typing.subst_elt",
"FStar.Reflection.Typing.shift_subst_elt",
"Prims.list"
] | [] | false | false | false | true | false | let shift_subst_n (n: nat) =
| L.map (shift_subst_elt n) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.var_as_bv | val var_as_bv : v: Prims.nat -> FStar.Stubs.Reflection.Types.bv | let var_as_bv (v:nat) = pack_bv (make_bv v) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 43,
"end_line": 270,
"start_col": 0,
"start_line": 270
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat -> FStar.Stubs.Reflection.Types.bv | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"FStar.Stubs.Reflection.V2.Builtins.pack_bv",
"FStar.Reflection.Typing.make_bv",
"FStar.Stubs.Reflection.Types.bv"
] | [] | false | false | false | true | false | let var_as_bv (v: nat) =
| pack_bv (make_bv v) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_total | val mk_total : t: FStar.Stubs.Reflection.Types.typ -> FStar.Stubs.Reflection.Types.comp | let mk_total t = pack_comp (C_Total t) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 38,
"end_line": 295,
"start_col": 0,
"start_line": 295
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: FStar.Stubs.Reflection.Types.typ -> FStar.Stubs.Reflection.Types.comp | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Reflection.V2.Builtins.pack_comp",
"FStar.Stubs.Reflection.V2.Data.C_Total",
"FStar.Stubs.Reflection.Types.comp"
] | [] | false | false | false | true | false | let mk_total t =
| pack_comp (C_Total t) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.var_as_term | val var_as_term : v: FStar.Stubs.Reflection.V2.Data.var -> FStar.Stubs.Reflection.Types.term | let var_as_term (v:var) = pack_ln (Tv_Var (var_as_namedv v)) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 60,
"end_line": 291,
"start_col": 0,
"start_line": 291
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: FStar.Stubs.Reflection.V2.Data.var -> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Var",
"FStar.Reflection.Typing.var_as_namedv",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | false | let var_as_term (v: var) =
| pack_ln (Tv_Var (var_as_namedv v)) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binder_of_t_q | val binder_of_t_q : t: FStar.Stubs.Reflection.Types.term -> q: FStar.Stubs.Reflection.V2.Data.aqualv
-> FStar.Stubs.Reflection.Types.binder | let binder_of_t_q t q = mk_binder pp_name_default t q | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 53,
"end_line": 293,
"start_col": 0,
"start_line": 293
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: FStar.Stubs.Reflection.Types.term -> q: FStar.Stubs.Reflection.V2.Data.aqualv
-> FStar.Stubs.Reflection.Types.binder | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"FStar.Reflection.Typing.mk_binder",
"FStar.Reflection.Typing.pp_name_default",
"FStar.Stubs.Reflection.Types.binder"
] | [] | false | false | false | true | false | let binder_of_t_q t q =
| mk_binder pp_name_default t q | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_ghost | val mk_ghost : t: FStar.Stubs.Reflection.Types.typ -> FStar.Stubs.Reflection.Types.comp | let mk_ghost t = pack_comp (C_GTotal t) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 39,
"end_line": 296,
"start_col": 0,
"start_line": 296
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: FStar.Stubs.Reflection.Types.typ -> FStar.Stubs.Reflection.Types.comp | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Reflection.V2.Builtins.pack_comp",
"FStar.Stubs.Reflection.V2.Data.C_GTotal",
"FStar.Stubs.Reflection.Types.comp"
] | [] | false | false | false | true | false | let mk_ghost t =
| pack_comp (C_GTotal t) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.open_with_var | val open_with_var (x: var) (i: nat) : subst | val open_with_var (x: var) (i: nat) : subst | let open_with_var (x:var) (i:nat) : subst = [open_with_var_elt x i] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 67,
"end_line": 307,
"start_col": 0,
"start_line": 307
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat -> FStar.Reflection.Typing.subst | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Data.var",
"Prims.nat",
"Prims.Cons",
"FStar.Reflection.Typing.subst_elt",
"FStar.Reflection.Typing.open_with_var_elt",
"Prims.Nil",
"FStar.Reflection.Typing.subst"
] | [] | false | false | false | true | false | let open_with_var (x: var) (i: nat) : subst =
| [open_with_var_elt x i] | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_let | val mk_let : ppname: FStar.Reflection.Typing.pp_name_t ->
e1: FStar.Stubs.Reflection.Types.term ->
t1: FStar.Stubs.Reflection.Types.term ->
e2: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.term | let mk_let ppname (e1 t1 e2:R.term) =
R.pack_ln (R.Tv_Let false [] (mk_simple_binder ppname t1) e1 e2) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 66,
"end_line": 303,
"start_col": 0,
"start_line": 302
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
ppname: FStar.Reflection.Typing.pp_name_t ->
e1: FStar.Stubs.Reflection.Types.term ->
t1: FStar.Stubs.Reflection.Types.term ->
e2: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.pp_name_t",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Let",
"Prims.Nil",
"FStar.Reflection.Typing.mk_simple_binder"
] | [] | false | false | false | true | false | let mk_let ppname (e1: R.term) (t1: R.term) (e2: R.term) =
| R.pack_ln (R.Tv_Let false [] (mk_simple_binder ppname t1) e1 e2) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.extend_env | val extend_env (e: env) (x: var) (ty: term) : env | val extend_env (e: env) (x: var) (ty: term) : env | let extend_env (e:env) (x:var) (ty:term) : env =
R.push_binding e ({
ppname = seal_pp_name "x";
uniq = x;
sort = ty;
}) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 4,
"end_line": 157,
"start_col": 0,
"start_line": 152
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
e: FStar.Stubs.Reflection.Types.env ->
x: FStar.Stubs.Reflection.V2.Data.var ->
ty: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.env | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.V2.Derived.push_binding",
"FStar.Stubs.Reflection.V2.Data.Mkbinding",
"FStar.Reflection.Typing.seal_pp_name"
] | [] | false | false | false | true | false | let extend_env (e: env) (x: var) (ty: term) : env =
| R.push_binding e ({ ppname = seal_pp_name "x"; uniq = x; sort = ty }) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_simple_binder | val mk_simple_binder (pp_name: pp_name_t) (ty: term) : simple_binder | val mk_simple_binder (pp_name: pp_name_t) (ty: term) : simple_binder | let mk_simple_binder (pp_name:pp_name_t) (ty:term) : simple_binder
= pack_binder
{ ppname = pp_name;
qual = Q_Explicit;
attrs = [];
sort = ty} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 20,
"end_line": 150,
"start_col": 0,
"start_line": 145
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | pp_name: FStar.Reflection.Typing.pp_name_t -> ty: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.V2.Data.simple_binder | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.pp_name_t",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Builtins.pack_binder",
"FStar.Stubs.Reflection.V2.Data.Mkbinder_view",
"FStar.Stubs.Reflection.V2.Data.Q_Explicit",
"Prims.Nil",
"FStar.Stubs.Reflection.V2.Data.simple_binder"
] | [] | false | false | false | true | false | let mk_simple_binder (pp_name: pp_name_t) (ty: term) : simple_binder =
| pack_binder ({ ppname = pp_name; qual = Q_Explicit; attrs = []; sort = ty }) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.open_with_var_elt | val open_with_var_elt (x: var) (i: nat) : subst_elt | val open_with_var_elt (x: var) (i: nat) : subst_elt | let open_with_var_elt (x:var) (i:nat) : subst_elt =
DT i (pack_ln (Tv_Var (var_as_namedv x))) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 43,
"end_line": 306,
"start_col": 0,
"start_line": 305
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat -> FStar.Reflection.Typing.subst_elt | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Data.var",
"Prims.nat",
"FStar.Reflection.Typing.DT",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Var",
"FStar.Reflection.Typing.var_as_namedv",
"FStar.Reflection.Typing.subst_elt"
] | [] | false | false | false | true | false | let open_with_var_elt (x: var) (i: nat) : subst_elt =
| DT i (pack_ln (Tv_Var (var_as_namedv x))) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_binder | val mk_binder (pp_name: pp_name_t) (ty: term) (q: aqualv) : binder | val mk_binder (pp_name: pp_name_t) (ty: term) (q: aqualv) : binder | let mk_binder (pp_name:pp_name_t) (ty:term) (q:aqualv) : binder
= pack_binder
{ ppname = pp_name;
qual = q;
attrs = [];
sort = ty} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 20,
"end_line": 143,
"start_col": 0,
"start_line": 138
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
pp_name: FStar.Reflection.Typing.pp_name_t ->
ty: FStar.Stubs.Reflection.Types.term ->
q: FStar.Stubs.Reflection.V2.Data.aqualv
-> FStar.Stubs.Reflection.Types.binder | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.pp_name_t",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"FStar.Stubs.Reflection.V2.Builtins.pack_binder",
"FStar.Stubs.Reflection.V2.Data.Mkbinder_view",
"Prims.Nil",
"FStar.Stubs.Reflection.Types.binder"
] | [] | false | false | false | true | false | let mk_binder (pp_name: pp_name_t) (ty: term) (q: aqualv) : binder =
| pack_binder ({ ppname = pp_name; qual = q; attrs = []; sort = ty }) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.shift_subst_elt | val shift_subst_elt : n: Prims.nat -> _: FStar.Reflection.Typing.subst_elt -> FStar.Reflection.Typing.subst_elt | let shift_subst_elt (n:nat) = function
| DT i t -> DT (i + n) t
| NT x t -> NT x t
| ND x i -> ND x (i + n) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 26,
"end_line": 195,
"start_col": 0,
"start_line": 192
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat -> _: FStar.Reflection.Typing.subst_elt -> FStar.Reflection.Typing.subst_elt | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"FStar.Reflection.Typing.subst_elt",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.DT",
"Prims.op_Addition",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Reflection.Typing.NT",
"FStar.Reflection.Typing.ND"
] | [] | false | false | false | true | false | let shift_subst_elt (n: nat) =
| function
| DT i t -> DT (i + n) t
| NT x t -> NT x t
| ND x i -> ND x (i + n) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.constant_as_term | val constant_as_term : v: FStar.Stubs.Reflection.V2.Data.vconst -> FStar.Stubs.Reflection.Types.term | let constant_as_term (v:vconst) = pack_ln (Tv_Const v) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 54,
"end_line": 530,
"start_col": 0,
"start_line": 530
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: FStar.Stubs.Reflection.V2.Data.vconst -> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Data.vconst",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Const",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | false | let constant_as_term (v: vconst) =
| pack_ln (Tv_Const v) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.find_matching_subst_elt_bv | val find_matching_subst_elt_bv (s: subst) (bv: bv) : option subst_elt | val find_matching_subst_elt_bv (s: subst) (bv: bv) : option subst_elt | let rec find_matching_subst_elt_bv (s:subst) (bv:bv) : option subst_elt =
match s with
| [] -> None
| (DT j t)::ss ->
if j = bv_index bv
then Some (DT j t)
else find_matching_subst_elt_bv ss bv
| _::ss -> find_matching_subst_elt_bv ss bv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 45,
"end_line": 215,
"start_col": 0,
"start_line": 208
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: FStar.Reflection.Typing.subst -> bv: FStar.Stubs.Reflection.Types.bv
-> FStar.Pervasives.Native.option FStar.Reflection.Typing.subst_elt | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.Types.bv",
"FStar.Pervasives.Native.None",
"FStar.Reflection.Typing.subst_elt",
"Prims.nat",
"FStar.Stubs.Reflection.Types.term",
"Prims.list",
"Prims.op_Equality",
"FStar.Reflection.Typing.bv_index",
"FStar.Pervasives.Native.Some",
"FStar... | [
"recursion"
] | false | false | false | true | false | let rec find_matching_subst_elt_bv (s: subst) (bv: bv) : option subst_elt =
| match s with
| [] -> None
| DT j t :: ss -> if j = bv_index bv then Some (DT j t) else find_matching_subst_elt_bv ss bv
| _ :: ss -> find_matching_subst_elt_bv ss bv | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_var | val subst_var (v: namedv) (s: subst) : term | val subst_var (v: namedv) (s: subst) : term | let subst_var (v:namedv) (s:subst) : term =
match find_matching_subst_elt_var s v with
| Some (NT _ t) ->
(match maybe_uniq_of_term t with
| None -> t
| Some k ->
pack_ln (Tv_Var (pack_namedv { inspect_namedv v with uniq = k })))
| Some (ND _ i) ->
let bv = pack_bv {
sort = (inspect... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 27,
"end_line": 256,
"start_col": 0,
"start_line": 242
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: FStar.Stubs.Reflection.Types.namedv -> s: FStar.Reflection.Typing.subst
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.namedv",
"FStar.Reflection.Typing.subst",
"FStar.Reflection.Typing.find_matching_subst_elt_var",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.maybe_uniq_of_term",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.S... | [] | false | false | false | true | false | let subst_var (v: namedv) (s: subst) : term =
| match find_matching_subst_elt_var s v with
| Some (NT _ t) ->
(match maybe_uniq_of_term t with
| None -> t
| Some k -> pack_ln (Tv_Var (pack_namedv ({ inspect_namedv v with uniq = k }))))
| Some (ND _ i) ->
let bv =
pack_bv ({ sort = (inspect_namedv v).sort; ppname = (inspect_namedv v).ppname; index = i... | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.unit_fv | val unit_fv : FStar.Stubs.Reflection.Types.fv | let unit_fv = pack_fv unit_lid | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 532,
"start_col": 0,
"start_line": 532
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.fv | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_fv",
"FStar.Reflection.Const.unit_lid"
] | [] | false | false | false | true | false | let unit_fv =
| pack_fv unit_lid | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.var_as_namedv | val var_as_namedv (v: nat) : namedv | val var_as_namedv (v: nat) : namedv | let var_as_namedv (v:nat) : namedv =
pack_namedv {
uniq = v;
sort = sort_default;
ppname = pp_name_default;
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 289,
"start_col": 0,
"start_line": 284
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat -> FStar.Stubs.Reflection.Types.namedv | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"FStar.Stubs.Reflection.V2.Builtins.pack_namedv",
"FStar.Stubs.Reflection.V2.Data.Mknamedv_view",
"FStar.Reflection.Typing.sort_default",
"FStar.Reflection.Typing.pp_name_default",
"FStar.Stubs.Reflection.Types.namedv"
] | [] | false | false | false | true | false | let var_as_namedv (v: nat) : namedv =
| pack_namedv ({ uniq = v; sort = sort_default; ppname = pp_name_default }) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.unit_ty | val unit_ty : FStar.Stubs.Reflection.Types.term | let unit_ty = pack_ln (Tv_FVar unit_fv) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 39,
"end_line": 533,
"start_col": 0,
"start_line": 533
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_FVar",
"FStar.Reflection.Typing.unit_fv"
] | [] | false | false | false | true | false | let unit_ty =
| pack_ln (Tv_FVar unit_fv) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.make_namedv_with_name | val make_namedv_with_name (s: pp_name_t) (n: nat) : namedv_view | val make_namedv_with_name (s: pp_name_t) (n: nat) : namedv_view | let make_namedv_with_name (s:pp_name_t) (n:nat) : namedv_view = {
ppname = s;
uniq = n;
sort = sort_default;
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 1,
"end_line": 282,
"start_col": 0,
"start_line": 278
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: FStar.Reflection.Typing.pp_name_t -> n: Prims.nat -> FStar.Stubs.Reflection.V2.Data.namedv_view | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.pp_name_t",
"Prims.nat",
"FStar.Stubs.Reflection.V2.Data.Mknamedv_view",
"FStar.Reflection.Typing.sort_default",
"FStar.Stubs.Reflection.V2.Data.namedv_view"
] | [] | false | false | false | true | false | let make_namedv_with_name (s: pp_name_t) (n: nat) : namedv_view =
| { ppname = s; uniq = n; sort = sort_default } | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.make_bv | val make_bv (n: nat) : bv_view | val make_bv (n: nat) : bv_view | let make_bv (n:nat) : bv_view = {
ppname = pp_name_default;
index = n;
sort = sort_default;
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 1,
"end_line": 262,
"start_col": 0,
"start_line": 258
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat -> FStar.Stubs.Reflection.V2.Data.bv_view | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"FStar.Stubs.Reflection.V2.Data.Mkbv_view",
"FStar.Reflection.Typing.sort_default",
"FStar.Reflection.Typing.pp_name_default",
"FStar.Stubs.Reflection.V2.Data.bv_view"
] | [] | false | false | false | true | false | let make_bv (n: nat) : bv_view =
| { ppname = pp_name_default; index = n; sort = sort_default } | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.unit_exp | val unit_exp : FStar.Stubs.Reflection.Types.term | let unit_exp = constant_as_term C_Unit | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 38,
"end_line": 531,
"start_col": 0,
"start_line": 531
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.constant_as_term",
"FStar.Stubs.Reflection.V2.Data.C_Unit"
] | [] | false | false | false | true | false | let unit_exp =
| constant_as_term C_Unit | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.u_zero | val u_zero : FStar.Stubs.Reflection.Types.universe | let u_zero = pack_universe Uv_Zero | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 34,
"end_line": 537,
"start_col": 0,
"start_line": 537
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.universe | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_universe",
"FStar.Stubs.Reflection.V2.Data.Uv_Zero"
] | [] | false | false | false | true | false | let u_zero =
| pack_universe Uv_Zero | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.make_namedv | val make_namedv (n: nat) : namedv_view | val make_namedv (n: nat) : namedv_view | let make_namedv (n:nat) : namedv_view = {
ppname = pp_name_default;
uniq = n;
sort = sort_default;
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 1,
"end_line": 276,
"start_col": 0,
"start_line": 272
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat -> FStar.Stubs.Reflection.V2.Data.namedv_view | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"FStar.Stubs.Reflection.V2.Data.Mknamedv_view",
"FStar.Reflection.Typing.sort_default",
"FStar.Reflection.Typing.pp_name_default",
"FStar.Stubs.Reflection.V2.Data.namedv_view"
] | [] | false | false | false | true | false | let make_namedv (n: nat) : namedv_view =
| { ppname = pp_name_default; uniq = n; sort = sort_default } | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.u_max | val u_max : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe
-> FStar.Stubs.Reflection.Types.universe | let u_max u1 u2 = pack_universe (Uv_Max [u1; u2]) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 49,
"end_line": 538,
"start_col": 0,
"start_line": 538
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe
-> FStar.Stubs.Reflection.Types.universe | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.universe",
"FStar.Stubs.Reflection.V2.Builtins.pack_universe",
"FStar.Stubs.Reflection.V2.Data.Uv_Max",
"Prims.Cons",
"Prims.Nil"
] | [] | false | false | false | true | false | let u_max u1 u2 =
| pack_universe (Uv_Max [u1; u2]) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.bool_ty | val bool_ty : FStar.Stubs.Reflection.Types.term | let bool_ty = pack_ln (Tv_FVar bool_fv) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 39,
"end_line": 535,
"start_col": 0,
"start_line": 535
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_FVar",
"FStar.Reflection.Typing.bool_fv"
] | [] | false | false | false | true | false | let bool_ty =
| pack_ln (Tv_FVar bool_fv) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.make_bv_with_name | val make_bv_with_name (s: pp_name_t) (n: nat) : bv_view | val make_bv_with_name (s: pp_name_t) (n: nat) : bv_view | let make_bv_with_name (s:pp_name_t) (n:nat) : bv_view = {
ppname = s;
index = n;
sort = sort_default;
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 1,
"end_line": 267,
"start_col": 0,
"start_line": 263
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: FStar.Reflection.Typing.pp_name_t -> n: Prims.nat -> FStar.Stubs.Reflection.V2.Data.bv_view | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.pp_name_t",
"Prims.nat",
"FStar.Stubs.Reflection.V2.Data.Mkbv_view",
"FStar.Reflection.Typing.sort_default",
"FStar.Stubs.Reflection.V2.Data.bv_view"
] | [] | false | false | false | true | false | let make_bv_with_name (s: pp_name_t) (n: nat) : bv_view =
| { ppname = s; index = n; sort = sort_default } | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.bool_fv | val bool_fv : FStar.Stubs.Reflection.Types.fv | let bool_fv = pack_fv bool_lid | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 534,
"start_col": 0,
"start_line": 534
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.fv | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_fv",
"FStar.Reflection.Const.bool_lid"
] | [] | false | false | false | true | false | let bool_fv =
| pack_fv bool_lid | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.find_matching_subst_elt_var | val find_matching_subst_elt_var (s: subst) (v: namedv) : option subst_elt | val find_matching_subst_elt_var (s: subst) (v: namedv) : option subst_elt | let rec find_matching_subst_elt_var (s:subst) (v:namedv) : option subst_elt =
match s with
| [] -> None
| (NT y _)::rest
| (ND y _)::rest ->
if y = namedv_uniq v
then Some (L.hd s)
else find_matching_subst_elt_var rest v
| _::rest -> find_matching_subst_elt_var rest v | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 49,
"end_line": 240,
"start_col": 0,
"start_line": 232
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: FStar.Reflection.Typing.subst -> v: FStar.Stubs.Reflection.Types.namedv
-> FStar.Pervasives.Native.option FStar.Reflection.Typing.subst_elt | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.Types.namedv",
"FStar.Pervasives.Native.None",
"FStar.Reflection.Typing.subst_elt",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term",
"Prims.list",
"Prims.op_Equality",
"FStar.Reflection.Typing.namedv_uniq",
"FStar.P... | [
"recursion"
] | false | false | false | true | false | let rec find_matching_subst_elt_var (s: subst) (v: namedv) : option subst_elt =
| match s with
| [] -> None
| NT y _ :: rest
| ND y _ :: rest -> if y = namedv_uniq v then Some (L.hd s) else find_matching_subst_elt_var rest v
| _ :: rest -> find_matching_subst_elt_var rest v | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.u_succ | val u_succ : u297: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.universe | let u_succ u = pack_universe (Uv_Succ u) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 40,
"end_line": 539,
"start_col": 0,
"start_line": 539
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u297: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.universe | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.universe",
"FStar.Stubs.Reflection.V2.Builtins.pack_universe",
"FStar.Stubs.Reflection.V2.Data.Uv_Succ"
] | [] | false | false | false | true | false | let u_succ u =
| pack_universe (Uv_Succ u) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.tm_type | val tm_type : u299: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term | let tm_type u = pack_ln (Tv_Type u) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 35,
"end_line": 540,
"start_col": 0,
"start_line": 540
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u299: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.universe",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Type",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | false | let tm_type u =
| pack_ln (Tv_Type u) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_db | val subst_db (bv: bv) (s: subst) : term | val subst_db (bv: bv) (s: subst) : term | let subst_db (bv:bv) (s:subst) : term =
match find_matching_subst_elt_bv s bv with
| Some (DT _ t) ->
(match maybe_uniq_of_term t with
| None -> t
| Some k ->
//if we're substituting a name j for a name k, retain the pp_name of j
let v : namedv = pack_namedv {
sort = (inspect_bv... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 29,
"end_line": 230,
"start_col": 0,
"start_line": 217
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | bv: FStar.Stubs.Reflection.Types.bv -> s: FStar.Reflection.Typing.subst
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.bv",
"FStar.Reflection.Typing.subst",
"FStar.Reflection.Typing.find_matching_subst_elt_bv",
"Prims.nat",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.maybe_uniq_of_term",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
... | [] | false | false | false | true | false | let subst_db (bv: bv) (s: subst) : term =
| match find_matching_subst_elt_bv s bv with
| Some (DT _ t) ->
(match maybe_uniq_of_term t with
| None -> t
| Some k ->
let v:namedv =
pack_namedv ({ sort = (inspect_bv bv).sort; ppname = (inspect_bv bv).ppname; uniq = k })
in
pack_ln (Tv_Var v))
| _ -> pack_ln (Tv_BVar bv) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.eqtype_lid | val eqtype_lid:R.name | val eqtype_lid:R.name | let eqtype_lid : R.name = ["Prims"; "eqtype"] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 45,
"end_line": 544,
"start_col": 0,
"start_line": 544
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.name | Prims.Tot | [
"total"
] | [] | [
"Prims.Cons",
"Prims.string",
"Prims.Nil"
] | [] | false | false | false | true | false | let eqtype_lid:R.name =
| ["Prims"; "eqtype"] | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.tm_prop | val tm_prop : FStar.Stubs.Reflection.Types.term | let tm_prop =
let prop_fv = R.pack_fv R.prop_qn in
R.pack_ln (Tv_FVar prop_fv) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 29,
"end_line": 543,
"start_col": 0,
"start_line": 541
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_FVar",
"FStar.Stubs.Reflection.Types.fv",
"FStar.Stubs.Reflection.V2.Builtins.pack_fv",
"FStar.Reflection.Const.prop_qn"
] | [] | false | false | false | true | false | let tm_prop =
| let prop_fv = R.pack_fv R.prop_qn in
R.pack_ln (Tv_FVar prop_fv) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.b2t_lid | val b2t_lid:R.name | val b2t_lid:R.name | let b2t_lid : R.name = ["Prims"; "b2t"] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 39,
"end_line": 557,
"start_col": 0,
"start_line": 557
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.name | Prims.Tot | [
"total"
] | [] | [
"Prims.Cons",
"Prims.string",
"Prims.Nil"
] | [] | false | false | false | true | false | let b2t_lid:R.name =
| ["Prims"; "b2t"] | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.true_bool | val true_bool : FStar.Stubs.Reflection.Types.term | let true_bool = pack_ln (Tv_Const C_True) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 41,
"end_line": 546,
"start_col": 0,
"start_line": 546
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Const",
"FStar.Stubs.Reflection.V2.Data.C_True"
] | [] | false | false | false | true | false | let true_bool =
| pack_ln (Tv_Const C_True) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.false_bool | val false_bool : FStar.Stubs.Reflection.Types.term | let false_bool = pack_ln (Tv_Const C_False) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 43,
"end_line": 547,
"start_col": 0,
"start_line": 547
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Const",
"FStar.Stubs.Reflection.V2.Data.C_False"
] | [] | false | false | false | true | false | let false_bool =
| pack_ln (Tv_Const C_False) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.eq2 | val eq2 (u: universe) (t v0 v1: term) : term | val eq2 (u: universe) (t v0 v1: term) : term | let eq2 (u:universe) (t v0 v1:term)
: term
= let eq2 = pack_fv eq2_qn in
let eq2 = pack_ln (Tv_UInst eq2 [u]) in
let h = pack_ln (Tv_App eq2 (t, Q_Implicit)) in
let h1 = pack_ln (Tv_App h (v0, Q_Explicit)) in
let h2 = pack_ln (Tv_App h1 (v1, Q_Explicit)) in
h2 | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 6,
"end_line": 555,
"start_col": 0,
"start_line": 548
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
u307: FStar.Stubs.Reflection.Types.universe ->
t: FStar.Stubs.Reflection.Types.term ->
v0: FStar.Stubs.Reflection.Types.term ->
v1: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.universe",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_App",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"FStar.Stubs.Reflection.V2.Data.Q_Explicit",
"FStar.Stubs.Re... | [] | false | false | false | true | false | let eq2 (u: universe) (t v0 v1: term) : term =
| let eq2 = pack_fv eq2_qn in
let eq2 = pack_ln (Tv_UInst eq2 [u]) in
let h = pack_ln (Tv_App eq2 (t, Q_Implicit)) in
let h1 = pack_ln (Tv_App h (v0, Q_Explicit)) in
let h2 = pack_ln (Tv_App h1 (v1, Q_Explicit)) in
h2 | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.b2t_fv | val b2t_fv:R.fv | val b2t_fv:R.fv | let b2t_fv : R.fv = R.pack_fv b2t_lid | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 37,
"end_line": 558,
"start_col": 0,
"start_line": 558
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.fv | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_fv",
"FStar.Reflection.Typing.b2t_lid"
] | [] | false | false | false | true | false | let b2t_fv:R.fv =
| R.pack_fv b2t_lid | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binder_offset_patterns | val binder_offset_patterns (ps: list (pattern & bool)) : nat | val binder_offset_patterns (ps: list (pattern & bool)) : nat | let rec binder_offset_patterns (ps:list (pattern & bool))
: nat
= match ps with
| [] -> 0
| (p, b)::ps ->
let n = binder_offset_pattern p in
let m = binder_offset_patterns ps in
n + m
and binder_offset_pattern (p:pattern)
: nat
= match p with
| Pat_Constant _
| Pat_Dot_Term _ ... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 36,
"end_line": 330,
"start_col": 0,
"start_line": 312
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ps: Prims.list (FStar.Stubs.Reflection.V2.Data.pattern * Prims.bool) -> Prims.nat | Prims.Tot | [
"total"
] | [
"binder_offset_patterns",
"binder_offset_pattern"
] | [
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"FStar.Stubs.Reflection.V2.Data.pattern",
"Prims.bool",
"Prims.op_Addition",
"Prims.nat",
"FStar.Reflection.Typing.binder_offset_patterns",
"FStar.Reflection.Typing.binder_offset_pattern"
] | [
"mutual recursion"
] | false | false | false | true | false | let rec binder_offset_patterns (ps: list (pattern & bool)) : nat =
| match ps with
| [] -> 0
| (p, b) :: ps ->
let n = binder_offset_pattern p in
let m = binder_offset_patterns ps in
n + m | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binder_offset_pattern | val binder_offset_pattern (p: pattern) : nat | val binder_offset_pattern (p: pattern) : nat | let rec binder_offset_patterns (ps:list (pattern & bool))
: nat
= match ps with
| [] -> 0
| (p, b)::ps ->
let n = binder_offset_pattern p in
let m = binder_offset_patterns ps in
n + m
and binder_offset_pattern (p:pattern)
: nat
= match p with
| Pat_Constant _
| Pat_Dot_Term _ ... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 36,
"end_line": 330,
"start_col": 0,
"start_line": 312
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | p: FStar.Stubs.Reflection.V2.Data.pattern -> Prims.nat | Prims.Tot | [
"total"
] | [
"binder_offset_patterns",
"binder_offset_pattern"
] | [
"FStar.Stubs.Reflection.V2.Data.pattern",
"FStar.Stubs.Reflection.V2.Data.vconst",
"FStar.Pervasives.Native.option",
"FStar.Stubs.Reflection.Types.term",
"FStar.Sealed.sealed",
"FStar.Stubs.Reflection.V2.Data.ppname_t",
"FStar.Stubs.Reflection.Types.fv",
"FStar.Stubs.Reflection.V2.Data.universes",
"... | [
"mutual recursion"
] | false | false | false | true | false | let rec binder_offset_pattern (p: pattern) : nat =
| match p with
| Pat_Constant _ | Pat_Dot_Term _ -> 0
| Pat_Var _ _ -> 1
| Pat_Cons head univs subpats -> binder_offset_patterns subpats | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.ln | val ln : t: FStar.Stubs.Reflection.Types.term -> Prims.bool | let ln (t:term) = ln' t (-1) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 28,
"end_line": 857,
"start_col": 0,
"start_line": 857
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: FStar.Stubs.Reflection.Types.term -> Prims.bool | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.ln'",
"Prims.op_Minus",
"Prims.bool"
] | [] | false | false | false | true | false | let ln (t: term) =
| ln' t (- 1) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.open_comp_typ | val open_comp_typ : c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | let open_comp_typ (c:comp_typ) (x:var) =
open_comp_typ' c x 0 | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 22,
"end_line": 1001,
"start_col": 0,
"start_line": 1000
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.comp_typ",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Reflection.Typing.open_comp_typ'",
"FStar.Pervasives.Native.tuple2",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | false | let open_comp_typ (c: comp_typ) (x: var) =
| open_comp_typ' c x 0 | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_if | val mk_if (scrutinee then_ else_: R.term) : R.term | val mk_if (scrutinee then_ else_: R.term) : R.term | let mk_if (scrutinee then_ else_:R.term) : R.term =
pack_ln (Tv_Match scrutinee None [(Pat_Constant C_True, then_);
(Pat_Constant C_False, else_)]) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 67,
"end_line": 985,
"start_col": 0,
"start_line": 983
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
scrutinee: FStar.Stubs.Reflection.Types.term ->
then_: FStar.Stubs.Reflection.Types.term ->
else_: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Match",
"FStar.Pervasives.Native.None",
"FStar.Stubs.Reflection.Types.match_returns_ascription",
"Prims.Cons",
"FStar.Stubs.Reflection.V2.Data.branch",
"FStar.Pervasives.Native.Mktuple... | [] | false | false | false | true | false | let mk_if (scrutinee then_ else_: R.term) : R.term =
| pack_ln (Tv_Match scrutinee None [(Pat_Constant C_True, then_); (Pat_Constant C_False, else_)]) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.freevars_comp_typ | val freevars_comp_typ : c: FStar.Reflection.Typing.comp_typ -> FStar.Set.set FStar.Stubs.Reflection.V2.Data.var | let freevars_comp_typ (c:comp_typ) = freevars (snd c) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 53,
"end_line": 1003,
"start_col": 0,
"start_line": 1003
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Reflection.Typing.comp_typ -> FStar.Set.set FStar.Stubs.Reflection.V2.Data.var | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.comp_typ",
"FStar.Reflection.Typing.freevars",
"FStar.Pervasives.Native.snd",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Set.set",
"FStar.Stubs.Reflection.V2.Data.var"
] | [] | false | false | false | true | false | let freevars_comp_typ (c: comp_typ) =
| freevars (snd c) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.ln_comp | val ln_comp : c: FStar.Stubs.Reflection.Types.comp -> Prims.bool | let ln_comp (c:comp) = ln'_comp c (-1) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 38,
"end_line": 858,
"start_col": 0,
"start_line": 858
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Stubs.Reflection.Types.comp -> Prims.bool | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.comp",
"FStar.Reflection.Typing.ln'_comp",
"Prims.op_Minus",
"Prims.bool"
] | [] | false | false | false | true | false | let ln_comp (c: comp) =
| ln'_comp c (- 1) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.close_comp_typ | val close_comp_typ : c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | let close_comp_typ (c:comp_typ) (x:var) =
close_comp_typ' c x 0 | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 23,
"end_line": 995,
"start_col": 0,
"start_line": 994
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.comp_typ",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Reflection.Typing.close_comp_typ'",
"FStar.Pervasives.Native.tuple2",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | false | let close_comp_typ (c: comp_typ) (x: var) =
| close_comp_typ' c x 0 | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.close_comp_typ' | val close_comp_typ' : c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | let close_comp_typ' (c:comp_typ) (x:var) (i:nat) =
fst c, subst_term (snd c) [ ND x i ] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 38,
"end_line": 992,
"start_col": 0,
"start_line": 991
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.comp_typ",
"FStar.Stubs.Reflection.V2.Data.var",
"Prims.nat",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.term",
"FStar.Pervasives.Native.fst",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Reflection.Typing.sub... | [] | false | false | false | true | false | let close_comp_typ' (c: comp_typ) (x: var) (i: nat) =
| fst c, subst_term (snd c) [ND x i] | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.open_comp_typ' | val open_comp_typ' : c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | let open_comp_typ' (c:comp_typ) (x:var) (i:nat) =
fst c, subst_term (snd c) (open_with_var x i) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 47,
"end_line": 998,
"start_col": 0,
"start_line": 997
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Reflection.Typing.comp_typ -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat
-> FStar.Stubs.TypeChecker.Core.tot_or_ghost * FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.comp_typ",
"FStar.Stubs.Reflection.V2.Data.var",
"Prims.nat",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.term",
"FStar.Pervasives.Native.fst",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Reflection.Typing.sub... | [] | false | false | false | true | false | let open_comp_typ' (c: comp_typ) (x: var) (i: nat) =
| fst c, subst_term (snd c) (open_with_var x i) | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binding | val binding : Type0 | let binding = var & term | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 24,
"end_line": 1017,
"start_col": 0,
"start_line": 1017
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.tuple2",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | true | let binding =
| var & term | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.bindings | val bindings : Type0 | let bindings = list binding | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 27,
"end_line": 1018,
"start_col": 0,
"start_line": 1018
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Reflection.Typing.binding"
] | [] | false | false | false | true | true | let bindings =
| list binding | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.b2t_ty | val b2t_ty:R.term | val b2t_ty:R.term | let b2t_ty : R.term = R.pack_ln (R.Tv_Arrow (mk_binder (seal "x") bool_ty Q_Explicit) (mk_total (tm_type u_zero))) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 114,
"end_line": 559,
"start_col": 0,
"start_line": 559
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_Arrow",
"FStar.Reflection.Typing.mk_binder",
"FStar.Sealed.seal",
"Prims.string",
"FStar.Reflection.Typing.bool_ty",
"FStar.Stubs.Reflection.V2.Data.Q_Explicit",
"FStar.Reflection.Typing.mk_total",
"FStar.Reflection.Typ... | [] | false | false | false | true | false | let b2t_ty:R.term =
| R.pack_ln (R.Tv_Arrow (mk_binder (seal "x") bool_ty Q_Explicit) (mk_total (tm_type u_zero))) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.rename_bindings | val rename_bindings : bs: Prims.list (_ * FStar.Stubs.Reflection.Types.term) ->
x: FStar.Stubs.Reflection.V2.Data.var ->
y: FStar.Stubs.Reflection.V2.Data.var
-> Prims.list (_ * FStar.Stubs.Reflection.Types.term) | let rename_bindings bs x y = FStar.List.Tot.map (fun (v, t) -> (v, rename t x y)) bs | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 84,
"end_line": 1019,
"start_col": 0,
"start_line": 1019
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
bs: Prims.list (_ * FStar.Stubs.Reflection.Types.term) ->
x: FStar.Stubs.Reflection.V2.Data.var ->
y: FStar.Stubs.Reflection.V2.Data.var
-> Prims.list (_ * FStar.Stubs.Reflection.Types.term) | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.List.Tot.Base.map",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.Typing.rename"
] | [] | false | false | false | true | false | let rename_bindings bs x y =
| FStar.List.Tot.map (fun (v, t) -> (v, rename t x y)) bs | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.is_non_informative_fv | val is_non_informative_fv (f: fv) : bool | val is_non_informative_fv (f: fv) : bool | let is_non_informative_fv (f:fv) : bool =
is_non_informative_name (inspect_fv f) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 40,
"end_line": 1036,
"start_col": 0,
"start_line": 1035
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: FStar.Stubs.Reflection.Types.fv -> Prims.bool | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.fv",
"FStar.Reflection.Typing.is_non_informative_name",
"FStar.Stubs.Reflection.V2.Builtins.inspect_fv",
"Prims.bool"
] | [] | false | false | false | true | false | let is_non_informative_fv (f: fv) : bool =
| is_non_informative_name (inspect_fv f) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_binder | val subst_binder (b: binder) (ss: subst)
: Tot (b': binder{binder_is_simple b ==> binder_is_simple b'}) (decreases b) | val subst_binder (b: binder) (ss: subst)
: Tot (b': binder{binder_is_simple b ==> binder_is_simple b'}) (decreases b) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Stubs.Reflection.Types.binder -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot
(b':
FStar.Stubs.Reflection.Types.binder
{ FStar.Stubs.Reflection.V2.Data.binder_is_simple b ==>
FStar.Stubs.Reflection.V2.Data.binder_is_simple b' }) | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"FStar.Stubs.Reflection.Types.binder",
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.V2.Builtins.pack_binder",
"FStar.Stubs.Reflection.V2.Data.Mkbinder_view",
"FStar.Reflection.Typing.subst_term",
"FStar.Stubs.Reflection.V2.Data.__proj__Mkbinder_view__item__sort",
"FStar.Stubs.Reflection.V2.D... | [
"mutual recursion"
] | false | false | false | false | false | let rec subst_binder (b: binder) (ss: subst)
: Tot (b': binder{binder_is_simple b ==> binder_is_simple b'}) (decreases b) =
| let bndr = inspect_binder b in
pack_binder ({
ppname = bndr.ppname;
qual = bndr.qual;
attrs = subst_terms bndr.attrs ss;
sort = subst_term bndr.sort ss
}) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.close_term_bs | val close_term_bs (bs: list binding) (t: term) : term | val close_term_bs (bs: list binding) (t: term) : term | let close_term_bs (bs : list binding) (t : term) : term =
close_term_vs (List.Tot.map fst bs) t | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 39,
"end_line": 1048,
"start_col": 0,
"start_line": 1047
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | bs: Prims.list FStar.Reflection.Typing.binding -> t: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Reflection.Typing.binding",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.close_term_vs",
"FStar.List.Tot.Base.map",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Pervasives.Native.fst"
] | [] | false | false | false | true | false | let close_term_bs (bs: list binding) (t: term) : term =
| close_term_vs (List.Tot.map fst bs) t | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.close_term_vs | val close_term_vs (vs: list var) (t: term) : term | val close_term_vs (vs: list var) (t: term) : term | let close_term_vs (vs : list var) (t : term) : term =
__close_term_vs 0 vs t | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 24,
"end_line": 1045,
"start_col": 0,
"start_line": 1044
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | vs: Prims.list FStar.Stubs.Reflection.V2.Data.var -> t: FStar.Stubs.Reflection.Types.term
-> FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.__close_term_vs"
] | [] | false | false | false | true | false | let close_term_vs (vs: list var) (t: term) : term =
| __close_term_vs 0 vs t | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.refl_bindings_to_bindings | val refl_bindings_to_bindings (bs: list R.binding) : list binding | val refl_bindings_to_bindings (bs: list R.binding) : list binding | let refl_bindings_to_bindings (bs : list R.binding) : list binding =
L.map (fun b -> b.uniq, b.sort) bs | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 36,
"end_line": 1054,
"start_col": 0,
"start_line": 1053
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | bs: Prims.list FStar.Stubs.Reflection.V2.Data.binding -> Prims.list FStar.Reflection.Typing.binding | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.binding",
"FStar.List.Tot.Base.map",
"FStar.Pervasives.Native.tuple2",
"Prims.nat",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.Reflection.V2.Data.__proj__Mkbinding__item__uniq",
"FStar.Stubs.Reflection.V2.Data.__... | [] | false | false | false | true | false | let refl_bindings_to_bindings (bs: list R.binding) : list binding =
| L.map (fun b -> b.uniq, b.sort) bs | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.mk_comp | val mk_comp (c: comp_typ) : R.comp | val mk_comp (c: comp_typ) : R.comp | let mk_comp (c:comp_typ) : R.comp =
match fst c with
| T.E_Total -> mk_total (snd c)
| T.E_Ghost -> mk_ghost (snd c) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 33,
"end_line": 1008,
"start_col": 0,
"start_line": 1005
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Reflection.Typing.comp_typ -> FStar.Stubs.Reflection.Types.comp | Prims.Tot | [
"total"
] | [] | [
"FStar.Reflection.Typing.comp_typ",
"FStar.Pervasives.Native.fst",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Reflection.Typing.mk_total",
"FStar.Pervasives.Native.snd",
"FStar.Reflection.Typing.mk_ghost",
"FStar.Stubs.Reflection.Types.comp"
] | [] | false | false | false | true | false | let mk_comp (c: comp_typ) : R.comp =
| match fst c with
| T.E_Total -> mk_total (snd c)
| T.E_Ghost -> mk_ghost (snd c) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_term | val subst_term (t: term) (ss: subst) : Tot term (decreases t) | val subst_term (t: term) (ss: subst) : Tot term (decreases t) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: FStar.Stubs.Reflection.Types.term -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.V2.Builtins.inspect_ln",
"FStar.Stubs.Reflection.Types.fv",
"FStar.Stubs.Reflection.V2.Data.universes",
"FStar.Stubs.Reflection.Types.universe",
"FStar.Stubs.Reflection.V2.Data.vconst",
"FStar.Stubs.Reflectio... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_term (t: term) (ss: subst) : Tot term (decreases t) =
| match inspect_ln t with
| Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ | Tv_Const _ | Tv_Unsupp | Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv -> pack_ln (Tv_App (subst_term hd ss) (subst_term (fst argv) ss, snd argv))
| Tv_Abs b body ->
let b' = subst_binder b ss in
pack_ln (T... | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.apply_term_ctxt | val apply_term_ctxt (e: term_ctxt) (t: term) : Tot term (decreases e) | val apply_term_ctxt (e: term_ctxt) (t: term) : Tot term (decreases e) | let rec apply_term_ctxt (e:term_ctxt) (t:term) : Tot term (decreases e) =
match e with
| Ctxt_hole -> t
| Ctxt_app_head e arg -> pack_ln (Tv_App (apply_term_ctxt e t) arg)
| Ctxt_app_arg hd q e -> pack_ln (Tv_App hd (apply_term_ctxt e t, q)) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 71,
"end_line": 902,
"start_col": 0,
"start_line": 898
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | e: FStar.Reflection.Typing.term_ctxt -> t: FStar.Stubs.Reflection.Types.term
-> Prims.Tot FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total",
""
] | [] | [
"FStar.Reflection.Typing.term_ctxt",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.argv",
"FStar.Stubs.Reflection.V2.Builtins.pack_ln",
"FStar.Stubs.Reflection.V2.Data.Tv_App",
"FStar.Reflection.Typing.apply_term_ctxt",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"FStar.Pervasives.... | [
"recursion"
] | false | false | false | true | false | let rec apply_term_ctxt (e: term_ctxt) (t: term) : Tot term (decreases e) =
| match e with
| Ctxt_hole -> t
| Ctxt_app_head e arg -> pack_ln (Tv_App (apply_term_ctxt e t) arg)
| Ctxt_app_arg hd q e -> pack_ln (Tv_App hd (apply_term_ctxt e t, q)) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_args | val subst_args (ts: list argv) (ss: subst) : Tot (list argv) (decreases ts) | val subst_args (ts: list argv) (ss: subst) : Tot (list argv) (decreases ts) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ts: Prims.list FStar.Stubs.Reflection.V2.Data.argv -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot (Prims.list FStar.Stubs.Reflection.V2.Data.argv) | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.argv",
"FStar.Reflection.Typing.subst",
"Prims.Nil",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"Prims.Cons",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.Typing.subst_term",
"FStar.Reflection.Typing.subst_ar... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_args (ts: list argv) (ss: subst) : Tot (list argv) (decreases ts) =
| match ts with
| [] -> []
| (t, q) :: ts -> (subst_term t ss, q) :: subst_args ts ss | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_comp | val subst_comp (c: comp) (ss: subst) : Tot comp (decreases c) | val subst_comp (c: comp) (ss: subst) : Tot comp (decreases c) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: FStar.Stubs.Reflection.Types.comp -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot FStar.Stubs.Reflection.Types.comp | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"FStar.Stubs.Reflection.Types.comp",
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.V2.Builtins.inspect_comp",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Reflection.V2.Builtins.pack_comp",
"FStar.Stubs.Reflection.V2.Data.C_Total",
"FStar.Reflection.Typing.subst_term",
"FStar.Stubs.Refl... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_comp (c: comp) (ss: subst) : Tot comp (decreases c) =
| match inspect_comp c with
| C_Total t -> pack_comp (C_Total (subst_term t ss))
| C_GTotal t -> pack_comp (C_GTotal (subst_term t ss))
| C_Lemma pre post pats ->
pack_comp (C_Lemma (subst_term pre ss) (subst_term post ss) (subst_term pats ss))
| C_Eff us eff_name res args decrs ->
pack_comp (C_Eff us eff_name (subst... | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_pattern | val subst_pattern (p: pattern) (ss: subst) : Tot pattern (decreases p) | val subst_pattern (p: pattern) (ss: subst) : Tot pattern (decreases p) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | p: FStar.Stubs.Reflection.V2.Data.pattern -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot FStar.Stubs.Reflection.V2.Data.pattern | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"FStar.Stubs.Reflection.V2.Data.pattern",
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.V2.Data.vconst",
"FStar.Stubs.Reflection.Types.fv",
"FStar.Pervasives.Native.option",
"FStar.Stubs.Reflection.V2.Data.universes",
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"Prims.bool",
"FStar.... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_pattern (p: pattern) (ss: subst) : Tot pattern (decreases p) =
| match p with
| Pat_Constant _ -> p
| Pat_Cons fv us pats ->
let pats = subst_patterns pats ss in
Pat_Cons fv us pats
| Pat_Var bv s -> Pat_Var bv s
| Pat_Dot_Term topt ->
Pat_Dot_Term
(match topt with
| None -> None
| Some t -> Some (subst_term t ss)) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.bindings_ok_for_branch_N | val bindings_ok_for_branch_N : g: FStar.Stubs.Reflection.Types.env ->
bss: Prims.list (Prims.list FStar.Stubs.Reflection.V2.Data.binding) ->
brs: Prims.list FStar.Stubs.Reflection.V2.Data.branch
-> Type0 | let bindings_ok_for_branch_N (g:env) (bss : list (list R.binding)) (brs : list branch) =
zip2prop (bindings_ok_for_branch g) bss brs | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 45,
"end_line": 1112,
"start_col": 0,
"start_line": 1111
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: FStar.Stubs.Reflection.Types.env ->
bss: Prims.list (Prims.list FStar.Stubs.Reflection.V2.Data.binding) ->
brs: Prims.list FStar.Stubs.Reflection.V2.Data.branch
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.binding",
"FStar.Stubs.Reflection.V2.Data.branch",
"FStar.Reflection.Typing.zip2prop",
"FStar.Reflection.Typing.bindings_ok_for_branch"
] | [] | false | false | false | true | true | let bindings_ok_for_branch_N (g: env) (bss: list (list R.binding)) (brs: list branch) =
| zip2prop (bindings_ok_for_branch g) bss brs | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.bindings_ok_for_branch | val bindings_ok_for_branch (g: env) (bs: list R.binding) (br: branch) : Type0 | val bindings_ok_for_branch (g: env) (bs: list R.binding) (br: branch) : Type0 | let bindings_ok_for_branch (g:env) (bs : list R.binding) (br : branch) : Type0 =
bindings_ok_for_pat g bs (fst br) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 35,
"end_line": 1109,
"start_col": 0,
"start_line": 1108
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: FStar.Stubs.Reflection.Types.env ->
bs: Prims.list FStar.Stubs.Reflection.V2.Data.binding ->
br: FStar.Stubs.Reflection.V2.Data.branch
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.binding",
"FStar.Stubs.Reflection.V2.Data.branch",
"FStar.Reflection.Typing.bindings_ok_for_pat",
"FStar.Pervasives.Native.fst",
"FStar.Stubs.Reflection.V2.Data.pattern",
"FStar.Stubs.Reflection.Types.term"
] | [] | false | false | false | true | true | let bindings_ok_for_branch (g: env) (bs: list R.binding) (br: branch) : Type0 =
| bindings_ok_for_pat g bs (fst br) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_terms | val subst_terms (ts: list term) (ss: subst)
: Tot (ts': list term {Nil? ts ==> Nil? ts'}) (decreases ts) | val subst_terms (ts: list term) (ss: subst)
: Tot (ts': list term {Nil? ts ==> Nil? ts'}) (decreases ts) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ts: Prims.list FStar.Stubs.Reflection.Types.term -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot (ts': Prims.list FStar.Stubs.Reflection.Types.term {Nil? ts ==> Nil? ts'}) | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"Prims.list",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.subst",
"Prims.Nil",
"Prims.Cons",
"FStar.Reflection.Typing.subst_term",
"FStar.Reflection.Typing.subst_terms",
"Prims.l_imp",
"Prims.b2t",
"Prims.uu___is_Nil"
] | [
"mutual recursion"
] | false | false | false | false | false | let rec subst_terms (ts: list term) (ss: subst)
: Tot (ts': list term {Nil? ts ==> Nil? ts'}) (decreases ts) =
| match ts with
| [] -> []
| t :: ts -> subst_term t ss :: subst_terms ts ss | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_branch | val subst_branch (br: branch) (ss: subst) : Tot branch (decreases br) | val subst_branch (br: branch) (ss: subst) : Tot branch (decreases br) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | br: FStar.Stubs.Reflection.V2.Data.branch -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot FStar.Stubs.Reflection.V2.Data.branch | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"FStar.Stubs.Reflection.V2.Data.branch",
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.V2.Data.pattern",
"FStar.Stubs.Reflection.Types.term",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.Typing.subst_term",
"FStar.Reflection.Typing.shift_subst_n",
"Prims.nat",
"FStar.Reflection.T... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_branch (br: branch) (ss: subst) : Tot branch (decreases br) =
| let p, t = br in
let p = subst_pattern p ss in
let j = binder_offset_pattern p in
let t = subst_term t (shift_subst_n j ss) in
p, t | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.binding_to_namedv | val binding_to_namedv (b: R.binding) : Tot namedv | val binding_to_namedv (b: R.binding) : Tot namedv | let binding_to_namedv (b:R.binding) : Tot namedv =
pack_namedv {
RD.uniq = b.uniq;
RD.sort = seal b.sort;
RD.ppname = b.ppname;
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 1119,
"start_col": 0,
"start_line": 1114
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Stubs.Reflection.V2.Data.binding -> FStar.Stubs.Reflection.Types.namedv | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.V2.Data.binding",
"FStar.Stubs.Reflection.V2.Builtins.pack_namedv",
"FStar.Stubs.Reflection.V2.Data.Mknamedv_view",
"FStar.Stubs.Reflection.V2.Data.__proj__Mkbinding__item__uniq",
"FStar.Sealed.seal",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.Reflection.V2.Data.__proj__Mkb... | [] | false | false | false | true | false | let binding_to_namedv (b: R.binding) : Tot namedv =
| pack_namedv ({ RD.uniq = b.uniq; RD.sort = seal b.sort; RD.ppname = b.ppname }) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_patterns | val subst_patterns (ps: list (pattern & bool)) (ss: subst)
: Tot (list (pattern & bool)) (decreases ps) | val subst_patterns (ps: list (pattern & bool)) (ss: subst)
: Tot (list (pattern & bool)) (decreases ps) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
ps: Prims.list (FStar.Stubs.Reflection.V2.Data.pattern * Prims.bool) ->
ss: FStar.Reflection.Typing.subst
-> Prims.Tot (Prims.list (FStar.Stubs.Reflection.V2.Data.pattern * Prims.bool)) | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"FStar.Stubs.Reflection.V2.Data.pattern",
"Prims.bool",
"FStar.Reflection.Typing.subst",
"Prims.Cons",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.Typing.subst_patterns",
"FStar.Reflection.Typing.shift_subst_n",
"FStar.Reflection.Typing.sub... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_patterns (ps: list (pattern & bool)) (ss: subst)
: Tot (list (pattern & bool)) (decreases ps) =
| match ps with
| [] -> ps
| (p, b) :: ps ->
let n = binder_offset_pattern p in
let p = subst_pattern p ss in
let ps = subst_patterns ps (shift_subst_n n ss) in
(p, b) :: ps | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_branches | val subst_branches (brs: list branch) (ss: subst) : Tot (list branch) (decreases brs) | val subst_branches (brs: list branch) (ss: subst) : Tot (list branch) (decreases brs) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | brs: Prims.list FStar.Stubs.Reflection.V2.Data.branch -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot (Prims.list FStar.Stubs.Reflection.V2.Data.branch) | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.branch",
"FStar.Reflection.Typing.subst",
"Prims.Nil",
"Prims.Cons",
"FStar.Reflection.Typing.subst_branch",
"FStar.Reflection.Typing.subst_branches"
] | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_branches (brs: list branch) (ss: subst) : Tot (list branch) (decreases brs) =
| match brs with
| [] -> []
| br :: brs -> subst_branch br ss :: subst_branches brs ss | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.subst_match_returns | val subst_match_returns (m: match_returns_ascription) (ss: subst)
: Tot match_returns_ascription (decreases m) | val subst_match_returns (m: match_returns_ascription) (ss: subst)
: Tot match_returns_ascription (decreases m) | let rec subst_term (t:term) (ss:subst)
: Tot term (decreases t)
= match inspect_ln t with
| Tv_UInst _ _
| Tv_FVar _
| Tv_Type _
| Tv_Const _
| Tv_Unsupp
| Tv_Unknown -> t
| Tv_Var x -> subst_var x ss
| Tv_BVar j -> subst_db j ss
| Tv_App hd argv ->
pack_ln (Tv_App (subst_t... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 496,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | m: FStar.Stubs.Reflection.Types.match_returns_ascription -> ss: FStar.Reflection.Typing.subst
-> Prims.Tot FStar.Stubs.Reflection.Types.match_returns_ascription | Prims.Tot | [
"total",
""
] | [
"subst_term",
"subst_binder",
"subst_comp",
"subst_terms",
"subst_args",
"subst_patterns",
"subst_pattern",
"subst_branch",
"subst_branches",
"subst_match_returns"
] | [
"FStar.Stubs.Reflection.Types.match_returns_ascription",
"FStar.Reflection.Typing.subst",
"FStar.Stubs.Reflection.Types.binder",
"FStar.Pervasives.either",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.Types.comp",
"FStar.Pervasives.Native.option",
"Prims.bool",
"FStar.Pervasives.Nati... | [
"mutual recursion"
] | false | false | false | true | false | let rec subst_match_returns (m: match_returns_ascription) (ss: subst)
: Tot match_returns_ascription (decreases m) =
| let b, (ret, as_, eq) = m in
let b = subst_binder b ss in
let ret =
match ret with
| Inl t -> Inl (subst_term t (shift_subst ss))
| Inr c -> Inr (subst_comp c (shift_subst ss))
in
let as_ =
match as_ with
| None -> None
| Some t -> Some (subst_term t (shift_subst ss))
in
b, (ret, as_, eq) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.simplify_umax | val simplify_umax
(#g: R.env)
(#t: R.term)
(#u: R.universe)
(d: typing g t (T.E_Total, tm_type (u_max u u)))
: typing g t (T.E_Total, tm_type u) | val simplify_umax
(#g: R.env)
(#t: R.term)
(#u: R.universe)
(d: typing g t (T.E_Total, tm_type (u_max u u)))
: typing g t (T.E_Total, tm_type u) | let simplify_umax (#g:R.env) (#t:R.term) (#u:R.universe)
(d:typing g t (T.E_Total, tm_type (u_max u u)))
: typing g t (T.E_Total, tm_type u)
= let ue
: univ_eq (u_max u u) u
= UN_MaxLeq u u (UNLEQ_Refl u)
in
let du : related g (tm_type (u_max u u)) R_Eq (tm_type u)
... | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 1524,
"start_col": 0,
"start_line": 1513
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
d:
FStar.Reflection.Typing.typing g
t
(FStar.Stubs.TypeChecker.Core.E_Total,
FStar.Reflection.Typing.tm_type (FStar.Reflection.Typing.u_max u2359 u2359))
-> FStar.Reflection.Typing.typing g
t
(FStar.Stubs.TypeChecker.Core.E_Total,
FStar.Reflection.Typing.tm_type u2... | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.Types.universe",
"FStar.Reflection.Typing.typing",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Stubs.TypeChecker.Core.tot_or_ghost",
"FStar.Stubs.Reflection.Types.typ",
"FStar.Stubs.TypeChecker.Core.E_Total... | [] | false | false | false | false | false | let simplify_umax
(#g: R.env)
(#t: R.term)
(#u: R.universe)
(d: typing g t (T.E_Total, tm_type (u_max u u)))
: typing g t (T.E_Total, tm_type u) =
| let ue:univ_eq (u_max u u) u = UN_MaxLeq u u (UNLEQ_Refl u) in
let du:related g (tm_type (u_max u u)) R_Eq (tm_type u) = Rel_univ g (u_max u u) u ue in
let du:related g (tm_type (u_max u u)) R_Sub (tm_type u) = Rel_equiv _ _ _ _ du in
T_Sub _ _ _ _ d (Relc_typ _ _ _ T.E_Total _ du) | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.__close_term_vs | val __close_term_vs (i: nat) (vs: list var) (t: term) : Tot term (decreases vs) | val __close_term_vs (i: nat) (vs: list var) (t: term) : Tot term (decreases vs) | let rec __close_term_vs (i:nat) (vs : list var) (t : term) : Tot term (decreases vs) =
match vs with
| [] -> t
| v::vs ->
subst_term (__close_term_vs (i+1) vs t) [ND v i] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 1042,
"start_col": 0,
"start_line": 1038
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
vs: Prims.list FStar.Stubs.Reflection.V2.Data.var ->
t: FStar.Stubs.Reflection.Types.term
-> Prims.Tot FStar.Stubs.Reflection.Types.term | Prims.Tot | [
"total",
""
] | [] | [
"Prims.nat",
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.subst_term",
"FStar.Reflection.Typing.__close_term_vs",
"Prims.op_Addition",
"Prims.Cons",
"FStar.Reflection.Typing.subst_elt",
"FStar.Reflection.Typing.ND",
"Prims.Nil"... | [
"recursion"
] | false | false | false | true | false | let rec __close_term_vs (i: nat) (vs: list var) (t: term) : Tot term (decreases vs) =
| match vs with
| [] -> t
| v :: vs -> subst_term (__close_term_vs (i + 1) vs t) [ND v i] | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.fstar_env_fvs | val fstar_env_fvs : g: FStar.Stubs.Reflection.Types.env -> Prims.logical | let fstar_env_fvs (g:R.env) =
lookup_fvar g unit_fv == Some (tm_type u_zero) /\
lookup_fvar g bool_fv == Some (tm_type u_zero) /\
lookup_fvar g b2t_fv == Some b2t_ty | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 38,
"end_line": 1741,
"start_col": 0,
"start_line": 1738
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | g: FStar.Stubs.Reflection.Types.env -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"Prims.l_and",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"FStar.Stubs.Reflection.Types.term",
"FStar.Reflection.Typing.lookup_fvar",
"FStar.Reflection.Typing.unit_fv",
"FStar.Pervasives.Native.Some",
"FStar.Reflection.Typing.tm_type",
"FStar.Reflection.Typi... | [] | false | false | false | true | true | let fstar_env_fvs (g: R.env) =
| lookup_fvar g unit_fv == Some (tm_type u_zero) /\ lookup_fvar g bool_fv == Some (tm_type u_zero) /\
lookup_fvar g b2t_fv == Some b2t_ty | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.extend_env_l | val extend_env_l (g: env) (bs: bindings) : env | val extend_env_l (g: env) (bs: bindings) : env | let rec extend_env_l (g:env) (bs:bindings)
: env
= match bs with
| [] -> g
| (x,t)::bs -> extend_env (extend_env_l g bs) x t | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 53,
"end_line": 1025,
"start_col": 0,
"start_line": 1021
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | g: FStar.Stubs.Reflection.Types.env -> bs: FStar.Reflection.Typing.bindings
-> FStar.Stubs.Reflection.Types.env | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"FStar.Reflection.Typing.bindings",
"FStar.Stubs.Reflection.V2.Data.var",
"FStar.Stubs.Reflection.Types.term",
"Prims.list",
"FStar.Reflection.Typing.binding",
"FStar.Reflection.Typing.extend_env",
"FStar.Reflection.Typing.extend_env_l"
] | [
"recursion"
] | false | false | false | true | false | let rec extend_env_l (g: env) (bs: bindings) : env =
| match bs with
| [] -> g
| (x, t) :: bs -> extend_env (extend_env_l g bs) x t | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.is_non_informative_name | val is_non_informative_name (l: name) : bool | val is_non_informative_name (l: name) : bool | let is_non_informative_name (l:name) : bool =
l = R.unit_lid ||
l = R.squash_qn ||
l = ["FStar"; "Ghost"; "erased"] | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 34,
"end_line": 1033,
"start_col": 0,
"start_line": 1030
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | l: FStar.Stubs.Reflection.Types.name -> Prims.bool | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.name",
"Prims.op_BarBar",
"Prims.op_Equality",
"Prims.list",
"Prims.string",
"FStar.Reflection.Const.unit_lid",
"FStar.Reflection.Const.squash_qn",
"Prims.Cons",
"Prims.Nil",
"Prims.bool"
] | [] | false | false | false | true | false | let is_non_informative_name (l: name) : bool =
| l = R.unit_lid || l = R.squash_qn || l = ["FStar"; "Ghost"; "erased"] | false |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.sigelt_for | val sigelt_for : g: FStar.Stubs.Reflection.Types.env -> Type0 | let sigelt_for (g:env) =
tup:(bool & sigelt & option blob)
{
let (checked, se, _) = tup in
checked ==> sigelt_typing g se
} | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 1801,
"start_col": 0,
"start_line": 1796
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | g: FStar.Stubs.Reflection.Types.env -> Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"FStar.Pervasives.Native.tuple3",
"Prims.bool",
"FStar.Stubs.Reflection.Types.sigelt",
"FStar.Pervasives.Native.option",
"FStar.Reflection.Typing.blob",
"Prims.l_imp",
"Prims.b2t",
"FStar.Reflection.Typing.sigelt_typing"
] | [] | false | false | false | true | true | let sigelt_for (g: env) =
| tup:
(bool & sigelt & option blob)
{ let checked, se, _ = tup in
checked ==> sigelt_typing g se } | false | |
FStar.Reflection.Typing.fsti | FStar.Reflection.Typing.dsl_tac_result_t | val dsl_tac_result_t : g: FStar.Stubs.Reflection.Types.env -> Type0 | let dsl_tac_result_t (g:env) = list (sigelt_for g) | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 50,
"end_line": 1803,
"start_col": 0,
"start_line": 1803
} | (*
Copyright 2008-2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Stubs.Reflection.V2.Data.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FSta... | [
{
"abbrev": true,
"full_module": "FStar.Stubs.Reflection.V2.Data",
"short_module": "RD"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | g: FStar.Stubs.Reflection.Types.env -> Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Stubs.Reflection.Types.env",
"Prims.list",
"FStar.Reflection.Typing.sigelt_for"
] | [] | false | false | false | true | true | let dsl_tac_result_t (g: env) =
| list (sigelt_for g) | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.