hexsha stringlengths 40 40 | size int64 3 1.05M | ext stringclasses 163
values | lang stringclasses 53
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 112 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 113 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 116k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 113 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 3 1.05M | avg_line_length float64 1 966k | max_line_length int64 1 977k | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
39ab03b9e8d049b3e7158a5936781b2fb9ee678c | 2,600 | agda | Agda | src/Bf/Ip.agda | mietek/formal-logic | 2dd761bfa96ccda089888e8defa6814776fa2922 | [
"X11"
] | 26 | 2015-08-31T09:49:52.000Z | 2021-11-13T12:37:44.000Z | src/Bf/Ip.agda | mietek/formal-logic | 2dd761bfa96ccda089888e8defa6814776fa2922 | [
"X11"
] | null | null | null | src/Bf/Ip.agda | mietek/formal-logic | 2dd761bfa96ccda089888e8defa6814776fa2922 | [
"X11"
] | null | null | null | -- Intuitionistic propositional logic, de Bruijn approach, final encoding
module Bf.Ip where
open import Lib using (List; _,_; LMem; lzero; lsuc)
-- Types
infixl 2 _&&_
infixl 1 _||_
infixr 0 _=>_
data Ty : Set where
UNIT : Ty
_=>_ : Ty -> Ty -> Ty
_&&_ : Ty -> Ty -> Ty
_||_ : Ty -> Ty -> T... | 21.848739 | 94 | 0.474231 |
5936c9983e2e992a50da077df72aef4d04d1ff1b | 373 | agda | Agda | test/Succeed/Issue3167prop.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3167prop.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3167prop.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2018-09-12, issue #3167-2: --(no-)prop option
--
-- A local --prop option should override a global --no-prop flag.
-- Issue3167prop.flags has --no-prop.
{-# OPTIONS --prop #-}
-- The following depends on Prop enabled
data _≡_ {a} {A : Prop a} (x : A) : A → Prop a where
refl : x ≡ x
data P : Prop where... | 20.722222 | 65 | 0.595174 |
0bff0edbec1f7053d3cd246d508e9d065a052118 | 1,852 | agda | Agda | src/Categories/NaturalTransformation/Extranatural.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/NaturalTransformation/Extranatural.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/NaturalTransformation/Extranatural.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.NaturalTransformation.Extranatural where
-- Although there is a notion of Extranatural in Categories.NaturalTransformation.Dinatural,
-- it isn't the most general form, thus the need for this as well.
open import Level
open import Data.Product
open import Relation.... | 34.943396 | 112 | 0.535097 |
2f459349f165c31bc28425cb1a8661090ae603fd | 13,213 | agda | Agda | complexity/Bounding.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 2 | 2016-04-26T20:22:22.000Z | 2019-08-08T12:27:18.000Z | complexity/Bounding.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 1 | 2020-03-23T08:39:04.000Z | 2020-05-12T00:32:45.000Z | complexity/Bounding.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | null | null | null | {- PROOF OF BOUNDING THEOREM -}
open import Preliminaries
open import Source
open import Complexity
open import Translation
open import Bounding-Lemmas
module Bounding where
boundingRec : ∀ {τ} (v : [] Source.|- nat) (val-v : val v)
(e0 : [] Source.|- τ)
(e1 : (nat :: su... | 73.815642 | 264 | 0.539998 |
31780aa8594519227d4dba85bff914ea6d41ecd4 | 1,085 | agda | Agda | src/Types/Tail.agda | peterthiemann/dual-session | 7a8bc1f6b2f808bd2a22c592bd482dbcc271979c | [
"BSD-2-Clause"
] | 1 | 2022-02-13T05:43:25.000Z | 2022-02-13T05:43:25.000Z | src/Types/Tail.agda | peterthiemann/dual-session | 7a8bc1f6b2f808bd2a22c592bd482dbcc271979c | [
"BSD-2-Clause"
] | null | null | null | src/Types/Tail.agda | peterthiemann/dual-session | 7a8bc1f6b2f808bd2a22c592bd482dbcc271979c | [
"BSD-2-Clause"
] | 1 | 2019-12-07T16:12:50.000Z | 2019-12-07T16:12:50.000Z | module Types.Tail where
open import Data.Nat
open import Data.Fin
open import Function using (_∘_)
open import Types.Direction
-- session types restricted to tail recursion
-- can be recognized by type of TChan constructor
data Type : Set
data SType (n : ℕ) : Set
data GType (n : ℕ) : Set
data Type where
TUnit TIn... | 23.085106 | 63 | 0.648848 |
12d4a8b4fb3fb2172921abbc077b8fe513f52b17 | 733 | agda | Agda | old/Sets/BoolSet/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | old/Sets/BoolSet/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | old/Sets/BoolSet/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Sets.BoolSet.Proofs{ℓ₁} where
open import Data.Boolean
open import Data.Boolean.Proofs
open import Functional
open import Logic.Propositional
open import Sets.BoolSet{ℓ₁}
open import Type
module _ {ℓ₂}{T : Type{ℓ₂}} where
[∈]-in-[∪] : ∀{a : T}{S₁ S₂ : BoolSet(T)} → (a ∈ S₁) → (a ∈ (S₁ ∪ S₂))
[∈]-in-[∪] pro... | 33.318182 | 83 | 0.51296 |
dcde4577f44d923b283aef830559819ce4c89ef4 | 480 | agda | Agda | test/Fail/NonCopatternInstance.agda | jespercockx/agda2hs | 703c66db29023f5538eaa841f38dc34e89473a3e | [
"MIT"
] | 55 | 2020-10-20T13:36:25.000Z | 2022-03-26T21:57:56.000Z | test/Fail/NonCopatternInstance.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 63 | 2020-10-22T05:19:27.000Z | 2022-02-25T15:47:30.000Z | test/Fail/NonCopatternInstance.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 18 | 2020-10-21T22:19:09.000Z | 2022-03-12T11:42:52.000Z |
module Fail.NonCopatternInstance where
record HasId (a : Set) : Set where
field id : a → a
open HasId ⦃ ... ⦄
{-# COMPILE AGDA2HS HasId class #-}
data Unit : Set where
MkUnit : Unit
{-# COMPILE AGDA2HS Unit #-}
instance
UnitHasId : HasId Unit
UnitHasId = r -- NOT CORRECT
where r =... | 20 | 50 | 0.577083 |
a10aa65adb85fc8eceededf07f600b745b8a6e21 | 403 | agda | Agda | test/fail/Test1.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | test/fail/Test1.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | test/fail/Test1.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Base
module test.fail.Test1 where
module _ where
private
data #I-aux : Type₀ where
#zero : #I-aux
#one : #I-aux
data #I : Type₀ where
#i : #I-aux → (Unit → Unit) → #I
I : Type₀
I = #I
zero : I
zero = #i #zero _
one : I
one = #i ... | 13 | 38 | 0.533499 |
c5377cf237faa5689a72495ec211827055529fe5 | 826 | agda | Agda | Cubical/Algebra/RingSolver/RawRing.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/RingSolver/RawRing.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/RingSolver/RawRing.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.RingSolver.RawRing where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Data.Nat using (ℕ)
open import Cubical.Algebra.RingSolver.AlmostRing hiding (⟨_⟩)
private
variable
ℓ : Level
record RawR... | 22.944444 | 71 | 0.659806 |
0b578fff56a0b1d61154d340c78690c42a980f2a | 6,941 | agda | Agda | Cubical/Algebra/RingSolver/Solver.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Algebra/RingSolver/Solver.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Algebra/RingSolver/Solver.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Algebra.RingSolver.Solver where
open import Cubical.Foundations.Prelude
open import Cubical.Data.FinData
open import Cubical.Data.Nat using (ℕ)
open import Cubical.Data.Nat.Order using (zero-≤)
open import Cubical.Data.Vec.Base
open import Cubical.Algebra.RingSolver.AlmostRing
op... | 45.966887 | 93 | 0.464342 |
1248d8d1221ce56e3885b6fdb304cf0183e75db3 | 2,140 | agda | Agda | benchmark/misc/UniversePolymorphicFunctor.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | benchmark/misc/UniversePolymorphicFunctor.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | benchmark/misc/UniversePolymorphicFunctor.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --universe-polymorphism #-}
module UniversePolymorphicFunctor where
open import Agda.Primitive renaming (lsuc to suc)
record IsEquivalence {a ℓ} {A : Set a}
(_≈_ : A → A → Set ℓ) : Set (a ⊔ ℓ) where
field
refl : ∀ {x} → x ≈ x
sym : ∀ {i j} → i ≈ j → j ≈ i
trans : ∀ {... | 27.792208 | 67 | 0.484112 |
2f6d897a3efe833ae07ea31277d5c32903b3e304 | 287 | agda | Agda | src/Categories/Functor/Presheaf.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Functor/Presheaf.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Functor/Presheaf.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Functor.Presheaf where
open import Categories.Category
open import Categories.Functor
Presheaf : ∀ {o ℓ e} {o′ ℓ′ e′} (C : Category o ℓ e) (V : Category o′ ℓ′ e′) → Set _
Presheaf C V = Functor C.op V
where module C = Category C
| 26.090909 | 84 | 0.675958 |
31670ca7b32664780b6dcdc87c801330413c1b95 | 2,602 | agda | Agda | experiments/Explore/Universe/Logical.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | 2 | 2016-06-05T09:25:32.000Z | 2017-06-28T19:19:29.000Z | experiments/Explore/Universe/Logical.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | 1 | 2019-03-16T14:24:04.000Z | 2019-03-16T14:24:04.000Z | experiments/Explore/Universe/Logical.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | null | null | null | open import Level.NP
open import Type
open import Relation.Binary.Logical
open import Relation.Binary.PropositionalEquality
module Explore.Universe.Logical (X : ★) where
open import Explore.Universe.Type
open import Explore.Universe X
open import Explore.Core
module From⟦X⟧ (⟦X⟧ : ⟦★₀⟧ X X) where
-- TODO _⟦≃⟧_ : ... | 32.936709 | 292 | 0.445427 |
0689104c28a440e5e8224b4a42b4cbd15fd72e7b | 845 | agda | Agda | Cubical/Displayed/Constant.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Displayed/Constant.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Displayed/Constant.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-
Functions building DUARels on constant families
-}
{-# OPTIONS --safe #-}
module Cubical.Displayed.Constant where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Displayed.Base
open import Cubical.Displayed.Subst
private
variable
ℓ ℓA ℓA' ℓP ℓ≅A ℓ≅A' ℓB ... | 21.125 | 62 | 0.661538 |
2fd2e7f30d78e8ce0bd3af64d30d8e70212c54f4 | 786 | agda | Agda | Cubical/Categories/Sets.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | null | null | null | Cubical/Categories/Sets.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Categories/Sets.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | 1 | 2021-11-22T02:02:01.000Z | 2021-11-22T02:02:01.000Z | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Sets where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Categories.Category
module _ ℓ where
SET : Precategory (ℓ-suc ℓ) ℓ
SET .ob = Σ (Type ℓ) isSet
SET .hom (A , _) (B , _) = A ... | 27.103448 | 67 | 0.637405 |
1cba3acd85a88fcc3a852119c172041325616fe8 | 3,809 | agda | Agda | Categories/Monoidal/Traced.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Monoidal/Traced.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Monoidal/Traced.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
module Categories.Monoidal.Traced where
open import Level
open import Data.Product
open import Data.Fin
open import Categories.Category
open import Categories.Monoidal
open import Categories.Functor hiding (id; _∘_; identityʳ; assoc)
open import Categories.Monoidal.Braided
ope... | 32.555556 | 91 | 0.515358 |
1c2001fa30b4cd625d686f2d8f4d3fe24d15feb6 | 781 | agda | Agda | Cubical/Data/NatMinusOne/Base.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Data/NatMinusOne/Base.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Data/NatMinusOne/Base.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-exact-split --safe #-}
module Cubical.Data.NatMinusOne.Base where
open import Cubical.Core.Primitives
open import Cubical.Data.Nat
open import Cubical.Data.Empty
record ℕ₋₁ : Type₀ where
constructor -1+_
field
n : ℕ
pattern neg1 = -1+ zero
pattern ℕ→ℕ₋₁ n = -1+ (suc n)
1+_ : ℕ₋₁ →... | 22.970588 | 71 | 0.627401 |
4ab42b9967b32c404280999f067e5a8d33e82142 | 6,808 | agda | Agda | Cubical/Structures/Relational/Function.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Structures/Relational/Function.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Structures/Relational/Function.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | {-
Index a structure T a positive structure S: X ↦ S X → T X
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Relational.Function where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundati... | 35.458333 | 99 | 0.559048 |
31eb389fd2228102386c8345f88a758f1c696bbc | 1,378 | agda | Agda | src/fot/Agsy/PA/Inductive/Properties.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/Agsy/PA/Inductive/Properties.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/Agsy/PA/Inductive/Properties.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Inductive PA arithmetic properties using Agsy
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-... | 32.809524 | 78 | 0.469521 |
10a1329f956c46b9f869e80b40aa2f6ec4547c83 | 1,336 | agda | Agda | Cubical/Codata/Conat/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Codata/Conat/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Codata/Conat/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {- Conatural numbers (Tesla Ice Zhang, Feb. 2019)
This file defines:
- A coinductive natural number representation which is dual to
the inductive version (zero | suc Nat → Nat) of natural numbers.
- Trivial operations (succ, pred) and the pattern synonyms on conaturals.
While this definition can be seen as a coin... | 23.857143 | 78 | 0.732036 |
1ce6e83b8061d8b8ac47432bece93aae5534b573 | 757 | agda | Agda | src/fot/FOTC/Program/Mirror/Mirror.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/Mirror/Mirror.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/Mirror/Mirror.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- The mirror function: A function with higher-order recursion
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS ... | 34.409091 | 78 | 0.437252 |
39ca73c4ec5187b3f7a2c42478363b3e8121562b | 1,380 | agda | Agda | test/Succeed/Issue4480.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue4480.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue4480.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --irrelevant-projections #-}
data _≡_ {A : Set} : A → A → Set where
refl : (x : A) → x ≡ x
module Erased where
record Erased (A : Set) : Set where
constructor [_]
field
@0 erased : A
open Erased
record _↔_ (A B : Set) : Set where
field
to : A → B
from : B →... | 21.904762 | 70 | 0.45 |
1ddb6cec0f558e4f4c7c063bd6be0670872532f6 | 1,871 | agda | Agda | 04-cubical-type-theory/material/ExerciseSession3.agda | HoTT/EPIT-2020 | 0502db788d6d2b3950e44f362cdb7d4da3ebce82 | [
"MIT"
] | 97 | 2021-03-19T14:13:37.000Z | 2022-03-15T13:58:25.000Z | 04-cubical-type-theory/material/ExerciseSession3.agda | HoTT/EPIT-2020 | 0502db788d6d2b3950e44f362cdb7d4da3ebce82 | [
"MIT"
] | 2 | 2021-03-31T18:27:23.000Z | 2021-04-13T09:03:56.000Z | 04-cubical-type-theory/material/ExerciseSession3.agda | HoTT/EPIT-2020 | 0502db788d6d2b3950e44f362cdb7d4da3ebce82 | [
"MIT"
] | 14 | 2021-03-19T12:36:53.000Z | 2022-03-22T19:37:21.000Z | -- Exercises for session 3
--
-- If unsure which exercises to do start with those marked with *
--
{-# OPTIONS --cubical --allow-unsolved-metas #-}
module ExerciseSession3 where
open import Part1
open import Part2
open import Part3
open import Part4
open import ExerciseSession1 hiding (B)
open import Cubical.Foundati... | 27.514706 | 66 | 0.691074 |
d0d3ec84d8dd932fa3415ab7cd65dc85b61712e0 | 569 | agda | Agda | test/Succeed/Issue137.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue137.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue137.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --no-termination-check #-}
module Issue137 where
record Foo : Set1 where
field
foo : {x : Set} → Set
record Bar : Set1 where
field
bar : Foo
record Baz (P : Bar) : Set1 where
field
baz : Set
postulate
P : Bar
Q : Baz P
f : Baz.baz Q → Set
f r with f r
f r | A = A
-- The bug was:
... | 16.735294 | 70 | 0.615114 |
c54372827314c06ff97ce104d13cb1090188eb74 | 511 | agda | Agda | test/interaction/Highlighting.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/interaction/Highlighting.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Highlighting.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | module Highlighting where
Set-one : Set₂
Set-one = Set₁
record R (A : Set) : Set-one where
constructor con
field X : Set
F : Set → Set → Set
F A B = B
field P : F A X → Set
-- highlighting of non-terminating definition
Q : F A X → Set
Q = Q
postulate P : _
open import Highlighting.M
data D (A :... | 15.96875 | 65 | 0.634051 |
31e668bd477dd58fa43206f549c16c14559afe6d | 97 | agda | Agda | test/Common/Unit.agda | alex-mckenna/agda | 78b62cd24bbd570271a7153e44ad280e52ef3e29 | [
"BSD-3-Clause"
] | 7 | 2018-11-05T22:13:36.000Z | 2018-11-06T16:38:43.000Z | test/Common/Unit.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 16 | 2018-10-08T00:32:04.000Z | 2019-09-08T13:47:04.000Z | test/Common/Unit.agda | xekoukou/agda-ocaml | 026a8f8473ab91f99c3f6545728e71fa847d2720 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:39:14.000Z | 2022-03-12T11:39:14.000Z | module Common.Unit where
open import Agda.Builtin.Unit public renaming (⊤ to Unit; tt to unit)
| 19.4 | 69 | 0.762887 |
fbdc3decb6a0f0ace2b0fc213cef153328aea65c | 164 | agda | Agda | test/Fail/Issue5448-2.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | test/Fail/Issue5448-2.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | 6 | 2021-10-18T08:12:24.000Z | 2021-11-24T08:31:10.000Z | test/Fail/Issue5448-2.agda | antoinevanmuylder/agda | bd59d5b07ffe02a43b28d186d95e1747aac5bc8c | [
"BSD-2-Clause"
] | null | null | null | {-# OPTIONS --cubical-compatible #-}
open import Agda.Builtin.Equality
subst :
{@0 A : Set} {x y : A}
(@0 P : A → Set) → x ≡ y → P x → P y
subst P refl p = p
| 18.222222 | 38 | 0.54878 |
a1f4d2f1fa29b4385c7178576122f8828abdcdba | 72 | agda | Agda | test/Fail/Sections-5.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Sections-5.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Sections-5.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | open import Common.Prelude
test : Nat → Nat
test = _Common.Prelude.+ 2
| 14.4 | 26 | 0.722222 |
39aa050e2aee60fa568df23914c3818d193f3bae | 223 | agda | Agda | test/Fail/RewriteConstructorParsNotGeneral.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/RewriteConstructorParsNotGeneral.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/RewriteConstructorParsNotGeneral.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --rewriting #-}
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
data D (A : Set) : Set where
c c' : D A
postulate rew : c {Bool} ≡ c' {Bool}
{-# REWRITE rew #-}
| 17.153846 | 36 | 0.623318 |
2fd9458b0f60fe475fe6857c0ec27dd12f08e07c | 3,172 | agda | Agda | src/Impure/LFRef/Eval.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Impure/LFRef/Eval.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Impure/LFRef/Eval.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | module Impure.LFRef.Eval where
open import Prelude
open import Data.Fin using (fromℕ≤)
open import Data.List hiding ([_])
open import Data.List.All
open import Data.List.Any
open import Data.Vec hiding (map; _∷ʳ_)
open import Data.Maybe hiding (All; Any)
open import Extensions.List as L
open import Impure.LFRef.Synta... | 30.5 | 79 | 0.365385 |
10cd888130166c22318e7abe37e44f4f68601f1e | 1,199 | agda | Agda | src/agda/FRP/JS/Bool.agda | agda/agda-frp-js | c7ccaca624cb1fa1c982d8a8310c313fb9a7fa72 | [
"MIT",
"BSD-3-Clause"
] | 63 | 2015-04-20T21:47:00.000Z | 2022-02-28T09:46:14.000Z | src/agda/FRP/JS/Bool.agda | agda/agda-frp-js | c7ccaca624cb1fa1c982d8a8310c313fb9a7fa72 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/agda/FRP/JS/Bool.agda | agda/agda-frp-js | c7ccaca624cb1fa1c982d8a8310c313fb9a7fa72 | [
"MIT",
"BSD-3-Clause"
] | 7 | 2016-11-07T21:50:58.000Z | 2022-03-12T11:39:38.000Z | module FRP.JS.Bool where
open import FRP.JS.Primitive public using ( Bool ; true ; false )
not : Bool → Bool
not true = false
not false = true
{-# COMPILED_JS not function(x) { return !x; } #-}
_≟_ : Bool → Bool → Bool
true ≟ b = b
false ≟ b = not b
{-# COMPILED_JS _≟_ function(x) { return function(y) { return x... | 26.065217 | 85 | 0.586322 |
594d7c8583c31d61c0025526a41773954111726f | 640 | agda | Agda | test/Compiler/simple/VecReverseErased.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/Compiler/simple/VecReverseErased.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/Compiler/simple/VecReverseErased.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | module _ where
open import Common.Prelude
data Vec (A : Set) : Nat → Set where
[] : Vec A 0
_∷_ : ∀ {@0 n} → A → Vec A n → Vec A (suc n)
sum : ∀ {@0 n} → Vec Nat n → Nat
sum (x ∷ xs) = x + sum xs
sum [] = 0
foldl : ∀ {A} {B : Nat → Set} → (∀ {@0 n} → B n → A → B (suc n)) → B 0 → ∀ {@0 n} → Vec A n → B n
foldl {... | 24.615385 | 97 | 0.50625 |
2f0be843553a02d4f246095c24489a5a0f433539 | 849 | agda | Agda | archive/agda-2/Oscar/Data/Term/Core.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-2/Oscar/Data/Term/Core.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-2/Oscar/Data/Term/Core.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module Oscar.Data.Term.Substitution.Core {𝔣} (FunctionName : Set 𝔣) where
open import Oscar.Data.Term.Core FunctionName
open import Oscar.Data.Term.Substitution.Core.bootstrap FunctionName public hiding (_◃Term_; _◃VecTerm_)
open import Oscar.Data.Nat.Core
open import Oscar.Data.Fin.Core
open import Oscar.Data.Vec.... | 33.96 | 104 | 0.6596 |
5909ec3e723ad7c5287c22ffe2ff9bda01100461 | 994 | agda | Agda | agda-stdlib/src/Data/List/Membership/Propositional/Properties/WithK.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/Membership/Propositional/Properties/WithK.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/Membership/Propositional/Properties/WithK.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties related to propositional list membership, that rely on
-- the K rule
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Data.List.Membersh... | 38.230769 | 75 | 0.593561 |
dff214e975cae5f935d7c19b2ac44f99536b2965 | 12,724 | agda | Agda | Univalence/2DTypes.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | Univalence/2DTypes.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | Univalence/2DTypes.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K #-}
module 2DTypes where
-- open import Level renaming (zero to lzero)
open import Relation.Binary.PropositionalEquality
open import Data.Unit
open import Data.Sum
open import Data.Empty using (⊥; ⊥-elim)
open import Data.Product
open import Function using (_∘_)
open import Relation.Binary usi... | 29.798595 | 95 | 0.525071 |
2ffdbe6b618fb95ecc544c51bbc5664e30831fff | 82,593 | agda | Agda | src/Univalence-axiom/Isomorphism-is-equality/Simple.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Univalence-axiom/Isomorphism-is-equality/Simple.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Univalence-axiom/Isomorphism-is-equality/Simple.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- A class of algebraic structures, based on non-recursive simple
-- types, satisfies the property that isomorphic instances of a
-- structure are equal (assuming univalence)
------------------------------------------------------------------------... | 37.713699 | 146 | 0.388834 |
0b22925f499fce80d5a9947a18605f00f3752354 | 7,806 | agda | Agda | Cubical/Foundations/Equiv/Properties.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Foundations/Equiv/Properties.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Foundations/Equiv/Properties.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | {-
A couple of general facts about equivalences:
- if f is an equivalence then (cong f) is an equivalence ([equivCong])
- if f is an equivalence then pre- and postcomposition with f are equivalences ([preCompEquiv], [postCompEquiv])
- if f is an equivalence then (Σ[ g ] section f g) and (Σ[ g ] retract f g) are contr... | 41.084211 | 131 | 0.570074 |
06b3b5abbf0b6e4c2bcee55dffe30643a77848bf | 2,568 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Nat/InfinitelyOften.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Nat/InfinitelyOften.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Nat/InfinitelyOften.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Definition of and lemmas related to "true infinitely often"
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Nat.InfinitelyOften where
ope... | 28.21978 | 72 | 0.521807 |
1d1f25799c68247df75d6352405790149776c4df | 521 | agda | Agda | Cubical/Data/Sum/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Sum/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Sum/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Sum.Base where
open import Cubical.Core.Everything
private
variable
ℓ ℓ' : Level
A B C D : Type ℓ
data _⊎_ (A : Type ℓ)(B : Type ℓ') : Type (ℓ-max ℓ ℓ') where
inl : A → A ⊎ B
inr : B → A ⊎ B
elim-⊎ : {C : A ⊎ B → Type ℓ} → ((a : A) → C (inl a)) → (... | 22.652174 | 78 | 0.476008 |
0b3c84ad9b409d3f9033c713da6b0db852c9914a | 837 | agda | Agda | Experiment/SumFin.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | 3 | 2020-04-07T17:49:42.000Z | 2020-04-21T00:03:43.000Z | Experiment/SumFin.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | Experiment/SumFin.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null |
{-# OPTIONS --without-K --safe #-}
module Experiment.SumFin where
open import Data.Empty
open import Data.Unit
open import Data.Sum
open import Data.Nat
open import Data.Nat.Properties
open import Relation.Binary.PropositionalEquality
private
variable
k : ℕ
Fin : ℕ → Set
Fin zero = ⊥
Fin (suc n) = ⊤ ⊎ (Fi... | 22.621622 | 87 | 0.642772 |
4d7a74e49829f5f5f17b69a7960cc4fac8cb5197 | 356 | agda | Agda | test/Succeed/Issue1954b.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1954b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1954b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-05-04, issue 1954
module _ where
module P (A : Set) where
record R : Set where
field f : A
open module Q A = P A
module M (A : Set) (r : R A) where
open R A r public
-- Parameter A should be hidden in R.f
works : ∀{A} → R A → A
works r = R.f r
-- Record value should not be hidden in M.f
t... | 16.952381 | 43 | 0.601124 |
0b1eb9d01bcab29d59583a06eed7ddb31502a2a0 | 476 | agda | Agda | gen/templates/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | gen/templates/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | gen/templates/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 4 | 2021-11-09T20:39:59.000Z | 2022-01-24T12:49:17.000Z | {-
This second-order signature was created from the following second-order syntax description:
$sig_string
-}
module ${syn_name}.Signature where
open import SOAS.Context
$type_decl
$derived_ty_ops
open import SOAS.Syntax.Signature $type public
open import SOAS.Syntax.Build $type public
-- Operator symbols
data ${... | 17 | 91 | 0.741597 |
31ebb03ba6e664548815b83a99426e8a3b517f04 | 815 | agda | Agda | src/fot/FOTC/Program/Nest/Nest.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/Nest/Nest.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/Nest/Nest.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Simple example of a nested recursive function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-... | 33.958333 | 78 | 0.431902 |
dc43761bd416e78413502225df9f20bd79763eb0 | 1,645 | agda | Agda | src/MultiSorted/UniversalModel.agda | cilinder/formaltt | 0a9d25e6e3965913d9b49a47c88cdfb94b55ffeb | [
"MIT"
] | 21 | 2021-02-16T14:07:06.000Z | 2021-11-19T15:50:08.000Z | src/MultiSorted/UniversalModel.agda | andrejbauer/formaltt | 2aaf850bb1a262681c5a232cdefae312f921b9d4 | [
"MIT"
] | 1 | 2021-04-30T14:18:25.000Z | 2021-05-14T16:15:17.000Z | src/MultiSorted/UniversalModel.agda | andrejbauer/formaltt | 2aaf850bb1a262681c5a232cdefae312f921b9d4 | [
"MIT"
] | 6 | 2021-02-16T13:43:07.000Z | 2021-05-24T02:51:43.000Z | import Relation.Binary.Reasoning.Setoid as SetoidR
open import MultiSorted.AlgebraicTheory
import MultiSorted.Interpretation as Interpretation
import MultiSorted.Model as Model
import MultiSorted.UniversalInterpretation as UniversalInterpretation
import MultiSorted.Substitution as Substitution
import MultiSorted.Synta... | 35 | 106 | 0.597568 |
59564f6359f177955b4b237ae33d1c9476262f8b | 642 | agda | Agda | agda/Relation/Nullary/Decidable/Logic.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 4 | 2021-01-05T14:07:44.000Z | 2021-01-05T15:32:14.000Z | agda/Relation/Nullary/Decidable/Logic.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Relation/Nullary/Decidable/Logic.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 1 | 2021-01-05T14:05:30.000Z | 2021-01-05T14:05:30.000Z | {-# OPTIONS --cubical --safe --postfix-projections #-}
module Relation.Nullary.Decidable.Logic where
open import Prelude
open import Data.Sum
infixl 7 _&&_
_&&_ : Dec A → Dec B → Dec (A × B)
(x && y) .does = x .does and y .does
(yes x && yes y) .why = ofʸ (x , y)
(yes x && no y) .why = ofⁿ (y ∘ snd)
(no x && y) ... | 24.692308 | 54 | 0.528037 |
5973ad731e0c257e36eca2547cc29a424c9dac72 | 167 | agda | Agda | test/Fail/NoParseForApplication.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/NoParseForApplication.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/NoParseForApplication.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Operators used in the wrong way.
module NoParseForApplication where
postulate
X : Set
_! : X -> X
right : X -> X
right x = x !
wrong : X -> X
wrong x = ! x
| 11.928571 | 35 | 0.610778 |
23f5c4bf83c3b43e462cb2ad794135f9d28c0a87 | 4,810 | agda | Agda | Numeral/Finite/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Numeral/Finite/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Numeral/Finite/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Numeral.Finite.Proofs where
import Lvl
open import Data
open import Data.Boolean.Stmt
open import Functional
open import Logic.Classical
open import Logic.Propositional
open import Logic.Propositional.Theorems
open import Logic.Predicate
open import Numeral.Finite
import Numeral.Finite.Oper.Comparisons as ... | 47.156863 | 159 | 0.519335 |
d06853dd4776bde3ea063ccc401550b4372f4e59 | 557 | agda | Agda | agda-stdlib/src/Relation/Binary/SetoidReasoning.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Relation/Binary/SetoidReasoning.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Relation/Binary/SetoidReasoning.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use the
-- Relation.Binary.Reasoning.MultiSetoid module directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
mo... | 30.944444 | 72 | 0.576302 |
0b90162dee8368233fccfe1f80f25f2da88cf519 | 2,228 | agda | Agda | src/LibraBFT/Impl/Consensus/ConsensusTypes/BlockRetrieval.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Impl/Consensus/ConsensusTypes/BlockRetrieval.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Impl/Consensus/ConsensusTypes/BlockRetrieval.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Base.Types
import LibraBFT.Impl.Consensus.Consensus... | 43.686275 | 111 | 0.687163 |
59a29a71e95fbb904f02f90252ff3d9203d481ed | 3,626 | agda | Agda | src/prototyping/subst/Subst.agda | dagit/agda | 4383a3d20328a6c43689161496cee8eb479aca08 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | src/prototyping/subst/Subst.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | src/prototyping/subst/Subst.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null |
module Subst where
import Level
postulate Ty : Set
data Cxt : Set where
ε : Cxt
_,_ : (Γ : Cxt) (A : Ty) → Cxt
_++_ : Cxt → Cxt → Cxt
Γ ++ ε = Γ
Γ ++ (Δ , A) = (Γ ++ Δ) , A
data Tm : Cxt → Ty → Set where
vz : ∀ {Γ A} → Tm (Γ , A) A
other : ∀ {Γ A} → Tm Γ A
data _≡_ {a}{A : Set a}(x : A) : A → Set... | 27.892308 | 79 | 0.460011 |
12e8fd52b5f666df0bc951791f61662297b9e65e | 5,477 | agda | Agda | Categories/Functor/Slice.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Functor/Slice.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Functor/Slice.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Functor.Slice {o ℓ e} (C : Category o ℓ e) where
open import Data.Product using (_,_)
open import Categories.Adjoint
open import Categories.Category.CartesianClosed
open import Categories.Category.CartesianClosed.Locally
open impor... | 43.468254 | 181 | 0.486215 |
a1dee943e5374dafd507fd50c5c2f23fae2420f2 | 6,531 | agda | Agda | Cubical/Algebra/Matrix.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Algebra/Matrix.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | Cubical/Algebra/Matrix.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Algebra.Matrix where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Univalence
open import Cubical.Functions.FunExtEquiv
import Cubical.Data.Empty as ⊥
open import... | 44.732877 | 123 | 0.614913 |
120d854e6656ddba8e65afe476a6736c14b8edde | 18,919 | agda | Agda | STLC.agda | pedagand/typechecker-evolution | f807a85ccd570905d3dd834b5966efcf6f215e64 | [
"MIT"
] | 43 | 2018-02-14T20:50:21.000Z | 2022-02-09T11:13:36.000Z | STLC.agda | pedagand/typechecker-evolution | f807a85ccd570905d3dd834b5966efcf6f215e64 | [
"MIT"
] | null | null | null | STLC.agda | pedagand/typechecker-evolution | f807a85ccd570905d3dd834b5966efcf6f215e64 | [
"MIT"
] | null | null | null | -- Type-checker for the simply-typed lambda calculus
--
-- Where we make sure that failing to typecheck a term is justified by
-- an "ill-typing judgment", which erases to the original term.
open import Data.Empty
open import Data.Unit hiding (_≟_)
open import Data.List hiding ([_])
open import Data.Nat hiding (_*_ ; ... | 30.173844 | 119 | 0.395528 |
06c7fadd3ef81d1470777d01096fc58874fb5d8b | 903 | agda | Agda | src/fot/PA/Inductive/PropertiesByInductionATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/PA/Inductive/PropertiesByInductionATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/PA/Inductive/PropertiesByInductionATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Inductive PA properties using the induction principle
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-u... | 30.1 | 78 | 0.431894 |
3134eb8f6dd35543661c04ac03824708d25bf2a2 | 162 | agda | Agda | src/data/lib/prim/Agda/Builtin/Unit.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Unit.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Unit.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K #-}
module Agda.Builtin.Unit where
record ⊤ : Set where
instance constructor tt
{-# BUILTIN UNIT ⊤ #-}
{-# COMPILED_DATA ⊤ () () #-}
| 16.2 | 30 | 0.617284 |
4a03bce441942d977b4fb675b1b8a4b44115dde1 | 1,072 | agda | Agda | test/interaction/Issue2095.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/interaction/Issue2095.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/interaction/Issue2095.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- Andreas, 2016-07-13, issue reported by Mietek Bak
-- {-# OPTIONS -v tc.size:20 #-}
-- {-# OPTIONS -v tc.meta.assign:30 #-}
open import Agda.Builtin.Size
data Cx (U : Set) : Set where
⌀ : Cx U
_,_ : Cx U → U → Cx U
data _∈_ {U : Set} (A : U) : Cx U → Set where
top : ∀ {Γ} → A ∈ (Γ , A)
pop : ∀ {C Γ} → ... | 28.972973 | 80 | 0.460821 |
12a20b0914bfda7ffb30e44f540951b0f4131aa3 | 11,796 | agda | Agda | Cubical/ZCohomology/Groups/Wedge.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/ZCohomology/Groups/Wedge.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/ZCohomology/Groups/Wedge.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.Groups.Wedge where
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.Foundations.Function
open import Cubical.Foundations.GroupoidLaws renaming (a... | 46.809524 | 121 | 0.4588 |
06c77964f41f5c7ff53662f4636e836f7716df12 | 74,932 | agda | Agda | src/Category.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Category.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Category.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- 1-categories
------------------------------------------------------------------------
-- The code is based on the presentation in the HoTT book (but might
-- not follow it exactly).
{-# OPTIONS --without-K --safe #-}
open import Equality
mo... | 47.515536 | 148 | 0.327003 |
20308bfeefe1e36e9f868aeb4ff805ab85930c1b | 515 | agda | Agda | test/Succeed/OverloadedString.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/OverloadedString.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/OverloadedString.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module _ where
open import Common.Prelude
open import Common.String
record IsString {a} (A : Set a) : Set a where
field
fromString : String → A
open IsString {{...}} public
{-# BUILTIN FROMSTRING fromString #-}
instance
StringIsString : IsString String
StringIsString = record { fromString = λ s → s }
... | 18.392857 | 53 | 0.673786 |
2f27cab5b76333f2659af032f70239ec8ad794d6 | 791 | agda | Agda | test/Succeed/Issue162.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue162.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue162.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Now you don't need a mutual keyword anymore!
module Issue162 where
data Odd : Set
data Even : Set where
zero : Even
suc : Odd → Even
data Odd where
suc : Even → Odd
-- This means you can have all kinds of things in
-- mutual blocks.
-- Like postulates
_o+e_ : Odd → Even → Odd
_e+e_ : Even → Even → Even
z... | 17.577778 | 49 | 0.603034 |
39474b0e0b7eb93a72acf328c6303c8420bcee65 | 1,124 | agda | Agda | test/Fail/Issue4283.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue4283.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue4283.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | --{-# OPTIONS -vtc:50 #-}
{-# OPTIONS --double-check #-}
open import Agda.Primitive
postulate Id : (l : Level) (A : Set l) → A → A → Set l
postulate w/e : (l : Level) (A : Set l) → A
data Box l (A : Set l) : Set l where
box : A → Box l A
unbox : (l : Level) (A : Set l) → Box l A → A
unbox l A (box x) = x
record... | 26.761905 | 128 | 0.508007 |
c51e0156c7be482697f590c2a0db2d98b37f0ae6 | 940 | agda | Agda | proofs/AKS/Unsafe.agda | mckeankylej/thesis | ddad4c0d5f384a0219b2177461a68dae06952dde | [
"MIT"
] | 1 | 2020-12-01T22:38:27.000Z | 2020-12-01T22:38:27.000Z | proofs/AKS/Unsafe.agda | mckeankylej/thesis | ddad4c0d5f384a0219b2177461a68dae06952dde | [
"MIT"
] | null | null | null | proofs/AKS/Unsafe.agda | mckeankylej/thesis | ddad4c0d5f384a0219b2177461a68dae06952dde | [
"MIT"
] | null | null | null | {-# OPTIONS --with-K #-}
open import Axiom.Extensionality.Propositional using (Extensionality)
open import Relation.Nullary.Negation using (contradiction)
open import Relation.Binary using (Irrelevant)
open import Relation.Binary.PropositionalEquality using (_≡_; _≢_)
open import Relation.Binary.PropositionalEquality.W... | 34.814815 | 80 | 0.652128 |
dcf58ec8c796fc35403e8bd6ff989282b3d03938 | 183 | agda | Agda | test/Fail/Issue952-unnamed.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue952-unnamed.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue952-unnamed.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module _ where
-- Should not be able to give by name
id : {_ = A : Set} → A → A
id x = x
works : (X : Set) → X → X
works X = id {X}
fails : (X : Set) → X → X
fails X = id {A = X}
| 14.076923 | 37 | 0.508197 |
4a432d8ac95ab13f98f714be6830204e8460a6bf | 4,899 | agda | Agda | Cubical/Data/Maybe/Properties.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Maybe/Properties.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Maybe/Properties.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Maybe.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Embedding
ope... | 35.759124 | 133 | 0.650133 |
2fc383355c263ede33aaea9002d08bcab97be395 | 290 | agda | Agda | prototyping/Luau/Addr/ToString.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | 1 | 2021-11-06T08:03:00.000Z | 2021-11-06T08:03:00.000Z | prototyping/Luau/Addr/ToString.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | prototyping/Luau/Addr/ToString.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | module Luau.Addr.ToString where
open import Agda.Builtin.String using (String; primStringAppend)
open import Luau.Addr using (Addr)
open import Agda.Builtin.Int using (Int; primShowInteger; pos)
addrToString : Addr → String
addrToString a = primStringAppend "a" (primShowInteger (pos a))
| 32.222222 | 64 | 0.789655 |
1d30a84b68747d31150e8a12f396f0b5c161fd48 | 358 | agda | Agda | src/Fragment/Equational/FreeExtension.agda | yallop/agda-fragment | f2a6b1cf4bc95214bd075a155012f84c593b9496 | [
"MIT"
] | 18 | 2021-06-15T15:45:39.000Z | 2022-01-17T17:26:09.000Z | src/Fragment/Equational/FreeExtension.agda | yallop/agda-fragment | f2a6b1cf4bc95214bd075a155012f84c593b9496 | [
"MIT"
] | 1 | 2021-06-16T09:44:31.000Z | 2021-06-16T10:24:15.000Z | src/Fragment/Equational/FreeExtension.agda | yallop/agda-fragment | f2a6b1cf4bc95214bd075a155012f84c593b9496 | [
"MIT"
] | 3 | 2021-06-15T15:34:50.000Z | 2021-06-16T08:04:31.000Z | {-# OPTIONS --without-K --exact-split --safe #-}
open import Fragment.Equational.Theory
module Fragment.Equational.FreeExtension (Θ : Theory) where
open import Fragment.Equational.FreeExtension.Base Θ public
open import Fragment.Equational.FreeExtension.Synthetic Θ using (SynFrex) public
open import Fragment.Equatio... | 35.8 | 80 | 0.812849 |
50897da48e4aca86bb43f22165320f9975904490 | 589 | agda | Agda | test/Succeed/Issue658.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue658.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue658.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2012-05-24, issue reported by Nisse
{-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v tc.meta:50 #-}
module Issue658 where
import Common.Level
postulate
A : Set
P : A → Set
Q : (x : A) → P x → Set
p : (x : A) → P x
record R : Set where
field
a : A
r : R
r = {!!}
postulate
q : Q (... | 20.310345 | 68 | 0.63837 |
59b44d99837bdbe86131fac7298e6c56609323f8 | 3,615 | agda | Agda | Languages/SDE.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | Languages/SDE.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | Languages/SDE.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | {-# OPTIONS --copatterns --sized-types #-}
open import Size
open import Function
open import Relation.Binary
open import Relation.Binary.PropositionalEquality as P
open ≡-Reasoning
open import Algebra.Structures using (IsCommutativeSemiring; IsCommutativeMonoid)
open import Data.Nat
open import Data.Nat.Properties u... | 27.59542 | 84 | 0.410235 |
dcb7202a9eb33588897003fa6fc0432ec641b3b0 | 2,557 | agda | Agda | src/CF/Transform/Hoist.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 6 | 2020-10-07T14:07:17.000Z | 2021-02-28T21:49:08.000Z | src/CF/Transform/Hoist.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | null | null | null | src/CF/Transform/Hoist.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 1 | 2021-12-28T17:37:15.000Z | 2021-12-28T17:37:15.000Z | {- MJ where variable declarations have been hoisted to the top of a block -}
module CF.Transform.Hoist where
open import Level
open import Function using (_∘_)
open import Data.List
open import Data.List.Properties
open import Data.Unit
open import Data.Product
open import Relation.Unary hiding (_⊢_)
open import Relat... | 35.513889 | 94 | 0.593664 |
1d8edc582eb544c7e0e84684c1992e5aff0f07dd | 302 | agda | Agda | test/Fail/Issue1322.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue1322.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue1322.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module _ where
data _==_ {A : Set} (a : A) : A → Set where
refl : a == a
data ⊥ : Set where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
it : ∀ {a} {A : Set a} ⦃ x : A ⦄ → A
it ⦃ x ⦄ = x
f : (n : ℕ) ⦃ p : n == zero → ⊥ ⦄ → ℕ
f n = n
h : (n : ℕ) ⦃ q : n == zero → ⊥ ⦄ → ℕ
h n ⦃ q ⦄ = f n ⦃ it ⦄
| 14.380952 | 43 | 0.39404 |
a1f5899de0b40d5eca96a559c5c78db707816c32 | 3,769 | agda | Agda | theorems/cw/cohomology/ReconstructedFirstCohomologyGroup.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/cw/cohomology/ReconstructedFirstCohomologyGroup.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/cw/cohomology/ReconstructedFirstCohomologyGroup.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | 1 | 2018-12-26T21:31:57.000Z | 2018-12-26T21:31:57.000Z | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.ChainComplex
open import cohomology.Theory
open import groups.KernelImage
open import cw.CW
module cw.cohomology.ReconstructedFirstCohomologyGroup {i : ULevel} (OT : OrdinaryTheory i) where
open OrdinaryTheory OT
import cw.cohomology... | 46.530864 | 122 | 0.614221 |
502bd5777ce4691db5f0bc463f8e08cf9f5c2850 | 296 | agda | Agda | test/Fail/BadCon.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/BadCon.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/BadCon.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module BadCon where
data D : Set where
d : D
data E : Set where
d : E
postulate
F : D -> Set
test : (x : D) -> F x
test = d
-- Bad error (unbound de Bruijn index):
-- the constructor d does not construct an element of F @0
-- when checking that the expression d has type (x : D) → F x
| 16.444444 | 61 | 0.631757 |
069eae8cbf9a15a8634833ffa63c90b09e571278 | 208 | agda | Agda | test/interaction/Issue1073.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue1073.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue1073.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module _ (A : Set) (Sing : A → Set) (F : (a : A) → Sing a → Set) where
test : {a : A} → Sing a → Set
test s = F {!!} s
-- WAS: C-c C-s inserts a, which produces a scope error
-- Instead, it should insert _
| 26 | 70 | 0.5625 |
0edd4a6467da331450fdcab3375adbb0e1288760 | 5,173 | agda | Agda | src/LibraBFT/Abstract/RecordChain/Assumptions.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Abstract/RecordChain/Assumptions.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Abstract/RecordChain/Assumptions.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Abstract.Types.EpochConfig
open import Util.Lemmas
... | 43.470588 | 111 | 0.619756 |
1042d936021b1bbbe59051aac054b78ace259a47 | 3,342 | agda | Agda | vendor/stdlib/src/Data/Rational.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 56 | 2015-01-20T02:11:42.000Z | 2021-12-21T17:02:19.000Z | vendor/stdlib/src/Data/Rational.agda | larrytheliquid/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 1 | 2022-03-12T12:17:51.000Z | 2022-03-12T12:17:51.000Z | vendor/stdlib/src/Data/Rational.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 3 | 2015-07-21T16:37:58.000Z | 2022-03-12T11:54:10.000Z | ------------------------------------------------------------------------
-- Rational numbers
------------------------------------------------------------------------
module Data.Rational where
open import Data.Bool.Properties
open import Data.Function
open import Data.Integer hiding (suc) renaming (_*_ to _ℤ*_)
open ... | 30.381818 | 74 | 0.524536 |
12e684f3fff7f439754eb17c8abe02355c5b65d7 | 520 | agda | Agda | test/Fail/Issue610-module.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue610-module.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue610-module.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2016-02-11, bug reported by sanzhiyan
module Issue610-module where
import Common.Level
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set where
data A : Set₁ where
set : .Set → A
module M .(x : Set) where
.out : Set
out = x
.ack : A → Set
ack (set x) = M.out x
hah : set ⊤ ≡ set ⊥
ha... | 13.333333 | 49 | 0.6 |
20c84a399c3db027ad9ab04b826f561740178291 | 743 | agda | Agda | Prelude/BooleanAlgebra.agda | bbarenblat/B | c1fd2daa41aa1b915f74b4c09c6e62c79320e8ec | [
"Apache-2.0"
] | 1 | 2017-06-30T15:59:38.000Z | 2017-06-30T15:59:38.000Z | Prelude/BooleanAlgebra.agda | bbarenblat/B | c1fd2daa41aa1b915f74b4c09c6e62c79320e8ec | [
"Apache-2.0"
] | null | null | null | Prelude/BooleanAlgebra.agda | bbarenblat/B | c1fd2daa41aa1b915f74b4c09c6e62c79320e8ec | [
"Apache-2.0"
] | null | null | null | {- Copyright © 2015 Benjamin Barenblat
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 in writing, so... | 32.304348 | 79 | 0.765814 |
3904f5ce86bb956ba9ff41aeddeca02e73c174df | 730 | agda | Agda | test/Succeed/Issue2384.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue2384.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue2384.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | {-# OPTIONS --show-implicit #-}
open import Agda.Builtin.Nat renaming (Nat to ℕ)
open import Agda.Builtin.Equality
postulate
funext : {X : Set} {Y : X → Set} {f g : (x : X) → Y x} → (∀ x → f x ≡ g x) → f ≡ g
_::_ : {X : ℕ → Set} → X 0 → ((n : ℕ) → X (suc n)) → ((n : ℕ) → X n)
(x :: α) 0 = x
(x :: α) (suc n) = α n
... | 28.076923 | 84 | 0.468493 |
a1dac2b07ca3548ef5ce326e422b3535c597850d | 1,382 | agda | Agda | Cubical/HITs/Localization/Base.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/HITs/Localization/Base.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | Cubical/HITs/Localization/Base.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Localization.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv.PathSplit
open isPathSplitEquiv
module _ {ℓα ℓs ℓt} {A : Type ℓα} {S : A → Type ℓs} {T : A → Type ℓt} where
isLocal : ∀... | 51.185185 | 107 | 0.542692 |
fb0762af21cf302ffe9d3c4e833231eaaa6d45fc | 6,936 | agda | Agda | formalization/Context.agda | ishantheperson/Obsidian | b5fc75b137cf86251c03709c58f940286d730e86 | [
"BSD-3-Clause"
] | 79 | 2017-08-19T16:24:10.000Z | 2022-03-27T10:34:28.000Z | formalization/Context.agda | ishantheperson/Obsidian | b5fc75b137cf86251c03709c58f940286d730e86 | [
"BSD-3-Clause"
] | 259 | 2017-08-18T19:50:41.000Z | 2022-03-29T18:20:05.000Z | formalization/Context.agda | ishantheperson/Obsidian | b5fc75b137cf86251c03709c58f940286d730e86 | [
"BSD-3-Clause"
] | 11 | 2018-05-24T08:20:52.000Z | 2021-06-09T18:40:19.000Z | -- Adapted from Wadler: https://plfa.github.io/Lambda/
module Context (A : Set) where
open import Prelude
open import Data.Nat
open import Relation.Binary.PropositionalEquality using (_≡_; _≢_; refl; sym)
open import Data.Maybe
open import Data.Product using (_×_; proj₁; proj₂; ∃-syntax) renaming (_,_ to... | 33.669903 | 115 | 0.425317 |
a11d9a533a97ed788d4d4ff5cf4eec3d24f72d7e | 2,301 | agda | Agda | src/Data/QuadTree/Implementation/PublicFunctions.agda | JonathanBrouwer/research-project | 4959a3c9cd8563a1726e0e968e6a179008cd4d9f | [
"Unlicense"
] | 1 | 2021-05-25T09:10:20.000Z | 2021-05-25T09:10:20.000Z | src/Data/QuadTree/Implementation/PublicFunctions.agda | JonathanBrouwer/research-project | 4959a3c9cd8563a1726e0e968e6a179008cd4d9f | [
"Unlicense"
] | null | null | null | src/Data/QuadTree/Implementation/PublicFunctions.agda | JonathanBrouwer/research-project | 4959a3c9cd8563a1726e0e968e6a179008cd4d9f | [
"Unlicense"
] | null | null | null | module Data.QuadTree.Implementation.PublicFunctions where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Lens.Lens
open import Data.Logic
open import Data.QuadTree.Implementation.PropDepthRelation
open import Data.QuadTree.Implementation.Definition
open import Data.QuadTree.Implementation.... | 39 | 119 | 0.687527 |
cb8b43a1f4cda6c5779b06097abeea695bd04f7b | 895 | agda | Agda | test/Fail/Issue3577.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue3577.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue3577.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --cubical --safe #-}
module Issue3577 where
open import Agda.Primitive.Cubical renaming (primTransp to transp; primHComp to hcomp)
open import Agda.Builtin.Cubical.Path
open import Agda.Builtin.Sigma
open import Agda.Builtin.Cubical.Sub renaming (primSubOut to ouc; Sub to _[_↦_])
refl : ∀ {l} {A : Set l}... | 33.148148 | 116 | 0.560894 |
12c64dd0dfcda61c012d301515563a0e4f00c25a | 11,832 | agda | Agda | Lang/Reflection.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Lang/Reflection.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Lang/Reflection.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | -- A modified copy of "agda/src/data/lib/prim/Agda/Builtin/Reflection.agda" from the Agda repository (https://github.com/agda/agda.git) at 2020-05-12 04:05 (commit bc8feec71e61a4c4369aa0ee93b77bf027c0f7f1).
-- The names here must be redefined because this project binds its custom builtin data types.
module Lang.Reflect... | 36.975 | 206 | 0.567444 |
1236419d33305dd973f66dc1ae7acf805f0eb748 | 798 | agda | Agda | test/Succeed/Issue1136.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue1136.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/Issue1136.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- Andreas, 2014-05-20 Triggered by Andrea Vezzosi & NAD
{-# OPTIONS --copatterns #-}
-- {-# OPTIONS -v tc.conv.coerce:10 #-}
open import Common.Size
-- Andreas, 2015-03-16: currently forbidden
-- Size≤ : Size → SizeUniv
-- Size≤ i = Size< ↑ i
postulate
Dom : Size → Set
mapDom : ∀ i (j : Size< (↑ i)) → Dom i ... | 26.6 | 58 | 0.582707 |
0b6e1d84d9f6757298f1259195d3b4cc9b2884ee | 191 | agda | Agda | problems/UniverseCollapse/UniverseCollapse.agda | danr/agder | ece25bed081a24f02e9f85056d05933eae2afabf | [
"BSD-3-Clause"
] | 1 | 2021-05-17T12:07:03.000Z | 2021-05-17T12:07:03.000Z | problems/UniverseCollapse/UniverseCollapse.agda | danr/agder | ece25bed081a24f02e9f85056d05933eae2afabf | [
"BSD-3-Clause"
] | null | null | null | problems/UniverseCollapse/UniverseCollapse.agda | danr/agder | ece25bed081a24f02e9f85056d05933eae2afabf | [
"BSD-3-Clause"
] | null | null | null | module UniverseCollapse
(down : Set₁ -> Set)
(up : Set → Set₁)
(iso : ∀ {A} → down (up A) → A)
(osi : ∀ {A} → up (down A) → A) where
anything : (A : Set) → A
anything = {!!}
| 21.222222 | 41 | 0.481675 |
2f62ec66551b714e795413be5fdb93431982dbd6 | 2,441 | agda | Agda | Cubical/Data/Unit/Properties.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Data/Unit/Properties.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Data/Unit/Properties.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Unit.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Data.Unit.Base
... | 32.986486 | 100 | 0.665711 |
dc88f5de968228f73873c8ac47c2d53052f680b2 | 1,149 | agda | Agda | src/fot/FOTC/Program/GCD/Total/CorrectnessProofATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/GCD/Total/CorrectnessProofATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/GCD/Total/CorrectnessProofATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- The gcd program is correct
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-... | 39.62069 | 78 | 0.558747 |
599546155a068df99375d53ad7ae899c6d4f697f | 3,297 | agda | Agda | 020-equivalence.agda | mcmtroffaes/agda-proofs | 76fe404b25210258810641cc6807feecf0ff8d6c | [
"MIT"
] | 2 | 2015-08-09T22:51:55.000Z | 2016-08-17T16:15:42.000Z | 020-equivalence.agda | mcmtroffaes/agda-proofs | 76fe404b25210258810641cc6807feecf0ff8d6c | [
"MIT"
] | null | null | null | 020-equivalence.agda | mcmtroffaes/agda-proofs | 76fe404b25210258810641cc6807feecf0ff8d6c | [
"MIT"
] | null | null | null | module 020-equivalence where
-- We need False to represent logical contradiction.
open import 010-false-true
-- Next, we need to be able to work with equalities. Equalities are
-- defined between objects of the same type. Two objects are equal if
-- we have a proof of their equality. In Agda, we can represent this
-... | 38.337209 | 70 | 0.607825 |
a1ef269f8f45ff1b14b12150b9f58b50950223a0 | 1,856 | agda | Agda | test/Succeed/PropTests.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | 1 | 2016-03-17T01:45:59.000Z | 2016-03-17T01:45:59.000Z | test/Succeed/PropTests.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/PropTests.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | {-# OPTIONS --enable-prop #-}
open import Agda.Builtin.Nat
-- You can define datatypes in Prop, even with multiple constructors.
-- However, all constructors are considered (definitionally) equal.
data TestProp : Prop where
p₁ p₂ : TestProp
-- Pattern matching on a datatype in Prop is disallowed unless the
-- targ... | 29.935484 | 85 | 0.640086 |
1d560bec723a29de726e4befd24b5823b5cc1a7f | 879 | agda | Agda | test/Succeed/Issue1701.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1701.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1701.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2015-10-26, issue reported by Wolfram Kahl
-- {-# OPTIONS -v scope.mod.inst:30 -v tc.mod.check:10 -v tc.mod.apply:80 #-}
module _ where
module ModParamsRecord (A : Set) where
record R (B : Set) : Set where
field F : A → B
module ModParamsToLoose (A : Set) where
open ModParamsRecord
... | 29.3 | 94 | 0.494881 |
59c0bbb56927e6daeb82b1e35d535bcbbeec499e | 185 | agda | Agda | test/Fail/Issue484.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue484.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue484.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- There was a bug where constructors of private datatypes were
-- not made private.
module Issue484 where
module A where
private
data Foo : Set where
foo : Foo
foo′ = A.foo
| 16.818182 | 63 | 0.708108 |
4a86635ab94d49502f36fc6a4c5d13ce248d0168 | 2,237 | agda | Agda | src/Categories/Functor/Instance/UnderlyingQuiver.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Functor/Instance/UnderlyingQuiver.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Functor/Instance/UnderlyingQuiver.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Functor.Instance.UnderlyingQuiver where
-- The forgetful functor from categories to its underlying quiver
-- **except** that this functor only goes from **StrictCats**,
-- i.e. where Functor equivalence is propositional equality, not
-- NaturalIsomorphism.
open im... | 34.953125 | 88 | 0.650872 |
1d731f744940e82a73db64c7f8ba9f65216c96d4 | 519 | agda | Agda | src/Categories/Functor/Profunctor.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Functor/Profunctor.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Functor/Profunctor.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Functor.Profunctor where
open import Level
open import Categories.Category
open import Categories.Category.Instance.Setoids
open import Categories.Functor.Bifunctor
open import Categories.Functor.Hom
Profunctor : ∀ {o ℓ e} {o′ ℓ′ e′} → Category o ℓ e → Category o... | 30.529412 | 99 | 0.651252 |
2f54d639d4022c03d839e9ed5213420afa2c3ac9 | 568 | agda | Agda | test/Succeed/Issue2108.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2108.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2108.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-07-25, issue #2108
-- test case and report by Jesper
{-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v tc.pos.occ:70 #-}
open import Agda.Primitive
open import Agda.Builtin.Equality
lone = lsuc lzero
record Level-zero-or-one : Set where
field
level : Level
is-lower : (level ⊔ lone... | 18.933333 | 46 | 0.672535 |
59c773e59d53e8387590990f56436a0b544f63b1 | 2,133 | agda | Agda | trie-core.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | trie-core.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | trie-core.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | module trie-core where
open import bool
open import char
open import list
open import maybe
open import product
open import string
open import unit
open import eq
open import nat
cal : Set → Set
cal A = 𝕃 (char × A)
empty-cal : ∀{A : Set} → cal A
empty-cal = []
cal-lookup : ∀ {A : Set} → cal A → char → maybe A
cal... | 31.835821 | 100 | 0.583685 |
dc0d1e4f7bfa81e9e3afcbc2a9ad1afb868ae68c | 14,366 | agda | Agda | agda/Bundles.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | 3 | 2020-07-31T18:15:26.000Z | 2022-02-19T12:15:21.000Z | agda/Bundles.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | agda/Bundles.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts #-}
module Bundles where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
private
variable
ℓ ℓ' ℓ'' : Level
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Structures.CommRing
open... | 40.016713 | 313 | 0.59258 |
5934214346cfbc2e44b59373f9a9ac5c55d3f36a | 369 | agda | Agda | metatheory/test/Negation.agda | greggdourgarian/plutus | 07a2fbef515b988ca3401d38e1464a36ca80b641 | [
"Apache-2.0"
] | 1 | 2021-12-11T03:10:00.000Z | 2021-12-11T03:10:00.000Z | metatheory/test/Negation.agda | greggdourgarian/plutus | 07a2fbef515b988ca3401d38e1464a36ca80b641 | [
"Apache-2.0"
] | 1 | 2019-02-06T12:42:31.000Z | 2019-02-06T12:42:31.000Z | metatheory/test/Negation.agda | greggdourgarian/plutus | 07a2fbef515b988ca3401d38e1464a36ca80b641 | [
"Apache-2.0"
] | null | null | null | module test.Negation where
open import Type
open import Declarative
open import Builtin
open import Builtin.Constant.Type
open import Builtin.Constant.Term Ctx⋆ Kind * # _⊢⋆_ con size⋆
-- plutus/language-plutus-core/test/data/negation.plc
open import Declarative.StdLib.Bool
negate : ∀{Γ} → Γ ⊢ boolean ⇒ boolean
neg... | 24.6 | 62 | 0.737127 |
1d91ad458432ea9020ab27bbff423c1be841e269 | 968 | agda | Agda | Rings/Homomorphisms/Image.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Rings/Homomorphisms/Image.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Rings/Homomorphisms/Image.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Setoids.Setoids
open import Sets.EquivalenceRelations
open import Rings.Definition
open import Rings.Homomorphisms.Definition
module Rings.Homomorphisms.Image {a b c d : _} {A : Set a} {B : Set c} {S : Setoid {a} {b} A} {T : S... | 42.086957 | 254 | 0.71281 |
10e1d57b88db73e1ee9a79063fe76e53aa2ffdd9 | 432,294 | agda | Agda | agda/Text/Greek/SBLGNT/Rev.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 44 | 2015-05-29T14:48:51.000Z | 2022-03-06T15:41:57.000Z | agda/Text/Greek/SBLGNT/Rev.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 13 | 2015-05-28T20:04:08.000Z | 2020-09-07T11:58:38.000Z | agda/Text/Greek/SBLGNT/Rev.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 5 | 2015-02-27T22:34:13.000Z | 2017-06-11T11:25:09.000Z | module Text.Greek.SBLGNT.Rev where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΑΠΟΚΑΛΥΨΙΣ-ΙΩΑΝΝΟΥ : List (Word)
ΑΠΟΚΑΛΥΨΙΣ-ΙΩΑΝΝΟΥ =
word (Ἀ ∷ π ∷ ο ∷ κ ∷ ά ∷ ∙λ ∷ υ ∷ ψ ∷ ι ∷ ς ∷ []) "Rev.1.1"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "Rev.1.1"
... | 43.914466 | 87 | 0.336789 |
3131f70ec47ffca1b404a2229fce54616c1a9d7b | 1,457 | agda | Agda | formalization/Celeste.agda | brunoczim/Celeste | 9f5129d97ee7b89fb8e43136779a78806b7506ab | [
"MIT"
] | 1 | 2020-09-16T17:31:57.000Z | 2020-09-16T17:31:57.000Z | formalization/Celeste.agda | brunoczim/Celeste | 9f5129d97ee7b89fb8e43136779a78806b7506ab | [
"MIT"
] | null | null | null | formalization/Celeste.agda | brunoczim/Celeste | 9f5129d97ee7b89fb8e43136779a78806b7506ab | [
"MIT"
] | null | null | null | module Celeste where
open import Data.Nat using (ℕ; _⊔_; zero)
open import Data.String using (String)
open import Data.Vec using (Vec)
open import Data.Unsigned using (Unsigned)
open import Data.Signed using (Signed)
open import Data.Float using (Float)
private
variable
word-size : ℕ
mutual
data Type : ℕ → S... | 29.14 | 55 | 0.643789 |
Subsets and Splits
HTML Code Excluding Scripts
The query retrieves a limited set of HTML content entries that are longer than 8 characters and do not contain script tags, offering only basic filtering with minimal analytical value.