conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Move function-specific comment right before function\n\nCurrently, this seems a comment about the whole module.\n\nOld-commit-hash: c25e918e712496981adfe4c74f94a8d80e8e5052\n"
},
{
"from": "human",
"value": "module Base.Change.Context\n {Type : Set}\n (ΔType :... | agda | chosen |
[
{
"from": "system",
"value": "Improve printing of resolved overloading.\n\nAfter this change, the semantic brackets will contain the syntactic\nthing even if Agda displays explicitly resolved overloaded notation.\n\nOld-commit-hash: c8cbc43ed8e715342e0cc3bccc98e0be2dd23560\n"
},
{
"from": "human",
... | agda | chosen |
[
{
"from": "system",
"value": "Add Any predicate for binary tree\n"
},
{
"from": "human",
"value": "{-# OPTIONS --without-K #-}\nopen import Type hiding (★)\n\nmodule Data.Tree.Binary where\n\ndata BinTree {a} (A : ★ a) : ★ a where\n empty : BinTree A\n leaf : A → BinTree A\n fork : (ℓ r : B... | agda | chosen |
[
{
"from": "human",
"value": "Add alternative defintion for IND CPA\n"
},
{
"from": "gpt",
"value": "\n{-# OPTIONS --without-K #-}\nopen import Type\nopen import Data.Product\nopen import Data.Bit\n\nmodule Game.IND-CPA-alt\n (PubKey : ★)\n (SecKey : ★)\n (Message : ★)\n (CipherTex... | agda | chosen |
[
{
"from": "human",
"value": "Add incomplete note on co-inductive natural numbers.\n"
},
{
"from": "gpt",
"value": "------------------------------------------------------------------------------\n-- Definition of FOTC Conat using Agda's co-inductive combinators\n----------------------------------... | agda | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.