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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c75174167db3fd86e5e43b3f240946db3edc7bb4 | 5,881 | agda | Agda | Definition/Conversion/Lift.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 30 | 2017-05-20T03:05:21.000Z | 2022-03-30T18:01:07.000Z | Definition/Conversion/Lift.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 4 | 2017-06-22T12:49:23.000Z | 2021-02-22T10:37:24.000Z | Definition/Conversion/Lift.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 8 | 2017-10-18T14:18:20.000Z | 2021-11-27T15:58:33.000Z | {-# OPTIONS --without-K --safe #-}
module Definition.Conversion.Lift where
open import Definition.Untyped hiding (_∷_)
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Weakening
open import Definition.Typed.Properties
open import Definition.Typed.EqRelInstance
open i... | 41.125874 | 93 | 0.52168 |
294007603f07b216ddbc52a483c5464d7e58d3f1 | 3,143 | agda | Agda | Lang/Size.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Lang/Size.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Lang/Size.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | {-# OPTIONS --sized-types #-}
module Lang.Size where
-- Some stuff about sizes that seems to :
-- • Types:
-- • SizeU : TYPE
-- • Size : TYPE
-- • <ˢⁱᶻᵉ_ : Size → TYPE
-- • 𝐒ˢⁱᶻᵉ : Size → Size
-- • ∞ˢⁱᶻᵉ : Size
-- • _⊔ˢⁱᶻᵉ_ : Size → Size → Size
-- • Subtyping : ∀s₁∀s₂. (s₁: <ˢⁱᶻᵉ s₂) ... | 35.314607 | 278 | 0.57111 |
10509db800b365b646bf6d6ecba5cb37e5fea90e | 304 | agda | Agda | Agda.agda | abt8601/one-two-three...infinity | aba4eb82bc37717b7dcac69277750dfe1067d054 | [
"Unlicense"
] | 9 | 2017-01-02T18:14:51.000Z | 2022-02-01T09:01:59.000Z | Agda.agda | abt8601/one-two-three...infinity | aba4eb82bc37717b7dcac69277750dfe1067d054 | [
"Unlicense"
] | 23 | 2016-09-10T13:51:09.000Z | 2022-01-23T21:18:50.000Z | Agda.agda | abt8601/one-two-three...infinity | aba4eb82bc37717b7dcac69277750dfe1067d054 | [
"Unlicense"
] | 18 | 2016-09-09T19:39:43.000Z | 2022-01-17T23:23:37.000Z | open import Data.Nat using (ℕ; zero; suc; _+_)
open import Data.Nat.Show using (show)
open import Function using (_$!_)
open import IO using (run; putStrLn)
sum : ℕ
sum = f 1000000000 0
where
f : ℕ → ℕ → ℕ
f zero acc = acc
f (suc n) acc = f n $! suc n + acc
main = run (putStrLn (show sum))
| 21.714286 | 46 | 0.634868 |
395c602a58c5147e2cac949a5c0d4eacfa9d956d | 2,907 | agda | Agda | Data/BitVector/Peano.agda | copumpkin/bitvector | 6902f4bce0330f1b58f48395dac4406056713687 | [
"BSD-3-Clause"
] | 3 | 2015-01-04T07:19:55.000Z | 2021-11-12T01:41:07.000Z | Data/BitVector/Peano.agda | copumpkin/bitvector | 6902f4bce0330f1b58f48395dac4406056713687 | [
"BSD-3-Clause"
] | 1 | 2016-05-25T02:00:59.000Z | 2016-05-25T02:00:59.000Z | Data/BitVector/Peano.agda | copumpkin/bitvector | 6902f4bce0330f1b58f48395dac4406056713687 | [
"BSD-3-Clause"
] | 3 | 2016-05-25T00:15:43.000Z | 2021-11-12T01:40:57.000Z | module Data.BitVector.Peano where
open import Data.BitVector
open import Algebra.FunctionProperties.Core
open import Data.Nat hiding (pred) renaming (suc to Nsuc; zero to Nzero)
open import Data.Vec hiding (fromList)
open import Relation.Binary.PropositionalEquality
open import Data.Digit hiding (Bit)
open import Dat... | 31.597826 | 76 | 0.596491 |
50c4ae94e3bbc3d2030afadea35294a082fdc4f5 | 2,761 | agda | Agda | Cubical/Algebra/NatSolver/HornerForms.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-02-05T01:25:26.000Z | 2022-02-05T01:25:26.000Z | Cubical/Algebra/NatSolver/HornerForms.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Algebra/NatSolver/HornerForms.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.NatSolver.HornerForms where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat
open import Cubical.Data.FinData
open import Cubical.Data.Vec
open import Cubical.Data.Bool using (Bool; true; false; if_then_else_)
private
variable
ℓ : Level
{-
Th... | 27.336634 | 75 | 0.59109 |
3dc38d2517537eaed7978fe2fde624ec9018db94 | 762 | agda | Agda | examples/AIM6/Path/Examples.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/AIM6/Path/Examples.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/Examples.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Examples where
open import Prelude
open import Star
open import Modal
El : Set -> Rel True
El A _ _ = A
List : Set -> Set
List A = Star (El A) _ _
Nat = List True
zero : Nat
zero = ε
suc : Nat -> Nat
suc n = _ • n
-- Vectors
Vec : Set -> Nat -> Set
Vec A = All (\_ -> A)
infixr 40 _::_
_::_ : {A : Set}{... | 15.55102 | 58 | 0.562992 |
3ded0cc04f967c60aca92237cece5447eb5b14e0 | 1,357 | agda | Agda | Cubical/HITs/Delooping/Two/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/HITs/Delooping/Two/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/HITs/Delooping/Two/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe --no-import-sorts #-}
module Cubical.HITs.Delooping.Two.Base where
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Prelude
-- Explicit construction of the delooping of the two-element group
data Bℤ₂ : Type₀ where
base : Bℤ₂
loop : base ≡ base
loop² : Square ... | 24.232143 | 71 | 0.508475 |
595a2bd1f4cf569782a017b6fc64f368110792bb | 2,764 | agda | Agda | Univalence/Obsolete/Cauchy2.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | Univalence/Obsolete/Cauchy2.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | Univalence/Obsolete/Cauchy2.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K #-}
-- this is mostly reference for an unused intermediate step.
module Cauchy2 where
open import Data.Nat
open import Data.Vec renaming (map to mapV; _++_ to _++V_; concat to concatV)
open import Data.Fin using (Fin; inject+; raise; inject≤; fromℕ; toℕ)
open import Function using (id)
open im... | 33.301205 | 100 | 0.611795 |
12f2036241a98554bd0b799c77b7a89afa2a09c6 | 1,225 | agda | Agda | src/scratch/Data/List/Relation/Helpers.agda | zampino/ggt | e2d6b5f9bea15dd67817bf67e273f6b9a14335af | [
"MIT"
] | 2 | 2020-04-17T11:10:00.000Z | 2020-11-28T05:48:39.000Z | src/scratch/Data/List/Relation/Helpers.agda | zampino/ggt | e2d6b5f9bea15dd67817bf67e273f6b9a14335af | [
"MIT"
] | null | null | null | src/scratch/Data/List/Relation/Helpers.agda | zampino/ggt | e2d6b5f9bea15dd67817bf67e273f6b9a14335af | [
"MIT"
] | null | null | null | module Scratch.Data.List.Relation.Helpers where
open import Relation.Nullary
open import Relation.Nullary.Decidable
open import Relation.Unary
open import Relation.Binary hiding (Decidable)
open import Data.Product
open import Data.List.Base
open import Data.List.Relation.Unary.All as All
open import Data.List.Rela... | 33.108108 | 61 | 0.505306 |
5815899853777d073c37474c5d7e46990eb8d533 | 266 | agda | Agda | src/data/lib/prim/Agda/Builtin/Char/Properties.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | src/data/lib/prim/Agda/Builtin/Char/Properties.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | src/data/lib/prim/Agda/Builtin/Char/Properties.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --without-K --safe --no-sized-types --no-guardedness #-}
module Agda.Builtin.Char.Properties where
open import Agda.Builtin.Char
open import Agda.Builtin.Equality
primitive
primCharToNatInjective : ∀ a b → primCharToNat a ≡ primCharToNat b → a ≡ b
| 24.181818 | 76 | 0.740602 |
2030025656da349e5cff7fe15c815afc7cf44d60 | 37,830 | agda | Agda | src/Indexed-container/Combinators.agda | nad/up-to | b936ff85411baf3401ad85ce85d5ff2e9aa0ca14 | [
"MIT"
] | null | null | null | src/Indexed-container/Combinators.agda | nad/up-to | b936ff85411baf3401ad85ce85d5ff2e9aa0ca14 | [
"MIT"
] | null | null | null | src/Indexed-container/Combinators.agda | nad/up-to | b936ff85411baf3401ad85ce85d5ff2e9aa0ca14 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Container combinators
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
module Indexed-container.Combinators where
open import Equality.Propositional
open import Logical-equivalence using ... | 37.381423 | 148 | 0.365741 |
c7bb4b6f07d71ba1311d519f8375b5b1b183c435 | 2,152 | agda | Agda | agda/Number/Prelude/Int.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | 3 | 2020-07-31T18:15:26.000Z | 2022-02-19T12:15:21.000Z | agda/Number/Prelude/Int.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | agda/Number/Prelude/Int.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts #-}
module Number.Prelude.Int where
open import Cubical.Data.Int public using
( Int
; fromNatInt
; fromNegInt
; sucInt
; predInt
; sucInt+
; predInt+
; _+pos_
; _+negsuc_
) renaming
( isSetInt to isSetℤ
; _-_ to infix 7 _-ᶻ_
; _+_ to infix 5 ... | 16.8125 | 61 | 0.589684 |
581ce4a3dbdef65768b5ae81a1de780ee21768a3 | 2,546 | agda | Agda | Cubical/HITs/FiniteMultiset/Properties.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/HITs/FiniteMultiset/Properties.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/HITs/FiniteMultiset/Properties.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.FiniteMultiset.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.HITs.FiniteMultiset.Base
private
variable
A : Type₀
infixr 30 _++_
_++_ : ∀ (xs ys : FMSet A) → FMSet A
[] ++ ys = ys
(x ∷ x... | 32.641026 | 107 | 0.480754 |
2f76432533f2092d06cd6b1aabc997e7afe7f086 | 554 | agda | Agda | agda-stdlib/src/Data/Product/Relation/Lex/Strict.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Product/Relation/Lex/Strict.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Product/Relation/Lex/Strict.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.Product.Relation.Binary.Lex.Strict directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data... | 30.777778 | 72 | 0.559567 |
29f8cd23911db7cc8a26eeb8ac4916657e32c114 | 431 | agda | Agda | src/Bools.agda | ice1k/Theorems | 7dc0ea4782a5ff960fe31bdcb8718ce478eaddbc | [
"Apache-2.0"
] | 1 | 2020-04-15T15:28:03.000Z | 2020-04-15T15:28:03.000Z | src/Bools.agda | ice1k/Theorems | 7dc0ea4782a5ff960fe31bdcb8718ce478eaddbc | [
"Apache-2.0"
] | null | null | null | src/Bools.agda | ice1k/Theorems | 7dc0ea4782a5ff960fe31bdcb8718ce478eaddbc | [
"Apache-2.0"
] | null | null | null | module Bools where
open import Agda.Builtin.Bool public
renaming (Bool to 𝔹)
not : 𝔹 → 𝔹
not true = false
not false = true
-- T : 𝔹 → Set
-- T true = ⊤
-- T false = ⊥
if_then_else_ : ∀ {a} {A : Set a} → 𝔹 → A → A → A
if true then t else _ = t
if false then _ else f = f
_∧_ : 𝔹 → 𝔹 → 𝔹
true ∧ b = b
fa... | 14.862069 | 49 | 0.552204 |
313fae0824ff8880d2d3733d5c9daa82d1a69595 | 171 | agda | Agda | test/Fail/Issue3014.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue3014.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue3014.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
data Bool : Set where
true false : Bool
data Eq : Bool → Bool → Set where
refl : (x : Bool) → Eq x x
test : (x : Bool) → Eq true x → Set
test _ (refl false) = Bool
| 17.1 | 35 | 0.590643 |
41d86875d0acd80add3775408ad3929a8a751a2f | 228 | agda | Agda | Agda/Ag06.agda | Brethland/LEARNING-STUFF | eb2cef0556efb9a4ce11783f8516789ea48cc344 | [
"MIT"
] | 2 | 2020-02-03T05:05:52.000Z | 2020-03-11T10:35:42.000Z | Agda/Ag06.agda | Brethland/LEARNING-STUFF | eb2cef0556efb9a4ce11783f8516789ea48cc344 | [
"MIT"
] | null | null | null | Agda/Ag06.agda | Brethland/LEARNING-STUFF | eb2cef0556efb9a4ce11783f8516789ea48cc344 | [
"MIT"
] | 1 | 2019-12-13T04:50:46.000Z | 2019-12-13T04:50:46.000Z | module Ag06 where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong; cong-app)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; _+_)
open import Data.Nat.Properties using (+-comm)
| 22.8 | 50 | 0.75 |
22a0d1ac60da546333797c507869243bfa2e7c24 | 247 | agda | Agda | test/Succeed/Issue1885.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1885.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1885.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
{-# NO_POSITIVITY_CHECK #-}
data D : Set
data D where
d : (D → D) → D
data E : Set
{-# NO_POSITIVITY_CHECK #-}
data E where
e : (E → E) → E
{-# NO_POSITIVITY_CHECK #-}
data F : Set
{-# NO_POSITIVITY_CHECK #-}
data F where
e : (F → F) → F
| 14.529412 | 27 | 0.574899 |
2fcfa3f6ed97b0f21b28f47d89fa793270e01fdc | 2,278 | agda | Agda | Data/Collection/Equivalence.agda | banacorn/lambda-calculus | f81b116473582ab7956adc4bf1d7ebf1ae2a213a | [
"MIT"
] | null | null | null | Data/Collection/Equivalence.agda | banacorn/lambda-calculus | f81b116473582ab7956adc4bf1d7ebf1ae2a213a | [
"MIT"
] | null | null | null | Data/Collection/Equivalence.agda | banacorn/lambda-calculus | f81b116473582ab7956adc4bf1d7ebf1ae2a213a | [
"MIT"
] | null | null | null | module Data.Collection.Equivalence where
open import Data.Collection.Core
open import Function using (id; _∘_)
open import Function.Equality using (_⟨$⟩_)
open import Function.Equivalence using (_⇔_; equivalence)
open Function.Equivalence.Equivalence
open import Relation.Binary.PropositionalEquality
open import Lev... | 26.8 | 101 | 0.559263 |
2263615d77ac4aac7066eb596bcd4691a43e1845 | 15,737 | agda | Agda | prototyping/Luau/Syntax/FromJSON.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | 1 | 2021-11-06T08:03:00.000Z | 2021-11-06T08:03:00.000Z | prototyping/Luau/Syntax/FromJSON.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | prototyping/Luau/Syntax/FromJSON.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | {-# OPTIONS --rewriting #-}
module Luau.Syntax.FromJSON where
open import Luau.Syntax using (Block; Stat ; Expr; _$_; val; nil; bool; number; var; var_∈_; function_is_end; _⟨_⟩; _⟨_⟩∈_; local_←_; return; done; _∙_; maybe; VarDec; binexp; BinaryOperator; +; -; *; /; ==; ~=; <; >; <=; >=; ··; string)
open import Luau.... | 77.905941 | 241 | 0.737434 |
582f1c0e39a01ddaf2ce3c66e514b82945826eae | 446 | agda | Agda | test/Compiler/simple/Issue2123.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Compiler/simple/Issue2123.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Compiler/simple/Issue2123.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 Agda.Builtin.Nat
open import Agda.Builtin.String
open import Common.IO
open import Common.Unit
data ⊥ : Set where
record Pair : Set where
constructor _,_
field fst snd : String
open Pair
record ERing : Set where
constructor ering
field divRem : (⊥ → ⊥) → Pair
open ERing
eRing :... | 14.866667 | 33 | 0.697309 |
582a8805d21c1938dc6eb42b87c5973e136db433 | 22,199 | agda | Agda | complexity/Pilot2.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 2 | 2016-04-26T20:22:22.000Z | 2019-08-08T12:27:18.000Z | complexity/Pilot2.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 1 | 2020-03-23T08:39:04.000Z | 2020-05-12T00:32:45.000Z | complexity/Pilot2.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | null | null | null | open import Preliminaries
module Pilot2 where
data CTp : Set where
unit : CTp
nat : CTp -- discrete natural numbers ♭nat, where we interpret ≤ as =
_->c_ : CTp → CTp → CTp
_×c_ : CTp → CTp → CTp
list : CTp → CTp
bool : CTp
C : CTp
rnat : CTp -- natural numbers with ≤ actually interpr... | 54.812346 | 179 | 0.446191 |
0ba30adffd837bede60bfd10363ef83916988542 | 2,380 | agda | Agda | Cubical/Categories/Presheaves.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Categories/Presheaves.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Categories/Presheaves.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --postfix-projections #-}
module Cubical.Categories.Presheaves where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.HITs.PropositionalTruncation
open import Cubical.Categories.Category
open import Cub... | 30.909091 | 81 | 0.565966 |
41ad61f508f7059e9c1db7b7f3f464a49a147574 | 1,313 | agda | Agda | src/Categories/Category/Construction/StrictDiscrete.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Category/Construction/StrictDiscrete.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Category/Construction/StrictDiscrete.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.Category.Construction.StrictDiscrete where
-- This is not 'the' Discrete Category construction, but one of them.
-- In this case, what is built is a Category, but it's actually Strict (thus
-- the name).
open import Level
open import Data.Unit
open import Function
o... | 29.177778 | 76 | 0.581874 |
dc0f12b07f4201a08753371c60465b549eb80696 | 752 | agda | Agda | test/interaction/Auto-EqualityReasoning.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Auto-EqualityReasoning.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Auto-EqualityReasoning.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Auto-EqualityReasoning where
-- equality reasoning, computation and induction
open import Auto.Prelude
module AdditionCommutative where
lemma : ∀ n m → (n + succ m) ≡ succ (n + m)
lemma n m = {!-c!} -- h0
{-
lemma zero m = refl
lemma (succ x) m = cong succ (lemma x m)
-}
lemma' : ∀ n m → (n + succ m)... | 25.931034 | 129 | 0.599734 |
234e395f839aa66d3cc4a908bea8479525a63e7c | 1,089 | agda | Agda | Cubical/Algebra/RingSolver/RingExpression.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/RingSolver/RingExpression.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/RingSolver/RingExpression.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.RingSolver.RingExpression 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 Cubi... | 27.225 | 69 | 0.598714 |
41c16140220f0a87307b1a0f128bc4bf62e48aa5 | 409 | agda | Agda | test/Succeed/Issue665.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue665.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue665.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue665 where
postulate
A : Set
record I : Set where
constructor i
field
f : A
data Wrap : (j : I) → Set where
con : ∀ {j} → Wrap j
postulate
C : Set
anything : C
works1 : ∀ {X} -> Wrap X -> C
works1 (con {i _}) with anything
... | z = z
works2 : ∀ {X} -> Wrap X -> C
works2 (con {_}) with ... | 14.103448 | 32 | 0.552567 |
a1a5a5ef36eb236094446352e66a465a7635b9c2 | 4,984 | agda | Agda | core/lib/NType.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/NType.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/NType.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.Relation
module lib.NType {i} where
{- Definition of contractible types and truncation levels -}
is-contr : Type i → Type i
is-contr A = Σ A (λ x → ((y : A) → x == y))
has-level : ℕ₋₂ → (Type i → Type i)
has-level ⟨-2⟩ A ... | 34.136986 | 78 | 0.530498 |
221f3e45ab635da08e3e32a812e1ffcc619b49f4 | 8,644 | agda | Agda | src/STLC/Kovacs/Substitution.agda | mietek/coquand-kovacs | bd626509948fbf8503ec2e31c1852e1ac6edcc79 | [
"X11"
] | null | null | null | src/STLC/Kovacs/Substitution.agda | mietek/coquand-kovacs | bd626509948fbf8503ec2e31c1852e1ac6edcc79 | [
"X11"
] | null | null | null | src/STLC/Kovacs/Substitution.agda | mietek/coquand-kovacs | bd626509948fbf8503ec2e31c1852e1ac6edcc79 | [
"X11"
] | null | null | null | module STLC.Kovacs.Substitution where
open import STLC.Kovacs.Embedding public
open import Category
--------------------------------------------------------------------------------
-- Substitutions (Sub ; ∙ ; _,_)
infix 3 _⊢⋆_
data _⊢⋆_ : 𝒞 → 𝒞 → Set
where
∅ : ∀ {Γ} → Γ ⊢⋆ ∅
_,_ : ∀ {Γ Ξ A} → (σ : Γ... | 28.156352 | 80 | 0.287367 |
397765a9f3b9bcde1a92a3afe4050b3502b87587 | 33,185 | agda | Agda | Numbers/Naturals/EuclideanAlgorithm.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Numbers/Naturals/EuclideanAlgorithm.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Numbers/Naturals/EuclideanAlgorithm.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Naturals
open import Numbers.Naturals.Order
open import Numbers.Naturals.Order.Lemmas
open import Numbers.Naturals.Order.WellFounded
... | 79.771635 | 614 | 0.63598 |
c71f7187418d5a8cfadb398adc1e6f6439e39e28 | 2,595 | agda | Agda | Definition/Typed/Consequences/Reduction.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 30 | 2017-05-20T03:05:21.000Z | 2022-03-30T18:01:07.000Z | Definition/Typed/Consequences/Reduction.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 4 | 2017-06-22T12:49:23.000Z | 2021-02-22T10:37:24.000Z | Definition/Typed/Consequences/Reduction.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 8 | 2017-10-18T14:18:20.000Z | 2021-11-27T15:58:33.000Z | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Consequences.Reduction where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.EqRelInstance
open import Definition.Typed.Consequences.Syntactic
open import Definition.LogicalRelat... | 38.161765 | 80 | 0.593834 |
41f95bfc3af1b5cbac34979aa5f1089da0c47191 | 3,862 | agda | Agda | Structure/Category/Monad/Category.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/Category/Monad/Category.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/Category/Monad/Category.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | open import Structure.Category
open import Type
module Structure.Category.Monad.Category
{ℓₒ ℓₘ ℓₑ}
{cat : CategoryObject{ℓₒ}{ℓₘ}{ℓₑ}}
where
import Data.Tuple as Tuple
import Function.Equals
open Function.Equals.Dependent
import Lvl
open import Structure.Category.Functor
open import Struct... | 45.97619 | 108 | 0.608752 |
31e6184cf1c46b422afb176373a3e5089f14bf9d | 8 | agda | Agda | test/interaction/HighlightMissingDefinition.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/HighlightMissingDefinition.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/HighlightMissingDefinition.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | A : Set
| 4 | 7 | 0.5 |
50cc4fb1407599a4a1d7aff5802a222c66bc8207 | 467 | agda | Agda | test/Succeed/Issue2858-with.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2858-with.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2858-with.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
interleaved mutual
plus : Nat → Nat → Nat
mult : Nat → Nat → Nat
-- base case
mult 0 n = 0
plus 0 n = n
-- inductive case. The fun clauses with an ellipsis belong to mult
mult (suc m) n with mult m n
... | p with plus p n
... | q = q
plus (suc m) n = suc (plus m n)
... | 19.458333 | 68 | 0.599572 |
3d8bda788ae07461d412ebbe0c11e4a2757a5986 | 1,037 | agda | Agda | test/succeed/Issue480.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/succeed/Issue480.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/Issue480.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
module Issue480 where
module Simple where
data Q : Set where
a : Q
f : _ → Q
f a = a
postulate helper : ∀ {T : Set} → (T → T) → Q
test₁ : Q → Q
test₁ = λ { a → a }
test₂ : Q
test₂ = helper test₁
-- Same as test₂ and test₁, but stuck together.
test₃ : Q
test₃ = helper λ { a → a } -- thi... | 17.87931 | 103 | 0.499518 |
12eb95cf5943fc6e98e6fc1f65f1a368a6782c9b | 11,437 | agda | Agda | Definition/LogicalRelation/Properties/Neutral.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 30 | 2017-05-20T03:05:21.000Z | 2022-03-30T18:01:07.000Z | Definition/LogicalRelation/Properties/Neutral.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 4 | 2017-06-22T12:49:23.000Z | 2021-02-22T10:37:24.000Z | Definition/LogicalRelation/Properties/Neutral.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 8 | 2017-10-18T14:18:20.000Z | 2021-11-27T15:58:33.000Z | {-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Properties.Neutral {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped hiding (_∷_)
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definit... | 43.32197 | 94 | 0.397569 |
dc225caf35e9dd212e56f088263d129ae2e92d8e | 1,040 | agda | Agda | notes/FOT/FOTC/Data/Nat/MutualRecursiveFunctions.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/FOTC/Data/Nat/MutualRecursiveFunctions.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/FOTC/Data/Nat/MutualRecursiveFunctions.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Mutual recursive functions
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-... | 26.666667 | 78 | 0.445192 |
575ead3cdbc3d857a5a28553d6bd024f4cb976db | 10,365 | agda | Agda | LibraBFT/ImplShared/Interface/Output.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 4 | 2020-12-16T19:43:41.000Z | 2021-12-18T19:24:05.000Z | LibraBFT/ImplShared/Interface/Output.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 72 | 2021-02-04T05:04:33.000Z | 2022-03-25T05:36:11.000Z | LibraBFT/ImplShared/Interface/Output.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 6 | 2020-12-16T19:43:52.000Z | 2022-02-18T01:04:32.000Z | {- 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
-}
-- This module defines Outputs produced by handlers, as well as functio... | 46.479821 | 111 | 0.640714 |
5810f36bef84e7575a68447fabfd24afd1956b71 | 45,918 | agda | Agda | Agda/12-univalence.agda | tadejpetric/HoTT-Intro | f4228d6ecfc6cdb119c6e8b0e711fea05b98b2d5 | [
"CC-BY-4.0"
] | null | null | null | Agda/12-univalence.agda | tadejpetric/HoTT-Intro | f4228d6ecfc6cdb119c6e8b0e711fea05b98b2d5 | [
"CC-BY-4.0"
] | null | null | null | Agda/12-univalence.agda | tadejpetric/HoTT-Intro | f4228d6ecfc6cdb119c6e8b0e711fea05b98b2d5 | [
"CC-BY-4.0"
] | null | null | null | {-# OPTIONS --without-K --exact-split --allow-unsolved-metas #-}
module 12-univalence where
import 11-function-extensionality
open 11-function-extensionality public
-- Section 10.1 Type extensionality
equiv-eq : {i : Level} {A : UU i} {B : UU i} → Id A B → A ≃ B
equiv-eq {A = A} refl = pair id (is-equiv-id A)
UNIV... | 33.394909 | 88 | 0.58182 |
dc408084b892ab26d6a41bfd1d46b7cd857746b1 | 4,945 | agda | Agda | src/Data/Context.agda | sstucki/f-omega-int-agda | ae648c9520895a8428a7ad80f47bb55ecf4d50ea | [
"MIT"
] | 12 | 2017-06-13T16:05:35.000Z | 2021-09-27T05:53:06.000Z | src/Data/Context.agda | sstucki/f-omega-int-agda | ae648c9520895a8428a7ad80f47bb55ecf4d50ea | [
"MIT"
] | 1 | 2021-05-14T08:09:40.000Z | 2021-05-14T08:54:39.000Z | src/Data/Context.agda | sstucki/f-omega-int-agda | ae648c9520895a8428a7ad80f47bb55ecf4d50ea | [
"MIT"
] | 2 | 2021-05-13T22:29:48.000Z | 2021-05-14T10:25:05.000Z | ------------------------------------------------------------------------
-- Abstract typing contexts
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module Data.Context where
open import Data.Fin using (Fin)
open import Data.Fin.Substitution
open import Dat... | 33.412162 | 79 | 0.584226 |
22b314237638ab5281e363d4e72efadb696b5b71 | 76 | agda | Agda | Cubical/Codata/EverythingSafe.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Codata/EverythingSafe.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Codata/EverythingSafe.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Codata.EverythingSafe where
| 25.333333 | 42 | 0.736842 |
41df20bb6ad67269da7817e830c63500f684a81c | 1,606 | agda | Agda | TotalParserCombinators/Derivative/Corollaries.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 7 | 2016-12-13T05:23:14.000Z | 2021-06-22T05:35:31.000Z | TotalParserCombinators/Derivative/Corollaries.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 1 | 2018-01-22T22:21:41.000Z | 2018-01-24T16:39:37.000Z | TotalParserCombinators/Derivative/Corollaries.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Some corollaries
------------------------------------------------------------------------
module TotalParserCombinators.Derivative.Corollaries where
open import Data.List
open import Function
open import Function.Inverse using (_↔_)
import Fu... | 31.490196 | 72 | 0.590909 |
1c5b3076987ef39b359ea606912f4b15f67108f8 | 7,328 | agda | Agda | test/asset/agda-stdlib-1.0/Relation/Binary/Construct/On.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/Relation/Binary/Construct/On.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Relation/Binary/Construct/On.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Many properties which hold for _∼_ also hold for _∼_ on f
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Relation... | 35.746341 | 73 | 0.556905 |
294f5ba694ae76e01ea1c4b1ee44f2c94d22993c | 2,740 | agda | Agda | src/STLCRef/Eval.agda | ajrouvoet/implicits.agda | ef2e347a4470e55083c83b743efbc2902ef1ad22 | [
"MIT"
] | 4 | 2019-04-05T17:57:11.000Z | 2021-05-07T04:08:41.000Z | src/STLCRef/Eval.agda | ElessarWebb/implicits.agda | ef2e347a4470e55083c83b743efbc2902ef1ad22 | [
"MIT"
] | null | null | null | src/STLCRef/Eval.agda | ElessarWebb/implicits.agda | ef2e347a4470e55083c83b743efbc2902ef1ad22 | [
"MIT"
] | null | null | null | module STLCRef.Eval where
open import Prelude
open import Data.Product
open import Data.List
open import Data.List.Reverse
open import Data.Nat
open import Data.Fin hiding (_<_)
open import Extensions.List as L
open import STLCRef.Syntax
open import STLCRef.Welltyped
_!!_ : ∀ {n i} → (μ : Store n) → i < length μ → ... | 28.247423 | 64 | 0.295985 |
1c7ae2295f991205521ae7739db4b609438af5f9 | 112 | agda | Agda | test/Compiler/simple/Erased-cubical-Pattern-matching-Cubical.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Compiler/simple/Erased-cubical-Pattern-matching-Cubical.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Compiler/simple/Erased-cubical-Pattern-matching-Cubical.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --cubical #-}
module Erased-cubical-Pattern-matching-Cubical where
data D : Set where
c₁ c₂ : D
| 16 | 52 | 0.696429 |
20b6f65465cdb14baa846d7c92240a9d9c653790 | 13,062 | agda | Agda | src/Numeric/Nat/Prime.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Numeric/Nat/Prime.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Numeric/Nat/Prime.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z |
module Numeric.Nat.Prime where
open import Prelude hiding (less-antirefl)
open import Numeric.Nat.GCD
open import Numeric.Nat.Divide
open import Numeric.Nat.Divide.Properties
open import Numeric.Nat.DivMod
open import Numeric.Nat.Sqrt
open import Numeric.Nat.Properties
open import Tactic.Nat
data Prime (n : Nat) : S... | 42.686275 | 114 | 0.546624 |
313268fe40662385ea10e2e72b6c6aa67be00170 | 7,997 | agda | Agda | HoTT/HLevel.agda | michaelforney/hott | ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508 | [
"0BSD"
] | null | null | null | HoTT/HLevel.agda | michaelforney/hott | ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508 | [
"0BSD"
] | null | null | null | HoTT/HLevel.agda | michaelforney/hott | ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508 | [
"0BSD"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Identity
open import HoTT.Identity.Boolean
open import HoTT.Identity.Coproduct
open import HoTT.Identity.Sigma
open import HoTT.Identity.Identity
open import HoTT.Identity.Pi
open import HoTT.Identity.NaturalNumber
open import HoTT.Transport.Identity
op... | 31.360784 | 85 | 0.566462 |
1a1afcc01ab3d9596da8ef301c83e6bb363ee0ee | 803 | agda | Agda | archive/agda-3/src/Oscar/Class/Hmap.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-3/src/Oscar/Class/Hmap.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-3/src/Oscar/Class/Hmap.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
open import Oscar.Prelude
open import Oscar.Class
module Oscar.Class.Hmap where
module Hmap
{𝔵₁} {𝔛₁ : Ø 𝔵₁}
{𝔵₂} {𝔛₂ : Ø 𝔵₂}
{𝔯₁} {𝔯₂}
(ℜ₁ : 𝔛₁ → 𝔛₂ → Ø 𝔯₁)
(ℜ₂ : 𝔛₁ → 𝔛₂ → Ø 𝔯₂)
= ℭLASS (ℜ₁ , ℜ₂)
(∀ x y
→ ℜ₁ x y → ℜ₂ x y)
module _
{𝔵₁} {𝔛₁ : Ø 𝔵₁}
{𝔵₂} {𝔛₂ :... | 17.844444 | 64 | 0.465753 |
5992cb2243f111147c2a5930dff6166d30989518 | 790 | agda | Agda | src/Categories/Functor/Construction/SubCategory.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Functor/Construction/SubCategory.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Functor/Construction/SubCategory.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
module Categories.Functor.Construction.SubCategory {o ℓ e} (C : Category o ℓ e) where
open import Categories.Category.SubCategory C
open Category C
open Equiv
open import Level
open import Function.Base using () renaming (id to id→)
open import Dat... | 19.268293 | 85 | 0.64557 |
2975e9dbde598ba28e2d6fdc4db01c1c7581ef41 | 74 | agda | Agda | test-lib/src/Test.agda | phile314/agda-build | fe6be7731e968c78aef73f4fc14bf7976a607c79 | [
"BSD-3-Clause"
] | null | null | null | test-lib/src/Test.agda | phile314/agda-build | fe6be7731e968c78aef73f4fc14bf7976a607c79 | [
"BSD-3-Clause"
] | null | null | null | test-lib/src/Test.agda | phile314/agda-build | fe6be7731e968c78aef73f4fc14bf7976a607c79 | [
"BSD-3-Clause"
] | null | null | null | module Test where
open import Agda.Primitive
f : Level -> Level
f x = x
| 10.571429 | 26 | 0.702703 |
41ace045c22719b170bc52d16bb68c3dcfa41862 | 19,545 | agda | Agda | examples/AIM5/yoshiki/SET.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/AIM5/yoshiki/SET.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/AIM5/yoshiki/SET.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | -------------------------------------------------------------------------------
--
-- SET (in Hedberg library) for agda2
-- as of 2006.9.29 morning
-- Yoshiki.
--
module SET where
----------------------------------------------------------------------------
-- Auxiliary.
----------------------------------------... | 39.246988 | 96 | 0.377846 |
c7cdb7ae88d13094ef05e49d5b874faa30dc20d2 | 2,935 | agda | Agda | src/fot/FOTC/Relation/Binary/Bisimilarity/PropertiesATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Relation/Binary/Bisimilarity/PropertiesATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Relation/Binary/Bisimilarity/PropertiesATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Properties for the bisimilarity relation
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polym... | 31.55914 | 83 | 0.47632 |
22dbd04070eeb6cd04afb5ef4b81345777f96942 | 78 | agda | Agda | test/Succeed/Issue2284.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2284.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2284.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS -WShadowingInTelescope #-}
bad : Set → Set → Set
bad = λ x x → x
| 15.6 | 38 | 0.602564 |
1d4f5ddf199bd80368cd82960d0308dfa51ee718 | 712 | agda | Agda | test/Succeed/fol-theorems/Eta2.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 10 | 2015-09-03T20:54:16.000Z | 2019-12-03T13:44:25.000Z | test/Succeed/fol-theorems/Eta2.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 121 | 2015-01-25T13:22:12.000Z | 2018-04-22T06:01:44.000Z | test/Succeed/fol-theorems/Eta2.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 4 | 2016-05-10T23:06:19.000Z | 2016-08-03T03:54:55.000Z | ------------------------------------------------------------------------------
-- Testing the η-expansion
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# O... | 27.384615 | 78 | 0.429775 |
23b3e61d701b71ac736c890f978366b1d139c9be | 646 | agda | Agda | test/Succeed/Issue2231sharp.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue2231sharp.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue2231sharp.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2016-10-03, re issue #2231
-- Termination checking a corecursive definition in abstract mode.
{-# OPTIONS --guardedness #-}
infix 1000 ♯_
{-# BUILTIN INFINITY ∞ #-}
{-# BUILTIN SHARP ♯_ #-}
{-# BUILTIN FLAT ♭ #-}
abstract
data Functor : Set where
Id : Functor
_·_ : Functor → Set → Set
... | 22.275862 | 72 | 0.619195 |
c77649ea2f08c8d56df2b3341a10f5c1b32ec5c8 | 3,947 | agda | Agda | src/Relation/Binary/Indexed/Extra.agda | banacorn/categories | 9f6d933b227aecab338ecaef1d86566a54fdac68 | [
"MIT"
] | 1 | 2018-01-04T23:19:30.000Z | 2018-01-04T23:19:30.000Z | src/Relation/Binary/Indexed/Extra.agda | banacorn/categories | 9f6d933b227aecab338ecaef1d86566a54fdac68 | [
"MIT"
] | null | null | null | src/Relation/Binary/Indexed/Extra.agda | banacorn/categories | 9f6d933b227aecab338ecaef1d86566a54fdac68 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Extension The Agda standard library
--
-- Properties of indexed binary relations
------------------------------------------------------------------------
module Relation.Binary.Indexed.Extra where
open import Data.Product
open import Data.Sum... | 34.929204 | 123 | 0.505701 |
2997b43603b9db67aabedc18f5e7d64e5735278a | 142 | agda | Agda | test/Fail/PatternSynonymOverloaded.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/PatternSynonymOverloaded.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/PatternSynonymOverloaded.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | module PatternSynonymOverloaded where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
pattern ss x = suc (suc x)
pattern ss x = suc x
| 15.777778 | 37 | 0.683099 |
297ec924917c7b4592ce37d2904220649feb7942 | 218 | agda | Agda | Example/Test.agda | omelkonian/setup-agda | b987bcf8dbe1e1699405f26010273d562805258a | [
"MIT"
] | 2 | 2020-11-14T12:25:39.000Z | 2022-03-05T19:15:16.000Z | Example/Test.agda | omelkonian/setup-agda | b987bcf8dbe1e1699405f26010273d562805258a | [
"MIT"
] | null | null | null | Example/Test.agda | omelkonian/setup-agda | b987bcf8dbe1e1699405f26010273d562805258a | [
"MIT"
] | null | null | null | module Example.Test where
open import Data.Maybe using (Is-just)
open import Prelude.Init
open import Prelude.DecEq
open import Prelude.Decidable
_ : (¬ ¬ ((true , true) ≡ (true , true)))
× (8 ≡ 18 ∸ 10)
_ = auto
| 18.166667 | 41 | 0.678899 |
59dec94f304a0ebcc557c96ca53eb8b19b428010 | 238 | agda | Agda | test/Fail/NonTerminatingReduce.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/NonTerminatingReduce.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/NonTerminatingReduce.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
data Nat : Set where
zero : Nat
suc : Nat → Nat
{-# BUILTIN NATURAL Nat #-}
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
{-# NON_TERMINATING #-}
loop : Nat → Nat
loop n = loop n
thm : ∀ n → loop n ≡ 42
thm n = refl
| 14 | 42 | 0.542017 |
1c8e65494d3508ec43cd14d0c6dedd2ceab613ed | 5,778 | agda | Agda | src/Tactic/Reflection/Substitute.agda | L-TChen/agda-prelude | 158d299b1b365e186f00d8ef5b8c6844235ee267 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Tactic/Reflection/Substitute.agda | L-TChen/agda-prelude | 158d299b1b365e186f00d8ef5b8c6844235ee267 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Tactic/Reflection/Substitute.agda | L-TChen/agda-prelude | 158d299b1b365e186f00d8ef5b8c6844235ee267 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z |
module Tactic.Reflection.Substitute where
open import Prelude hiding (abs)
open import Builtin.Reflection
open import Tactic.Reflection.DeBruijn
IsSafe : Term → Set
IsSafe (lam _ _) = ⊥
IsSafe _ = ⊤
data SafeTerm : Set where
safe : (v : Term) (p : IsSafe v) → SafeTerm
maybeSafe : Term → Maybe SafeTerm
maybeSafe ... | 39.575342 | 117 | 0.630149 |
3d714f4877970224ac6f61abf6b5efa39c78f6c2 | 2,493 | agda | Agda | examples/todomvc/src/logic/base-todos.agda | frankymacster/redux | 506fba1e27d8c1527f06c285762391b00ed03ced | [
"CC0-1.0",
"MIT"
] | null | null | null | examples/todomvc/src/logic/base-todos.agda | frankymacster/redux | 506fba1e27d8c1527f06c285762391b00ed03ced | [
"CC0-1.0",
"MIT"
] | null | null | null | examples/todomvc/src/logic/base-todos.agda | frankymacster/redux | 506fba1e27d8c1527f06c285762391b00ed03ced | [
"CC0-1.0",
"MIT"
] | null | null | null | open import Data.Bool as Bool using (Bool; false; true; if_then_else_; not)
open import Data.String using (String)
open import Data.Nat using (ℕ; _+_; _≟_; suc; _>_; _<_; _∸_)
open import Relation.Nullary.Decidable using (⌊_⌋)
open import Data.List as l using (List; filter; map; take; foldl; length)
open import Data.Li... | 35.112676 | 132 | 0.657842 |
5720c74bc6858a81f071c9c652789a8dc46eb324 | 16,083 | agda | Agda | src/Semantics.agda | proglang/incorrectness | 91a5ff5267089e6ed0d2f6d3998633ba1842b397 | [
"BSD-3-Clause"
] | 1 | 2020-06-17T19:13:13.000Z | 2020-06-17T19:13:13.000Z | src/Semantics.agda | proglang/incorrectness | 91a5ff5267089e6ed0d2f6d3998633ba1842b397 | [
"BSD-3-Clause"
] | null | null | null | src/Semantics.agda | proglang/incorrectness | 91a5ff5267089e6ed0d2f6d3998633ba1842b397 | [
"BSD-3-Clause"
] | null | null | null | module Semantics where
open import Data.Nat hiding (_⊔_; _⊓_)
open import Data.Product
open import Data.Sum
open import Data.String using (String)
open import Data.Unit hiding (_≟_)
open import Data.Empty
open import Relation.Nullary
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_;_≢_; refl)
ope... | 27.921875 | 135 | 0.461295 |
a1c1f6c9018ccdd7cf1fe32c9045b45da4762624 | 25,443 | agda | Agda | Ex2.agda | m-schmidt/CS410-17-Exercises | 5db8e95bbcbe8dc0eec810f3e73130ecd78d207c | [
"BSD-3-Clause"
] | null | null | null | Ex2.agda | m-schmidt/CS410-17-Exercises | 5db8e95bbcbe8dc0eec810f3e73130ecd78d207c | [
"BSD-3-Clause"
] | null | null | null | Ex2.agda | m-schmidt/CS410-17-Exercises | 5db8e95bbcbe8dc0eec810f3e73130ecd78d207c | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --type-in-type #-} -- yes, I will let you cheat in this exercise
{-# OPTIONS --allow-unsolved-metas #-} -- allows import, unfinished
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- CS410 2017/... | 33.346003 | 79 | 0.471171 |
572c90db65bd126baad781d880f80a02d29f4ad2 | 7,322 | agda | Agda | old/Complexity-lang.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 2 | 2016-04-26T20:22:22.000Z | 2019-08-08T12:27:18.000Z | old/Complexity-lang.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 1 | 2020-03-23T08:39:04.000Z | 2020-05-12T00:32:45.000Z | old/Complexity-lang.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | null | null | null | {- Name: Bowornmet (Ben) Hudson
--Complexity : "Playing The Game"--
-}
open import Preliminaries
open import Preorder-withmax
module Complexity-lang where
data Typ : Set where
nat : Typ
_×'_ : Typ → Typ → Typ
_⇒_ : Typ → Typ → Typ
unit : Typ
------------------------------------------
-- repre... | 32.542222 | 145 | 0.426386 |
fbbbc290bcf2c0b902ace760a56af51164378f1c | 4,152 | agda | Agda | src/Implicits/Resolution/Infinite/NormalFormEquiv.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | 4 | 2019-04-05T17:57:11.000Z | 2021-05-07T04:08:41.000Z | src/Implicits/Resolution/Infinite/NormalFormEquiv.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Implicits/Resolution/Infinite/NormalFormEquiv.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | module Implicits.Resolution.Infinite.NormalFormEquiv where
open import Prelude
open import Implicits.Syntax
open import Implicits.Resolution.Infinite.Resolution
open import Implicits.Resolution.Embedding
open import Implicits.Resolution.Embedding.Lemmas
open import SystemF.Everything as F using ()
open import System... | 40.31068 | 96 | 0.490125 |
2f8794d8fab7d294569baa241020f5c96662dee2 | 1,911 | agda | Agda | agda-stdlib/README/Data/Integer.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/README/Data/Integer.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/README/Data/Integer.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some examples showing where the integers and some related
-- operations and properties are defined, and how they can be used
------------------------------------------------------------------------
{-# OPTIONS -... | 26.541667 | 72 | 0.603872 |
41ea9411d3aa8703445d85791a28a1a2da5e8f5d | 5,101 | agda | Agda | core/lib/types/Group.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/types/Group.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/types/Group.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Pi
module lib.types.Group where
record GroupStructure {i} (El : Type i) --(El-level : has-level 0 El)
: Type i where
constructor group-structure
field
ident : El
inv : El → El
comp : El → El → El
unitl : ∀ a → comp ident a... | 35.922535 | 79 | 0.466575 |
3ddb757f359a80309cb2fbbf752151d0fdc2e531 | 5,814 | agda | Agda | notes/FOT/LTC-PCF/Data/Nat/SubtractionFixedPointOperator.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/LTC-PCF/Data/Nat/SubtractionFixedPointOperator.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/LTC-PCF/Data/Nat/SubtractionFixedPointOperator.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Subtraction using the fixed-point operator
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-pol... | 31.427027 | 78 | 0.445992 |
572b55502a4608d220c6ff7cdb5a953f48c98fc7 | 19,139 | agda | Agda | agda-stdlib/src/Codata/Musical/Colist.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Codata/Musical/Colist.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Codata/Musical/Colist.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Coinductive lists
------------------------------------------------------------------------
{-# OPTIONS --without-K --sized-types --guardedness #-}
-- Disabled to prevent warnings from BoundedVec
{-# OPTIONS --w... | 31.739635 | 83 | 0.506192 |
dc59f927a824f6ace91198525199a1459ab1b264 | 458 | agda | Agda | test/Succeed/Issue333.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue333.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue333.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 Issue333 where
open import Common.Level
data Σ a b (A : Set a) (B : A → Set b) : Set (a ⊔ b) where
_,_ : (x : A) → B x → Σ a b A B
P : ∀ a b (A : Set a) (B : Set b) → Set (a ⊔ b)
P a b A B = Σ a b A (λ _ → B)
postulate
A B : Set
foo : Σ lzero lzero A λ (y : A) →... | 20.818182 | 58 | 0.524017 |
1c46b5174cd33b800fe2484ecffa04fc19065a62 | 131 | agda | Agda | test/succeed/Issue49.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/Issue49.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/Issue49.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | module Issue49 where
module Dummy {A : Set1} where
postulate D : Set
T : Set
T = Dummy.D {Set}
T' : Set
T' = Dummy.D {A = Set} | 13.1 | 29 | 0.618321 |
586af86547cc5fa4a0337c1dedd4518949e8a40a | 4,172 | agda | Agda | out/TLC/Equality.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | out/TLC/Equality.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | out/TLC/Equality.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 4 | 2021-11-09T20:39:59.000Z | 2022-01-24T12:49:17.000Z | {-
This second-order equational theory was created from the following second-order syntax description:
syntax TLC | Λ
type
N : 0-ary
_↣_ : 2-ary | r30
𝟙 : 0-ary
_⊗_ : 2-ary | l40
𝟘 : 0-ary
_⊕_ : 2-ary | l30
term
app : α ↣ β α -> β | _$_ l20
lam : α.β -> α ↣ β | ƛ_ r10
unit : 𝟙
... | 35.355932 | 113 | 0.405081 |
1d918aa871183874672880ce3d185400216d82f9 | 2,490 | agda | Agda | examples/outdated-and-incorrect/AIM6/Cat/Slice.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/outdated-and-incorrect/AIM6/Cat/Slice.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/outdated-and-incorrect/AIM6/Cat/Slice.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Slice where
open import Logic.Relations
open import Logic.Equivalence
open import Logic.Base
open import Category
module SliceCat (ℂ : Cat)(Γ : Category.Obj ℂ) where
open module CC = Category.Category ℂ
record SlObj : Set1 where
field
dom : Obj
arr : dom ─→ Γ
record _Sl→_ (f f' : SlO... | 27.065217 | 98 | 0.464659 |
06fc3ca2a0350411e0557e05155be397b87ed33c | 6,958 | agda | Agda | examples/outdated-and-incorrect/Termination/Example.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/outdated-and-incorrect/Termination/Example.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/outdated-and-incorrect/Termination/Example.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Example where
loop : Set
loop = loop
_∞_ : Set -> Set -> Set
x ∞ y = x ∞ y
data Nat : Set where
zero : Nat
succ : Nat -> Nat
id : Nat -> Nat
id zero = zero
id (succ n) = succ (id n)
bad : Nat -> Nat
bad n = bad n
_+_ : Nat -> Nat -> Nat
zero + n = n
(succ m) + n = succ (m + n)
bad2 : Nat -> N... | 21.676012 | 77 | 0.545559 |
1c2c9b38327b3d01409bf7985ebcf9324ad85509 | 1,071 | agda | Agda | test/Succeed/Issue1551.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 2 | 2019-10-29T09:40:30.000Z | 2020-09-20T00:28:57.000Z | test/Succeed/Issue1551.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/Issue1551.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- Andreas, 2015-06-11
{-# OPTIONS --copatterns #-}
open import Common.Size
module _ {C : Set} {R : C → Set} where
mutual
record IO (i : Size) (A : Set) : Set where
coinductive
constructor delay
field
force : {j : Size< i} → IO' j A
data IO' (i : Size) (A : Set) : Set where
act : (c : ... | 26.121951 | 67 | 0.500467 |
58593bb8c7bd3e16b24beea37c1141f1d01ce218 | 6,882 | agda | Agda | Definition/Typed/Consequences/Inversion.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2018-06-21T08:39:01.000Z | 2022-01-17T16:13:53.000Z | Definition/Typed/Consequences/Inversion.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | null | null | null | Definition/Typed/Consequences/Inversion.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2022-01-26T14:55:51.000Z | 2022-02-15T19:42:19.000Z | {-# OPTIONS --safe #-}
module Definition.Typed.Consequences.Inversion where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.Consequences.Syntactic
open import Definition.Typed.Consequences.Substitution
open import Tools.Product
import ... | 46.816327 | 121 | 0.439117 |
581307995d4d9804de484679a277db7a1105c718 | 240 | agda | Agda | src/Calf/Types/Bool.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | 29 | 2021-07-14T03:18:28.000Z | 2022-03-22T20:35:11.000Z | src/Calf/Types/Bool.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | null | null | null | src/Calf/Types/Bool.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | 2 | 2021-10-06T10:28:24.000Z | 2022-01-29T08:12:01.000Z | {-# OPTIONS --prop --without-K --rewriting #-}
module Calf.Types.Bool where
open import Calf.Prelude
open import Calf.Metalanguage
open import Data.Bool public using (Bool; true; false; if_then_else_)
bool : tp pos
bool = U (meta Bool)
| 20 | 69 | 0.733333 |
1a41eb2d22eab4873c1c8d6605c0fb6a167cf87e | 175 | agda | Agda | test/Compiler/with-stdlib/HelloWorldPrim.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Compiler/with-stdlib/HelloWorldPrim.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Compiler/with-stdlib/HelloWorldPrim.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --guardedness #-}
module HelloWorldPrim where
open import IO.Primitive.Infinite
open import Codata.Musical.Costring
main = putStrLn (toCostring "Hello World!")
| 19.444444 | 43 | 0.771429 |
59a2f242b5fcfebae54c0ef110956b345a51c167 | 2,431 | agda | Agda | Cubical/Data/Vec/OperationsNat.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | Cubical/Data/Vec/OperationsNat.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | Cubical/Data/Vec/OperationsNat.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Data.Vec.OperationsNat where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat renaming(_+_ to _+n_; _·_ to _·n_)
open import Cubical.Data.Vec.Base
open import Cubical.Data.Sigma
private variable
ℓ : Level
_+n-vec_ : {m : ℕ}... | 41.913793 | 101 | 0.496503 |
3951b75a932227d7c1204412404f7cec8e983689 | 14,055 | agda | Agda | core/lib/PathOver.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | core/lib/PathOver.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | core/lib/PathOver.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 lib.Base
open import lib.PathFunctor
open import lib.PathGroupoid
open import lib.Equivalence
{- Structural lemmas about paths over paths
The lemmas here have the form
[↓-something-in] : introduction rule for the something
[↓-something-out] : elimination rule for... | 35.854592 | 97 | 0.421914 |
06383780fc7bb2802794d27643875873e98a68f1 | 196 | agda | Agda | All.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | 4 | 2016-12-25T01:52:57.000Z | 2021-03-22T00:28:03.000Z | All.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | null | null | null | All.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | 3 | 2015-04-26T11:39:14.000Z | 2021-05-04T22:37:18.000Z | module All where
open import Prelude
open import T
open import SubstTheory
open import DynTheory
open import Progress
open import HT
open import Examples
open import Eq
open import DenotCommutes
| 16.333333 | 25 | 0.841837 |
06eb29eddfe7b84a17a8a610df83b4aa81f2f066 | 410 | agda | Agda | benchmark/Syntacticosmos/Syntacticosmos.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | benchmark/Syntacticosmos/Syntacticosmos.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | benchmark/Syntacticosmos/Syntacticosmos.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Syntacticosmos (Gnd : Set)(U : Set)(El : U -> Set) where
open import Basics
open import Pr
open import Nom
import Kind
open Kind Gnd U El public
import Cxt
open Cxt Kind public
import Loc
open Loc Kind public
import Term
open Term Gnd U El public
import Shift
open Shift Gnd U El public
import Eta
open Eta Gnd U... | 17.826087 | 63 | 0.770732 |
2e00de36f1d93b8fb9376fef886c1ab206489fb9 | 5,481 | agda | Agda | notes/FOT/FOTC/Program/GCD/Total/CommutativeI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/FOTC/Program/GCD/Total/CommutativeI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/FOTC/Program/GCD/Total/CommutativeI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- The gcd is commutative
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OP... | 36.298013 | 81 | 0.424193 |
58f0198d7491192df17ede548b8169334569fd42 | 4,837 | agda | Agda | Cubical/Homotopy/MayerVietorisCofiber.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Homotopy/MayerVietorisCofiber.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Homotopy/MayerVietorisCofiber.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-
Mayer-Vietoris cofiber sequence:
Let X be a pointed type, and let a span B ←[f]- X -[g]→ C be given.
Then the mapping cone of the canonical map (B ⋁ C) → B ⊔_X C is equivalent to Susp X.
The sequence Susp X → (B ⋁ C) → B ⊔_X C therefore induces a long exact sequence in cohomology.
Proof is adapted from Evan C... | 27.482955 | 98 | 0.479636 |
414838d16aa68b2f56100aaacc56b62b5bba0a47 | 728 | agda | Agda | SDG/Extra/OrderedAlgebra/Structures.agda | wrrnhttn/agda-sdg | 6814e6f0baffff35efe14ef70d469343cd9b3ba0 | [
"MIT"
] | 1 | 2020-11-13T09:36:38.000Z | 2020-11-13T09:36:38.000Z | SDG/Extra/OrderedAlgebra/Structures.agda | wrrnhttn/agda-sdg | 6814e6f0baffff35efe14ef70d469343cd9b3ba0 | [
"MIT"
] | 1 | 2019-07-18T20:00:23.000Z | 2019-09-18T15:47:49.000Z | SDG/Extra/OrderedAlgebra/Structures.agda | wrrnhttn/agda-sdg | 6814e6f0baffff35efe14ef70d469343cd9b3ba0 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Level hiding (zero)
open import Relation.Binary
module SDG.Extra.OrderedAlgebra.Structures {a ℓ} {A : Set a} (_≈_ : Rel A ℓ) where
open import Algebra.Structures
open import Algebra.FunctionProperties
record IsOrderedCommutativeRing
(_<_ : Rel A ℓ)
(_+_ _*_ : ... | 28 | 82 | 0.625 |
4d8add19d23b1f81a9cd28abfcd29b93abca4eab | 1,509 | agda | Agda | agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-hc-slist2-base.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 36 | 2015-01-29T14:37:15.000Z | 2021-07-30T06:55:03.000Z | agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-hc-slist2-base.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-hc-slist2-base.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | {-
https://mazzo.li/posts/AgdaSort.html
2013-04-01Agda by Example: Sorting
-}
module z05-01-hc-slist2-base where
data List (X : Set) : Set where
[] : List X
_∷_ : X → List X → List X
infixr 5 _∷_
foldr : ∀ {A} {B : Set} → (A → B → B) → B → List A → B
foldr f b [] = b
foldr f b (a ∷ as) = f a ... | 24.33871 | 62 | 0.508284 |
22f39244a257302012a37762afefd41bf6a9de36 | 566 | agda | Agda | Demos/Cantor.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | Demos/Cantor.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | null | null | null | Demos/Cantor.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe #-}
module Demos.Cantor where
open import Prelude
open import Data.Bool.Properties using (false≢true; true≢false)
Stream : Type a → Type a
Stream A = ℕ → A
_∈_ : ∀ {A : Type a} (x : A) → Stream A → Type a
x ∈ xs = ∃ i × (xs i ≡ x)
Countable : Type a → Type a
Countable A = Σ[ xs ⦂ Strea... | 21.769231 | 63 | 0.579505 |
2232fb32ae995a926610a7800fc2b33394e655ea | 14,770 | agda | Agda | OutsideIn/Expressions.agda | liamoc/outside-in | fc1fc1bba2af95806d9075296f9ed1074afa4c24 | [
"BSD-3-Clause"
] | 2 | 2015-09-14T05:22:15.000Z | 2020-11-19T14:30:07.000Z | OutsideIn/Expressions.agda | liamoc/outside-in | fc1fc1bba2af95806d9075296f9ed1074afa4c24 | [
"BSD-3-Clause"
] | null | null | null | OutsideIn/Expressions.agda | liamoc/outside-in | fc1fc1bba2af95806d9075296f9ed1074afa4c24 | [
"BSD-3-Clause"
] | null | null | null | open import OutsideIn.Prelude
open import OutsideIn.X
module OutsideIn.Expressions(x : X) where
import OutsideIn.TypeSchema as TS
open TS(x)
open X(x)
{- SYNTAX -}
data Name (n : Set) : NameType → Set where
N : n → Name n Regular
DC : ∀ {x} → dc x → Name n (Datacon x)
mutual
data Alternativ... | 59.317269 | 118 | 0.466215 |
dc250396b149fee0aeb671fb6f0f386a732a8ac7 | 4,929 | agda | Agda | src/Categories/Category/CartesianClosed/Locally.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 1 | 2021-04-18T18:21:47.000Z | 2021-04-18T18:21:47.000Z | src/Categories/Category/CartesianClosed/Locally.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | null | null | null | src/Categories/Category/CartesianClosed/Locally.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core using (Category)
module Categories.Category.CartesianClosed.Locally {o ℓ e} (C : Category o ℓ e) where
open import Level using (levelOfTerm)
open import Categories.Category.CartesianClosed
open import Categories.Category.Cartesian
open import C... | 40.073171 | 111 | 0.573139 |
123c0ad00c7eca54f9ad055ba6cb39860ce69eca | 355 | agda | Agda | test/Fail/Issue1652.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue1652.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue1652.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {- reported by Guillaume Brunerie on 2015-09-17 -}
{-# OPTIONS --rewriting #-}
data _==_ {A : Set} (a : A) : A → Set where
idp : a == a
{-# BUILTIN REWRITE _==_ #-}
postulate
A B : Set
f g : A → B
module M (x : A) where
postulate
rx : f x == g x
{-# REWRITE rx #-}
-- This shouldn't work
test : (... | 16.136364 | 50 | 0.521127 |
a14c5e4f4738a772a40baac94b0d98e05e90fc62 | 2,833 | agda | Agda | src/Prelude/String.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Prelude/String.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Prelude/String.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z | module Prelude.String where
open import Agda.Primitive
open import Prelude.Unit
open import Prelude.Char
open import Prelude.Bool
open import Prelude.Nat
open import Prelude.List
open import Prelude.Maybe
open import Prelude.Equality
open import Prelude.Equality.Unsafe
open import Prelude.Decidable
open import Prelude... | 24.008475 | 74 | 0.719732 |
59b92e652db9b66bae3a455a577523fafda9c046 | 3,242 | agda | Agda | Cubical/HITs/FreeComMonoids/Properties.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/HITs/FreeComMonoids/Properties.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/HITs/FreeComMonoids/Properties.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.HITs.FreeComMonoids.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Groupoid... | 31.784314 | 90 | 0.528994 |
2e0071bcacc977ad43d71862116b744dd5f7d0ff | 984 | agda | Agda | test/Succeed/Issue701-c.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue701-c.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue701-c.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas 2012-09-27, reported by Fredrik Forsberg
{-# OPTIONS --sized-types #-}
module Issue701-c where
open import Common.Size
{- If I understand correctly, unconstrained sizes should be resolved to \infty.
If I define -}
data U : {i : Size} -> Set where
c : {i : Size} -> U {↑ i}
data V : {i : Size} ->... | 29.818182 | 79 | 0.612805 |
1aab2919fe39b56e402401970a87216a05a86d19 | 140 | agda | Agda | Cubical/HITs/Ints/IsoInt.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/IsoInt.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/Ints/IsoInt.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.Ints.IsoInt where
open import Cubical.HITs.Ints.IsoInt.Base public
| 23.333333 | 50 | 0.742857 |
31b43cb0999df2a176abfe86d0a48e71707942ca | 4,823 | agda | Agda | Definition/Conversion.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 30 | 2017-05-20T03:05:21.000Z | 2022-03-30T18:01:07.000Z | Definition/Conversion.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 4 | 2017-06-22T12:49:23.000Z | 2021-02-22T10:37:24.000Z | Definition/Conversion.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 8 | 2017-10-18T14:18:20.000Z | 2021-11-27T15:58:33.000Z | -- Algorithmic equality.
{-# OPTIONS --without-K --safe #-}
module Definition.Conversion where
open import Definition.Untyped hiding (_∷_)
open import Definition.Typed
open import Tools.Fin
open import Tools.Nat
open import Tools.Product
import Tools.PropositionalEquality as PE
infix 10 _⊢_~_↑_
infix 10 _⊢_~_↓_
i... | 29.771605 | 70 | 0.364089 |
1a9822574d16ee2584b0d476f83d60b10c660eea | 4,983 | agda | Agda | LibraBFT/Abstract/Properties.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 4 | 2020-12-16T19:43:41.000Z | 2021-12-18T19:24:05.000Z | LibraBFT/Abstract/Properties.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 72 | 2021-02-04T05:04:33.000Z | 2022-03-25T05:36:11.000Z | LibraBFT/Abstract/Properties.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 6 | 2020-12-16T19:43:52.000Z | 2022-02-18T01:04:32.000Z | {- 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
open import LibraBFT.Abstract.Types... | 50.333333 | 174 | 0.643388 |
c5e9d4b4bdce777d289c8df7c666a0d1072ac021 | 6,659 | agda | Agda | Cubical/Relation/Binary/Base.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Relation/Binary/Base.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Relation/Binary/Base.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Binary.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import Cubical.HITs.SetQuotients.Base
open import Cubical.HITs.Propositio... | 35.047368 | 106 | 0.533113 |
22a89f05142f5e36c4eabccf0a771db34960c2cc | 3,271 | agda | Agda | examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Vec.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Vec.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Vec.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
module Data.Vec where
open import Prelude
open import Data.Nat
open import Data.Fin hiding (_==_; _<_)
open import Logic.Structure.Applicative
open import Logic.Identity
open import Logic.Base
infixl 90 _#_
infixr 50 _::_
infixl 45 _!_ _[!]_
data Vec (A : Set) : Nat -> Set where
[] : Vec A zero
_::_ : {n : Na... | 31.757282 | 88 | 0.466524 |
121515af7fd8dd0ff65a48c72007fa6d08d43022 | 39,090 | agda | Agda | agda-stdlib/src/Data/List/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- List-related properties
------------------------------------------------------------------------
-- Note that the lemmas below could be generalised to work with other
-- equalities than _≡_.
{-# OPTIONS --witho... | 36.842601 | 102 | 0.500128 |
315008bbec41dc6135d8089597aa90339d9d0d95 | 6,686 | agda | Agda | old/Homotopy/VanKampen/Guide.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | old/Homotopy/VanKampen/Guide.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | old/Homotopy/VanKampen/Guide.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 50 | 2015-01-10T01:48:08.000Z | 2022-02-14T03:03:25.000Z | {-# OPTIONS --without-K #-}
open import Base
module Homotopy.VanKampen.Guide where
open import Homotopy.Truncation
open import Homotopy.Connected
record legend i (city : Set i) : Set (suc i) where
constructor leg_,_,_
field
name : Set i
loc : name → city
all-listed : ∀ c → [ hfiber loc c ]
id-legen... | 35.56383 | 90 | 0.485343 |
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.