Search is not available for this dataset
text string | meta dict |
|---|---|
data Unit : Set where
unit : Unit
P : Unit β Set
P unit = Unit
postulate
Q : (u : Unit) β P u β Set
variable
u : Unit
p : P u
postulate
q : P u β Q u p
q' : (u : Unit) (p : P u) β P u β Q u p
q' u p = q {u} {p}
| {
"alphanum_fraction": 0.4933920705,
"avg_line_length": 11.35,
"ext": "agda",
"hexsha": "50b8352825106b5e804d0de7128705ec9cf5af8b",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:... |
data β : Set where
zero : β
suc : β β β
{-# BUILTIN NATURAL β #-}
infixl 6 _+_
infix 6 _βΈ_
_+_ : β β β β β
zero + n = n
suc m + n = suc (m + n)
_βΈ_ : β β β β β
m βΈ zero = m
zero βΈ suc n = zero
suc m βΈ suc n = m βΈ n
should-be-rejected : β
should-be-rejected = 1 + 0 βΈ 1
| {
"alphanum_fraction": 0.5052264808,
"avg_line_length": 13.6666666667,
"ext": "agda",
"hexsha": "2d3a1a0678390e4f4439c6f2db502b93d1eea59f",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
-- {-# OPTIONS -v term:20 #-}
-- Andreas, 2011-04-19 (Agda list post by Leonard Rodriguez)
module TerminationSubExpression where
infixr 3 _β¨_
data Type : Set where
int : Type
_β¨_ : Type β Type β Type
test : Type β Type
test int = int
test (Ο β¨ int) = test Ο
test (Ο β¨ (Οβ² β¨ Οβ³)) = test (Οβ² β¨ Οβ³)
-- this should ... | {
"alphanum_fraction": 0.5732600733,
"avg_line_length": 21,
"ext": "agda",
"hexsha": "16ac402e49e460fe5493694f922d365c118ec9ae",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "205... |
{-# OPTIONS --safe --warning=error --without-K #-}
open import Sets.EquivalenceRelations
open import Setoids.Setoids
open import Functions.Definition
open import Groups.Definition
open import Groups.Homomorphisms.Definition
open import Groups.Subgroups.Definition
open import Groups.Subgroups.Normal.Definition
module ... | {
"alphanum_fraction": 0.7504862462,
"avg_line_length": 71.98,
"ext": "agda",
"hexsha": "35ef2809f0226dba2c0f61791f45c712e9ea4aae",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-29T13:23:07... |
{-# BUILTIN NATURAL β #-}
module the-naturals where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_β‘_; refl)
open Eq.β‘-Reasoning using (begin_; _β‘β¨β©_; _β)
infixl 6 _+_ _βΈ_
infixl 7 _*_
-- the naturals
data β : Set where
zero : β
suc : β β β
-- addition
_+_ : β β β β β
zero + n = n
(suc ... | {
"alphanum_fraction": 0.5615942029,
"avg_line_length": 16.7272727273,
"ext": "agda",
"hexsha": "a2ffecbed0a3b576537d1af7c6705da337243dee",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
module Category.Functor.Arr where
open import Agda.Primitive using (_β_)
open import Category.Functor using (RawFunctor ; module RawFunctor )
open import Category.Applicative using (RawApplicative; module RawApplicative)
open import Function using (_β_)
open import Category.Functor.Lawful
open import Relation... | {
"alphanum_fraction": 0.6630920465,
"avg_line_length": 34.96875,
"ext": "agda",
"hexsha": "7ff0c6ea8523b74f0c456754545987d742c83875",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha"... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Universe levels
------------------------------------------------------------------------
module Level where
-- Levels.
open import Agda.Primitive public
using (Level; _β_)
renaming (lzero to zero; lsuc ... | {
"alphanum_fraction": 0.4496644295,
"avg_line_length": 20.3181818182,
"ext": "agda",
"hexsha": "648bf49c05fcdfb23a6e1ee60f4ad322e7ec677d",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.NConnected
open import lib.types.Nat
open import lib.types.TLevel
open import lib.types.Empty
open import lib.types.Group
open import lib.types.Pi
open import lib.types.Pointed
open import lib.types.Paths
open import lib.types.Sigma
open import lib.typ... | {
"alphanum_fraction": 0.4476686996,
"avg_line_length": 32.3757961783,
"ext": "agda",
"hexsha": "135baf1abc80410eaa9fe7bc837f992e105a6d8c",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
open import Prelude
module Implicits.Syntax.Term where
open import Implicits.Syntax.Type
infixl 9 _[_] _Β·_
data Term (Ξ½ n : β) : Set where
var : (x : Fin n) β Term Ξ½ n
Ξ : Term (suc Ξ½) n β Term Ξ½ n
Ξ»' : Type Ξ½ β Term Ξ½ (suc n) β Term Ξ½ n
_[_] : Term Ξ½ n β Type Ξ½ β Term Ξ½ n
_Β·_ : Term Ξ½ n β Term Ξ½ n ... | {
"alphanum_fraction": 0.5217853348,
"avg_line_length": 26.1388888889,
"ext": "agda",
"hexsha": "73e46aef827433ba0ae3a8552403b7f29d13ac88",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Library where
module Literals where open import Light.Literals public
module Data where
module Empty where open import Light.Library.Data.Empty public
module Either where open import Light.Library.Data.Either pub... | {
"alphanum_fraction": 0.7677772253,
"avg_line_length": 46.7674418605,
"ext": "agda",
"hexsha": "853888e8dbdf22e87333e815fb286ecf8b9434fb",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Instances.Polynomials where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.CommRing
open import Cubical.Algebra.Polynomials
private
variable
β : Level
Poly : (CommRing β) β CommRing β
Poly R = (PolyMod.Poly R) , str
where
o... | {
"alphanum_fraction": 0.5036166365,
"avg_line_length": 33.5151515152,
"ext": "agda",
"hexsha": "a359a454a95bb376620ac769e25c791da32ef222",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
module empty where
open import level
----------------------------------------------------------------------
-- datatypes
----------------------------------------------------------------------
data β₯ {β : Level} : Set β where
----------------------------------------------------------------------
-- syntax
----------... | {
"alphanum_fraction": 0.1517706577,
"avg_line_length": 28.2380952381,
"ext": "agda",
"hexsha": "fd2cb85734e977f589c421f3bb3bd74135151bf0",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
-- Andreas, 2015-08-11, issue reported by G.Allais
-- The `a` record field of `Pack` is identified as a function
-- (coloured blue, put in a \AgdaFunction in the LaTeX backend)
-- when it should be coloured pink.
-- The problem does not show up when dropping the second record
-- type or removing the module declaration... | {
"alphanum_fraction": 0.687150838,
"avg_line_length": 29.8333333333,
"ext": "agda",
"hexsha": "ef714adf1ad14bc1901ef64e28438600eec7fd80",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Nat.GCD where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Induction.... | {
"alphanum_fraction": 0.5252161383,
"avg_line_length": 34.2716049383,
"ext": "agda",
"hexsha": "c5196cf0abe5ed14028d89c715014059ac863565",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --prop --without-K --rewriting #-}
module Calf.Types.Bool where
open import Calf.Prelude
open import Calf.Metalanguage
open import Data.Bool public using (Bool; true; false; if_then_else_)
bool : tp pos
bool = U (meta Bool)
| {
"alphanum_fraction": 0.7333333333,
"avg_line_length": 20,
"ext": "agda",
"hexsha": "581307995d4d9804de484679a277db7a1105c718",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-01-29T08:12:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-10-06T10:28:24.00... |
{-# OPTIONS --safe #-}
module MissingDefinition where
T : Set -> Set
| {
"alphanum_fraction": 0.6571428571,
"avg_line_length": 14,
"ext": "agda",
"hexsha": "0ce46b49d9be468775377e9d5a159066a54ecb17",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08.... |
{- Cubical Agda with K
This file demonstrates the incompatibility of the --cubical
and --with-K flags, relying on the well-known incosistency of K with
univalence.
The --safe flag can be used to prevent accidentally mixing such
incompatible flags.
-}
{-# OPTIONS --with-K #-}
module Cubical.WithK where
open import... | {
"alphanum_fraction": 0.709760274,
"avg_line_length": 24.3333333333,
"ext": "agda",
"hexsha": "8adf2905a9a593b453a4ded9500a2babf2a44836",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hex... |
module WrongNamedArgument2 where
postulate
f : {A : Setβ} β A
test : Set
test = f {B = Set}
-- Unsolved meta.
-- It is not an error since A could be instantiated to a function type
-- accepting hidden argument with name B.
| {
"alphanum_fraction": 0.701754386,
"avg_line_length": 19,
"ext": "agda",
"hexsha": "8ff2c85ca3b4b3a6299af02bf9683c17863d1b53",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08.0... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Argument information used in the reflection machinery
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Reflection.Argument.Information where
op... | {
"alphanum_fraction": 0.5673678226,
"avg_line_length": 33.1886792453,
"ext": "agda",
"hexsha": "22a0e92ae2a0de22e8cc2d134d9ed93cf56c4127",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-04T... |
{-# OPTIONS --rewriting #-}
module FFI.Data.Vector where
open import Agda.Builtin.Equality using (_β‘_)
open import Agda.Builtin.Equality.Rewrite using ()
open import Agda.Builtin.Int using (Int; pos; negsuc)
open import Agda.Builtin.Nat using (Nat)
open import Agda.Builtin.Bool using (Bool; false; true)
open import F... | {
"alphanum_fraction": 0.6420428637,
"avg_line_length": 40.6111111111,
"ext": "agda",
"hexsha": "08761edf850acead13e94ec0267acfdd5676b3fa",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
open import Function using (_β_)
open import Category.Functor
open import Category.Monad
open import Data.Empty using (β₯; β₯-elim)
open import Data.Fin as Fin using (Fin; zero; suc)
open import Data.Fin.Props as FinProps using ()
open import Data.Maybe as Maybe using (Maybe; maybe; just; nothing)
open import Data.Nat us... | {
"alphanum_fraction": 0.5723645724,
"avg_line_length": 42.6284289277,
"ext": "agda",
"hexsha": "878f11eae9166ecb4d9601d9c99ab02eb58e8674",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.RingStructure.GradedCommutativity where
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function
open import Cubical.Foundations.Transport
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.I... | {
"alphanum_fraction": 0.4246041602,
"avg_line_length": 56.8077601411,
"ext": "agda",
"hexsha": "11866cc169686b648f7bf25515516114ab57dafa",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Divisibility
------------------------------------------------------------------------
module Data.Nat.Divisibility where
open import Data.Nat as Nat
open import Data.Nat.DivMod
import Data.Nat.Properties as Nat... | {
"alphanum_fraction": 0.5202129429,
"avg_line_length": 29.038647343,
"ext": "agda",
"hexsha": "59850d6559e7539eea9852732172275af6c80e10",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hex... |
------------------------------------------------------------------------
-- An alternative (non-standard) classical definition of weak
-- bisimilarity
------------------------------------------------------------------------
-- This definition is based on the function "wb" in Section 6.5.1 of
-- Pous and Sangiorgi's "E... | {
"alphanum_fraction": 0.5941114616,
"avg_line_length": 27.1714285714,
"ext": "agda",
"hexsha": "e34e6367e2ad4618c78292c955c63e40d0e13bc9",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
------------------------------------------------------------------------------
-- Properties related with the group commutator
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-p... | {
"alphanum_fraction": 0.4873803307,
"avg_line_length": 41.0357142857,
"ext": "agda",
"hexsha": "4c7c4b22d7e30e41032573c5c7c72768acb8e425",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-19T... |
-- 2014-01-01 Andreas, test case constructed by Christian Sattler
{-# OPTIONS --allow-unsolved-metas #-}
-- unguarded recursive record
record R : Set where
constructor cons
field
r : R
postulate F : (R β Set) β Set
q : (β P β F P) β (β P β F P)
q h P = h (Ξ» {(cons x) β {!!}})
-- ISSUE WAS: Bug in implement... | {
"alphanum_fraction": 0.6323907455,
"avg_line_length": 21.6111111111,
"ext": "agda",
"hexsha": "6b75339fd73f513fd0a79812d189c456c14ce299",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-12T... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Examples of format strings and printf
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module README.Text.Printf where
open import Data.Nat.Base
open ... | {
"alphanum_fraction": 0.5886200131,
"avg_line_length": 31.2040816327,
"ext": "agda",
"hexsha": "638962ee50fc895327ae09ba4bb4d3c183e307b4",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-04T... |
module Inference-of-implicit-function-space where
postulate
_β_ : Set β Set β Set
equivalence : {A B : Set} β (A β B) β (B β A) β A β B
A : Set
P : Set
P = {x : A} β A β A
works : P β P
works = equivalence (Ξ» r {x} β r {x = x}) (Ξ» r {x} β r {x = x})
worksβ : P β P
worksβ = equivalence {A = P... | {
"alphanum_fraction": 0.4691075515,
"avg_line_length": 23,
"ext": "agda",
"hexsha": "56d8c1fa55202968349a519d1fa1dd17b65faa92",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08.... |
{-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Introductions.Transp {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped as U hiding (wk)
open import Definition.Untyped.Properties
open import Definition.Typed
open import ... | {
"alphanum_fraction": 0.5627016129,
"avg_line_length": 62,
"ext": "agda",
"hexsha": "7e209ba0ca1597da34023e7a9e18d3e819225535",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-02-15T19:42:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-26T14:55:51.00... |
--------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
{-# OPTIONS --sized-types --guardedness #-}
open import Data.Product
open import Data.Vec
open import Codata.Colist as Colist
open import Agda.Builtin.Equality
open import Size
open import Codata... | {
"alphanum_fraction": 0.5938161796,
"avg_line_length": 29.5125,
"ext": "agda",
"hexsha": "b6b83f1de4cc9b67683f078537046fbcfc313bf4",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
{-# OPTIONS --cubical-compatible #-}
open import Common.Prelude
open import Common.Equality
open import Common.Product
data _β
_ {A : Set} (a : A) : {B : Set} (b : B) β Setβ where
refl : a β
a
data D : Bool β Set where
x : D true
y : D false
P : Set -> Setβ
P S = Ξ£ S (\s β s β
x)
pbool : P (D true)
pbool = _... | {
"alphanum_fraction": 0.5679347826,
"avg_line_length": 17.5238095238,
"ext": "agda",
"hexsha": "c1b00be20b1e195fd107d963b558085d4b05c7fe",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
End of preview. Expand in Data Studio
NOTE: Please see EleutherAI/proof-pile-2
This is a cherry-picked repackaging of the algebraic-stack segment from the proof-pile-2 dataset as parquet files
License
Citation
- Downloads last month
- 1,597