dassarthak18/phi3.5-fstar-lora
Text Generation • Updated
messages listlengths 2 2 |
|---|
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Type0\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the Licen... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Type0\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Inline.X64.Fadd_inline\n\nopen Vale.X64.CPU_Features_s\nopen FStar.HyperStack.ST\nmodule B = LowStar.Buffer\nmodule HS = FStar.HyperStack\nopen Vale.Curve25519.Fast_defs\n... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Type0\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Inline.X64.Fadd_inline\n\nopen Vale.X64.CPU_Features_s\nopen FStar.HyperStack.ST\nmodule B = LowStar.Buffer\nmodule HS = FStar.HyperStack\nopen Vale.Curve25519.Fast_defs\n... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Type0\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Inline.X64.Fadd_inline\n\nopen Vale.X64.CPU_Features_s\nopen FStar.HyperStack.ST\nmodule B = LowStar.Buffer\nmodule HS = FStar.HyperStack\nopen Vale.Curve25519.Fast_defs\n... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: d_sub: Pulse.Typing.st_sub g c1 c2\n -> Prims.dtuple2 FStar.Stubs.Reflection.Types.term\n (fun t ->\n FStar.Reflection.Typing.tot_typing (Pulse.Typing.elab_env g)\n t\n (Pulse.Elaborat... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n g: Pulse.Typing.Env.env ->\n p: Pulse.Syntax.Base.term ->\n typing: Pulse.Typing.tot_typing g p Pulse.Typing.tm_prop\n -> FStar.Tactics.Effect.Tac (Pulse.Typing.prop_validity g p)\nEffect: FStar.Tactics.Effec... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n b: LowStar.Buffer.buffer FStar.UInt64.t {LowStar.Monotonic.Buffer.length b == 4} ->\n h: FStar.Monotonic.HyperStack.mem\n -> Prims.GTot Prims.nat\nEffect: Prims.GTot\n\nContext:\nmodule Vale.Inline.X64.Fadd_inli... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Vale.Interop.Base.normal Vale.Stdcalls.X64.Aes.lowstar_key128_t\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Stdcalls.X64.Aes\n\nopen FStar.Mul\nopen FStar.HyperStack.ST\nmodule HS = FStar.HyperStack\nmodule B = LowStar.Bu... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Vale.Interop.Base.normal Vale.Stdcalls.X64.Aes.lowstar_key256_t\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Stdcalls.X64.Aes\n\nopen FStar.Mul\nopen FStar.HyperStack.ST\nmodule HS = FStar.HyperStack\nmodule B = LowStar.Bu... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: l1: IfcRulesReify.label -> l2: IfcRulesReify.label -> Prims.bool\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n yo... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: l1: IfcRulesReify.label -> l2: IfcRulesReify.label -> Prims.bool\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n yo... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: env: IfcRulesReify.label_fun -> e: WhileReify.exp -> l: IfcRulesReify.label -> Type0\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the ... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: l1: IfcRulesReify.label -> l2: IfcRulesReify.label -> IfcRulesReify.label\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the \"License\"... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: l1: IfcRulesReify.label -> l2: IfcRulesReify.label -> IfcRulesReify.label\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the \"License\"... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n c: WhileReify.com ->\n l: IfcRulesReify.label ->\n h0: Rel.rel FStar.DM4F.Heap.IntStoreFixed.heap\n -> Type0\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Mic... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: env: IfcRulesReify.label_fun -> c: WhileReify.com -> l: IfcRulesReify.label -> Type0\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the ... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n c: Pulse.Syntax.Base.comp_st ->\n frame: Pulse.Syntax.Base.term ->\n e: FStar.Stubs.Reflection.Types.term\n -> FStar.Stubs.Reflection.Types.term\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2023 Microsoft... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n bc: Pulse.Typing.bind_comp g x c1 c2 c ->\n e1: FStar.Stubs.Reflection.Types.term ->\n e2: FStar.Stubs.Reflection.Types.term\n -> FStar.Stubs.Reflection.Types.term\nEffect: Prims.Tot\n\nContext:\n(*\n Copyr... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: d: Pulse.Typing.lift_comp g c1 c2 -> e: FStar.Stubs.Reflection.Types.term\n -> FStar.Stubs.Reflection.Types.term\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2023 Microsoft Research\n\n Licensed under the Apache Li... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term\n -> FStar.Stubs.Reflection.Types.term\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2023 Microsoft Research\n\n Licensed under the Apac... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Vale.Stdcalls.X64.Aes.lowstar_key128_t\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Stdcalls.X64.Aes\n\nopen FStar.Mul\nopen FStar.HyperStack.ST\nmodule HS = FStar.HyperStack\nmodule B = LowStar.Buffer\nmodule DV = LowStar... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n c1: Pulse.Syntax.Base.comp_st ->\n c2: Pulse.Syntax.Base.comp_st ->\n e: FStar.Stubs.Reflection.Types.term\n -> FStar.Stubs.Reflection.Types.term\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2023 Microsof... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n c: WhileReify.com ->\n l: IfcRulesReify.label ->\n h0: FStar.DM4F.Heap.IntStoreFixed.heap\n -> Type0\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2008-2018 Microsoft R... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: p: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.st_term\nEffect: Prims.Tot\n\nContext:\n(*\n Copyright 2023 Microsoft Research\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use t... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n r: FStar.DM4F.Heap.IntStoreFixed.id ->\n h0: FStar.DM4F.Heap.IntStoreFixed.heap\n -> FStar.Pervasives.Lemma (ensures IfcRulesReify.inv_com' env (Whi... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: env: IfcRulesReify.label_fun -> e: WhileReify.exp -> r: FStar.DM4F.Heap.IntStoreFixed.id\n -> FStar.Pervasives.Lemma (requires IfcRulesReify.ni_exp env e (env r))\n (ensures IfcRulesReify.ni_com env (WhileReify.Assi... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n r: FStar.DM4F.Heap.IntStoreFixed.id ->\n ne: Prims.squash (IfcRulesReify.ni_exp env e (env r)) ->\n h0: Rel.rel FStar.DM4F.Heap.IntStoreFixed.heap... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: Vale.Stdcalls.X64.Aes.lowstar_key256_t\nEffect: Prims.Tot\n\nContext:\nmodule Vale.Stdcalls.X64.Aes\n\nopen FStar.Mul\nopen FStar.HyperStack.ST\nmodule HS = FStar.HyperStack\nmodule B = LowStar.Buffer\nmodule DV = LowStar... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: env: IfcRulesReify.label_fun -> c1: WhileReify.com -> c2: WhileReify.com -> l: IfcRulesReify.label\n -> FStar.Pervasives.Lemma\n (requires IfcRulesReify.ni_com env c1 l /\\ IfcRulesReify.ni_com env c2 l)\n (ens... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n c1: WhileReify.com ->\n c2: WhileReify.com ->\n l: IfcRulesReify.label ->\n h0: FStar.DM4F.Heap.IntStoreFixed.heap\n -> FStar.Pervasives.Lemma\n (requires IfcRules... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n ct: WhileReify.com ->\n cf: WhileReify.com ->\n l: IfcRulesReify.label ->\n h0: FStar.DM4F.Heap.IntStoreFixed.heap\n -> FStar.Pervasives.Lemma... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n g: Pulse.Typing.Env.env ->\n pre: Pulse.Syntax.Base.term ->\n pre_typing: Pulse.Typing.tot_typing g pre Pulse.Syntax.Base.tm_vprop ->\n post_hint: Pulse.Typing.post_hint_opt g ->\n res_ppname: Pulse.Synt... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n st: Hacl.Spec.SHA2.Vec.state_spec a m ->\n j: Prims.nat{j < Hacl.Spec.SHA2.Vec.lanes a m} ->\n i: Prims.nat{i < 8 * Spec.Hash.Definitions.word_length a}\n -> FStar.Pervasives.Lemma\n (ensures\n (let l... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n ct: WhileReify.com ->\n cf: WhileReify.com ->\n l: IfcRulesReify.label\n -> FStar.Pervasives.Lemma\n (requires\n IfcRulesReify.ni_exp... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n c: WhileReify.com ->\n v: WhileReify.metric ->\n l: IfcRulesReify.label\n -> FStar.Pervasives.Lemma (requires IfcRulesReify.ni_exp env e l /\\ If... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n ct: WhileReify.com ->\n cf: WhileReify.com ->\n l: IfcRulesReify.label ->\n h0: Rel.rel FStar.DM4F.Heap.IntStoreFixed.heap\n -> FStar.Pervasiv... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n c1: WhileReify.com ->\n c2: WhileReify.com ->\n l: IfcRulesReify.label ->\n h0: Rel.rel FStar.DM4F.Heap.IntStoreFixed.heap\n -> FStar.Pervasives.Lemma\n (requires ... |
[
{
"role": "user",
"content": "Complete this F* function with a correct proof.\n\nType: \n env: IfcRulesReify.label_fun ->\n e: WhileReify.exp ->\n c: WhileReify.com ->\n v: WhileReify.metric ->\n l: IfcRulesReify.label ->\n h0: Rel.rel FStar.DM4F.Heap.IntStoreFixed.heap\n -> FStar.Pervasi... |
This dataset is a preprocessed version of microsoft/FStarDataSet-V2. It has been reformatted into a chat-style JSONL structure for supervised fine-tuning of language models on F* function synthesis and proof completion.
The dataset consists of three splits:
fstar_train.jsonlfstar_validation.jsonlfstar_test.jsonlEach line in these files is a JSON object with the following schema (where the keys correspond to the keys in the original dataset):
{
"messages": [
{"role": "user", "content": "Complete this F* function with a correct proof.\nType: <verbose_type>\nEffect: <effect>\nContext: <file_context>\nPartial implementation: <partial_definition>"},
{"role": "assistant", "content": "<completed_definiton>"}
]
}
This format is compatible with supervised fine-tuning frameworks such as TRL, Fireworks AI SFT, or OpenAI-style chat tuning.
microsoft/FStarDataSet-V2The dataset is intended for research and experimentation in program synthesis, theorem proving, and fine-tuning large language models on functional proof-oriented languages such as F*.