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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
184359c9471fcd0acb0a4d81629e219a8ac7276b | 3,248 | agda | Agda | notes/FOT/FOTC/Program/Mirror/MirrorMutualSL.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/FOTC/Program/Mirror/MirrorMutualSL.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/FOTC/Program/Mirror/MirrorMutualSL.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Proving mirror (mirror t) = t using mutual data types
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-u... | 32.808081 | 78 | 0.452586 |
2392d9c28bfb7ad8830e7a1fde1c1631686193aa | 4,366 | agda | Agda | src/FRP/LTL/ISet/Causal.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 21 | 2015-07-02T20:25:05.000Z | 2020-06-15T02:51:13.000Z | src/FRP/LTL/ISet/Causal.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 2 | 2015-03-01T07:01:31.000Z | 2015-03-02T15:23:53.000Z | src/FRP/LTL/ISet/Causal.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 3 | 2015-03-01T07:33:00.000Z | 2022-03-12T11:39:04.000Z | open import Coinduction using ( ∞ ; ♯_ ; ♭ )
open import Data.Product using ( ∃ ; _×_ ; _,_ ; proj₂ )
open import Data.Nat using ( ℕ ; zero ; suc )
open import Data.Empty using ( ⊥ )
open import FRP.LTL.ISet.Core using ( ISet ; M⟦_⟧ ; ⟦_⟧ ; ⌈_⌉ ; _,_ ; splitM⟦_⟧ ) renaming ( [_] to ⟪_⟫ )
open import FRP.LTL.ISet.Global... | 44.10101 | 121 | 0.444114 |
18c195a32ca88347bbde7df34297c485009b812d | 3,432 | agda | Agda | Cubical/HITs/PropositionalTruncation/MagicTrick.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/HITs/PropositionalTruncation/MagicTrick.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/PropositionalTruncation/MagicTrick.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-
Based on Nicolai Kraus' blog post:
The Truncation Map |_| : ℕ -> ‖ℕ‖ is nearly Invertible
https://homotopytypetheory.org/2013/10/28/the-truncation-map-_-ℕ-‖ℕ‖-is-nearly-invertible/
Defines [recover], which definitionally satisfies `recover ∣ x ∣ ≡ x` ([recover∣∣]) for homogeneous types
Also see the follow-up ... | 38.561798 | 111 | 0.653263 |
1842f4d7047a05afc31e0a68ece5d47bc38653db | 2,886 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Vec/Relation/Unary/Any.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Vec/Relation/Unary/Any.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Vec/Relation/Unary/Any.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Vectors where at least one element satisfies a given property
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.Relation.Unary.Any {a} {... | 35.195122 | 75 | 0.517672 |
50b9d3de1d020995ceaf5e4f297b309dbb7be4f6 | 2,946 | agda | Agda | Fields/FieldOfFractions/Addition.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Fields/FieldOfFractions/Addition.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Fields/FieldOfFractions/Addition.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 Groups.Definition
open import Rings.Definition
open import Rings.IntegralDomains.Definition
open import Setoids.Setoids
open import Sets.EquivalenceRelations
module Fields.FieldOfFractions.Addition {a b : _} {A : Set a} {S : S... | 86.647059 | 970 | 0.688052 |
39e5a155d1e2fb5b22dd7fafe35f155097e50b9f | 439 | agda | Agda | Cubical/Data/Maybe/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Data/Maybe/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Maybe/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Maybe.Base where
open import Cubical.Core.Everything
private
variable
ℓ : Level
A B : Type ℓ
data Maybe (A : Type ℓ) : Type ℓ where
nothing : Maybe A
just : A → Maybe A
caseMaybe : (n j : B) → Maybe A → B
caseMaybe n _ nothing = n
caseMaybe _ j ... | 19.954545 | 39 | 0.630979 |
cb3e02a40b161e51d6e19925600d45949ecd6c3f | 141 | agda | Agda | src/Quasigroup/Properties.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 443e831e536b756acbd1afd0d6bae7bc0d288048 | [
"MIT"
] | 2 | 2021-08-15T06:16:13.000Z | 2021-08-17T09:14:03.000Z | src/Quasigroup/Properties.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 443e831e536b756acbd1afd0d6bae7bc0d288048 | [
"MIT"
] | 2 | 2021-10-04T05:30:30.000Z | 2021-10-09T08:24:56.000Z | src/Quasigroup/Properties.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 443e831e536b756acbd1afd0d6bae7bc0d288048 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Algebra
module Quasigroup.Properties
{a ℓ} (Q : Quasigroup a ℓ) where
open Quasigroup Q
| 14.1 | 34 | 0.687943 |
397336dc5131c2bee347e796ccf1d95838bb042d | 622 | agda | Agda | test/Fail/Issue2621.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2621.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2621.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | open import Agda.Builtin.Nat renaming (Nat to ℕ)
open import Agda.Builtin.Equality
data Vec (A : Set) : ℕ → Set where
[] : Vec A zero
_∷_ : ∀{n} (x : A) (xs : Vec A n) → Vec A (suc n)
data All₂ {A : Set} {B : Set} (R : A → B → Set) : ∀ {k} → Vec A k → Vec B k → Set where
[] : All₂ R [] []
_∷_ : ∀ {k... | 34.555556 | 87 | 0.463023 |
18c620be0697eecfd4ad30e457ee4c91a2d93ec3 | 2,470 | agda | Agda | agda-stdlib-0.9/src/Induction/Lexicographic.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | 1 | 2016-10-20T15:52:05.000Z | 2016-10-20T15:52:05.000Z | agda-stdlib-0.9/src/Induction/Lexicographic.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Induction/Lexicographic.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Lexicographic induction
------------------------------------------------------------------------
module Induction.Lexicographic where
open import Data.Product
open import Induction
open import Level
-- The str... | 30.875 | 72 | 0.452227 |
181e6c8d4453fc9b881090cd410cc1c358842807 | 1,693 | agda | Agda | _assets/agda/Berardi.agda | ionathanch/ionathanch.github.io | d54cdaf24391b2726e491a18cba2d2d8ae3ac20b | [
"MIT"
] | null | null | null | _assets/agda/Berardi.agda | ionathanch/ionathanch.github.io | d54cdaf24391b2726e491a18cba2d2d8ae3ac20b | [
"MIT"
] | null | null | null | _assets/agda/Berardi.agda | ionathanch/ionathanch.github.io | d54cdaf24391b2726e491a18cba2d2d8ae3ac20b | [
"MIT"
] | null | null | null | {-# OPTIONS --type-in-type #-}
open import Data.Empty
open import Data.Sum.Base using (_⊎_; inj₁; inj₂)
open import Function.Base using (_∘_; id)
open import Relation.Nullary using (¬_)
open import Relation.Binary.PropositionalEquality.Core using (_≡_; refl; subst; cong; sym)
record _◁_ {ℓ} (A B : Set ℓ) : Set ℓ wher... | 21.1625 | 90 | 0.529829 |
cb3b80d4ad61c060046c8bc301109651d467d5b3 | 1,895 | agda | Agda | test/succeed/UniversePolymorphism.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/UniversePolymorphism.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | null | null | null | test/succeed/UniversePolymorphism.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | -- {-# OPTIONS -v tc.conv:30 -v tc.conv.level:60 -v tc.meta.assign:15 #-}
module UniversePolymorphism where
open import Common.Level renaming (_⊔_ to max)
data Nat : Set where
zero : Nat
suc : Nat → Nat
infixr 40 _∷_
data Vec {i}(A : Set i) : Nat → Set i where
[] : Vec {i} A zero
_∷_ : ∀ {n} → A → Vec {i... | 26.319444 | 95 | 0.451187 |
1c73be8d1ba82f4e72a434a5948dbe817fb98452 | 2,873 | agda | Agda | SOAS/ContextMaps/Combinators.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | SOAS/ContextMaps/Combinators.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | SOAS/ContextMaps/Combinators.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 4 | 2021-11-09T20:39:59.000Z | 2022-01-24T12:49:17.000Z |
import SOAS.Families.Core
-- Combinators for context maps
module SOAS.ContextMaps.Combinators {T : Set}
(open SOAS.Families.Core {T})
(𝒳 : Familyₛ) where
open import SOAS.Common
open import SOAS.Context {T}
open import SOAS.Sorting
open import SOAS.Variable
open import SOAS.Families.Isomorphism
open import SOA... | 29.316327 | 81 | 0.528716 |
0b2698ae1e9a7143f683ad6ee7e202af3aab8e04 | 900 | agda | Agda | agda/SList/Concatenation.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | 6 | 2015-05-21T12:50:35.000Z | 2021-08-24T22:11:15.000Z | agda/SList/Concatenation.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | agda/SList/Concatenation.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | {-# OPTIONS --sized-types #-}
module SList.Concatenation (A : Set) where
open import Data.List
open import List.Permutation.Base A
open import Size
open import SList
lemma-⊕-/ : {xs ys : List A}{x y : A} → xs / x ⟶ ys → unsize A (_⊕_ A (size A xs) (y ∙ snil)) / x ⟶ unsize A (_⊕_ A (size A ys) (y ∙ snil))
lemma-⊕-/ /... | 37.5 | 146 | 0.553333 |
dccfa37a9b3252958a7ed0dc7f142c7a791e33a4 | 3,054 | agda | Agda | src/Prelude/Show.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Prelude/Show.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Prelude/Show.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z |
module Prelude.Show where
open import Prelude.Unit
open import Prelude.String
open import Prelude.Char
open import Prelude.Nat
open import Prelude.Int
open import Prelude.Word
open import Prelude.Function
open import Prelude.List
open import Prelude.Fin
open import Prelude.Vec
open import Prelude.Maybe
open import Pr... | 23.492308 | 106 | 0.638834 |
107a72458be8734ebfa4e893eda79078315b6ab0 | 1,439 | agda | Agda | code/InftyConat.agda | ionathanch/msc-thesis | 8fe15af8f9b5021dc50bcf96665e0988abf28f3c | [
"CC-BY-4.0"
] | null | null | null | code/InftyConat.agda | ionathanch/msc-thesis | 8fe15af8f9b5021dc50bcf96665e0988abf28f3c | [
"CC-BY-4.0"
] | null | null | null | code/InftyConat.agda | ionathanch/msc-thesis | 8fe15af8f9b5021dc50bcf96665e0988abf28f3c | [
"CC-BY-4.0"
] | null | null | null | {-# OPTIONS --guardedness #-}
open import Agda.Builtin.Equality
open import Data.Empty
-- base : Size
-- next : Delay → Size
-- later : Size → Delay
record Delay : Set
data Size : Set
record Delay where
coinductive
constructor later
field now : Size
open Delay
data Size where
base : Size
next : Delay → Si... | 22.84127 | 81 | 0.614315 |
50d5e2721bb2d67cb8635764fe98f326ceb27cc3 | 7,472 | agda | Agda | src/Tactic/Nat/Subtract/By.agda | UlfNorell/agda-prelude | d704381936db6bd393e63aa2740345e7364f9732 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Tactic/Nat/Subtract/By.agda | UlfNorell/agda-prelude | d704381936db6bd393e63aa2740345e7364f9732 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Tactic/Nat/Subtract/By.agda | UlfNorell/agda-prelude | d704381936db6bd393e63aa2740345e7364f9732 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z |
module Tactic.Nat.Subtract.By where
open import Prelude hiding (abs)
open import Builtin.Reflection
open import Tactic.Reflection.Quote
open import Tactic.Reflection.DeBruijn
open import Tactic.Reflection.Substitute
open import Tactic.Reflection
open import Control.Monad.State
open import Tactic.Nat.Reflect
open imp... | 41.977528 | 122 | 0.54296 |
dcc1e1fd5be07a2e1c1c96840e0eb5f632fd81ce | 17,290 | agda | Agda | Algebra/Monus.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | Algebra/Monus.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | null | null | null | Algebra/Monus.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --safe #-}
-- This is a file for dealing with Monuses: these are monoids that are like the
-- positive half of a group. Much of my info on them comes from these papers:
--
-- * Wehrung, Friedrich. ‘Injective Positively Ordered Monoids I’. Journal of
-- Pure and Applied Algebra 83, no. 1 (11 November 1992... | 30.875 | 149 | 0.452053 |
103beec4ae5a5a342889dd40a17f7b007d4a8f0c | 2,619 | agda | Agda | BasicIPC/Metatheory/Hilbert-KripkeConcreteGluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIPC/Metatheory/Hilbert-KripkeConcreteGluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIPC/Metatheory/Hilbert-KripkeConcreteGluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module BasicIPC.Metatheory.Hilbert-KripkeConcreteGluedGentzen where
open import BasicIPC.Syntax.Hilbert public
open import BasicIPC.Semantics.KripkeConcreteGluedGentzen public
-- Internalisation of syntax as syntax representation in a particular model.
module _ {{_ : Model}} where
[_] : ∀ {A Γ} → Γ ⊢ A → Γ [⊢] A
... | 24.942857 | 82 | 0.520809 |
4a9428b6926ffbce01225be45746be59e3ef8cd1 | 1,163 | agda | Agda | expn-eval-holds.agda | JimFixGroupResearch/imper-ial | 80d9411b2869614cae488cd4a6272894146c9f3c | [
"MIT"
] | null | null | null | expn-eval-holds.agda | JimFixGroupResearch/imper-ial | 80d9411b2869614cae488cd4a6272894146c9f3c | [
"MIT"
] | null | null | null | expn-eval-holds.agda | JimFixGroupResearch/imper-ial | 80d9411b2869614cae488cd4a6272894146c9f3c | [
"MIT"
] | null | null | null | open import lib
open import eq-reas-nouni
equiv = _≡_
Val = nat
data Expn : Set where
val : Val -> Expn
plus : Expn -> Expn -> Expn
eval : Expn -> Val
eval (val v) = v
eval (plus e1 e2) = (eval e1) + (eval e2)
data evalsTo : Expn -> Val -> Set where
e-val : forall {v : Val}
-----------------------... | 20.767857 | 63 | 0.509888 |
c546e94dfde065392185a63d743ce078b33bbbdf | 206 | agda | Agda | test/interaction/SplitResult.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/SplitResult.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/SplitResult.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --copatterns #-}
module SplitResult where
open import Common.Product
test : {A B : Set} (a : A) (b : B) → A × B
test a b = {!!}
testFun : {A B : Set} (a : A) (b : B) → A × B
testFun = {!!}
| 15.846154 | 45 | 0.524272 |
20a415fa9e4af58e38d1d5f0e76f9a478602ce67 | 8,619 | agda | Agda | Cubical/Algebra/Ring/QuotientRing.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Algebra/Ring/QuotientRing.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/QuotientRing.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.Ring.QuotientRing where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Powerset using (_∈_; _⊆_) -- \in, \sub=
open import Cubi... | 36.367089 | 98 | 0.37893 |
cba6530c118a0c35d3931962b11b4bb485d87717 | 1,922 | agda | Agda | Cubical/Data/Fin/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Fin/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/Fin/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Fin.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Data.Empty
open import Cubical.Data.Nat
open import Cubical.Data.Nat.Order
open import Cubical.Data.Sum
ope... | 27.070423 | 73 | 0.641519 |
107e07e2e57ff79db94a5a6328ba00e0b3744f21 | 517 | agda | Agda | agda-stdlib/src/Data/Product/N-ary/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Product/N-ary/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Product/N-ary/Properties.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 Data.Vec.Recursive.Properties
-- instead.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Product.N-... | 28.722222 | 72 | 0.539652 |
0bb1ccb7e6126acc97946fb3fb28fd9f0b2e715a | 14,084 | agda | Agda | JamesSecondComposite.agda | guillaumebrunerie/JamesConstruction | 89fbc29473d2d1ed1a45c3c0e56288cdcf77050b | [
"MIT"
] | 5 | 2016-12-07T04:34:52.000Z | 2018-11-16T22:10:16.000Z | JamesSecondComposite.agda | guillaumebrunerie/JamesConstruction | 89fbc29473d2d1ed1a45c3c0e56288cdcf77050b | [
"MIT"
] | null | null | null | JamesSecondComposite.agda | guillaumebrunerie/JamesConstruction | 89fbc29473d2d1ed1a45c3c0e56288cdcf77050b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --rewriting #-}
open import PathInduction
open import Pushout
module JamesSecondComposite {i} (A : Type i) (⋆A : A) where
open import JamesTwoMaps A ⋆A public
-- Second composite
to-ε∞ : to ε∞ == εJ
to-ε∞ = idp
to-α∞-in∞ : (a : A) (n : ℕ) (x : J n) → to (α∞ a (in∞ n x)) == αJ a (inJ n x)
t... | 54.378378 | 211 | 0.403295 |
0ebb5769b22605b000fb8613c7dd9932bb11c827 | 546 | agda | Agda | Monads/MonadMorphs.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 21 | 2015-07-30T01:25:12.000Z | 2021-02-13T18:02:18.000Z | Monads/MonadMorphs.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 3 | 2019-01-13T13:12:33.000Z | 2019-05-29T09:50:26.000Z | Monads/MonadMorphs.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 1 | 2019-11-04T21:33:13.000Z | 2019-11-04T21:33:13.000Z | module Monads.MonadMorphs where
open import Library
open import Functors
open import Categories
open import Monads
open Fun
open Monad
record MonadMorph {a b}{C : Cat {a}{b}}(M M' : Monad C) : Set (a ⊔ b) where
constructor monadmorph
open Cat C
field morph : ∀ {X} → Hom (T M X) (T M' X)
lawη : ∀... | 26 | 75 | 0.521978 |
0b941fcf7f494f2277f5c7621d8d6913cb9fd426 | 1,211 | agda | Agda | archive/agda-2/Oscar/Data/Vec/Properties.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-2/Oscar/Data/Vec/Properties.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-2/Oscar/Data/Vec/Properties.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module Oscar.Data.Vec.Properties where
open import Oscar.Data.Vec
open import Data.Vec.Properties public
open import Data.Nat
open import Data.Product renaming (map to mapP)
open import Relation.Binary.PropositionalEquality
open import Data.Fin
map-∈ : ∀ {a b} {A : Set a} {B : Set b} {y : B} {f : A → B} {n} {xs : ... | 36.69697 | 111 | 0.526837 |
2062ea9432d568e12b3e55ba10995a1d3e529eee | 415 | agda | Agda | test/Succeed/Issue3640.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3640.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3640.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2019-03-25, issue #3640, reported by gallais
{-# OPTIONS --sized-types #-}
-- {-# OPTIONS -v tc.polarity:40 #-}
module _ where
open import Agda.Builtin.Size
module M (_ : Set) where
data U : Size → Set where
node : ∀ {i} → U (↑ i)
module L (A B : Set) where
open M A
-- WAS: crash because of n... | 18.863636 | 66 | 0.643373 |
50d81505f942f8d033657f1f1f5fdc6aebd78c4e | 366 | agda | Agda | test/interaction/Issue535.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/interaction/Issue535.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue535.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z |
module Issue535 where
data Nat : Set where
zero : Nat
suc : Nat → Nat
data Vec A : Nat → Set where
[] : Vec A zero
_∷_ : ∀ {n} → A → Vec A n → Vec A (suc n)
replicate : ∀ {A n} → A → Vec A n
replicate {n = n} x = {!n!}
replicate′ : ∀ {n A} → A → Vec A n
replicate′ {n} x = {!n!}
extlam : Nat → {n m : Nat}... | 18.3 | 43 | 0.505464 |
10377696692f89008752fa02c3aff712c836de87 | 7,992 | agda | Agda | Cubical/Functions/FunExtEquiv.agda | Edlyr/cubical | 5de11df25b79ee49d5c084fbbe6dfc66e4147a2e | [
"MIT"
] | null | null | null | Cubical/Functions/FunExtEquiv.agda | Edlyr/cubical | 5de11df25b79ee49d5c084fbbe6dfc66e4147a2e | [
"MIT"
] | null | null | null | Cubical/Functions/FunExtEquiv.agda | Edlyr/cubical | 5de11df25b79ee49d5c084fbbe6dfc66e4147a2e | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Functions.FunExtEquiv where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.CartesianKanOps
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open import Cu... | 41.409326 | 106 | 0.49537 |
18508e4172c1b1c83a8e65f05c70c783c69c8d90 | 377 | agda | Agda | test/succeed/Issue348.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/Issue348.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/Issue348.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | module Issue348 where
import Common.Irrelevance
data _==_ {A : Set1}(a : A) : A -> Set where
refl : a == a
record R : Set1 where
constructor mkR
field
.fromR : Set
reflR : (r : R) -> r == r
reflR r = refl {a = _}
-- issue: unsolved metavars resolved 2010-10-15 by making eta-expansion
-- more lazy (do no... | 23.5625 | 76 | 0.66313 |
fbc6248e11a68734ff420525f97f46d4dd1e9679 | 5,042 | agda | Agda | homotopy/SuspAdjointLoop.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/SuspAdjointLoop.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/SuspAdjointLoop.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
module homotopy.SuspAdjointLoop where
module SuspAdjointLoop {i j} (X : Ptd i) (Y : Ptd j) where
private
A = fst X; a₀ = snd X
B = fst Y; b₀ = snd Y
R : {b : B}
→ Σ (Suspension A → B) (λ h → h (north A) == b)
→ Σ (A → (b == b)) (λ k → k a₀ == idp)
... | 36.273381 | 80 | 0.437723 |
5058d594d351d8d66b1321027d427dce4227c7e9 | 233 | agda | Agda | prototyping/Properties/Remember.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | 1 | 2021-11-06T08:03:00.000Z | 2021-11-06T08:03:00.000Z | prototyping/Properties/Remember.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | prototyping/Properties/Remember.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | module Properties.Remember where
open import Agda.Builtin.Equality using (_≡_; refl)
data Remember {A : Set} (a : A) : Set where
_,_ : ∀ b → (a ≡ b) → Remember(a)
remember : ∀ {A} (a : A) → Remember(a)
remember a = (a , refl)
| 23.3 | 51 | 0.613734 |
50764d9c82c253a42ebe263f62af24b30116ee37 | 535 | agda | Agda | test/Succeed/DoNotEtaExpandMVarsWhenComparingAgainstRecord.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/DoNotEtaExpandMVarsWhenComparingAgainstRecord.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/DoNotEtaExpandMVarsWhenComparingAgainstRecord.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- 2010-10-15
-- 2018-06-09
{-# OPTIONS --irrelevant-projections #-}
module DoNotEtaExpandMVarsWhenComparingAgainstRecord where
open import Common.Irrelevance
data _==_ {A : Set1}(a : A) : A -> Set where
refl : a == a
record IR : Set1 where
constructor mkIR
field
.fromIR : Set
open IR
reflIR2 : (r : IR... | 19.814815 | 67 | 0.659813 |
4d2954d388d9a6dabcef626e1f778e99ebe6cee7 | 28,475 | agda | Agda | homotopy/3x3/FromTo3.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | homotopy/3x3/FromTo3.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/3x3/FromTo3.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
--open import HoTT
open import homotopy.3x3.PushoutPushout
open import homotopy.3x3.Transpose
import homotopy.3x3.To as To
import homotopy.3x3.From as From
open import homotopy.3x3.Common
module homotopy.3x3.FromTo3 {i} (d : Span^2 {i}) where
open Span^2 d
open M d hiding (Pushout^2)
open... | 56.05315 | 196 | 0.417313 |
cbe41c3079c861fae9c1b24233f3916940c34ee6 | 6,394 | agda | Agda | Agda/Gradual Security/dynamic.agda | kellino/TypeSystems | acf5a153e14a7bdc0c9332fa602fa369fe7add46 | [
"MIT"
] | 2 | 2016-10-27T08:05:40.000Z | 2017-05-26T23:06:17.000Z | Agda/Gradual Security/dynamic.agda | kellino/TypeSystems | acf5a153e14a7bdc0c9332fa602fa369fe7add46 | [
"MIT"
] | null | null | null | Agda/Gradual Security/dynamic.agda | kellino/TypeSystems | acf5a153e14a7bdc0c9332fa602fa369fe7add46 | [
"MIT"
] | null | null | null | module dynamic where
open import LSsyntax
open import static
open import Relation.Nullary
open import Data.Nat using (ℕ ; _+_)
open import Data.Fin using (Fin; toℕ)
open import Data.Vec using (Vec ; lookup; _∷_; [])
open import Data.Product
open import Relation.Binary.PropositionalEquality
open import Relation.Nullar... | 42.626667 | 188 | 0.547545 |
4d14793e7e9fedc62dac9057b602a488b8cdf0ae | 3,258 | agda | Agda | src/Semantics/Iemhoff.agda | mietek/imla2017 | accc6c57390c435728d568ae590a02b2776b8891 | [
"X11"
] | 17 | 2017-02-27T05:04:55.000Z | 2021-01-17T13:02:58.000Z | src/Semantics/Iemhoff.agda | mietek/imla2017 | accc6c57390c435728d568ae590a02b2776b8891 | [
"X11"
] | null | null | null | src/Semantics/Iemhoff.agda | mietek/imla2017 | accc6c57390c435728d568ae590a02b2776b8891 | [
"X11"
] | null | null | null | module Semantics.Iemhoff where
open import Syntax public
-- Brilliant Kripke models.
record Model : Set₁ where
infix 3 _⊩ᵅ_
field
World : Set
_≤_ : World → World → Set
refl≤ : ∀ {w} → w ≤ w
trans≤ : ∀ {w w′ w″} → w ≤ w′ → w′ ≤ w″ → w ≤ w″
_R_ : World → World → Set
reflR : ... | 29.618182 | 76 | 0.440147 |
fbc81c356e88036e1274ad221306cc9c94780a6e | 8,721 | agda | Agda | src/Categories/Bicategory/Bigroupoid.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | src/Categories/Bicategory/Bigroupoid.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | null | null | null | src/Categories/Bicategory/Bigroupoid.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Bicategory.Bigroupoid where
open import Level
open import Function using (_$_)
open import Data.Product using (Σ; _,_)
open import Categories.Adjoint.TwoSided using (_⊣⊢_)
open import Categories.Category
open import Categories.Category.Equivalence using (WeakInver... | 51 | 171 | 0.521041 |
cbd1a50e554eb67b80cd328aaf3c8a506cdaad33 | 1,105 | agda | Agda | agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Dec.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Dec.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Dec.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe #-}
module Algebra.Construct.Free.Semilattice.Relation.Unary.All.Dec where
open import Prelude hiding (⊥; ⊤)
open import Algebra.Construct.Free.Semilattice.Eliminators
open import Algebra.Construct.Free.Semilattice.Definition
open import Cubical.Foundations.HLevels
open import Data.Empty.... | 36.833333 | 72 | 0.702262 |
dfb2c053ff8c4285190cf79355c719dc83a1adef | 1,169 | agda | Agda | prototyping/PrettyPrinter.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | 1 | 2022-02-11T21:30:17.000Z | 2022-02-11T21:30:17.000Z | prototyping/PrettyPrinter.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | prototyping/PrettyPrinter.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | module PrettyPrinter where
open import Agda.Builtin.IO using (IO)
open import Agda.Builtin.Int using (pos)
open import Agda.Builtin.Unit using (⊤)
open import FFI.IO using (getContents; putStrLn; _>>=_; _>>_)
open import FFI.Data.Aeson using (Value; eitherDecode)
open import FFI.Data.Either using (Left; Right)
open i... | 34.382353 | 95 | 0.745937 |
23424fe57bb0766a8c3107fe5e7e3f6c8d33eda8 | 22,010 | agda | Agda | Cubical/HITs/Sn/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-02-05T01:25:02.000Z | 2022-02-05T01:25:02.000Z | Cubical/HITs/Sn/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/HITs/Sn/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.HITs.Sn.Properties where
open import Cubical.Foundations.Pointed
open import Cubical.Foundations.Path
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubi... | 50.366133 | 138 | 0.449659 |
cb9073a270920e25a56454967eee5d54039f6f54 | 244 | agda | Agda | Cubical/Relation/Binary.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Relation/Binary.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Relation/Binary.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Binary where
open import Cubical.Relation.Binary.Base public
open import Cubical.Relation.Binary.Properties public
open import Cubical.Relation.Binary.Fiberwise public
| 34.857143 | 53 | 0.807377 |
1814a23ef9e572671b271cf5e5422776a178be23 | 4,092 | agda | Agda | src/Categories/Adjoint/RAPL.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Adjoint/RAPL.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Adjoint/RAPL.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Functor
open import Categories.Adjoint
-- Right Adjoint Preserves Limits.
module Categories.Adjoint.RAPL {o o′ ℓ ℓ′ e e′} {C : Category o ℓ e} {D : Category o′ ℓ′ e′}
{L : Functor C D} {R : Functor D C} (L⊣R : L ⊣ R) where
op... | 34.386555 | 119 | 0.39956 |
c501c0900987bfa92108700dcf553ea4d5c3af7f | 227 | agda | Agda | test/succeed/Issue561.agda | dagit/agda | 4383a3d20328a6c43689161496cee8eb479aca08 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/succeed/Issue561.agda | dagit/agda | 4383a3d20328a6c43689161496cee8eb479aca08 | [
"MIT"
] | null | null | null | test/succeed/Issue561.agda | dagit/agda | 4383a3d20328a6c43689161496cee8eb479aca08 | [
"MIT"
] | null | null | null |
module Issue561 where
open import Common.Char
open import Common.Prelude
primitive
primIsDigit : Char → Bool
postulate
IO : Set → Set
return : ∀ {A} → A → IO A
{-# BUILTIN IO IO #-}
main : IO Bool
main = return true | 13.352941 | 27 | 0.674009 |
dc7766198371bc669abd46421c4534dd983e1836 | 2,469 | agda | Agda | notes/FOT/GroupTheory/FormalisationsSL.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/GroupTheory/FormalisationsSL.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/GroupTheory/FormalisationsSL.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Proving that two group theory formalisations are equivalents
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS... | 30.109756 | 87 | 0.553665 |
18794b9f90c2bd57cb3b6f18b380480a878f66bb | 310,255 | agda | Agda | agda/Text/Greek/SBLGNT/1Cor.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 44 | 2015-05-29T14:48:51.000Z | 2022-03-06T15:41:57.000Z | agda/Text/Greek/SBLGNT/1Cor.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 13 | 2015-05-28T20:04:08.000Z | 2020-09-07T11:58:38.000Z | agda/Text/Greek/SBLGNT/1Cor.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 5 | 2015-02-27T22:34:13.000Z | 2017-06-11T11:25:09.000Z | module Text.Greek.SBLGNT.1Cor where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΠΡΟΣ-ΚΟΡΙΝΘΙΟΥΣ-Α : List (Word)
ΠΡΟΣ-ΚΟΡΙΝΘΙΟΥΣ-Α =
word (Π ∷ α ∷ ῦ ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Cor.1.1"
∷ word (κ ∷ ∙λ ∷ η ∷ τ ∷ ὸ ∷ ς ∷ []) "1Cor.1.1"
∷ word (ἀ... | 45.471933 | 86 | 0.351327 |
1c08b2d9fe68d84d5fb0fa1648c8c509ece8a357 | 6,067 | agda | Agda | Agda/GTFL.agda | kellino/TypeSystems | acf5a153e14a7bdc0c9332fa602fa369fe7add46 | [
"MIT"
] | 2 | 2016-10-27T08:05:40.000Z | 2017-05-26T23:06:17.000Z | Agda/GTFL.agda | kellino/TypeSystems | acf5a153e14a7bdc0c9332fa602fa369fe7add46 | [
"MIT"
] | null | null | null | Agda/GTFL.agda | kellino/TypeSystems | acf5a153e14a7bdc0c9332fa602fa369fe7add46 | [
"MIT"
] | null | null | null | module GTFL where
open import Data.Nat hiding (_⊓_; erase; _≟_; _≤_)
open import Data.Bool hiding (_≟_)
open import Data.Fin using (Fin; zero; suc; toℕ)
open import Data.Vec
open import Relation.Binary.PropositionalEquality
open import Relation.Nullary
open import Data.Empty
open import Function using (_∘_)
-- | Type... | 36.113095 | 137 | 0.54508 |
39e37311d24846dd264f6116a3a5e77d5800531f | 259 | agda | Agda | test/Fail/Issue444.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue444.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue444.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- 2011-09-09, submitted by mokus.4...@gmail.com
-- This bug report wins the first price in the false golfing tournament!
-- {-# OPTIONS -v term:20 #-}
module Issue444 where
data ⊥ : Set where
relevant : .⊥ → ⊥
relevant ()
false : ⊥
false = relevant false
| 19.923077 | 72 | 0.671815 |
0b10affb613c36472ba055500b910fd1b473634e | 1,416 | agda | Agda | test/asset/agda-stdlib-1.0/Axiom/Extensionality/Heterogeneous.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | test/asset/agda-stdlib-1.0/Axiom/Extensionality/Heterogeneous.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Axiom/Extensionality/Heterogeneous.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Results concerning function extensionality for propositional equality
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Axiom.Extensionality.Heterog... | 34.536585 | 72 | 0.535311 |
cbb00df6757be28a5eeaec0136fa219272accdc4 | 2,644 | agda | Agda | examples/AIM6/Path/Lambda.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/AIM6/Path/Lambda.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/AIM6/Path/Lambda.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Lambda where
open import Prelude
open import Star
open import Examples
open import Modal
-- Environments
record TyAlg (ty : Set) : Set where
field
nat : ty
_⟶_ : ty -> ty -> ty
data Ty : Set where
<nat> : Ty
_<⟶>_ : Ty -> Ty -> Ty
freeTyAlg : TyAlg Ty
freeTyAlg = record { nat = <nat>; _⟶_ = _<... | 22.40678 | 78 | 0.495461 |
0e76dd38ddd72aaf0d0117659386c518084820db | 113 | agda | Agda | Everything.agda | fangyi-zhou/mpst-in-agda | 3d12eed9d340207d242d70f43c6b34e01d3620de | [
"MIT"
] | 1 | 2021-08-14T17:36:53.000Z | 2021-08-14T17:36:53.000Z | Everything.agda | fangyi-zhou/mpst-in-agda | 3d12eed9d340207d242d70f43c6b34e01d3620de | [
"MIT"
] | 1 | 2021-08-31T10:15:38.000Z | 2021-11-24T11:30:17.000Z | Everything.agda | fangyi-zhou/mpst-in-agda | 3d12eed9d340207d242d70f43c6b34e01d3620de | [
"MIT"
] | null | null | null | import Common
import Global
import Local
import Projection
import Soundness
import Completeness
import Example
| 11.3 | 19 | 0.858407 |
cbed1b585950c0077ef9ba8e39a52dec9741da31 | 9,678 | agda | Agda | lib/Equivalences.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | lib/Equivalences.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | lib/Equivalences.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.PathFunctor
open import lib.NType
module lib.Equivalences where
{-
We use the half-adjoint definition of equivalences (but this fact should be
invisible to the user of the library). The constructor of the type of
equivalenc... | 37.804688 | 86 | 0.435937 |
c510fd50ecd34a8c867377889594335c9ed23f95 | 2,209 | agda | Agda | notes/FOT/Common/FOL/Relation/Binary/PropositionalEquality/TypeTheory.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/Common/FOL/Relation/Binary/PropositionalEquality/TypeTheory.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/Common/FOL/Relation/Binary/PropositionalEquality/TypeTheory.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Type theory: The identity type
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-... | 30.680556 | 78 | 0.425985 |
0be547e5eecdd352d11eae6f8fddcac42d4fc6ef | 115,257 | agda | Agda | complexity/complexity-final/submit/Interp.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 2 | 2016-04-26T20:22:22.000Z | 2019-08-08T12:27:18.000Z | complexity/complexity-final/submit/Interp.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 1 | 2020-03-23T08:39:04.000Z | 2020-05-12T00:32:45.000Z | complexity/complexity-final/submit/Interp.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | null | null | null | {- NEW INTERP WITHOUT RREC -}
open import Preliminaries
open import Preorder
open import Complexity
module Interp where
-- interpret complexity types as preorders
[_]t : CTp → PREORDER
[ unit ]t = unit-p
[ nat ]t = Nat , ♭nat-p
[ τ ->c τ₁ ]t = [ τ ]t ->p [ τ₁ ]t
[ τ ×c τ₁ ]t = [ τ ]t ×p [ τ₁ ]t
[ list ... | 66.622543 | 172 | 0.510199 |
0b4d117d685182d62c12f31b02d1603938b14df1 | 1,498 | agda | Agda | agda-stdlib/src/Data/Product/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/Product/Properties/WithK.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Product/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 products, that rely on the K rule
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Data.Product.Properties.WithK where
open... | 36.536585 | 76 | 0.537383 |
50f283f9d705302f2154004ab015a36ff247adf3 | 2,617 | agda | Agda | theorems/cw/cohomology/reconstructed/HigherCoboundaryGrid.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | theorems/cw/cohomology/reconstructed/HigherCoboundaryGrid.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | theorems/cw/cohomology/reconstructed/HigherCoboundaryGrid.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 50 | 2015-01-10T01:48:08.000Z | 2022-02-14T03:03:25.000Z | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import groups.Exactness
open import groups.ExactSequence
open import cw.CW
open import cohomology.Theory
module cw.cohomology.reconstructed.HigherCoboundaryGrid {i} (OT : OrdinaryTheory i)
{n} (⊙skel : ⊙Skeleton {i} (S (S n))) (ac : ⊙has-cells-with-choic... | 36.347222 | 92 | 0.620558 |
0e33fab0106ddf44389bd36e97afde92a4c40204 | 11,639 | agda | Agda | Cubical/Algebra/Ring/QuotientRing.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Algebra/Ring/QuotientRing.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/QuotientRing.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.Ring.QuotientRing where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Powerset using (_∈_; _⊆_; ⊆-extensionality) -- \in, \sub=... | 36.258567 | 98 | 0.414383 |
109002dc1342b8c8da5975110a189ccb2e33089b | 6,804 | agda | Agda | Cubical/Structures/Relational/Function.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Structures/Relational/Function.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Structures/Relational/Function.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-
Index a structure T a positive structure S: X ↦ S X → T X
-}
{-# OPTIONS --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.Foundations.Function
open import Cub... | 35.4375 | 99 | 0.559818 |
0b33568ca3f83047721432ed58c38564fd5172ad | 2,012 | agda | Agda | autotests/input/test.agda | danipozo/syntax-highlighting | 4da852ec232411be5abc065c0f2ee21fdb016008 | [
"MIT"
] | null | null | null | autotests/input/test.agda | danipozo/syntax-highlighting | 4da852ec232411be5abc065c0f2ee21fdb016008 | [
"MIT"
] | null | null | null | autotests/input/test.agda | danipozo/syntax-highlighting | 4da852ec232411be5abc065c0f2ee21fdb016008 | [
"MIT"
] | null | null | null | -- Agda Sample File
-- https://github.com/agda/agda/blob/master/examples/syntax/highlighting/Test.agda
-- This test file currently lacks module-related stuff.
{- Nested
{- comment. -} -}
module Test where
infix 12 _!
infixl 7 _+_ _-_
infixr 2 -_
postulate x : Set
f : (Set -> Set -> Set) -> Set
f _*_ = x * x... | 17.80531 | 82 | 0.503479 |
0bcf99ac81b46e3be72a334dedb0d5c34bf5d081 | 59,178 | agda | Agda | src/Equivalence/Erased.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Equivalence/Erased.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Equivalence/Erased.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Equivalences with erased "proofs"
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Equivalence.Erased
{reflexive} (eq : ∀ {a p} → Equality-with-J a p re... | 36.484587 | 163 | 0.449559 |
c518be7bd996d56750cf8fb1093dea9faa4f41a9 | 4,521 | agda | Agda | Cubical/Experiments/Problem.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Experiments/Problem.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Experiments/Problem.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | 1 | 2021-03-12T20:08:45.000Z | 2021-03-12T20:08:45.000Z | -- An example of something where normalization is surprisingly slow
{-# OPTIONS --safe #-}
module Cubical.Experiments.Problem where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Int
open import Cubical.HITs.S1
open import Cubical.HITs.S2
open import Cubical.HITs.S3
open import Cubical.HITs.Join
op... | 30.342282 | 133 | 0.54457 |
1896bd25e99bf749dfc3cdc646040e1978b196c4 | 310 | agda | Agda | Cubical/Structures/Everything.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Structures/Everything.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Structures/Everything.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Structures.Everything where
open import Cubical.Structures.Pointed public
open import Cubical.Structures.InftyMagma public
open import Cubical.Structures.Monoid public
open import Cubical.Structures.Queue public
open import Cubical.Structures.TypeEqvTo public
| 31 | 48 | 0.832258 |
1cda814c4381efa8dc1fc490bd39b17f4459abf3 | 347 | agda | Agda | Cubical/HITs/Sn/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/Sn/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/Sn/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2021-11-22T02:02:01.000Z | 2021-11-22T02:02:01.000Z | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Sn.Base where
open import Cubical.HITs.Susp
open import Cubical.Data.Nat
open import Cubical.Data.NatMinusOne
open import Cubical.Data.Empty
open import Cubical.Foundations.Prelude
S : ℕ₋₁ → Type₀
S neg1 = ⊥
S (ℕ→ℕ₋₁ n) = Susp (S (-1+ n))
S₊ : ℕ ... | 21.6875 | 50 | 0.691643 |
1cc035de0942e4202307dd0087205c59bc02bba2 | 2,197 | agda | Agda | lib/Haskell/Prim/Applicative.agda | JonathanBrouwer/agda2hs | dcf63cc7ce51a325a97ac58bdd0aeace24c08b15 | [
"MIT"
] | 55 | 2020-10-20T13:36:25.000Z | 2022-03-26T21:57:56.000Z | lib/Haskell/Prim/Applicative.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 63 | 2020-10-22T05:19:27.000Z | 2022-02-25T15:47:30.000Z | lib/Haskell/Prim/Applicative.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 18 | 2020-10-21T22:19:09.000Z | 2022-03-12T11:42:52.000Z |
module Haskell.Prim.Applicative where
open import Haskell.Prim
open import Haskell.Prim.Either
open import Haskell.Prim.Foldable
open import Haskell.Prim.Functor
open import Haskell.Prim.List
open import Haskell.Prim.Maybe
open import Haskell.Prim.Monoid
open import Haskell.Prim.Tuple
------------------------------... | 32.791045 | 89 | 0.571234 |
0b57f294421e7f1ebfdcd826af907270b6ff629d | 1,827 | agda | Agda | Cubical/Categories/Instances/Cospan.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Categories/Instances/Cospan.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Categories/Instances/Cospan.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Categories.Instances.Cospan where
open import Cubical.Foundations.Prelude
open import Cubical.Categories.Category
open import Cubical.Data.Unit
open import Cubical.Data.Empty
open Category
data 𝟛 : Type ℓ-zero where
⓪ : 𝟛
① : 𝟛
② : 𝟛
CospanCat : Category ℓ-zero ℓ-zero... | 28.107692 | 48 | 0.600438 |
4aa23e0fbe94e4d76482277d911dd5de26031376 | 278 | agda | Agda | test/Fail/Issue2386-b.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2386-b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2386-b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2017-01-12, issue #2386
-- Should be rejected:
data Eq (A : Set) : (x y : A) → Set where
refl : (x y : A) → Eq A x y
{-# BUILTIN EQUALITY Eq #-}
-- Expected error:
-- Wrong type of constructor of BUILTIN EQUALITY
-- when checking the pragma BUILTIN EQUALITY Eq
| 23.166667 | 48 | 0.647482 |
1c08acd0c6c817ac34d1f755abb12b7e783c7b83 | 2,986 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Nat/GeneralisedArithmetic.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Nat/GeneralisedArithmetic.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Nat/GeneralisedArithmetic.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- A generalisation of the arithmetic operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Nat.GeneralisedArithmetic where
open import... | 32.813187 | 72 | 0.428667 |
500c87d6e9b55d7b2f874ee8ea3d7760586bf40a | 2,262 | agda | Agda | Experiment/FingerTree/Common.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | 3 | 2020-04-07T17:49:42.000Z | 2020-04-21T00:03:43.000Z | Experiment/FingerTree/Common.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | Experiment/FingerTree/Common.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Experiment.FingerTree.Common where
open import Level renaming (zero to lzero ; suc to lsuc)
open import Algebra
open import Data.Product
open import Function.Core
open import Function.Endomorphism.Propositional
open import Data.Nat hiding (_⊔_)
import Data.Nat.Properties as ℕₚ... | 35.34375 | 94 | 0.544651 |
507aafb6a34889b87312d56a6709ff15a460757a | 8,285 | agda | Agda | Cubical/Data/Nat/Order.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | null | null | null | Cubical/Data/Nat/Order.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Data/Nat/Order.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-}
module Cubical.Data.Nat.Order where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Data.Empty as ⊥
open import Cubical.Data.Sigma
open import Cubical.Data.... | 28.968531 | 88 | 0.462523 |
18cd5779a5b14b1846a7202d3379de355baacbc1 | 527 | agda | Agda | test/interaction/Issue2803.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | 1 | 2016-03-17T01:45:59.000Z | 2016-03-17T01:45:59.000Z | test/interaction/Issue2803.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue2803.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2017-11-12, issue #2803
-- Problem: names of hidden variable patterns
-- can get lost during case splitting.
-- They actually get lost already during lhs type checking,
-- but it is noticed only when printed back to the user
-- during case splitting.
-- {-# OPTIONS -v tc.lhs:40 #-}
record HFun (A B : Se... | 21.08 | 59 | 0.633776 |
506bdc7fcd489f39ad12e65c999ea85e55446ae5 | 1,681 | agda | Agda | Cats/Util/Reflection.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Util/Reflection.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Util/Reflection.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | module Cats.Util.Reflection where
open import Reflection public
open import Data.List using ([])
open import Data.Unit using (⊤)
open import Function using (_∘_)
open import Level using (zero ; Lift)
open import Cats.Util.Monad using (RawMonad ; _>>=_ ; _>>_ ; return ; mapM′)
instance
tcMonad : ∀ {l} → RawMonad ... | 28.491525 | 79 | 0.702558 |
3914404ba70d090a90d46cc2444d16f2b9167834 | 7,326 | agda | Agda | test/Succeed/Issue854.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue854.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue854.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | -- 2013-06-15 Andreas, issue reported by Stevan Andjelkovic
module Issue854 where
infixr 1 _⊎_
infixr 2 _×_
infixr 4 _,_
infix 4 _≡_
data ⊥ : Set where
⊥-elim : {A : Set} → ⊥ → A
⊥-elim ()
record ⊤ : Set where
constructor tt
data Bool : Set where
true false : Bool
data ℕ : Set where
zero : ℕ
suc : (n : ℕ... | 25.262069 | 76 | 0.464646 |
236350e5e7da8d87a297770766f564b57f3997a9 | 973 | agda | Agda | src/Integer/Difference/Properties.agda | kcsmnt0/numbers | 67ea7b96228c592daf79e800ebe4a7c12ed7221e | [
"MIT"
] | 9 | 2019-05-20T01:29:41.000Z | 2020-01-16T07:16:26.000Z | src/Integer/Difference/Properties.agda | kcsmnt0/numbers | 67ea7b96228c592daf79e800ebe4a7c12ed7221e | [
"MIT"
] | null | null | null | src/Integer/Difference/Properties.agda | kcsmnt0/numbers | 67ea7b96228c592daf79e800ebe4a7c12ed7221e | [
"MIT"
] | null | null | null | module Integer.Difference.Properties where
open import Data.Product as Σ
open import Data.Product.Relation.Pointwise.NonDependent
open import Data.Unit
open import Equality
open import Integer.Difference
open import Natural as ℕ using (ℕ; zero; suc)
open import Quotient as /
open import Relation.Binary
open import Syn... | 24.948718 | 70 | 0.589928 |
cbd5d9bfd15a108d592d4f72afbfe97628ae1923 | 1,295 | agda | Agda | src/data/lib/prim/Agda/Builtin/Float.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 2 | 2019-10-29T09:40:30.000Z | 2020-09-20T00:28:57.000Z | src/data/lib/prim/Agda/Builtin/Float.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | src/data/lib/prim/Agda/Builtin/Float.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 1 | 2021-04-01T18:30:09.000Z | 2021-04-01T18:30:09.000Z | {-# OPTIONS --without-K --safe --no-sized-types --no-guardedness #-}
module Agda.Builtin.Float where
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Int
open import Agda.Builtin.Word
open import Agda.Builtin.String
postulate Float : Set
{-# BUILTIN FLOAT Float #-}
primitive
pri... | 32.375 | 68 | 0.636293 |
0b1dfbb1991d9ca6211a1be6f28d42678048a95c | 658 | agda | Agda | Rings/Units/Lemmas.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Rings/Units/Lemmas.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Rings/Units/Lemmas.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
module Rings.Units.Lemmas {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring S _+_ _*_) where
open import Rings.Unit... | 32.9 | 146 | 0.720365 |
d06f465e805d28fe8e84b04cc488a8e8cfb85c6c | 2,469 | agda | Agda | PiFrac/Syntax.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | PiFrac/Syntax.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | PiFrac/Syntax.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | module PiFrac.Syntax where
open import Data.Empty
open import Data.Unit
open import Data.Sum
open import Data.Product
infixr 12 _×ᵤ_
infixr 11 _+ᵤ_
infixr 50 _⨾_
infixr 10 _↔_
infixr 70 _⊕_
infixr 70 _⊗_
infix 99 !_
infix 99 𝟙/_
mutual
-- Types
data 𝕌 : Set where
𝟘 : 𝕌
𝟙 : 𝕌
_+ᵤ_ : 𝕌 → �... | 26.548387 | 78 | 0.447955 |
1804b500385fe2204f3a067f494b348f28225094 | 116 | agda | Agda | test/succeed/Issue1110a.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/Issue1110a.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | null | null | null | test/succeed/Issue1110a.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | -- Andreas, 2014-05-17
open import Common.Prelude
open import Common.Equality
test : Nat
test rewrite refl = zero
| 14.5 | 27 | 0.758621 |
fb2ee7f35f762a584d9bbceffb67ede02193fe90 | 453 | agda | Agda | test/Succeed/Issue4172-without-K.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue4172-without-K.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue4172-without-K.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --without-K #-}
record Erased (A : Set) : Set where
constructor [_]
field
@0 erased : A
open Erased
data W (A : Set) (B : A → Set) : Set where
sup : (x : A) → (B x → W A B) → W A B
lemma :
{A : Set} {B : A → Set} →
Erased (W A B) → W (Erased A) (λ x → Erased (B (erased x)))
lemma [ sup x f... | 18.12 | 61 | 0.501104 |
4a0dd0759916ab5c4b63cbc9edd250183f6fee43 | 334 | agda | Agda | src/sets/finite/hlevel.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 20 | 2015-06-12T12:20:17.000Z | 2022-02-01T11:25:54.000Z | src/sets/finite/hlevel.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 4 | 2015-02-02T14:32:16.000Z | 2016-10-26T11:57:26.000Z | src/sets/finite/hlevel.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 4 | 2015-02-02T12:17:00.000Z | 2019-05-04T19:31:00.000Z | {-# OPTIONS --without-K #-}
module sets.finite.level where
open import sum
open import function.isomorphism.core
open import hott.level.core
open import hott.level.closure
open import hott.level.sets
open import sets.finite.core
finite-h2 : ∀ {i}{A : Set i} → IsFinite A → h 2 A
finite-h2 (n , fA) = iso-level (sym≅ fA... | 25.692308 | 52 | 0.718563 |
50f93afc872c91cc48a3769e77d0582876753799 | 1,785 | agda | Agda | src/Tactic/Nat/Coprime.agda | L-TChen/agda-prelude | 158d299b1b365e186f00d8ef5b8c6844235ee267 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Tactic/Nat/Coprime.agda | L-TChen/agda-prelude | 158d299b1b365e186f00d8ef5b8c6844235ee267 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Tactic/Nat/Coprime.agda | L-TChen/agda-prelude | 158d299b1b365e186f00d8ef5b8c6844235ee267 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z | -- Tactic for proving coprimality.
-- Finds Coprime hypotheses in the context.
module Tactic.Nat.Coprime where
import Agda.Builtin.Nat as Builtin
open import Prelude
open import Control.Monad.Zero
open import Control.Monad.State
open import Container.List
open import Container.Traversable
open import Numeric.Nat
open... | 30.775862 | 90 | 0.633613 |
18058a54590e7181a30a4866610a2f027f835e67 | 2,179 | agda | Agda | test/interaction/Highlighting.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 1 | 2019-09-27T06:54:44.000Z | 2019-09-27T06:54:44.000Z | test/interaction/Highlighting.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/interaction/Highlighting.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | null | null | null | 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 using (ℕ) re... | 20.175926 | 71 | 0.590179 |
0b3838e12fd78adcab5f30797e826f529601ec05 | 1,423 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Product/Function/Dependent/Propositional/WithK.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | test/asset/agda-stdlib-1.0/Data/Product/Function/Dependent/Propositional/WithK.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Product/Function/Dependent/Propositional/WithK.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Dependent product combinators for propositional equality
-- preserving functions
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Data.Product.Func... | 36.487179 | 72 | 0.567814 |
d02a88f9e15475a57f9b2bee7ef392c2396794b7 | 767 | agda | Agda | test/Succeed/ReflectionBlockOnMeta.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/ReflectionBlockOnMeta.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/ReflectionBlockOnMeta.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 hiding (_>>=_; _<$>_)
open import Common.Reflection
infixl 8 _<$>_
_<$>_ : ∀ {a b} {A : Set a} {B : Set b} → (A → B) → TC A → TC B
f <$> m = m >>= λ x → returnTC (f x)
macro
default : Tactic
default hole =
inferType hole >>= λ goal →
reduce goal >>= λ
{ (def... | 21.914286 | 81 | 0.552803 |
cb61c71be18784b45fd4f5e79fd40a66892b2e9d | 163 | agda | Agda | test/Fail/IrrelevantTelescope.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/IrrelevantTelescope.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/IrrelevantTelescope.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2011-04-07
module IrrelevantTelescope where
data Wrap .(A : Set) : Set where
wrap : A -> Wrap A
-- cannot use A, because it is declared irrelevant
| 20.375 | 50 | 0.699387 |
0e936c0f5ba702daa17575236c64d15fe80f765f | 2,992 | agda | Agda | src/data/lib/prim/Agda/Builtin/Cubical/HCompU.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 2 | 2019-10-29T09:40:30.000Z | 2020-09-20T00:28:57.000Z | src/data/lib/prim/Agda/Builtin/Cubical/HCompU.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | src/data/lib/prim/Agda/Builtin/Cubical/HCompU.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 1 | 2021-04-01T18:30:09.000Z | 2021-04-01T18:30:09.000Z | {-# OPTIONS --cubical --safe --no-sized-types --no-guardedness #-}
module Agda.Builtin.Cubical.HCompU where
open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMin to _∧_;
primHComp to ... | 41.555556 | 163 | 0.397727 |
0b486031f6a63887363c8e9ac7ba4a14dbcf80fb | 148 | agda | Agda | test/Succeed/AnonymousModuleWithParameter.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/AnonymousModuleWithParameter.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/AnonymousModuleWithParameter.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
module Id (A : Set) where
id : A → A
id x = x
module _ (A : Set) where
open Id A
id2 = id
| 10.571429 | 29 | 0.594595 |
0e9620ffdc9685b75134717e36cd4ec666cbf8b8 | 3,481 | agda | Agda | test/Succeed/ReflectTC.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/ReflectTC.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/ReflectTC.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | -- Building some simple tactics using the reflected type checking monad.
module _ where
open import Common.Reflection
open import Common.Prelude hiding (_>>=_)
open import Common.Equality
open import Agda.Builtin.Sigma
-- Some helpers --
quotegoal : (Type → Tactic) → Tactic
quotegoal tac hole =
inferType hole >>= ... | 29.252101 | 95 | 0.608733 |
fb4f33e6375f8d4a7ccbcfd1ade82bde97ccc7f7 | 5,217 | agda | Agda | combinators.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | combinators.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | combinators.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | module combinators where
open import bool
open import bool-thms2
import closures
open import eq
open import list
open import list-thms
open import nat
open import nat-thms
open import product
open import product-thms
open import sum
open import string
open import termination
data comb : Set where
S : comb
K : com... | 36.229167 | 100 | 0.556642 |
18df341da36d566d78e8c81528bd3e7f95dc6b53 | 13,118 | agda | Agda | nicolai/thesis/HHHUU-ComplicatedTypes.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | nicolai/thesis/HHHUU-ComplicatedTypes.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | null | null | null | nicolai/thesis/HHHUU-ComplicatedTypes.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
{- Here, we derive our main theorem: there is a type in the n-th universe
that is not an n-type, implying the n-th universe is not n-truncated.
The n-th universe restricted to n-types is hence a 'strict' n-type.
For this, we first derive local-global looping in a modular way.
A... | 38.696165 | 83 | 0.556182 |
fbc6e85e277c088e7ee01846e78967a2bd4dac7b | 527 | agda | Agda | agda-stdlib/src/Relation/Binary/Morphism.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Relation/Binary/Morphism.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Relation/Binary/Morphism.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Order morphisms
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary.Core
module Relation.Binary.Morphism where
-------------... | 29.277778 | 72 | 0.455408 |
18799c47c9e19eda51739af019dd48a28726d10c | 3,520 | agda | Agda | Cubical/Categories/Functor/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Categories/Functor/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Categories/Functor/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Categories.Functor.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function renaming (_∘_ to _◍_)
open import Cubical.Foundations.GroupoidLaws using (lUnit; rUnit; assoc; cong-∙)
open import Cubical.Categories.Category
open import Cubical.... | 30.08547 | 116 | 0.444602 |
0b1644efecf2ce86c8fda916cdf633ebe87d966f | 1,211 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Sum/Properties.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Sum/Properties.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Sum/Properties.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of sums (disjoint unions)
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Sum.Properties where
open import Data.Sum
open impor... | 32.72973 | 72 | 0.535095 |
0bb83334bf3f71e22db5c830c21da758dfd5f495 | 702 | agda | Agda | test/interaction/ExtendedLambdaCase.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/interaction/ExtendedLambdaCase.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/interaction/ExtendedLambdaCase.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | module ExtendedLambdaCase where
data Bool : Set where
true false : Bool
data Void : Set where
foo : Bool -> Bool -> Bool -> Bool
foo = λ { x → λ { y z → {!!} } }
module parameterised {A : Set}(B : A -> Set) where
data Bar : (Bool -> Bool) -> Set where
baz : (t : Void) -> Bar λ { x → {!!} }
-- with hidde... | 22.645161 | 91 | 0.501425 |
187f3a04e11ea97a1012eb187f89cf12169bfd5f | 3,348 | agda | Agda | src/Categories/Functor/Hom.agda | glittershark/agda-categories | 2128fab9e8d341364cbf784bb17c547bf73891de | [
"MIT"
] | null | null | null | src/Categories/Functor/Hom.agda | glittershark/agda-categories | 2128fab9e8d341364cbf784bb17c547bf73891de | [
"MIT"
] | null | null | null | src/Categories/Functor/Hom.agda | glittershark/agda-categories | 2128fab9e8d341364cbf784bb17c547bf73891de | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Categories.Functor.Hom where
-- The Hom Functor from C.op × C to Setoids,
-- the two 1-argument version fixing one object
-- and some notation for the version where the category must be made explicit
open import Data.Product
open import Function using () renaming (_∘_ to _∙_)... | 34.515464 | 85 | 0.48178 |
0b9e1c7cd0cfa68166517c4b05dbad6e50bd2a9f | 863 | agda | Agda | part1/lists/map-compose.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | 1 | 2020-07-07T09:42:22.000Z | 2020-07-07T09:42:22.000Z | part1/lists/map-compose.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | part1/lists/map-compose.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | module map-compose where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong)
open Eq.≡-Reasoning
open import Function using (_∘_)
open import lists using (List; []; _∷_; map)
postulate
-- 外延性の公理
extensionality : ∀ {A B : Set} {f g : A → B}
→ (∀ (x : A) → f x ≡ g x)
-------... | 24.657143 | 66 | 0.491309 |
0bfa2ec4e3695485ad828b1e8527b60af9027404 | 2,138 | agda | Agda | ConfluenceParallel.agda | iwilare/church-rosser | 2fa17f7738cc7da967375be928137adc4be38696 | [
"MIT"
] | 5 | 2020-06-02T07:27:54.000Z | 2021-11-22T01:43:09.000Z | ConfluenceParallel.agda | iwilare/church-rosser | 2fa17f7738cc7da967375be928137adc4be38696 | [
"MIT"
] | null | null | null | ConfluenceParallel.agda | iwilare/church-rosser | 2fa17f7738cc7da967375be928137adc4be38696 | [
"MIT"
] | null | null | null | open import Data.Product using (∃; ∃-syntax; _×_; _,_)
open import DeBruijn
open import Parallel
open import Beta
par-diamond : ∀ {n} {M N N′ : Term n}
→ M ⇉ N → M ⇉ N′
-----------------------
→ ∃[ L ] (N ⇉ L × N′ ⇉ L)
par-diamond (⇉-c {x = x}) ⇉-c = # x , ⇉-c , ⇉-c
par-diamond (⇉-ƛ p1) (⇉-ƛ p2)
... | 27.766234 | 59 | 0.404116 |
fb0f463d8c66e649dd22831688e8dacbad044ff7 | 17,183 | agda | Agda | lib/cubical/Square.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | lib/cubical/Square.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | lib/cubical/Square.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.PathOver
module lib.cubical.Square where
data Square {i} {A : Type i} {a₀₀ : A} : {a₀₁ a₁₀ a₁₁ : A}
→ a₀₀ == a₀₁ → a₀₀ == a₁₀ → a₀₁ == a₁₁ → a₁₀ == a₁₁ → Type i
where
ids : Square idp idp idp idp
hid-square : ∀ {i} {... | 34.504016 | 79 | 0.479311 |
18798a4d0d6b00bfd8a0ed7501fbb54af323fd0d | 9,650 | agda | Agda | src/Categories/Category/Monoidal/Properties.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Category/Monoidal/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Category/Monoidal/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
import Categories.Category.Monoidal as M
-- Properties of Monoidal Categories
module Categories.Category.Monoidal.Properties
{o ℓ e} {C : Category o ℓ e} (MC : M.Monoidal C) where
open import Data.Product using (_,_; Σ; uncurry′)
open Category C
o... | 35.740741 | 102 | 0.466425 |
dff68fef36206686e9a8c4353b825d307c9df640 | 2,282 | agda | Agda | core/lib/types/IteratedSuspension.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/IteratedSuspension.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/IteratedSuspension.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 lib.Basics
open import lib.NConnected
open import lib.types.Bool
open import lib.types.Nat
open import lib.types.TLevel
open import lib.types.Suspension
module lib.types.IteratedSuspension where
⊙Susp^ : ∀ {i} (n : ℕ) → Ptd i → Ptd i
⊙Susp^ O X = X
⊙Susp^ (S n) X =... | 29.25641 | 78 | 0.532428 |
4d9fcdd4c267536aad667ade0858f53562932f86 | 6,969 | agda | Agda | proglangs-learning/Agda/plfa-exercises/Practice2.agda | helq/old_code | a432faf1b340cb379190a2f2b11b997b02d1cd8d | [
"CC0-1.0"
] | null | null | null | proglangs-learning/Agda/plfa-exercises/Practice2.agda | helq/old_code | a432faf1b340cb379190a2f2b11b997b02d1cd8d | [
"CC0-1.0"
] | 4 | 2020-03-10T19:20:21.000Z | 2021-06-07T15:39:48.000Z | proglangs-learning/Agda/plfa-exercises/Practice2.agda | helq/old_code | a432faf1b340cb379190a2f2b11b997b02d1cd8d | [
"CC0-1.0"
] | null | null | null | module plfa-exercises.Practice2 where
-- Trying exercises:
-- 5.2 pp 340
-- 5.7 pp 386
-- 6.1 pp 423
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; subst)
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import Relation.Nullary using (¬_)
open import Data.Product using (_×_; proj... | 29.529661 | 122 | 0.367485 |
dfa9cfd2366dd48ecbe94752c07d238aeae6e8c8 | 1,591 | agda | Agda | archive/agda-1/LiteralSequent.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/LiteralSequent.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/LiteralSequent.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | {-# OPTIONS --allow-unsolved-metas #-}
module LiteralSequent where
open import Sequent
open import IsLiteralSequent
record LiteralSequent : Set
where
constructor ⟨_⟩
field
{sequent} : Sequent
isLiteralSequent : IsLiteralSequent sequent
open LiteralSequent public
open import OscarPrelude
private
modu... | 29.462963 | 93 | 0.735387 |
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.