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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ba399540897dcbde387e3ca1b1d243171286248 | 730 | agda | Agda | test/Compiler/simple/BuiltinInt.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Compiler/simple/BuiltinInt.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/BuiltinInt.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 renaming (_+_ to _+N_)
open import Common.Integer
diff : Nat → Nat → Integer
diff a zero = pos a
diff zero (suc b) = negsuc b
diff (suc a) (suc b) = diff a b
_+_ : Integer → Integer → Integer
pos a + pos b = pos (a +N b)
pos a + negsuc b = diff a (suc b... | 26.071429 | 49 | 0.59589 |
5949acd28b8c81e2bb167c3e6d585f9a53914789 | 7,642 | agda | Agda | weakening.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 4 | 2020-10-04T06:45:06.000Z | 2021-12-19T15:38:31.000Z | weakening.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 9 | 2020-09-30T20:27:56.000Z | 2020-10-20T20:44:13.000Z | weakening.agda | hazelgrove/hazelnut-livelits-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | null | null | null | open import Nat
open import Prelude
open import core
open import contexts
open import lemmas-disjointness
open import exchange
open import lemmas-freshG
-- this module contains all the proofs of different weakening structural
-- properties that we use for the hypothetical judgements
module weakening where
mutual
... | 56.607407 | 166 | 0.528527 |
4a48984c7523257967d806e0ce874e7f5c18adbb | 6,010 | agda | Agda | BasicIS4/Semantics/TarskiOvergluedDyadicHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIS4/Semantics/TarskiOvergluedDyadicHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIS4/Semantics/TarskiOvergluedDyadicHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | -- Basic intuitionistic modal logic S4, without ∨, ⊥, or ◇.
-- Tarski-style semantics with context pairs as concrete worlds, and glueing for α, ▻, and □.
-- Hilbert-style syntax.
module BasicIS4.Semantics.TarskiOvergluedDyadicHilbert where
open import BasicIS4.Syntax.Common public
open import Common.Semantics public
... | 33.021978 | 93 | 0.403328 |
4d36d98f70f50eed27c9bc8012e52707d644bf75 | 4,756 | agda | Agda | examples/vfl/Typechecker.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/vfl/Typechecker.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/vfl/Typechecker.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Typechecker where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
{-# BUILTIN NATURAL Nat #-}
_+_ : Nat -> Nat -> Nat
zero + m = m
suc n + m = suc (n + m)
data Fin : Nat -> Set where
f0 : {n : Nat} -> Fin (suc n)
fs : {n : Nat} -> Fin n -> Fin (suc n)
infixl 30 _::_ _++_
data Vect (A : Set) : ... | 34.970588 | 87 | 0.472246 |
29c09ffb6a1d071fff48de56e1f0144e69b23537 | 8,314 | agda | Agda | Cubical/Foundations/Equiv/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Foundations/Equiv/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Foundations/Equiv/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-
A couple of general facts about equivalences:
- if f is an equivalence then (cong f) is an equivalence ([equivCong])
- if f is an equivalence then pre- and postcomposition with f are equivalences ([preCompEquiv], [postCompEquiv])
- if f is an equivalence then (Σ[ g ] section f g) and (Σ[ g ] retract f g) are contr... | 41.363184 | 131 | 0.572649 |
12c889a0470cec8f09f26fca7873ef56ed979d18 | 1,292 | agda | Agda | src/fot/FOL/ExclusiveDisjunction/TheoremsATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOL/ExclusiveDisjunction/TheoremsATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOL/ExclusiveDisjunction/TheoremsATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Exclusive disjunction theorems
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-... | 29.363636 | 78 | 0.44969 |
31d0b7fb9d7a9680187d82108ac74af9cbca9a60 | 2,878 | agda | Agda | agda-stdlib/src/Data/List/Relation/Unary/AllPairs.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/Relation/Unary/AllPairs.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/Relation/Unary/AllPairs.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Lists where every pair of elements are related (symmetrically)
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary using (Rel)... | 34.674699 | 83 | 0.556637 |
106267de5a732725944dce5b45735e41ac08c5c7 | 4,817 | agda | Agda | Cubical/Homotopy/Freudenthal.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Homotopy/Freudenthal.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Homotopy/Freudenthal.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | {-
Freudenthal suspension theorem
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Homotopy.Freudenthal where
open import Cubical.Foundations.Everything
open import Cubical.Data.HomotopyGroup
open import Cubical.Data.Nat
open import Cubical.Data.Sigma
open import Cubical.HITs.Nullification
open i... | 37.929134 | 91 | 0.542039 |
20a716b5169235a1e32906050c1546f021c710a7 | 174 | agda | Agda | test/fail/Issue203.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T04:41:05.000Z | 2019-11-27T04:41:05.000Z | test/fail/Issue203.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/Issue203.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | {-# OPTIONS --universe-polymorphism #-}
module Issue203 where
open import Imports.Level
-- shouldn't work
data Bad {a b} (A : Set a) : Set b where
[_] : (x : A) → Bad A
| 17.4 | 40 | 0.632184 |
59045dfe6dcea80e5ae093880090ac94356c9e58 | 5,980 | agda | Agda | misc/RecursiveDescent/InductiveWithFix/Lib.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 7 | 2016-12-13T05:23:14.000Z | 2021-06-22T05:35:31.000Z | misc/RecursiveDescent/InductiveWithFix/Lib.agda | nad/parser-combinators | 76774f54f466cfe943debf2da731074fe0c33644 | [
"MIT"
] | 1 | 2018-01-22T22:21:41.000Z | 2018-01-24T16:39:37.000Z | misc/RecursiveDescent/InductiveWithFix/Lib.agda | nad/parser-combinators | 76774f54f466cfe943debf2da731074fe0c33644 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Some defined parsers
------------------------------------------------------------------------
-- Note that the fixpoint combinator ensures that _⋆ can be defined
-- without any need for library grammars (c.f.
-- RecursiveDescent.Inductive.Lib)... | 28.207547 | 72 | 0.532107 |
dccfbc9684780eaf89d2a589c3c7c51c97c0c419 | 3,328 | agda | Agda | test/Succeed/ReflectTC.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/ReflectTC.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/ReflectTC.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- 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
-- Some helpers --
quotegoal : (Type → Tactic) → Tactic
quotegoal tac hole =
inferType hole >>= λ goal →
reduce goal >>= λ go... | 28.93913 | 95 | 0.61899 |
0efbcf3feb24d59c1841cd80f4772e8a788e0226 | 206 | agda | Agda | test/Fail/Issue998c.agda | alex-mckenna/agda | 78b62cd24bbd570271a7153e44ad280e52ef3e29 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue998c.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue998c.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | postulate
A : Set
f : (B : Set) → B → A
f A a = a
-- Expected error:
-- A !=< A of type Set
-- (because one is a variable and one a defined identifier)
-- when checking that the expression a has type A
| 18.727273 | 59 | 0.635922 |
598d98bf11ae318e93dc49470be5fcd15ce3ff48 | 2,156 | agda | Agda | test/Succeed/HigherOrderRewriting.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/HigherOrderRewriting.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/HigherOrderRewriting.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --rewriting #-}
open import Common.Prelude
open import Common.Equality
{-# BUILTIN REWRITE _≡_ #-}
postulate is-id : ∀ {A : Set} → (A → A) → Bool
postulate is-id-true : ∀ {A} → is-id {A} (λ x → x) ≡ true
{-# REWRITE is-id-true #-}
test₁ : is-id {Nat} (λ x → x) ≡ true
test₁ = refl
postulate is-const : ... | 22.93617 | 78 | 0.459184 |
dc5a5bd85c61671e3b00a528ca64d81c3f0c1517 | 525 | agda | Agda | test/Succeed/fol-theorems/Existential.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 10 | 2015-09-03T20:54:16.000Z | 2019-12-03T13:44:25.000Z | test/Succeed/fol-theorems/Existential.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 121 | 2015-01-25T13:22:12.000Z | 2018-04-22T06:01:44.000Z | test/Succeed/fol-theorems/Existential.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 4 | 2016-05-10T23:06:19.000Z | 2016-08-03T03:54:55.000Z | ------------------------------------------------------------------------------
-- Testing the existential quantifier
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphis... | 27.631579 | 78 | 0.361905 |
1dbdd8a4d6360858ff393c9639482c0f12657c9e | 1,194 | agda | Agda | notes/FOT/FOTC/Program/Min/Min.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/FOTC/Program/Min/Min.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/FOTC/Program/Min/Min.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Example of a partial function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}... | 35.117647 | 78 | 0.463149 |
12908a9a77f51da4c388fe1ad04eb6c12f577e22 | 5,909 | agda | Agda | src/MLib/Finite/Properties.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | src/MLib/Finite/Properties.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | src/MLib/Finite/Properties.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | open import MLib.Finite
module MLib.Finite.Properties {c ℓ} (finiteSet : FiniteSet c ℓ) where
open import MLib.Prelude
import Data.Fin.Permutation as Perm
import Relation.Binary as B
open FE using (cong)
open LeftInverse using () renaming (_∘_ to _ⁱ∘_)
open Algebra using (IdempotentCommutativeMonoid)
open Table hi... | 40.197279 | 151 | 0.550685 |
1ce9ce65247c14a87e97442423f90c31899308ed | 3,543 | agda | Agda | agda-stdlib-0.9/src/Data/Nat/DivMod.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/Data/Nat/DivMod.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Data/Nat/DivMod.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Integer division
------------------------------------------------------------------------
module Data.Nat.DivMod where
open import Data.Nat as Nat
open import Data.Nat.Properties
open SemiringSolver
open import... | 33.424528 | 79 | 0.518769 |
50b8352825106b5e804d0de7128705ec9cf5af8b | 227 | agda | Agda | test/Succeed/Issue3667.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3667.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3667.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
data Unit : Set where
unit : Unit
P : Unit → Set
P unit = Unit
postulate
Q : (u : Unit) → P u → Set
variable
u : Unit
p : P u
postulate
q : P u → Q u p
q' : (u : Unit) (p : P u) → P u → Q u p
q' u p = q {u} {p}
| 11.35 | 39 | 0.493392 |
a1faad9bcffd8fb4ac9dd34073bae31d434acbad | 63 | agda | Agda | test/epic/Prelude/Unit.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | test/epic/Prelude/Unit.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | test/epic/Prelude/Unit.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | module Prelude.Unit where
data Unit : Set where
unit : Unit
| 12.6 | 25 | 0.730159 |
416becf895a38ad44c9d7aa9c062750a6f2ae9e5 | 4,408 | agda | Agda | core/lib/types/Wedge.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/Wedge.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/Wedge.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.types.Coproduct
open import lib.types.Paths
open import lib.types.Pointed
open import lib.types.Pushout
open import lib.types.PushoutFlattening
open import lib.types.PushoutFmap
open import lib.types.Span
open import lib.types.Unit
-- Wedg... | 26.878049 | 78 | 0.495463 |
df844e17a2b8271ec4ac9fba2fce7f5b6ecc8d8a | 2,431 | agda | Agda | theorems/homotopy/WedgeExtension.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/homotopy/WedgeExtension.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/homotopy/WedgeExtension.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | 1 | 2018-12-26T21:31:57.000Z | 2018-12-26T21:31:57.000Z | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module homotopy.WedgeExtension
{i j} {A : Type i} {a₀ : A} {B : Type j} {b₀ : B} where
-- easier to keep track of than a long list of arguments
record args : Type (lmax (lsucc i) (lsucc j)) where
field
n m : ℕ₋₂
cA : is-connected (S n) A
... | 29.646341 | 74 | 0.393665 |
12fdb2b52721fb5010c8eabd62f2f95bb8652185 | 3,186 | agda | Agda | Graph/Category.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Graph/Category.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Graph/Category.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | open import Type
module Graph.Category {ℓ₁ ℓ₂} {V : Type{ℓ₁}} where
open import Data.Tuple as Tuple using ()
open import Functional
open import Logic.Propositional
import Lvl
open import Graph{ℓ₁}{ℓ₂}(V)
open import Graph.Walk{ℓ₁}{ℓ₂}{V}
open import Graph.Walk.Proofs{ℓ₁}{ℓ₂}{V}
open import Relator.Equals
open im... | 53.1 | 179 | 0.728186 |
1d396f4e6e39820424ea6917f7d8c62aac654572 | 883 | agda | Agda | part1/lists/map-is-foldr.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | 1 | 2020-07-07T09:42:22.000Z | 2020-07-07T09:42:22.000Z | part1/lists/map-is-foldr.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | part1/lists/map-is-foldr.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | module map-is-foldr where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; cong)
open Eq.≡-Reasoning
open import lists using (List; []; _∷_; map; foldr)
postulate
-- 外延性の公理
extensionality : ∀ {A B : Set} {f g : A → B}
→ (∀ (x : A) → f x ≡ g x)
-----------------------
→ f ≡ g
-... | 21.536585 | 51 | 0.484711 |
cb8cd4ebb79c39065810aae2219ed875a9ece805 | 439 | agda | Agda | test/Succeed/RewriteQualified.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/RewriteQualified.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/RewriteQualified.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-08-01, issue #2125, qualified names in pragmas
{-# OPTIONS --rewriting --confluence-check #-}
import Common.Equality as Eq
{-# BUILTIN REWRITE Eq._≡_ #-} -- qualified name, should be accepted
postulate
A : Set
a b : A
module M where
open Eq
postulate
rule : a ≡ b
{-# REWRITE M.rule #-... | 19.954545 | 68 | 0.66287 |
5972e0b99fab564766e43d1e09f5a451afc063ff | 566 | agda | Agda | test/Succeed/Issue5291.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue5291.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue5291.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2021-08-19, issue #5291 reported by gergoerdi
-- https://stackoverflow.com/q/66816547/477476
open import Agda.Builtin.Char
open import Agda.Builtin.String
works : Char
works = '\SOH'
-- This used to fail as the matcher was committed to finding SOH after SO.
-- (Worked only for prefix-free matching.)
tes... | 28.3 | 127 | 0.724382 |
dfa8f69e4fa80281f406f53bd4f7e7dd6a6bfd7a | 4,695 | agda | Agda | agda/sn-calculus-confluence.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 3 | 2020-04-16T10:58:53.000Z | 2020-07-01T03:59:31.000Z | agda/sn-calculus-confluence.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | null | null | null | agda/sn-calculus-confluence.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 1 | 2020-04-15T20:02:49.000Z | 2020-04-15T20:02:49.000Z | module _ where
open import Data.Nat using (_+_)
open import Data.Nat.Properties.Simple using ( +-comm ; +-assoc)
open import utility
open import Esterel.Lang
open import Esterel.Lang.Properties
open import Esterel.Environment as Env
open import Esterel.Context
open import Data.Product
open import Data.Sum
open import ... | 57.962963 | 191 | 0.592332 |
184b4eca0530faea9a8d3070bbfc9352582289b8 | 1,270 | agda | Agda | test/Succeed/Issue2045.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2045.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2045.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-06-16 Issue #2045
-- Size solver should be called before checking extended lambda
-- {-# OPTIONS -v tc.term.exlam:100 #-}
{-# OPTIONS --sized-types #-}
open import Common.Size
postulate anything : ∀{a}{A : Set a} → A
data Exp : Size → Set where
abs : ∀ i (t : Exp i) → Exp (↑ i)
data Val : ∀ i (... | 27.021277 | 70 | 0.624409 |
29d73f48434ddea7c78094de5c31cc0de9e18924 | 496 | agda | Agda | test/succeed/Issue300.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2019-11-27T04:41:05.000Z | 2019-11-27T04:41:05.000Z | test/succeed/Issue300.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/Issue300.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | {-# OPTIONS --sized-types --show-implicit #-}
-- {-# OPTIONS -v tc.size.solve:20 #-}
module Issue300 where
open import Common.Size
data Nat : {size : Size} -> Set where
zero : {size : Size} -> Nat {↑ size}
suc : {size : Size} -> Nat {size} -> Nat {↑ size}
-- Size meta used in a different context than the one c... | 26.105263 | 64 | 0.546371 |
59842f91863e220e366db52b56e599686291d95c | 183 | agda | Agda | Cubical/HITs/SmashProduct.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/HITs/SmashProduct.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/HITs/SmashProduct.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.SmashProduct where
open import Cubical.HITs.SmashProduct.Base public
-- open import Cubical.HITs.SmashProduct.Properties public
| 26.142857 | 58 | 0.786885 |
4aae168fc47de7fd746f4de0142808776d3e4b23 | 130 | agda | Agda | test/Fail/Issue3420-Identity.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | test/Fail/Issue3420-Identity.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | 6 | 2021-10-18T08:12:24.000Z | 2021-11-24T08:31:10.000Z | test/Fail/Issue3420-Identity.agda | antoinevanmuylder/agda | bd59d5b07ffe02a43b28d186d95e1747aac5bc8c | [
"BSD-2-Clause"
] | null | null | null | {-# OPTIONS --cubical-compatible #-}
open import Agda.Primitive
data _≡_ {a} {A : Set a} (x : A) : A → Set where
refl : x ≡ x
| 18.571429 | 48 | 0.584615 |
4a50f51267200cd912fedd98b875686e7cc7c648 | 775 | agda | Agda | univ.agda | hjorthjort/IdrisToAgda | a5f65e28cc9fdfefde49e7d8cf84486601b9e7b1 | [
"MIT"
] | 2 | 2020-02-16T23:22:50.000Z | 2020-06-29T20:42:43.000Z | univ.agda | hjorthjort/IdrisToAgda | a5f65e28cc9fdfefde49e7d8cf84486601b9e7b1 | [
"MIT"
] | 1 | 2019-11-28T17:52:42.000Z | 2019-11-28T17:52:42.000Z | univ.agda | hjorthjort/IdrisToAgda | a5f65e28cc9fdfefde49e7d8cf84486601b9e7b1 | [
"MIT"
] | 1 | 2019-11-27T16:25:18.000Z | 2019-11-27T16:25:18.000Z | open import Agda.Primitive
open import Data.List
-- f1 : {l : Level} -> (a : Set l) -> (x : a) -> (y : x) -> x
-- f1 : (a : Set2) -> (x : a) -> (y : x) -> x
-- f1 a x y = ?
f0 : (a : Set) -> (x : a) -> a
f0 a x = x
f1 : (a : Set1) -> (x : a) -> a
f1 a x = x
myprod : (As : List Set) -> Set
myprod = {!!}
mysum : (As ... | 19.375 | 89 | 0.538065 |
39e679ffb1b06aa589bb716e887bee6ab30aec6c | 807 | agda | Agda | Categories/Product/Projections.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Product/Projections.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Product/Projections.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
open import Level
open import Categories.Category
open import Categories.Product
module Categories.Product.Projections
{o ℓ e o′ ℓ′ e′}
(C : Category o ℓ e)
(D : Category o′ ℓ′ e′)
where
open import Categories.Functor
open import Data.Product using (_×_; Σ; _,... | 22.416667 | 81 | 0.552664 |
50a498bd6b2c040c503cfee4bf5f4a5561799bc5 | 3,355 | agda | Agda | ProcessProgress.agda | danelahman/aeff-agda | 71ebed9f90a3eb37ae6cd209457bae23a4d122d1 | [
"MIT"
] | 4 | 2020-07-17T00:15:00.000Z | 2021-03-22T22:48:48.000Z | ProcessProgress.agda | danelahman/aeff-agda | 71ebed9f90a3eb37ae6cd209457bae23a4d122d1 | [
"MIT"
] | null | null | null | ProcessProgress.agda | danelahman/aeff-agda | 71ebed9f90a3eb37ae6cd209457bae23a4d122d1 | [
"MIT"
] | null | null | null | open import Data.Empty
open import Data.List renaming (_∷_ to _∷ₗ_ ; [_] to [_]ₗ)
open import Data.Maybe
open import Data.Product
open import Data.Sum
open import Data.Unit
open import AEff
open import AwaitingComputations
open import EffectAnnotations
open import Preservation
open import ProcessPreservation
open impo... | 30.225225 | 96 | 0.430402 |
10088c6888bc6db111fe4d5bc49ad4efaf1630f4 | 434 | agda | Agda | src/PathStructure/Empty.agda | vituscze/HoTT-lectures | 7730385adfdbdda38ee8b124be3cdeebb7312c65 | [
"BSD-3-Clause"
] | null | null | null | src/PathStructure/Empty.agda | vituscze/HoTT-lectures | 7730385adfdbdda38ee8b124be3cdeebb7312c65 | [
"BSD-3-Clause"
] | null | null | null | src/PathStructure/Empty.agda | vituscze/HoTT-lectures | 7730385adfdbdda38ee8b124be3cdeebb7312c65 | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K #-}
module PathStructure.Empty where
open import Equivalence
open import Types
split-path : {x y : ⊥} → x ≡ y → ⊥
split-path = J (λ _ _ _ → ⊥) id _ _
merge-path : {x y : ⊥} → ⊥ → x ≡ y
merge-path = 0-elim
split-merge-eq : {x y : ⊥} → (x ≡ y) ≃ ⊥
split-merge-eq
= split-path
, (merge-path ... | 21.7 | 47 | 0.543779 |
310dde3d3b482ad31915f9c7bcd69bafcea192ef | 6,999 | agda | Agda | formalization/Data/Bit.agda | brunoczim/Celeste | 9f5129d97ee7b89fb8e43136779a78806b7506ab | [
"MIT"
] | 1 | 2020-09-16T17:31:57.000Z | 2020-09-16T17:31:57.000Z | formalization/Data/Bit.agda | brunoczim/Celeste | 9f5129d97ee7b89fb8e43136779a78806b7506ab | [
"MIT"
] | null | null | null | formalization/Data/Bit.agda | brunoczim/Celeste | 9f5129d97ee7b89fb8e43136779a78806b7506ab | [
"MIT"
] | null | null | null | module Data.Bit where
open import Data.Nat.Literal using (Number; ℕ-num; Fin-num)
open import Data.Nat using (ℕ ; suc; zero; ⌊_/2⌋)
renaming (_*_ to ℕ*; _+_ to ℕ+; _≤_ to ℕ≤; _^_ to ℕ^)
open import Data.Int.Literal using (Negative)
open import Data.Fin using (Fin; suc; zero; raise)
... | 29.041494 | 80 | 0.567367 |
29c090a6a134659ca3bdf7c886571a4b76fcb8b8 | 28 | agda | Agda | test/interaction/Issue2447b.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue2447b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue2447b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | import Issue2447.Type-error
| 14 | 27 | 0.857143 |
4a2e9785b8f0222171d8e00c5fdcaad00dfbf05a | 1,586 | agda | Agda | agda-stdlib-0.9/README/Nat.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/README/Nat.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/README/Nat.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some examples showing where the natural numbers and some related
-- operations and properties are defined, and how they can be used
------------------------------------------------------------------------
module... | 27.344828 | 72 | 0.629256 |
203a6d2bb61fc92a9aabf8b2979038f2351bfff7 | 1,461 | agda | Agda | test/Succeed/TelescopingLet.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/TelescopingLet.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/TelescopingLet.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | module TelescopingLet where
module Star where
★ : Set₁
★ = Set
★₁ : Set₂
★₁ = Set₁
module MEndo (open Star) (A : ★) where
Endo : ★
Endo = A → A
module Batch1 where
f : (let ★ = Set) (A : ★) → A → A
f A x = x
g : (let ★ = Set
Endo = λ A → A → A) (A : ★) → Endo A
g = f
h : (open Sta... | 16.602273 | 80 | 0.465435 |
1045dd402bb102577a0fae564818b46b50e49630 | 5,201 | agda | Agda | core/lib/types/TLevel.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/types/TLevel.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/types/TLevel.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.types.Empty
open import lib.types.Nat
module lib.types.TLevel where
⟨_⟩₋₁ : ℕ → ℕ₋₂
⟨ n ⟩₋₁ = S ⟨ n ⟩₋₂
⟨_⟩ : ℕ → ℕ₋₂
⟨ n ⟩ = from-nat n
infixl 80 _+2+_
_+2+_ : ℕ₋₂ → ℕ₋₂ → ℕ₋₂
⟨-2⟩ +2+ n = n
S m +2+ n = S (m +2+ n)
+2+-... | 27.812834 | 77 | 0.44453 |
cbda26e3165bb31bc38a08ca87d23206509b5683 | 746 | agda | Agda | test/asset/agda-stdlib-1.0/Algebra/Solver/Ring/Simple.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Algebra/Solver/Ring/Simple.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Algebra/Solver/Ring/Simple.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Instantiates the ring solver with two copies of the same ring with
-- decidable equality
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import A... | 33.909091 | 72 | 0.596515 |
0e7b043b31a0fbc508be481c404df50f09496096 | 23,966 | agda | Agda | huffman/huffman.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | huffman/huffman.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | huffman/huffman.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | module huffman where
open import lib
open import huffman-types public
----------------------------------------------------------------------------------
-- Run-rewriting rules
----------------------------------------------------------------------------------
data gratr2-nt : Set where
_ws-plus-10 : gratr2-nt
_ws... | 118.643564 | 1,831 | 0.615163 |
319fab7307486b5f7d0c380e712db663f2813f0f | 11,070 | agda | Agda | Cubical/Algebra/Group/MorphismProperties.agda | MatthiasHu/cubical | 58f2d0dd07e51f8aa5b348a522691097b6695d1c | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Algebra/Group/MorphismProperties.agda | snu-development/cubical | 58f2d0dd07e51f8aa5b348a522691097b6695d1c | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/MorphismProperties.agda | snu-development/cubical | 58f2d0dd07e51f8aa5b348a522691097b6695d1c | [
"MIT"
] | null | null | null | {-
This file contains:
- Elementary properties of homomorphisms
- H-level results for the properties of morphisms
- Special homomorphisms and operations (id, composition, inversion)
- Conversion functions between different notions of group morphisms
-}
{-# OPTIONS --safe #-}
module Cubical.Algebra.Group.MorphismPrope... | 38.172414 | 108 | 0.596206 |
4116818782299afad087fcbf76c80000ee323824 | 1,088 | agda | Agda | test/Succeed/Issue1652-3.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1652-3.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1652-3.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {- Example by Guillaume Brunerie, 17-11-2015 -}
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Primitive
postulate
_↦_ : ∀ {i} {A : Set i} → A → A → Set i
idr : ∀ {i} {A : Set i} {a : A} → a ↦ a
{-# BUILTIN REWRITE _↦_ #-}
infixr 3 _==_
data _==_ {i} {A : Set i} (a : A) : A → Set i where
idp : a ==... | 24.727273 | 84 | 0.438419 |
185ff58fbf22fac284855fa63fd4c78bb1676ae6 | 2,292 | agda | Agda | agda/SNat/Order/Properties.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | 6 | 2015-05-21T12:50:35.000Z | 2021-08-24T22:11:15.000Z | agda/SNat/Order/Properties.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | agda/SNat/Order/Properties.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | {-# OPTIONS --sized-types #-}
module SNat.Order.Properties where
open import Data.Sum renaming (_⊎_ to _∨_)
open import Relation.Binary.PropositionalEquality
open import Size
open import SNat
open import SNat.Order
tot≤ : {ι ι' : Size} → (m : SNat {ι}) → (n : SNat {ι'}) → m ≤ n ∨ n ≤ m
tot≤ zero n = inj₁ (z≤n n)
tot≤... | 33.705882 | 109 | 0.455497 |
4d71244f16761b1c4f425a2a119b29c1aa9362ba | 1,209 | agda | Agda | cohomology/SphereProduct.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | cohomology/SphereProduct.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | cohomology/SphereProduct.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.SuspProduct
open import homotopy.SuspSmash
open import homotopy.JoinSusp
open import cohomology.Theory
module cohomology.SphereProduct {i} (CT : CohomologyTheory i) where
open CohomologyTheory CT
open import cohomology.Wedge CT
module _ (n : ℤ) (m : ... | 31.815789 | 70 | 0.527709 |
591105af40ae94e331e3e8a703eb0ec97c3f6187 | 4,326 | agda | Agda | agda-stdlib/src/Reflection/Definition.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Reflection/Definition.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Reflection/Definition.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Definitions used in the reflection machinery
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Reflection.Definition where
open import Data.List... | 38.283186 | 111 | 0.594313 |
0b6618e346c7bec43d51edbc4a7adfd510d21142 | 463 | agda | Agda | examples/outdated-and-incorrect/univ/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/univ/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/univ/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
open import Base
open import Nat
open import univ
-- Application
_#_ : {A : S}{F : El A -> S}{pF : Map _==_ _=S_ F} ->
El (pi A F pF) -> (x : El A) -> El (F x)
el < f , pf > # x = f x
-- Projection
π₀ : {A : S}{F : El A -> S}{pF : Map _==_ _=S_ F} ->
El (sigma A F pF) -> El A
π₀ (e... | 19.291667 | 53 | 0.460043 |
064149d637e90631ddec02d70989c01173305b56 | 1,816 | agda | Agda | Thesis/SIRelBigStep/SemEquiv.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 10 | 2015-03-04T06:09:20.000Z | 2019-07-19T07:06:59.000Z | Thesis/SIRelBigStep/SemEquiv.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 6 | 2015-07-01T18:09:31.000Z | 2017-05-04T13:53:59.000Z | Thesis/SIRelBigStep/SemEquiv.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 1 | 2016-02-18T12:26:44.000Z | 2016-02-18T12:26:44.000Z | module Thesis.SIRelBigStep.SemEquiv where
open import Data.Nat
open import Data.Product
open import Relation.Binary.PropositionalEquality
open import Thesis.SIRelBigStep.Syntax public
open import Thesis.SIRelBigStep.OpSem
open import Thesis.SIRelBigStep.DenSem
⟦_⟧Val : ∀ {τ} → Val τ → ⟦ τ ⟧Type
⟦_⟧Env : ∀ {Γ} → ⟦ Γ ... | 34.264151 | 110 | 0.59196 |
50b6d0335bf8f5a4728a84025943c1217162cabc | 79 | agda | Agda | test/interaction/HighlightSafePostulate.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/HighlightSafePostulate.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/HighlightSafePostulate.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2020-03-21, issue #4456
{-# OPTIONS --safe #-}
postulate A : Set
| 13.166667 | 35 | 0.607595 |
4144d0fb36f20e537c2318e4c3bbd5f3287f4fe8 | 534 | agda | Agda | Computability/Prelude.agda | jesyspa/computability-in-agda | 1b5cf338eb0adb90c1897383e05251ddd954efff | [
"MIT"
] | 2 | 2020-09-19T15:51:22.000Z | 2021-04-30T11:15:51.000Z | Computability/Prelude.agda | jesyspa/computability-in-agda | 1b5cf338eb0adb90c1897383e05251ddd954efff | [
"MIT"
] | null | null | null | Computability/Prelude.agda | jesyspa/computability-in-agda | 1b5cf338eb0adb90c1897383e05251ddd954efff | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
module Computability.Prelude where
open import Data.Bool public using (Bool; false; true)
open import Data.Empty public using (⊥; ⊥-elim)
open import Data.Nat public using (ℕ; zero; suc; _+_; _*_)
open import Data.Product public using (Σ; Σ-syntax; _×_; _,_; proj₁; proj₂)
open import Data.S... | 41.076923 | 76 | 0.741573 |
397e18f416d53b4cd22aff028f81f8e1735ffddc | 18,507 | agda | Agda | Univalence/Obsolete/PiLevel0.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | Univalence/Obsolete/PiLevel0.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | Univalence/Obsolete/PiLevel0.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K #-}
module PiLevel0 where
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; cong₂; module ≡-Reasoning)
-- using (_≡_; refl; sym; trans; cong₂; proof-irrelevance; module ≡-Reasoning)
--open import Data.Nat.Properties.Simple
-- using (+-right-identity; +-suc; +-assoc; +-co... | 35.184411 | 124 | 0.5345 |
cbef682b7bca326b7ed0bf44fe1b7869519fe899 | 3,896 | agda | Agda | lemmas-freshness.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 4 | 2020-10-04T06:45:06.000Z | 2021-12-19T15:38:31.000Z | lemmas-freshness.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 9 | 2020-09-30T20:27:56.000Z | 2020-10-20T20:44:13.000Z | lemmas-freshness.agda | hazelgrove/hazelnut-livelits-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | null | null | null | open import Prelude
open import Nat
open import core
open import contexts
open import lemmas-disjointness
module lemmas-freshness where
-- if x is fresh in an eexp, it's fresh in its expansion
mutual
fresh-elab-synth1 : ∀{x e τ d Γ Δ} →
x # Γ →
freshe x e →
... | 57.294118 | 134 | 0.587526 |
59eb7a227e447678cd6b2aa0c90dba3030897a0e | 2,439 | agda | Agda | Cubical/Categories/Functor/Base.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Categories/Functor/Base.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Categories/Functor/Base.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Categories.Functor.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Categories.Category
private
variable
ℓC ℓC' ℓD ℓD' : Level
record Functor (C : Precategory ℓC ℓC') (D : Precategory ℓD ℓD') : Type (ℓ-max (ℓ-max ℓC ℓC'... | 27.1 | 115 | 0.493235 |
311000f5d7bb38d4c19654ca1c51dae8f808fe9e | 666 | agda | Agda | agda/ExtInterface/Data/Maybe.agda | RPI-WCL/safety-envelopes-sentinels | 896e67a2ad21041a1c9ef5f3ad6318c67d730341 | [
"BSD-3-Clause"
] | null | null | null | agda/ExtInterface/Data/Maybe.agda | RPI-WCL/safety-envelopes-sentinels | 896e67a2ad21041a1c9ef5f3ad6318c67d730341 | [
"BSD-3-Clause"
] | null | null | null | agda/ExtInterface/Data/Maybe.agda | RPI-WCL/safety-envelopes-sentinels | 896e67a2ad21041a1c9ef5f3ad6318c67d730341 | [
"BSD-3-Clause"
] | 1 | 2020-09-20T00:36:09.000Z | 2020-09-20T00:36:09.000Z | module ExtInterface.Data.Maybe where
open import Function using (_∘_)
open import Level using (Level)
private
variable
a b c : Level
A : Set a
B : Set b
C : Set c
data Maybe (A : Set) : Set where
nothing : Maybe A
just : (x : A) → Maybe A
maybe : ∀ {A : Set} {B : Maybe A → Set} →
((... | 20.181818 | 64 | 0.561562 |
1dda8aab2e493903d2c933061c4328d63f7f9156 | 2,653 | agda | Agda | examples/SummerSchool07/Lecture/Records.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/SummerSchool07/Lecture/Records.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/SummerSchool07/Lecture/Records.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-
Types Summer School 2007
Bertinoro
Aug 19 - 31, 2007
Agda
Ulf Norell
-}
-- Records are labeled sigma types.
module Records where
open import Nat
open import Bool
{-
A very simple record.
-}
record Point : Set where
field
... | 20.565891 | 76 | 0.626838 |
2973970ade6dfc1cbc34ef4885b82121e01651be | 674 | agda | Agda | Cubical/Algebra/CommRing/Instances/Int.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Algebra/CommRing/Instances/Int.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Instances/Int.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Instances.Int where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.CommRing
open import Cubical.Data.Int as Int
renaming ( ℤ to ℤType ; _+_ to _+ℤ_; _·_ to _·ℤ_; -_ to -ℤ_)
open CommRingStr
ℤ : CommRing ℓ-zero
fst ℤ = ℤType
0r (snd ℤ) = 0... | 24.962963 | 63 | 0.617211 |
29709ceb873a0f857c7966f6e231c7009946c328 | 1,086 | agda | Agda | prototyping/Luau/Run.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | 1 | 2022-02-11T21:30:17.000Z | 2022-02-11T21:30:17.000Z | prototyping/Luau/Run.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | prototyping/Luau/Run.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | module Luau.Run where
open import Agda.Builtin.Equality using (_≡_; refl)
open import Luau.Heap using (Heap; emp)
open import Luau.Syntax using (Block; return; _∙_; done)
open import Luau.OpSem using (_⊢_⟶*_⊣_; refl; step)
open import Luau.Value using (val)
open import Properties.Step using (stepᴮ; step; return; done;... | 37.448276 | 80 | 0.61326 |
a146f89ccc858025434b05890c50382f0b9766e6 | 1,623 | agda | Agda | Cubical/Algebra/Ring/Kernel.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/Kernel.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Algebra/Ring/Kernel.agda | cangiuli/cubical | d103ec455d41cccf9b13a4803e7d3cf462e00067 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Ring.Kernel where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Structure
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Powerset
open import Cubical.Algeb... | 28.473684 | 59 | 0.546519 |
c51f085ccd9a85d570391448ad8b05dfbbb740ea | 617 | agda | Agda | test/asset/agda-stdlib-1.0/Relation/Nullary/Implication.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Relation/Nullary/Implication.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Relation/Nullary/Implication.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Implications of nullary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Nullary.Implication where
open import Relation.Null... | 26.826087 | 72 | 0.455429 |
cb97ab7df7144d679da0e56ea8767fe498691d78 | 17,133 | agda | Agda | Cubical/HITs/Truncation/FromNegTwo/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-02-05T01:25:26.000Z | 2022-02-05T01:25:26.000Z | Cubical/HITs/Truncation/FromNegTwo/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/HITs/Truncation/FromNegTwo/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.HITs.Truncation.FromNegTwo.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Un... | 43.156171 | 131 | 0.578941 |
1d3b91efac9fafc4ca7da5b723e211a23550949f | 42 | agda | Agda | test/interaction/Issue2575/M.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue2575/M.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue2575/M.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue2575.M where
A : Set
A = Set
| 8.4 | 24 | 0.690476 |
c550636fac3ae484d68797d417661df18de1d718 | 26,076 | agda | Agda | agda/course/2017-conor_mcbride_cs410/CS410-17-master/exercises/Ex2.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 36 | 2015-01-29T14:37:15.000Z | 2021-07-30T06:55:03.000Z | agda/course/2017-conor_mcbride_cs410/CS410-17-master/exercises/Ex2.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/course/2017-conor_mcbride_cs410/CS410-17-master/exercises/Ex2.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | {-# OPTIONS --type-in-type #-} -- yes, I will let you cheat in this exercise
{-# OPTIONS --allow-unsolved-metas #-} -- allows import, unfinished
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- CS410 2017/... | 33.559846 | 79 | 0.473501 |
0e37a2bd81294b6183406c3c34359903c19ee33a | 12,799 | agda | Agda | Cubical/Algebra/Group/MorphismProperties.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/MorphismProperties.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/MorphismProperties.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.MorphismProperties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
op... | 41.287097 | 143 | 0.600438 |
d0271493f68d06ae5f5f3b0db7e9184d84d290ea | 466 | agda | Agda | Tools/Nullary.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2018-06-21T08:39:01.000Z | 2022-01-17T16:13:53.000Z | Tools/Nullary.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | null | null | null | Tools/Nullary.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2022-01-26T14:55:51.000Z | 2022-02-15T19:42:19.000Z | -- Some proposition constructors.
{-# OPTIONS --safe #-}
module Tools.Nullary where
open import Tools.Empty
-- Negation.
infix 3 ¬_
¬_ : Set → Set
¬ P = P → ⊥
-- Decidable propositions.
data Dec (P : Set) : Set where
yes : ( p : P) → Dec P
no : (¬p : ¬ P) → Dec P
-- If A and B are logically equivalent, ... | 17.259259 | 68 | 0.551502 |
318c164701914e2387cd07a394605d514538b9a1 | 2,281 | agda | Agda | src/Prelude/Maybe.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null | src/Prelude/Maybe.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null | src/Prelude/Maybe.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null |
module Prelude.Maybe where
open import Prelude.Unit
open import Prelude.Empty
open import Prelude.Function
open import Prelude.Functor
open import Prelude.Applicative
open import Prelude.Monad
open import Prelude.Equality
open import Prelude.Decidable
data Maybe {a} (A : Set a) : Set a where
nothing : Maybe A
ju... | 28.873418 | 86 | 0.589654 |
298bf8bb9386e6c32b50edfa4f53c4bed2cea165 | 1,849 | agda | Agda | theorems/stash/modalities/PushoutProduct.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | theorems/stash/modalities/PushoutProduct.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | theorems/stash/modalities/PushoutProduct.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
module stash.modalities.PushoutProduct {i j k l}
{A : Type i} {B : Type j}
{A' : Type k} {B' : Type l}
where
□-span : (f : A → B) (g : A' → B') → Span
□-span f g = span (B × A') (A × B') (A × A')
(λ { (a , a') → f a , a'})
(λ { (a , a') → a , g a' })... | 29.822581 | 90 | 0.365603 |
0629f93ac4df9c419d77e21c5840f2507c979818 | 2,152 | agda | Agda | src/Data/ByteString/Primitive.agda | semenov-vladyslav/bytes-agda | 98a53f35fca27e3379cf851a9a6bdfe5bd8c9626 | [
"MIT"
] | null | null | null | src/Data/ByteString/Primitive.agda | semenov-vladyslav/bytes-agda | 98a53f35fca27e3379cf851a9a6bdfe5bd8c9626 | [
"MIT"
] | null | null | null | src/Data/ByteString/Primitive.agda | semenov-vladyslav/bytes-agda | 98a53f35fca27e3379cf851a9a6bdfe5bd8c9626 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
module Data.ByteString.Primitive where
open import Data.Word8.Primitive using (Word8)
open import Data.Nat using (ℕ; _<_)
open import Data.Colist using (Colist)
open import Data.List using (List; length)
open import Agda.Builtin.String using (String)
open import Agda.Builtin.Bool using (Bo... | 36.474576 | 116 | 0.733271 |
31b93ad213106ff9ec3fa3361bb4f97def23250c | 263 | agda | Agda | test/Succeed/WithAbstractTwiceInApplication.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/WithAbstractTwiceInApplication.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/WithAbstractTwiceInApplication.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2015-02-07
postulate
X Y : Set
fix : (X → X) → X
g : Y → X → X
y : Y
P : X → Set
yes : (f : X → X) → P (f (fix f))
test : P (g y (fix (g y)))
test with g y
test | f = yes f
-- should be able to abstract (g y) twice
-- and succeed
| 15.470588 | 41 | 0.486692 |
29874568e00bdf675569ddca04e03eb7ed8a6f47 | 611 | agda | Agda | src/Categories/Morphism/Universal.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Morphism/Universal.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Morphism/Universal.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.Morphism.Universal where
open import Level
open import Categories.Category
open import Categories.Category.Construction.Comma
open import Categories.Functor
open import Categories.Object.Initial
record UniversalMorphism {o ℓ e o′ ℓ′ e′} {C : Category o ℓ e} {D : C... | 25.458333 | 98 | 0.656301 |
29548e97f750f206911d0df3732af7df022c235c | 12,661 | agda | Agda | TotalRecognisers/LeftRecursion/ExpressiveStrength.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 7 | 2016-12-13T05:23:14.000Z | 2021-06-22T05:35:31.000Z | TotalRecognisers/LeftRecursion/ExpressiveStrength.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 1 | 2018-01-22T22:21:41.000Z | 2018-01-24T16:39:37.000Z | TotalRecognisers/LeftRecursion/ExpressiveStrength.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- This module establishes that the recognisers are as expressive as
-- possible when the alphabet is Bool (this could be generalised to
-- arbitrary finite alphabets), whereas this is not the case when the
-- alphabet is ℕ
-----------------------... | 36.698551 | 77 | 0.53495 |
315e509ac62ab88dbb411c87ff8a978479ac3aca | 1,804 | agda | Agda | src/Basics.agda | jstolarek/dep-typed-wbl-heaps | 57db566cb840dc70331c29eb7bf3a0c849f8b27e | [
"BSD-3-Clause"
] | 1 | 2018-05-02T21:48:43.000Z | 2018-05-02T21:48:43.000Z | src/Basics.agda | jstolarek/dep-typed-wbl-heaps | 57db566cb840dc70331c29eb7bf3a0c849f8b27e | [
"BSD-3-Clause"
] | null | null | null | src/Basics.agda | jstolarek/dep-typed-wbl-heaps | 57db566cb840dc70331c29eb7bf3a0c849f8b27e | [
"BSD-3-Clause"
] | null | null | null | ----------------------------------------------------------------------
-- Copyright: 2013, Jan Stolarek, Lodz University of Technology --
-- --
-- License: See LICENSE file in root of the repo --
-- Repo address: https://github.com/... | 45.1 | 70 | 0.575942 |
10662b02868e1d6bc108be2d4eded6d818cf0c57 | 982 | agda | Agda | notes/thesis/report/Verification/CorruptFormalisations.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/thesis/report/Verification/CorruptFormalisations.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/thesis/report/Verification/CorruptFormalisations.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | {-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module Verification.CorruptFormalisations where
open import FOTC.Base
open import FOTC.Base.List
open import FOTC.Base.Loop
open import FOTC.Progr... | 30.6875 | 78 | 0.510183 |
4db605e7a49696e44e77fee9258f806a495a14b4 | 625 | agda | Agda | Cubical/Algebra/CommRing/Instances/BiInvInt.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Algebra/CommRing/Instances/BiInvInt.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Algebra/CommRing/Instances/BiInvInt.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | -- It is recommended to use Cubical.Algebra.CommRing.Instances.Int
-- instead of this file.
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Instances.BiInvInt where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.CommRing
open import Cubical.Data.Int.MoreInts.BiInvInt
renaming (
_+_ ... | 23.148148 | 66 | 0.6816 |
1c9db04abbaa28623110c1337874ec7005a8135f | 819 | agda | Agda | src/fot/PA/Axiomatic/Standard/Base/Consistency/Axioms.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/PA/Axiomatic/Standard/Base/Consistency/Axioms.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/PA/Axiomatic/Standard/Base/Consistency/Axioms.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Test the consistency of PA.Axiomatic.Standard.Base
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-univ... | 37.227273 | 78 | 0.47619 |
10b2b04ff0e356bcfbfd3d1a4170eeae244b6cc9 | 13,845 | agda | Agda | lib/Explore/Old/Sum/sum-properties-setoid.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | 2 | 2016-06-05T09:25:32.000Z | 2017-06-28T19:19:29.000Z | lib/Explore/Old/Sum/sum-properties-setoid.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | 1 | 2019-03-16T14:24:04.000Z | 2019-03-16T14:24:04.000Z | lib/Explore/Old/Sum/sum-properties-setoid.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K #-}
module sum-properties-setoid where
open import Type
import Level as L
open import Algebra
import Algebra.FunctionProperties as FP
open import Data.Zero using (𝟘)
open import Data.Bool.NP
open Data.Bool.NP.Indexed
open import Data.Fin using (Fin)
open import Data.Nat.NP
open import Data.N... | 33.768293 | 142 | 0.513615 |
0be0019e0ebec34d51030a4feee2222104abff7b | 4,918 | agda | Agda | BasicIS4/Semantics/TarskiGluedHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIS4/Semantics/TarskiGluedHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIS4/Semantics/TarskiGluedHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | -- Basic intuitionistic modal logic S4, without ∨, ⊥, or ◇.
-- Tarski-style semantics with contexts as concrete worlds, and glueing for □ only.
-- Hilbert-style syntax.
module BasicIS4.Semantics.TarskiGluedHilbert where
open import BasicIS4.Syntax.Common public
open import Common.Semantics public
-- Intuitionistic ... | 30.171779 | 87 | 0.375356 |
4ddf0f5570945680f97f490fc3691cee7b02c8e5 | 121 | agda | Agda | notes/papers/implicit/examples/Simple.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | notes/papers/implicit/examples/Simple.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | notes/papers/implicit/examples/Simple.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Simple where
postulate
Nat : Set
zero : Nat
-- we want
-- ?0 zero = zero
-- and then
-- ?0 x = x
| 9.307692 | 19 | 0.528926 |
417a03ff6f157e5c75ee1074c38d2a30e945a741 | 415 | agda | Agda | src/Debug.agda | Zalastax/singly-typed-actors | ae541df13d069df4eb1464f29fbaa9804aad439f | [
"MIT"
] | 1 | 2019-10-29T09:30:26.000Z | 2019-10-29T09:30:26.000Z | src/Debug.agda | Zalastax/singly-typed-actors | ae541df13d069df4eb1464f29fbaa9804aad439f | [
"MIT"
] | null | null | null | src/Debug.agda | Zalastax/singly-typed-actors | ae541df13d069df4eb1464f29fbaa9804aad439f | [
"MIT"
] | null | null | null | module Debug where
open import Data.String using (String) public
open import Level public
{-# FOREIGN GHC import qualified Data.Text #-}
{-# FOREIGN GHC import qualified Debug.Trace as Trace #-}
{-# FOREIGN GHC
debug' :: Data.Text.Text -> c -> c
debug' txt c = Trace.trace (Data.Text.unpack txt) c
#-}
postulate debug... | 27.666667 | 58 | 0.650602 |
39529018339db884ed4bb6615840b16f8a3642a8 | 1,226 | agda | Agda | src/fot/PA/Inductive/Relation/Binary/PropositionalEquality.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/PA/Inductive/Relation/Binary/PropositionalEquality.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/PA/Inductive/Relation/Binary/PropositionalEquality.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Propositional equality on inductive PA
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymor... | 26.652174 | 78 | 0.445351 |
120fa9396e7562912731a14c1bf4f3535500c7b5 | 11,024 | agda | Agda | Numbers/Naturals/Order.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Numbers/Naturals/Order.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Numbers/Naturals/Order.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 Semirings.Definition
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Semiring
open import Orders.Total.Definition
open import Orders.Partial.Definition
module Numbers.Naturals.Order where
open Semiring ℕSem... | 51.037037 | 301 | 0.669267 |
5903026568cb11255c60d117dc35ff26299aea13 | 11,355 | agda | Agda | LibraBFT/Concrete/Properties/VotesOnce.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Concrete/Properties/VotesOnce.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Concrete/Properties/VotesOnce.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Optics.All
open import LibraBFT.Prelude
open import LibraBFT... | 50.466667 | 146 | 0.644562 |
1cf2e974757279808ed2b1771fdbaa98afe5afeb | 99 | agda | Agda | Cubical/HITs/Wedge.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/Wedge.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/Wedge.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.HITs.Wedge where
open import Cubical.HITs.Wedge.Base public
| 19.8 | 42 | 0.747475 |
dcb7eaaa01f5b2e84e78ec50127ee0b84bc04f30 | 2,003 | agda | Agda | src/Similarity/Equational-reasoning-instances.agda | nad/up-to | b936ff85411baf3401ad85ce85d5ff2e9aa0ca14 | [
"MIT"
] | null | null | null | src/Similarity/Equational-reasoning-instances.agda | nad/up-to | b936ff85411baf3401ad85ce85d5ff2e9aa0ca14 | [
"MIT"
] | null | null | null | src/Similarity/Equational-reasoning-instances.agda | nad/up-to | b936ff85411baf3401ad85ce85d5ff2e9aa0ca14 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- "Equational" reasoning combinator setup
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude.Size
open import Labelled-transition-system
module Similarity.Equational-reas... | 27.819444 | 72 | 0.533699 |
c567557fed7a03962899d8717d698129ec1d0313 | 6,429 | agda | Agda | Cubical/Core/Primitives.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Core/Primitives.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Core/Primitives.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | {-
This file document and export the main primitives of Cubical Agda. It
also defines some basic derived operations (composition and filling).
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Core.Primitives where
open import Agda.Builtin.Cubical.Path public
open import Agda.Builtin.Cubical.Sub p... | 30.325472 | 96 | 0.551097 |
cb7314e796f78563e843f66e36e23e79879e9d6c | 2,932 | agda | Agda | OldBasicILP/Syntax/ClosedHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | OldBasicILP/Syntax/ClosedHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | OldBasicILP/Syntax/ClosedHilbert.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | -- Hilbert-style formalisation of closed syntax.
-- Nested terms.
module OldBasicILP.Syntax.ClosedHilbert where
open import OldBasicILP.Syntax.Common public
-- Types parametrised by closed derivations.
mutual
infixr 10 _⦂_
infixl 9 _∧_
infixr 7 _▻_
data Ty : Set where
α_ : Atom → Ty
_▻_ : Ty → Ty ... | 21.880597 | 81 | 0.409959 |
2f3beba717ddf80935dac0bf41e1380191d37dad | 3,245 | agda | Agda | Categories/Category/Construction/F-Algebras.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Construction/F-Algebras.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Construction/F-Algebras.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --universe-polymorphism #-}
module Categories.Category.Construction.F-Algebras where
open import Level
open import Data.Product using (proj₁; proj₂)
open import Categories.Category
open import Categories.Functor hiding (id)
open import Categories.Functor.Algebra
open import Categories.Object.Initial
impor... | 28.716814 | 96 | 0.565177 |
18636541a0d72e261485a1bbfa5ef4155be69f59 | 1,211 | agda | Agda | homotopy/Hopf.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | homotopy/Hopf.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/Hopf.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
import homotopy.HopfConstruction
open import homotopy.CircleHSpace
open import homotopy.SuspensionJoin using () renaming (e to suspension-join)
open import homotopy.S1SuspensionS0 using () renaming (e to S¹≃SuspensionS⁰)
import homotopy.JoinAssoc
module homotopy.Hopf where... | 30.275 | 95 | 0.617671 |
39d9c884e82badb77a535bca2a2e4dd2be835e34 | 365 | agda | Agda | test/Fail/WithoutK-PatternMatchingLambdas2.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | test/Fail/WithoutK-PatternMatchingLambdas2.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | 6 | 2021-10-18T08:12:24.000Z | 2021-11-24T08:31:10.000Z | test/Fail/WithoutK-PatternMatchingLambdas2.agda | antoinevanmuylder/agda | bd59d5b07ffe02a43b28d186d95e1747aac5bc8c | [
"BSD-2-Clause"
] | null | null | null | {-# OPTIONS --cubical-compatible #-}
module WithoutK-PatternMatchingLambdas2 where
-- Equality defined with two indices.
data _≡_ {A : Set} : A → A → Set where
refl : ∀ x → x ≡ x
-- The --cubical-compatible option works with pattern matching lambdas.
K : (A : Set) (x : A) (P : x ≡ x → Set) → P (refl x) → (p : x ≡ ... | 30.416667 | 74 | 0.594521 |
18a36a364d7407f549da703df573d1a574d353af | 4,244 | agda | Agda | Cubical/Algebra/RingSolver/CommRingHornerForms.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/RingSolver/CommRingHornerForms.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/RingSolver/CommRingHornerForms.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.RingSolver.CommRingHornerForms where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat using (ℕ)
open import Cubical.Data.FinData
open import Cubical.Data.Vec
open import Cubical.Data.Bool using (Bool; true; false; if_then_el... | 30.753623 | 87 | 0.601084 |
29ae8f05ca9b3ba37c038091a58c8ed01a64b7fc | 1,426 | agda | Agda | RMonads/REM/Functors.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 21 | 2015-07-30T01:25:12.000Z | 2021-02-13T18:02:18.000Z | RMonads/REM/Functors.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 3 | 2019-01-13T13:12:33.000Z | 2019-05-29T09:50:26.000Z | RMonads/REM/Functors.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 1 | 2019-11-04T21:33:13.000Z | 2019-11-04T21:33:13.000Z | open import Functors
open import Categories
open import RMonads
module RMonads.REM.Functors {a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}
(J : Fun C D)(M : RMonad J) where
open import Library
open import RMonads.REM M
open Cat
open Fun
open RAlg
open RAlgMorph
open RMonad M
REML : Fun C EM
R... | 25.017544 | 69 | 0.528752 |
1d23485fd36364e58e2fb2eb654c6a432d307f5e | 853 | agda | Agda | out/Sub/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | out/Sub/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | out/Sub/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 4 | 2021-11-09T20:39:59.000Z | 2022-01-24T12:49:17.000Z | {-
This second-order signature was created from the following second-order syntax description:
syntax Sub | S
type
L : 0-ary
T : 0-ary
term
vr : L -> T
sb : L.T T -> T
theory
(C) x y : T |> sb (a. x[], y[]) = x[]
(L) x : T |> sb (a. vr(a), x[]) = x[]
(R) a : L x : L.T |> sb (b. x[b], vr(a[])) = ... | 18.148936 | 120 | 0.538101 |
c576fef6a38cf9fcf13635156427a0568895b2d2 | 667 | agda | Agda | src/constants.agda | xoltar/cedille | acf691e37210607d028f4b19f98ec26c4353bfb5 | [
"MIT"
] | null | null | null | src/constants.agda | xoltar/cedille | acf691e37210607d028f4b19f98ec26c4353bfb5 | [
"MIT"
] | null | null | null | src/constants.agda | xoltar/cedille | acf691e37210607d028f4b19f98ec26c4353bfb5 | [
"MIT"
] | null | null | null | module constants where
open import lib
cedille-extension : string
cedille-extension = "ced"
self-name : string
self-name = "self"
pattern ignored-var = "_"
pattern meta-var-pfx = '?'
pattern qual-local-chr = '@'
pattern qual-global-chr = '.'
meta-var-pfx-str = 𝕃char-to-string [ meta-var-pfx ]
qual-local-str = �... | 22.233333 | 60 | 0.697151 |
dcbc27b23f2db53addda787c56f12ff98cde16bf | 764 | agda | Agda | src/Categories/Diagram/Colimit/Lan.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Diagram/Colimit/Lan.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Diagram/Colimit/Lan.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.Diagram.Colimit.Lan where
open import Level
open import Categories.Category
open import Categories.Category.Cocomplete
open import Categories.Diagram.Duality
open import Categories.Diagram.Limit.Ran
open import Categories.Functor
open import Categories.Kan
open imp... | 28.296296 | 98 | 0.687173 |
cbf373ad226fb21e4df7281a23ce9395b4e3b953 | 464 | agda | Agda | test/Fail/Issue1946-5.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue1946-5.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue1946-5.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | -- This test case was reported by Andrea Vezzosi.
open import Agda.Builtin.Size
data Σ (A : Set) (B : A → Set) : Set where
_,_ : (x : A) → B x → Σ A B
data ⊥ : Set where
record T (i : Size) : Set where
constructor con
coinductive
field
force : Σ (Size< i) \ { j → T j }
open T public
empty : ∀ i → T i ... | 17.185185 | 50 | 0.5625 |
4d72918e7e7a2dbbd5e749b9501ed6eab8e85678 | 10,695 | agda | Agda | Categories/Grothendieck.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Grothendieck.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Grothendieck.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
module Categories.Grothendieck where
open import Relation.Binary using (Rel)
open import Data.Product using (Σ; _,_; proj₁; proj₂; _×_)
open import Categories.Support.Experimental
open import Categories.Support.PropositionalEquality
open import Categories.Support.IProduct
impor... | 43.299595 | 155 | 0.478074 |
39174043bf8a41d70679e75671305037aaaffd6e | 5,207 | agda | Agda | test/asset/agda-stdlib-1.0/Codata/Musical/Stream.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/Codata/Musical/Stream.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Codata/Musical/Stream.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Streams
------------------------------------------------------------------------
{-# OPTIONS --without-K --sized-types --guardedness #-}
module Codata.Musical.Stream where
open import Codata.Musical.Notation
o... | 28.453552 | 78 | 0.459574 |
0b9f1c284565ff4bae82b4696351fe1a6c9b4c95 | 1,845 | agda | Agda | Univalence/Obsolete/SubstLemmas.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | Univalence/Obsolete/SubstLemmas.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | Univalence/Obsolete/SubstLemmas.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K #-}
module SubstLemmas where
open import Level using (Level)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym; trans; subst; cong₂)
open import Data.Nat using (ℕ; _+_; _*_)
------------------------------------------------------------------------------
-- Lemmas about ... | 36.176471 | 79 | 0.499187 |
41f62ef709d3b05ef63a8bf2b20616547562bc5d | 496 | agda | Agda | Cubical/Categories/Instances/TypePrecategory.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Categories/Instances/TypePrecategory.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Categories/Instances/TypePrecategory.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Categories.Instances.TypePrecategory where
open import Cubical.Foundations.Prelude
open import Cubical.Categories.Category.Precategory
open Precategory
-- TYPE precategory has types as objects
module _ ℓ where
TYPE : Precategory (ℓ-suc ℓ) ℓ
TYPE .ob = Type ℓ
TYP... | 24.8 | 57 | 0.627016 |
39cdf6005bd27621b0f7ee0cc918f49e691b5df9 | 2,319 | agda | Agda | Categories/Morphism.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Morphism.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Morphism.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
{-
Properties and definitions regarding Morphisms of a category:
- Monomorphism
- Epimorphism
- Isomorphism
- (object) equivalence ('spelled' _≅_ ). Exported as the module ≅
-}
open import Categories.Category
module Categories.Morphism {o ℓ e} (𝒞 : Category o ℓ e) where
... | 22.514563 | 75 | 0.499784 |
29197dd72afd681d132a35c9cc34bef69b0dceec | 3,145 | agda | Agda | homotopy/HopfJunior.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | homotopy/HopfJunior.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/HopfJunior.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
module homotopy.HopfJunior where
-- We define the negation function and prove that it’s an equivalence
not : Bool → Bool
not true = false
not false = true
not-not : (b : Bool) → not (not b) == b
not-not true = idp
not-not false = idp
not-equiv : Bool ≃ Bool
not-equiv =... | 31.767677 | 126 | 0.553577 |
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.