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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b72621fba214cef5eed336f6837ec83ad1b40f0 | 14,893 | agda | Agda | Cubical/HITs/Hopf.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/Hopf.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/Hopf.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.HITs.Hopf where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Univalence
open import Cubical.Data.Int hiding (_·_)
open import Cubic... | 43.674487 | 127 | 0.540992 |
fbc24df8882f29570016b331441d6dacb85441ce | 1,599 | agda | Agda | Cubical/Structures/Transfer.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Structures/Transfer.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Structures/Transfer.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | {-
Transferring properties of terms between equivalent structures
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Transfer where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.SIP
open import Cubical.Foundations.Transport
... | 33.3125 | 89 | 0.555972 |
313615c0c4915d4a4f774b3bca9232b022c84c86 | 1,882 | agda | Agda | src/Data/Real/Properties.agda | cspollard/reals | a193aeebf1326f960975b19d3e31b46fddbbfaa2 | [
"CC0-1.0"
] | null | null | null | src/Data/Real/Properties.agda | cspollard/reals | a193aeebf1326f960975b19d3e31b46fddbbfaa2 | [
"CC0-1.0"
] | null | null | null | src/Data/Real/Properties.agda | cspollard/reals | a193aeebf1326f960975b19d3e31b46fddbbfaa2 | [
"CC0-1.0"
] | null | null | null | module Data.Real.Properties where
open import Data.Real.Base as ℝ
open import Data.Real.Order
open import Data.Real.Abstract.Structures
using (IsOrderedHeytingField; IsArchimedanHeytingField)
open import Assume
open import Algebra using (IsCommutativeRing; CommutativeRing)
open import Algebra.Module using (Module)
o... | 32.448276 | 76 | 0.727418 |
4dba1b778b155dca3d1ffb370adc9d4780dc60c2 | 2,002 | agda | Agda | examples/AIM6/HelloAgda/Datatypes.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/AIM6/HelloAgda/Datatypes.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/AIM6/HelloAgda/Datatypes.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | {-
Agda Implementors' Meeting VI
Göteborg
May 24 - 30, 2007
Hello Agda!
Ulf Norell
-}
-- This is where the fun begins.
-- Unleashing datatypes, pattern matching and recursion.
module Datatypes where
{-
Simple datatypes.
-}
-- Now which... | 18.537037 | 69 | 0.624376 |
4a966495072dadfb6318540ee3912379ca515496 | 11,358 | agda | Agda | 04-cubical-type-theory/material/Part4.agda | HoTT/EPIT-2020 | 0502db788d6d2b3950e44f362cdb7d4da3ebce82 | [
"MIT"
] | 97 | 2021-03-19T14:13:37.000Z | 2022-03-15T13:58:25.000Z | 04-cubical-type-theory/material/Part4.agda | HoTT/EPIT-2020 | 0502db788d6d2b3950e44f362cdb7d4da3ebce82 | [
"MIT"
] | 2 | 2021-03-31T18:27:23.000Z | 2021-04-13T09:03:56.000Z | 04-cubical-type-theory/material/Part4.agda | HoTT/EPIT-2020 | 0502db788d6d2b3950e44f362cdb7d4da3ebce82 | [
"MIT"
] | 14 | 2021-03-19T12:36:53.000Z | 2022-03-22T19:37:21.000Z | {-
Part 4: Higher inductive types
• Set quotients via HITs
• Propositional truncation
• A little synthetic homotopy theory
-}
{-# OPTIONS --cubical #-}
module Part4 where
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Int hiding (_+_)
open import Cubical.Data.Nat hiding (elim)
open import Cu... | 34.840491 | 73 | 0.647913 |
fbb4c9e8cba9d4a3c1e71cff9c756bfc823e5c51 | 2,228 | agda | Agda | test/asset/agda-stdlib-1.0/Function/Injection.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/Function/Injection.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Function/Injection.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Injections
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Function.Injection where
open import Function as Fun using () renaming (_∘_ to _⟨∘⟩... | 30.108108 | 72 | 0.460952 |
a1a865a7319f6a4f09f4cbf6bfc1de75dce829b0 | 1,244 | agda | Agda | src/Categories/Examples/Functor/Sets.agda | bond15/categories-examples | adfa1dee4f27286a2943863d7a0302e6ba26fffd | [
"MIT"
] | null | null | null | src/Categories/Examples/Functor/Sets.agda | bond15/categories-examples | adfa1dee4f27286a2943863d7a0302e6ba26fffd | [
"MIT"
] | null | null | null | src/Categories/Examples/Functor/Sets.agda | bond15/categories-examples | adfa1dee4f27286a2943863d7a0302e6ba26fffd | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --without-K #-}
module Categories.Examples.Functor.Sets where
import Data.List as List
import Data.List.Properties
open import Data.Nat using (ℕ)
import Data.Product as Product
import Data.Vec as Vec
import Data.Vec.Properties
open import Function using (id; λ-; _$-)
open import Relation.Binary.Prop... | 28.930233 | 73 | 0.656752 |
5033e93236024db121737029deab4ae6eb93ef3b | 85 | agda | Agda | test/Fail/Sections-15.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Sections-15.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Sections-15.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | open import Common.Prelude
test : Bool → Nat
test = if_then 4 Common.Prelude.else 5
| 17 | 38 | 0.752941 |
cb7b1e8b90a7b2dd7ab0cbe9420322a6ddb0166d | 3,913 | agda | Agda | test/succeed/builtin.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T04:41:05.000Z | 2019-11-27T04:41:05.000Z | test/succeed/builtin.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/builtin.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | module builtin where
data Bool : Set where
false : Bool
true : Bool
not : Bool -> Bool
not true = false
not false = true
_||_ : Bool -> Bool -> Bool
true || _ = true
false || x = x
_&&_ : Bool -> Bool -> Bool
true && x = x
false && _ = false
{-# BUILTIN BOOL Bool #-}
{-# BUILTIN TRUE true #-}
{-# BUILTI... | 23.859756 | 59 | 0.581395 |
1c22c798621cd2a0da031aad2e8ba3d770fb73cd | 6,107 | agda | Agda | fracGC/BackwardsEval.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | fracGC/BackwardsEval.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | fracGC/BackwardsEval.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K --safe #-}
-- Backwards evaluator and the fact that with eval, forms a reversible evaluator
module BackwardsEval where
open import Data.Unit using (tt)
open import Data.Sum using (inj₁; inj₂)
open import Data.Product using (_,_; proj₁; proj₂)
open import Relation.Binary.PropositionalEquality
... | 38.898089 | 102 | 0.607663 |
dcdc65115ed4906e693a1f5eb431addbede43340 | 5,452 | agda | Agda | test/Succeed/Issue473-1606.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue473-1606.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue473-1606.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2015-07-07 continuation of issue 665
-- Jesper, 2015-12-18 some of these don't work anymore with the new unifier,
-- but a few others that weren't accepted are now.
{-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.with.strip:10 #-}
-- {-# OPTIONS -v tc.with.strip:60 -v tc.lhs:20 -v tc.lhs.unify:20 #-}... | 23.704348 | 76 | 0.561996 |
a103ec1b80fab591c16915223676ba6de16f46c8 | 925 | agda | Agda | Cubical/Codata/Everything.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Codata/Everything.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | Cubical/Codata/Everything.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical #-}
module Cubical.Codata.Everything where
open import Cubical.Codata.EverythingSafe public
--- Modules making assumptions that might be incompatible with other
-- flags or make use of potentially unsafe features.
-- Assumes --guardedness
open import Cubical.Codata.Stream public
open import C... | 28.90625 | 68 | 0.787027 |
310141321a2fd5a9dc6d1f5b94bb175a3836e9de | 12,135 | agda | Agda | src/data/lib/prim/Agda/Builtin/Reflection.agda | shlevy/agda | ed8ac6f4062ea8a20fa0f62d5db82d4e68278338 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Reflection.agda | shlevy/agda | ed8ac6f4062ea8a20fa0f62d5db82d4e68278338 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Reflection.agda | shlevy/agda | ed8ac6f4062ea8a20fa0f62d5db82d4e68278338 | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K --safe --no-sized-types --no-guardedness
--no-subtyping #-}
module Agda.Builtin.Reflection where
open import Agda.Builtin.Unit
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Word
open import Agda.Builtin.List
open import Agda.Builtin.String
open... | 37.223926 | 130 | 0.563 |
4d4b7d3db539bf2aba1f58d63df9aa3d9a1e2bea | 12,819 | agda | Agda | Cubical/HITs/Ints/BiInvInt/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/BiInvInt/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/BiInvInt/Base.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {-
Definition of the integers as a HIT ported from the redtt library:
https://github.com/RedPRL/redtt/blob/master/library/cool/biinv-int.red
For the naive, but incorrect, way to define the integers as a HIT, see HITs.IsoInt
This file contains:
- definition of BiInvInt
- proof that Int ≡ BiInvInt
- [discreteBiInvI... | 41.21865 | 108 | 0.478196 |
129068ffb6b5086c5f9c5f495f642a3aa85a7944 | 3,966 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Rational/Base.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Rational/Base.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Rational/Base.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Rational numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Rational.Base where
open import Function using (id)
open import Data.Int... | 26.264901 | 78 | 0.489662 |
0618751cb8ce3ae092a085b160e5ea70622dce2f | 245 | agda | Agda | test/Fail/UselessAbstractField.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/UselessAbstractField.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/UselessAbstractField.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2016-07-17
record R : Set₁ where
abstract
field T : Set
-- Expected error:
--
-- Using abstract here has no effect. Abstract applies only
-- definitions like data definitions, record type definitions and
-- function clauses.
| 20.416667 | 65 | 0.722449 |
312b39f3ce807a901ffad003a0037c20e0c90cdf | 126 | agda | Agda | src/Magma/Properties.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 443e831e536b756acbd1afd0d6bae7bc0d288048 | [
"MIT"
] | 2 | 2021-08-15T06:16:13.000Z | 2021-08-17T09:14:03.000Z | src/Magma/Properties.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 443e831e536b756acbd1afd0d6bae7bc0d288048 | [
"MIT"
] | 2 | 2021-10-04T05:30:30.000Z | 2021-10-09T08:24:56.000Z | src/Magma/Properties.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 443e831e536b756acbd1afd0d6bae7bc0d288048 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Algebra
module Magma.Properties
{a ℓ} (M : Magma a ℓ) where
open Magma M
| 12.6 | 34 | 0.650794 |
5073339a3b30821e9fea28092bdfea3e2359aedd | 3,548 | agda | Agda | Cubical/Categories/Functor/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Categories/Functor/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Categories/Functor/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Categories.Functor.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function renaming (_∘_ to _◍_)
open import Cubical.Foundations.GroupoidLaws using (lUnit; rUnit; assoc; cong-∙)
open import Cubical.Categories.Category
open import Cubical.... | 30.324786 | 116 | 0.444476 |
10c75a554c1efe786a6d1ad13c0734bb7a497375 | 372 | agda | Agda | test/Succeed/Issue1701/ModParamsToLose.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1701/ModParamsToLose.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1701/ModParamsToLose.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Issue1701.ModParamsToLose where
module Param (A : Set) where
module R (B : Set) (G : A → B) where
F = G
private
module Tmp (B : Set) (G : A → B) where
module r = R B G
open Tmp public
module Works (A : Set) where
module ParamA = Param A
open ParamA
works : (A → A) → A → A
works G ... | 16.173913 | 41 | 0.586022 |
1d3254a1b1c7631e1c1d0de4294470d51e6f507d | 4,590 | agda | Agda | src/FRP/LTL/Time/Bound.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 21 | 2015-07-02T20:25:05.000Z | 2020-06-15T02:51:13.000Z | src/FRP/LTL/Time/Bound.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 2 | 2015-03-01T07:01:31.000Z | 2015-03-02T15:23:53.000Z | src/FRP/LTL/Time/Bound.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 3 | 2015-03-01T07:33:00.000Z | 2022-03-12T11:39:04.000Z | open import Data.Nat using ( ℕ ; zero ; suc )
open import Data.Product using ( ∃ ; _×_ ; _,_ )
open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ )
open import Relation.Binary.PropositionalEquality using ( _≡_ ; _≢_ ; refl ; cong )
open import Relation.Nullary using ( ¬_ )
open import FRP.LTL.Time using
( Time ; _<_ ; _... | 31.22449 | 97 | 0.439651 |
31938b3085d821d10682e974e9ce965293cc10a5 | 328 | agda | Agda | src/plfa-code/Reasoning-legacy.agda | chirsz-ever/plfa-code | ec5b359a8c22bf5268cae3c36a97e6737c75d5f3 | [
"MIT"
] | null | null | null | src/plfa-code/Reasoning-legacy.agda | chirsz-ever/plfa-code | ec5b359a8c22bf5268cae3c36a97e6737c75d5f3 | [
"MIT"
] | null | null | null | src/plfa-code/Reasoning-legacy.agda | chirsz-ever/plfa-code | ec5b359a8c22bf5268cae3c36a97e6737c75d5f3 | [
"MIT"
] | null | null | null | module plfa-code.Reasoning-legacy where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; trans)
infixr 2 _≡⟨_⟩_
infix 3 _∎
_≡⟨_⟩_ : ∀ {A : Set} (x : A) {y z : A}
→ x ≡ y
→ y ≡ z
-------
→ x ≡ z
x ≡⟨ x≡y ⟩ y≡z = trans x≡y y≡z
_∎ : ∀ {A : Set} (x : A)
------
→ x ≡ x
x ∎ ... | 16.4 | 50 | 0.5 |
fb54d9a18d0347188e9c5fb2cf6dec1de0771c0f | 1,248 | agda | Agda | test/Succeed/Issue365.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue365.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue365.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS -v impossible:100 #-}
-- {-# OPTIONS -v tc.cover.cover:10 -v tc.cover.splittree:100 -v tc.cover.strategy:100 -v tc.cc:100 #-}
module Issue365 where
import Common.Level
{- Basic data types -}
data Nat : Set where
zero : Nat
succ : Nat -> Nat
data Fin : Nat -> Set where
fzero : {n : Nat} -> Fin (succ n... | 27.130435 | 103 | 0.495994 |
1d80e50517c60a72585d58151bfe9f3b345ee36c | 292 | agda | Agda | test/Succeed/Issue155.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue155.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue155.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- There was a bug with module application in a let in a
-- parameterised module.
module Issue155 (A : Set) where
module M (Y : Set) where
postulate F : Set → Set
Foo : Set₁
Foo = let module M′ = M A in (B : Set) → M′.F B
record R : Set₁ where
open M A
field
B : Set
C : F A
| 18.25 | 56 | 0.619863 |
2390016b7f8598620612b6776b01138ddcdad131 | 568 | agda | Agda | src/Generic/Test/Data/Product.agda | iblech/Generic | 380554b20e0991290d1864ddf81f0587ec1647ed | [
"MIT"
] | 30 | 2016-07-19T21:10:54.000Z | 2022-02-05T10:19:38.000Z | src/Generic/Test/Data/Product.agda | iblech/Generic | 380554b20e0991290d1864ddf81f0587ec1647ed | [
"MIT"
] | 9 | 2017-04-06T18:58:09.000Z | 2022-01-04T15:43:14.000Z | src/Generic/Test/Data/Product.agda | iblech/Generic | 380554b20e0991290d1864ddf81f0587ec1647ed | [
"MIT"
] | 4 | 2017-07-17T07:23:39.000Z | 2021-01-27T12:57:09.000Z | module Generic.Test.Data.Product where
open import Generic.Main as Main hiding (Σ; proj₁; proj₂; _,′_) renaming (_,_ to _,′_)
infixr 4 _,_
Σ : ∀ {α β} -> (A : Set α) -> (A -> Set β) -> Set (α ⊔ β)
Σ = readData Main.Σ
pattern _,_ x y = !#₀ (relv x ,′ relv y ,′ lrefl)
proj₁ : ∀ {α β} {A : Set α} {B : A -> Set β} -> ... | 28.4 | 97 | 0.482394 |
4de291d84bf8863170d6ff044b4e7af5444955d4 | 5,517 | agda | Agda | Data/List/Proofs/Length.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Data/List/Proofs/Length.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Data/List/Proofs/Length.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Data.List.Proofs.Length where
import Lvl
open import Functional
open import Function.Names as Names using (_⊜_)
open import Data.Boolean
open import Data.List as List
open import Data.List.Functions
open import Logic
open import Logic.Propositional
open import Numeral.Finite
open import Numeral.Natural
open imp... | 40.866667 | 135 | 0.580569 |
cba2af89148bc43f973f694b31fadf1b738def7e | 1,305 | agda | Agda | src/fot/FOTC/Program/SortList/CorrectnessProofATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/SortList/CorrectnessProofATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/SortList/CorrectnessProofATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- The program to sort a list is correct
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorp... | 40.78125 | 78 | 0.540996 |
398be791f0e705877464bf352e83caf8fc168743 | 67 | agda | Agda | test/Fail/UnknownNameInFixityDecl.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/fail/UnknownNameInFixityDecl.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/UnknownNameInFixityDecl.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
module UnknownNameInFixityDecl where
infix 40 _+_
infixr 60 _*_
| 9.571429 | 36 | 0.791045 |
1c07c86a8cf521a3443549b005f3728f98836e00 | 1,424 | agda | Agda | theorems/homotopy/PropJoinProp.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/homotopy/PropJoinProp.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/homotopy/PropJoinProp.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
{- Proof that if [A] and [B] are two propositions, then so is [A * B]. -}
module homotopy.PropJoinProp
{i} {A : Type i} (pA : is-prop A)
{j} {B : Type j} (pB : is-prop B) where
contr-left : (a : A) → is-contr (A * B)
contr-left a = left a , Pushout-elim
... | 39.555556 | 98 | 0.517556 |
1c91cdf988fe14c50e4e57426fcc5160fbedae3d | 1,030 | agda | Agda | src/Dodo/Binary/Flip.agda | sourcedennis/agda-dodo | 376f0ccee1e1aa31470890e494bcb534324f598a | [
"BSD-3-Clause"
] | null | null | null | src/Dodo/Binary/Flip.agda | sourcedennis/agda-dodo | 376f0ccee1e1aa31470890e494bcb534324f598a | [
"BSD-3-Clause"
] | null | null | null | src/Dodo/Binary/Flip.agda | sourcedennis/agda-dodo | 376f0ccee1e1aa31470890e494bcb534324f598a | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Dodo.Binary.Flip where
-- Stdlib imports
open import Level using (Level; _⊔_)
open import Function.Base using (flip)
open import Relation.Binary using (Rel; REL)
open import Relation.Binary using (Symmetric)
-- Local imports
open import Dodo.Binary.Equality
-- # Operations
... | 23.409091 | 67 | 0.58932 |
cb3f8ef4cb8b33eda4dbd94d1319bf90dbd7d504 | 493 | agda | Agda | test/Succeed/Issue2727-1.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2727-1.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2727-1.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.Equality using (_≡_; refl)
record ⊤ : Set where
no-eta-equality
constructor tt
data Box (A : Set) : Set where
[_] : A → Box A
Unit : Set
Unit = Box ⊤
F : Unit → Set → Set
F [ _ ] x = x
G : {P : Unit → Set} → ((x : ⊤) → P [ x ]) → ((x : Unit) → P x)
G f [ x ] = f x
record R : Set₁ wh... | 14.939394 | 63 | 0.521298 |
df90d73942af7797d1fc66d2d4786c8a5fcd1687 | 294 | agda | Agda | test/Succeed/IgnoreWarnings.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/IgnoreWarnings.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/IgnoreWarnings.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | module IgnoreWarnings where
-- all of the following files have warnings, which should be ignored
-- because of the command-line flag
import Issue2243
import Issue708quote
import OldCompilerPragmas
import RewritingEmptyPragma
import Unreachable
-- this should also be ignored
{-# REWRITE #-}
| 21 | 68 | 0.806122 |
d0e168068c0be7f0c3803fabc2ef853d5517ddf7 | 228 | agda | Agda | test/Succeed/Issue3779.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3779.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3779.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.Equality
variable
A B : Set
f g : A
postulate
F : Set → Set
map : (A → B) → F A → F B
lemma : (x : F A) → map (λ x → f (g x)) x ≡ map f (map g x) → F A
lemma {A = A} {f = f} {g = g} x _ = x
| 17.538462 | 65 | 0.491228 |
128fe84107a14d9e75be69bf0356938e0b1a91fb | 407 | agda | Agda | test/Succeed/Issue253.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue253.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue253.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --universe-polymorphism --allow-unsolved-metas #-}
module Issue253 where
open import Common.Level
data Id l (X : Set l)(x : X) : X → Set where
refl : Id l X x x
resp : (A B : Set _) → Id _ (Set _) A B → Set
resp _ _ eq with eq
resp ._ _ eq | refl = Level
{-
An internal error has occurred. Please repo... | 23.941176 | 65 | 0.670762 |
dcd474bf834f389f776539f848f3a78ff5a73950 | 2,450 | agda | Agda | prototyping/Luau/OpSem.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | 1 | 2022-02-11T21:30:17.000Z | 2022-02-11T21:30:17.000Z | prototyping/Luau/OpSem.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | prototyping/Luau/OpSem.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | module Luau.OpSem where
open import Agda.Builtin.Equality using (_≡_)
open import FFI.Data.Maybe using (just)
open import Luau.Heap using (Heap; _≡_⊕_↦_; lookup; function_⟨_⟩_end)
open import Luau.Substitution using (_[_/_]ᴮ)
open import Luau.Syntax using (Expr; Stat; Block; nil; addr; var; function⟨_⟩_end; _$_; block... | 26.344086 | 148 | 0.358776 |
06281ff4a3b24df6b720b8c6673f9ed66ec9906f | 4,473 | agda | Agda | archive/agda-3/src/Oscar/Class/Thickandthin.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-3/src/Oscar/Class/Thickandthin.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/Thickandthin.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
open import Oscar.Prelude
open import Oscar.Class.Successor₀
open import Oscar.Class.Successor₁
open import Oscar.Class.Injectivity
open import Oscar.Class.Pure
module Oscar.Class.Thickandthin where
module _
{x} {X : Ø x} {a} (A : X → Ø a) {b} (B : X → Ø b)
where
record [𝓣hin] : Ø₀ where
no-eta-equality
... | 26.625 | 112 | 0.484239 |
cb9a12dafe1220a44931aa8fda459e474b29705f | 11,400 | agda | Agda | agda/Syntax.agda | agda/agda-spec | 7ef5f2fd8057b27fd3bc9d171283ccaeceec9c79 | [
"Unlicense"
] | 24 | 2017-05-09T12:25:36.000Z | 2021-08-15T09:09:08.000Z | agda/Syntax.agda | agda/agda-spec | 7ef5f2fd8057b27fd3bc9d171283ccaeceec9c79 | [
"Unlicense"
] | 4 | 2017-05-12T12:33:48.000Z | 2019-01-13T13:00:20.000Z | agda/Syntax.agda | agda/agda-spec | 7ef5f2fd8057b27fd3bc9d171283ccaeceec9c79 | [
"Unlicense"
] | 3 | 2017-05-11T10:44:08.000Z | 2022-03-12T11:40:50.000Z | -- TODO: use StrictTotalOrder for QName representation
module Syntax (QName : Set) where
open import Data.Nat.Base
open import Data.Nat.Properties using (+-suc; +-identityʳ)
open import Data.List.Base hiding (_∷ʳ_)
open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong; sym; trans)
-- Well-scoped d... | 30.894309 | 104 | 0.593333 |
cb5a3be9fb4d595ad18327e46cb885b084cf6247 | 2,943 | agda | Agda | Perm.agda | pigworker/InteriorDesign | 454cdd18f56db0b0d1643a1fcf36951b5ece395c | [
"BSD-3-Clause"
] | 6 | 2018-06-18T15:25:39.000Z | 2018-07-31T02:00:13.000Z | Perm.agda | pigworker/InteriorDesign | 454cdd18f56db0b0d1643a1fcf36951b5ece395c | [
"BSD-3-Clause"
] | null | null | null | Perm.agda | pigworker/InteriorDesign | 454cdd18f56db0b0d1643a1fcf36951b5ece395c | [
"BSD-3-Clause"
] | null | null | null | module Perm where
open import Basics
open import All
open import Splitting
data _~_ {X : Set} : List X -> List X -> Set where
[] : [] ~ []
_,-_ : forall {x xs ys zs} -> (x ,- []) <[ ys ]> zs -> xs ~ zs -> (x ,- xs) ~ ys
permute : {X : Set}{xs ys : List X} -> xs ~ ys ->
{P : X -> Set} -> All P xs -> All... | 36.333333 | 97 | 0.475025 |
20a8a69b21353c71663d8e3e00ef2e7db10a4920 | 6,164 | agda | Agda | bool-thms2.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | bool-thms2.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | bool-thms2.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | module bool-thms2 where
open import bool
open import eq
open import product
open import sum
ff-imp : ∀ (b : 𝔹) → ff imp b ≡ tt
ff-imp ff = refl
ff-imp tt = refl
imp-tt : ∀ (b : 𝔹) → b imp tt ≡ tt
imp-tt ff = refl
imp-tt tt = refl
imp-ff : ∀ (b : 𝔹) → b imp ff ≡ ~ b
imp-ff tt = refl
imp-ff ff = refl
tt-imp : ∀ (... | 25.056911 | 108 | 0.482641 |
4a3ea03d92ba84874d98a5ac2169f34552095cd8 | 2,510 | agda | Agda | test/Succeed/Issue2211.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2211.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2211.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-11-03, issue #2211
-- The occurs check did not take variables labeled as `UnusedArg`
-- on the left hand side into consideration.
-- {-# OPTIONS -v tc.check.term:40 #-}
-- {-# OPTIONS -v tc.meta:45 #-}
-- {-# OPTIONS -v tc.polarity:20 #-}
open import Agda.Builtin.Equality
open import Common.Nat
cong... | 33.466667 | 95 | 0.517928 |
1010e6175276654524de33021b215d27e60f4ee3 | 632 | agda | Agda | test/Succeed/Issue1466.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1466.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1466.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
postulate
P : {A : Set} → A → A → Set
p : {A : Set} {x : A} → P x x
q : {A : Set} (x : A) {y : A} → P x y → P x y
A : Set
record R (F : Set → Set) : Set₁ where
field
f₁ : (A → A) → F A → F A
f₂ : P (f₁ (λ x → x)) (λ (x : F A) → x)
open R ⦃ … ⦄ public
instance
r : R (λ O → O → O)
r = record
... | 18.057143 | 63 | 0.482595 |
069cfd5e0c3344db44a5b6f8356b35b06be2859c | 139 | agda | Agda | Cubical/HITs/Sn.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/Sn.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/Sn.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.HITs.Sn where
open import Cubical.HITs.Sn.Base public
open import Cubical.HITs.Sn.Properties public
| 23.166667 | 45 | 0.769784 |
c57d92a875d6b3161416206d91b6a25b6289fbfc | 795 | agda | Agda | Definition/LogicalRelation/Substitution/Reflexivity.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/LogicalRelation/Substitution/Reflexivity.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/LogicalRelation/Substitution/Reflexivity.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Reflexivity {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.LogicalRelation.Properties
open import Definition.LogicalRelation.Substitution
open import Tools.Product... | 26.5 | 85 | 0.532075 |
a13d4c6036ac96de759b6ca99e68ecbbe14f853d | 5,488 | agda | Agda | GSeTT/Dec-Type-Checking.agda | ThiBen/catt-formalization | ed45935b38d6a86fa662f561866140122ee3dcef | [
"MIT"
] | 2 | 2020-05-01T08:26:53.000Z | 2020-05-20T00:41:09.000Z | GSeTT/Dec-Type-Checking.agda | ThiBen/catt-formalization | ed45935b38d6a86fa662f561866140122ee3dcef | [
"MIT"
] | null | null | null | GSeTT/Dec-Type-Checking.agda | ThiBen/catt-formalization | ed45935b38d6a86fa662f561866140122ee3dcef | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import Agda.Primitive
open import Prelude
open import GSeTT.Syntax
open import GSeTT.Rules
{- Decidability of type cheking for the type theory for globular sets -}
module GSeTT.Dec-Type-Checking where
dec-⊢C : ∀ Γ → dec (Γ ⊢C)
dec-⊢T : ∀ Γ A → dec (Γ ⊢T A)
dec-⊢t : ∀ Γ A t → de... | 54.336634 | 168 | 0.307945 |
dc61078c247d82e863749eca1c842d0244acb52a | 2,683 | agda | Agda | Cats/Util/SetoidMorphism.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | 24 | 2017-11-03T15:18:57.000Z | 2021-08-06T05:00:46.000Z | Cats/Util/SetoidMorphism.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | null | null | null | Cats/Util/SetoidMorphism.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | 1 | 2019-03-18T15:35:07.000Z | 2019-03-18T15:35:07.000Z | {-# OPTIONS --without-K --safe #-}
module Cats.Util.SetoidMorphism where
open import Data.Product using (∃-syntax ; _,_ ; proj₁ ; proj₂)
open import Level using (_⊔_ ; suc)
open import Relation.Binary using (Rel ; Setoid ; IsEquivalence ; _Preserves_⟶_)
open import Relation.Binary.Reasoning.MultiSetoid
open import Ca... | 25.311321 | 84 | 0.469251 |
50e4eccb1bbe32d4822f42a7c144f1e976f96b0a | 4,466 | agda | Agda | agda-stdlib/src/Data/Vec/Recursive.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Vec/Recursive.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Vec/Recursive.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Vectors defined by recursion
------------------------------------------------------------------------
-- What is the point of this module? The n-ary products below are intended
-- to be used with a fixed n, in w... | 29.773333 | 77 | 0.467532 |
3106d0ba190c48ddf107f64dfc5e09269a823266 | 2,529 | agda | Agda | Cubical/Foundations/Equiv/Fiberwise.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Foundations/Equiv/Fiberwise.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Foundations/Equiv/Fiberwise.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.Foundations.Equiv.Fiberwise where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.... | 43.603448 | 140 | 0.474496 |
1cfb8075577fbb8441d11a5b6cb78096beec8e2c | 1,106 | agda | Agda | test/Succeed/NoTerminationCheck.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/NoTerminationCheck.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/NoTerminationCheck.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- 2012-03-08 Andreas
-- 2014-09-09 Andreas, use NON_TERMINATING or TERMINATING instead
postulate A : Set
-- Skipping a single definition: before type signature
{-# NON_TERMINATING #-}
a : A
a = a
-- Skipping a single definition: before first clause
b : A
{-# NON_TERMINATING #-}
b = b
-- Skipping an old-style mut... | 12.021739 | 65 | 0.59132 |
06cf8fb070139a08c022b9939e1a66d673ed3a3e | 109 | agda | Agda | examples/outdated-and-incorrect/Alonzo/RTN.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/Alonzo/RTN.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/Alonzo/RTN.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module RTN where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
{-# BUILTIN NATURAL Nat #-}
| 13.625 | 29 | 0.568807 |
31243912f68f5da76375f7f0822db4f69e8367b0 | 329 | agda | Agda | RefactorAgdaEngine/Test/Tests/output/ImportTests/ExtractDependent.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 5 | 2019-01-31T14:10:18.000Z | 2019-05-03T10:03:36.000Z | RefactorAgdaEngine/Test/Tests/output/ImportTests/ExtractDependent.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 3 | 2019-01-31T08:03:07.000Z | 2019-02-05T12:53:36.000Z | RefactorAgdaEngine/Test/Tests/output/ImportTests/ExtractDependent.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 1 | 2019-01-31T08:40:41.000Z | 2019-01-31T08:40:41.000Z | module ImportTests.ExtractDependent where
open import Data.Bool
open import Data.Nat
open import ExtractDependent
f : ℕ -> Bool
f 0 = false
f _ = true
testApply : Bool
testApply = apply _ _ f 5
testApplyImp : Bool
testApplyImp = applyImp f 6
testApplyImpSameName : Bool
testApplyImpSameName = applyImpSameName {ℕ} ... | 16.45 | 52 | 0.772036 |
4daf49118700d03a4a444d9972030d1970d95eac | 674 | agda | Agda | Lvl/Decidable.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Lvl/Decidable.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Lvl/Decidable.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Lvl.Decidable where
open import Data.Boolean.Stmt
open import Logic.Propositional
open import Logic.Propositional.Theorems
import Lvl
open import Type.Properties.Decidable
open import Type.Properties.Decidable.Proofs
open import Type
private variable ℓ ℓ₁ : Lvl.Level
-- Changing classical propositions' u... | 32.095238 | 90 | 0.759644 |
06ab8a8a37baeb942095a2ba130ac23ad4341791 | 388 | agda | Agda | test/Fail/Issue1615.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue1615.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Fail/Issue1615.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2015-07-22
-- {-# OPTIONS -v tc.term:20 -v tc.meta.assign:10 -v tc.conv.coerce:10 #-}
open import Common.Size
data Nat (i : Size) : Set where
suc : (j : Size< i) → Nat j → Nat i
min : ∀ i → Nat i → Nat i → Nat i
min i (suc j n) (suc k m) = suc i' (min i' n m)
where i' = _
-- Size consistency check... | 24.25 | 74 | 0.610825 |
396f75c2824c15c09bc45cef7a4bf21a88530976 | 2,038 | agda | Agda | agda-stdlib-0.9/src/Category/Monad/Continuation.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/Category/Monad/Continuation.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Category/Monad/Continuation.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- A delimited continuation monad
------------------------------------------------------------------------
module Category.Monad.Continuation where
open import Category.Applicative
open import Category.Applicative... | 32.349206 | 72 | 0.513248 |
dc1037f8af33f940d9bb721a224ab9caa073d193 | 79 | agda | Agda | test/Fail/Issue2442-postulate.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2442-postulate.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2442-postulate.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --safe #-}
module Issue2442-postulate where
postulate
A : Set
| 9.875 | 32 | 0.670886 |
31580d2c0771090906e797c1d5b353bebdf0d44a | 311 | agda | Agda | tree-test.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | tree-test.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | tree-test.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | module tree-test where
open import tree
open import nat
open import bool
open import bool-to-string
open import list
test-tree = node 2 ( (leaf 3) :: (node 4 ( (leaf 5) :: (leaf 7) :: [] )) :: (leaf 6) :: (leaf 7) :: [])
perfect3 = perfect-binary-tree 3 tt
perfect3-string = 𝕋-to-string 𝔹-to-string perfect3 | 23.923077 | 103 | 0.665595 |
4d0fc4f3a9e57ec24290c80a972bad445367cc28 | 1,394 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Table.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Table.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Table.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Fixed-size tables of values, implemented as functions from 'Fin n'.
-- Similar to 'Data.Vec', but focusing on ease of retrieval instead of
-- ease of adding and removing elements.
--------------------------------... | 35.74359 | 80 | 0.52726 |
4db4704446bb53544eaa4cb7d6e75a9124425b2c | 6,309 | agda | Agda | examples/DTP08/conor/Talk.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/DTP08/conor/Talk.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/DTP08/conor/Talk.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-
Data, Deliberately
Conor McBride
Workshop in Dependently Typed Programming
Nottingham, 2008
(Agda rendering by Ulf Norell)
-}
module Talk where
open import SomeBasicStuff
-- Codes for (first order) inductive families.
data Code (I : Set) : Set1 where
arg : (A : Set) -> (A -> Code I) -> Code I
re... | 33.919355 | 85 | 0.507529 |
06e9924320ecb29c1f64a5e28f66532d71f9679e | 127 | agda | Agda | test/interaction/Issue620.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue620.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue620.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Issue620 where
module A where
postulate _+_*_ : Set → Set → Set → Set
postulate X : Set
2X : Set
2X = X A.+ X * X
| 11.545455 | 41 | 0.622047 |
c590af0fad3bdb605cbfb3fdec8ae8a5dafa9578 | 271 | agda | Agda | test/interaction/Issue1325.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue1325.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue1325.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Reported by stevan.andjelkovic, 2014-10-23
-- Case splitting on n in the goal g produces the wrong output, it
-- seems like {n} in f is the problem...
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
f : {_ : ℕ} → Set₁
f {n} = Set
where
g : ℕ → Set
g n = {!n!}
| 16.9375 | 66 | 0.583026 |
1dc02a9ff5e1f8632e5d03e50e920e86fb78af4f | 152 | agda | Agda | test/Succeed/Issue4088.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue4088.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue4088.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.Bool
works : Bool → Bool
works b with b | true
... | b′ | _ = b′
fails : Bool → Bool
fails b with b′ ← b | true
... | _ = b′
| 15.2 | 29 | 0.572368 |
a121546e099b4d0ad86d20fc5de2c6eb2788274f | 670 | agda | Agda | vendor/stdlib/src/Relation/Binary/EqReasoning.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 56 | 2015-01-20T02:11:42.000Z | 2021-12-21T17:02:19.000Z | vendor/stdlib/src/Relation/Binary/EqReasoning.agda | larrytheliquid/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 1 | 2022-03-12T12:17:51.000Z | 2022-03-12T12:17:51.000Z | vendor/stdlib/src/Relation/Binary/EqReasoning.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 3 | 2015-07-21T16:37:58.000Z | 2022-03-12T11:54:10.000Z | ------------------------------------------------------------------------
-- Convenient syntax for equational reasoning
------------------------------------------------------------------------
-- Example use:
-- n*0≡0 : ∀ n → n * 0 ≡ 0
-- n*0≡0 zero = refl
-- n*0≡0 (suc n) =
-- begin
-- suc n * 0
-- ≈⟨ byDe... | 22.333333 | 72 | 0.401493 |
0bfefcf221636760d53f4e2dc4cdf59fd3f295db | 13,664 | agda | Agda | 04-cubical-type-theory/material/Part1.agda | bafain/EPIT-2020 | 34742c0409818f8fe581ffc92992d1b5f29f6b47 | [
"MIT"
] | 97 | 2021-03-19T14:13:37.000Z | 2022-03-15T13:58:25.000Z | 04-cubical-type-theory/material/Part1.agda | bafain/EPIT-2020 | 34742c0409818f8fe581ffc92992d1b5f29f6b47 | [
"MIT"
] | 2 | 2021-03-31T18:27:23.000Z | 2021-04-13T09:03:56.000Z | 04-cubical-type-theory/material/Part1.agda | bafain/EPIT-2020 | 34742c0409818f8fe581ffc92992d1b5f29f6b47 | [
"MIT"
] | 14 | 2021-03-19T12:36:53.000Z | 2022-03-22T19:37:21.000Z | {-
Part 1: The interval and path types
• The interval in Cubical Agda
• Path and PathP types
• Function extensionality
• Equality in Σ-types
-}
-- To make Agda cubical add the following option
{-# OPTIONS --cubical #-}
module Part1 where
-- To load an Agda file type "C-c C-l" in emacs (the notation "C-c"
-- means ... | 36.731183 | 92 | 0.625585 |
0e141fea7a1792714762e3c127daed21cf34e9ca | 1,404 | agda | Agda | Cubical/HITs/GroupoidQuotients/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/GroupoidQuotients/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/GroupoidQuotients/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-
This file contains:
- Definition of groupoid quotients
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.GroupoidQuotients.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Relation.Binary.Base
-- Groupoid quotients as a higher inductive type:
-- For the definition, ... | 31.909091 | 73 | 0.478632 |
204aca68e92a50a869b23ed561d2c359e9c7e7d7 | 4,074 | agda | Agda | Formalization/ClassicalPropositionalLogic/NaturalDeduction.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Formalization/ClassicalPropositionalLogic/NaturalDeduction.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Formalization/ClassicalPropositionalLogic/NaturalDeduction.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Formalization.ClassicalPropositionalLogic.NaturalDeduction where
open import Data.Either as Either using (Left ; Right)
open import Formalization.ClassicalPropositionalLogic.Syntax
open import Functional
import Lvl
import Logic.Propositional as Meta
open import Logic
open import Relator.Equals
open im... | 40.74 | 159 | 0.476436 |
0e0b30442d3498a0d2177ebb8aa17e203e178a2e | 612 | agda | Agda | agda-stdlib/src/Algebra/FunctionProperties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Algebra/FunctionProperties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Algebra/FunctionProperties.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 `Algebra` or
-- `Algebra.Definitions` instead.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relat... | 29.142857 | 73 | 0.560458 |
1dc00c0e89b3d9eb33593835750b2a2981210699 | 427 | agda | Agda | Cats/Util/Function.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Util/Function.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Util/Function.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | module Cats.Util.Function where
open import Relation.Binary using (Rel ; IsEquivalence ; _Preserves₂_⟶_⟶_)
open import Relation.Binary.PropositionalEquality as ≡
open import Function as Fun public using (id ; _on_)
open import Relation.Binary.Construct.On public
renaming (isEquivalence to on-isEquivalence)
infixr... | 26.6875 | 79 | 0.688525 |
50e8b091cc4666b4fb34c02034c931a032d8a1d5 | 6,405 | agda | Agda | RW/RW.agda | VictorCMiraldo/agda-rw | 2856afd12b7dbbcc908482975638d99220f38bf2 | [
"MIT"
] | 16 | 2015-02-09T15:43:38.000Z | 2019-10-24T17:38:20.000Z | RW/RW.agda | VictorCMiraldo/agda-rw | 2856afd12b7dbbcc908482975638d99220f38bf2 | [
"MIT"
] | 4 | 2015-02-06T15:03:33.000Z | 2015-05-28T14:48:03.000Z | RW/RW.agda | VictorCMiraldo/agda-rw | 2856afd12b7dbbcc908482975638d99220f38bf2 | [
"MIT"
] | null | null | null | open import Prelude
open import Reflection renaming (Term to AgTerm; Type to AgType)
open import Data.String using (String)
open import RW.Language.RTerm
open import RW.Language.RTermUtils
open import RW.Language.FinTerm
open import RW.Language.GoalGuesser 1
open import RW.Strategy
module RW.RW (db : TStratDB) where... | 36.392045 | 103 | 0.587822 |
0b2f9926d1b82b7faa7b727f9e66c1757b0b90f7 | 9,090 | agda | Agda | Cubical/Algebra/Group/Algebra.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/Algebra.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/Algebra.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.Algebra where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function using (_∘_)
open import Cubical.Foundations.GroupoidLaws
op... | 40.4 | 169 | 0.554455 |
a1b3b41ff17c811c4f843efb74a7b79346d70bf1 | 133 | agda | Agda | test/interaction/Issue5392.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue5392.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue5392.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | open import Agda.Primitive
record R (a : Level) : Set (lsuc a) where
field
A : Set a
_ : ∀ a → R {!a!} → Set a
_ = λ _ → R.A
| 14.777778 | 41 | 0.541353 |
23d20c03380a2c2a3b35dab4612ecc1a007b0de9 | 2,554 | agda | Agda | BasicIPC/Metatheory/Gentzen-TarskiConcreteGluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIPC/Metatheory/Gentzen-TarskiConcreteGluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIPC/Metatheory/Gentzen-TarskiConcreteGluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module BasicIPC.Metatheory.Gentzen-TarskiConcreteGluedGentzen where
open import BasicIPC.Syntax.Gentzen public
open import BasicIPC.Semantics.TarskiConcreteGluedGentzen public
-- Internalisation of syntax as syntax representation in a particular model.
module _ {{_ : Model}} where
[_] : ∀ {A Γ} → Γ ⊢ A → Γ [⊢] A
... | 25.287129 | 76 | 0.525059 |
0ed9f1b419b0843ce6afa499ffa5bc2fb1797756 | 1,356 | agda | Agda | agda-stdlib/src/Data/These.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/These.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/These.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- An either-or-both data type
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.These where
open import Level
open import Data.Maybe.Base usi... | 24.654545 | 72 | 0.531711 |
a1f9004cfcbb9c8e569aadf52935f6f0fc870dda | 98 | agda | Agda | test/Fail/Issue2788b.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue2788b.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue2788b.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | module _ where
open import Agda.Builtin.Cubical.Glue hiding (primGlue)
primitive
primGlue : _
| 14 | 55 | 0.77551 |
2087b73b991e29a01718384eddf7a8b384a4ebda | 1,882 | agda | Agda | lib/Haskell/Prim/Eq.agda | flupe/agda2hs | 4cb28f1b5032948b19b977b390fa260be292abf6 | [
"MIT"
] | null | null | null | lib/Haskell/Prim/Eq.agda | flupe/agda2hs | 4cb28f1b5032948b19b977b390fa260be292abf6 | [
"MIT"
] | null | null | null | lib/Haskell/Prim/Eq.agda | flupe/agda2hs | 4cb28f1b5032948b19b977b390fa260be292abf6 | [
"MIT"
] | null | null | null |
module Haskell.Prim.Eq where
open import Agda.Builtin.Nat as Nat hiding (_==_)
open import Agda.Builtin.Char
open import Agda.Builtin.Unit
open import Agda.Builtin.List
open import Haskell.Prim
open import Haskell.Prim.Bool
open import Haskell.Prim.Integer
open import Haskell.Prim.Int
open import Haskell.Prim.Word
o... | 23.822785 | 72 | 0.57492 |
50de09183049f52ea7140dd0a8fe00ea5efb98c4 | 16,780 | agda | Agda | Cubical/Algebra/CommRing/Localisation/UniversalProperty.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Localisation/UniversalProperty.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Localisation/UniversalProperty.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | -- We define what it means to satisfy the universal property
-- of localisation and show that the localisation in Base satisfies
-- it. We will also show that the localisation is uniquely determined
-- by the universal property, and give sufficient criteria for
-- satisfying the universal property.
{-# OPTIONS --safe ... | 39.669031 | 103 | 0.455721 |
062577b2443231d4c09f56a3c7077796ce4df15e | 5,953 | agda | Agda | agda/course/2017-conor_mcbride_cs410/CS410-17-master/exercises/CS410-Prelude.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/CS410-Prelude.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/course/2017-conor_mcbride_cs410/CS410-17-master/exercises/CS410-Prelude.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | module CS410-Prelude where
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- Standard Equipment for use in Exercises
------------------------------------------------------------------------------
-----------... | 30.84456 | 89 | 0.38804 |
232dec506d65e172b0332e4f020b67b2d4833d37 | 259 | agda | Agda | test/Succeed/Issue327.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue327.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue327.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Issue327 where
open import Common.Prelude
open import Common.Reflection
_==_ : QName → QName → Bool
_==_ = primQNameEquality
postulate
Dec : Bool → Set
_≟_ : (x y : QName) → Dec (x == y)
Foo : Set₁
Foo with quote Foo ≟ quote Foo
... | _ = Set
| 15.235294 | 36 | 0.656371 |
cb4d744b482df06a13228608fedc24ae4b2e425e | 543 | agda | Agda | archive/agda-1/Foreword.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/Foreword.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/Foreword.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module Foreword where
open import Relation.Binary
--open Setoid ⦃ … ⦄
--open IsEquivalence ⦃ … ⦄
open import Level
record HasEquivalence (A : Set) ℓ : Set (suc ℓ) where
field
_≈_ : Rel A ℓ
⦃ isEquivalence ⦄ : IsEquivalence _≈_
setoid : Setoid _ _
Setoid.Carrier setoid = A
Setoid._≈_ setoid = _≈_
... | 20.884615 | 108 | 0.655617 |
dc8cd2fb2f65dab5377307fbe9196079bc72d32d | 2,832 | agda | Agda | Cats/Category/Setoids/Facts/Products.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Category/Setoids/Facts/Products.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Category/Setoids/Facts/Products.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | module Cats.Category.Setoids.Facts.Products where
open import Data.Product as P using (_,_ ; <_,_>)
open import Relation.Binary using (Setoid)
open import Relation.Binary.Product.Pointwise using (×-setoid)
open import Cats.Category
open import Cats.Category.Setoids as Setoids using (Setoids ; ≈-intro ; ≈-elim)
open i... | 25.285714 | 82 | 0.550847 |
d0f31e6b1aef204686363a5b778e1c3d2f86f445 | 13,436 | agda | Agda | src/STLC/Coquand/Soundness.agda | mietek/coquand-kovacs | bd626509948fbf8503ec2e31c1852e1ac6edcc79 | [
"X11"
] | null | null | null | src/STLC/Coquand/Soundness.agda | mietek/coquand-kovacs | bd626509948fbf8503ec2e31c1852e1ac6edcc79 | [
"X11"
] | null | null | null | src/STLC/Coquand/Soundness.agda | mietek/coquand-kovacs | bd626509948fbf8503ec2e31c1852e1ac6edcc79 | [
"X11"
] | null | null | null | module STLC.Coquand.Soundness where
open import STLC.Coquand.Completeness public
--------------------------------------------------------------------------------
-- Un⟦_⟧
postulate
⟦_⟧Un : ∀ {Γ Ξ A} → {ρ : Γ ⊩⋆ Ξ}
→ (M : Ξ ⊢ A) → Un⋆ ρ
→ Un (⟦ M ⟧ ρ)
-- 𝒰⋆⟦_⟧ₛ
postulate
... | 37.847887 | 131 | 0.295698 |
06a08ba9862731a9ae77d15a9df058acf412901b | 400 | agda | Agda | test/Succeed/ForallForParameters.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/succeed/ForallForParameters.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/ForallForParameters.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | module ForallForParameters
(F : Set -> Set -> Set) X {Y} (Z : F X Y) where
data List A : Set where
[] : List A
_::_ : A -> List A -> List A
module M A {B} (C : F A B) where
data D : Set -> Set where
d : A -> D A
data P A : D A -> Set where
data Q {A} X : P A X -> Set where
module N I J K = ... | 19.047619 | 56 | 0.515 |
4d4fe49170379f518f51cadcef8b16be267ecdbc | 5,663 | agda | Agda | Cubical/Foundations/Isomorphism.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Foundations/Isomorphism.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/Foundations/Isomorphism.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-
Theory about isomorphisms
- Definitions of [section] and [retract]
- Definition of isomorphisms ([Iso])
- Any isomorphism is an equivalence ([isoToEquiv])
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Foundations.Isomorphism where
open import Cubical.Core.Everything
open import Cubical.Fo... | 31.287293 | 95 | 0.515098 |
1d8080ab44a38bbbfa32aab73e9e2ef4d74d52b0 | 9,104 | agda | Agda | Definition/Conversion/Stability.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/Conversion/Stability.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/Conversion/Stability.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Definition.Conversion.Stability where
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Weakening
open import Definition.Conversion
open import Definition.Conversion.Soundness
open import Definit... | 39.072961 | 82 | 0.564477 |
39f267993556ab7f39f70882b16b61889cf6c3b8 | 5,137 | agda | Agda | src/FairSubtyping.agda | boystrange/FairSubtypingAgda | c4b78e70c3caf68d509f4360b9171d9f80ecb825 | [
"MIT"
] | 4 | 2021-07-29T14:32:30.000Z | 2022-01-24T14:38:47.000Z | src/FairSubtyping.agda | boystrange/FairSubtypingAgda | c4b78e70c3caf68d509f4360b9171d9f80ecb825 | [
"MIT"
] | null | null | null | src/FairSubtyping.agda | boystrange/FairSubtypingAgda | c4b78e70c3caf68d509f4360b9171d9f80ecb825 | [
"MIT"
] | null | null | null | -- MIT License
-- Copyright (c) 2021 Luca Ciccone and Luca Padovani
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without limitation the rights to use... | 35.184932 | 94 | 0.640062 |
2f30f271df46533d1b5574e1c6bf8ac088408770 | 9,671 | agda | Agda | Everything.agda | Taneb/agda-categories | 6ebc1349ee79669c5c496dcadd551d5bbefd1972 | [
"MIT"
] | null | null | null | Everything.agda | Taneb/agda-categories | 6ebc1349ee79669c5c496dcadd551d5bbefd1972 | [
"MIT"
] | null | null | null | Everything.agda | Taneb/agda-categories | 6ebc1349ee79669c5c496dcadd551d5bbefd1972 | [
"MIT"
] | null | null | null | import Categories.2-Category
import Categories.2-Functor
import Categories.Adjoint
import Categories.Adjoint.Construction.EilenbergMoore
import Categories.Adjoint.Construction.Kleisli
import Categories.Adjoint.Equivalence
import Categories.Adjoint.Instance.0-Truncation
import Categories.Adjoint.Instance.01-Truncation
i... | 42.416667 | 70 | 0.891221 |
50351e5e07be3e3c974411ecb99e04981e23ad17 | 2,779 | agda | Agda | test/Succeed/Issue3889.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | test/Succeed/Issue3889.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | 6 | 2021-10-18T08:12:24.000Z | 2021-11-24T08:31:10.000Z | test/Succeed/Issue3889.agda | antoinevanmuylder/agda | bd59d5b07ffe02a43b28d186d95e1747aac5bc8c | [
"BSD-2-Clause"
] | null | null | null | -- Andreas, 2019-07-05, during work on issue #3889
-- Test-case for with extracted from the standard library
{-# OPTIONS --cubical-compatible #-}
open import Agda.Primitive
open import Agda.Builtin.Equality
open import Agda.Builtin.List
open import Common.Equality
open import Common.Product
data Any {a}{A : Set a} ... | 33.083333 | 112 | 0.475711 |
39414f23c878d0735f114992c534ef0d74f5a1f4 | 3,917 | agda | Agda | complete-elaboration.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 4 | 2020-10-04T06:45:06.000Z | 2021-12-19T15:38:31.000Z | complete-elaboration.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 9 | 2020-09-30T20:27:56.000Z | 2020-10-20T20:44:13.000Z | complete-elaboration.agda | hazelgrove/hazelnut-livelits-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | null | null | null | open import Nat
open import Prelude
open import core
open import contexts
open import typed-elaboration
open import lemmas-gcomplete
open import lemmas-complete
module complete-elaboration where
mutual
complete-elaboration-synth : ∀{e τ Γ Δ d} →
Γ gcomplete →
... | 55.169014 | 141 | 0.591014 |
1d85d66dfac15f9f6f4b08dae5a3c670b87e3868 | 971 | agda | Agda | src/API/Theorems.agda | algebraic-graphs/alga-theory | 0fdb96c0233d9be83eba637f0434d0fd22aefb1d | [
"MIT"
] | 60 | 2017-12-27T14:57:04.000Z | 2022-03-22T23:05:29.000Z | src/API/Theorems.agda | algebraic-graphs/alga-theory | 0fdb96c0233d9be83eba637f0434d0fd22aefb1d | [
"MIT"
] | 3 | 2018-04-12T16:25:13.000Z | 2018-06-23T13:54:02.000Z | src/API/Theorems.agda | algebraic-graphs/alga-theory | 0fdb96c0233d9be83eba637f0434d0fd22aefb1d | [
"MIT"
] | 6 | 2017-12-17T20:48:20.000Z | 2019-05-09T23:53:28.000Z | module API.Theorems where
open import Algebra.Graph
open import Algebra.Graph.Theorems
open import Algebra.Graph.Reasoning
open import API
open import Prelude
-- vertices [x] == vertex x
vertices-vertex : ∀ {A} {x : A} -> vertices [ x ] ≡ vertex x
vertices-vertex = +identity >> reflexivity
-- edge x y ==... | 37.346154 | 98 | 0.626159 |
cb379832565deac837c97cf191402c20caeca16c | 6,290 | agda | Agda | src/Categories/Category/Equivalence/Properties.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Category/Equivalence/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Category/Equivalence/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
-- A Categorical WeakInverse induces an Adjoint Equivalence
module Categories.Category.Equivalence.Properties where
open import Level
open import Data.Product using (Σ-syntax; _,_; proj₁)
open import Categories.Adjoint.Equivalence using (⊣Equivalence)
open import Categories.Adjoi... | 42.789116 | 172 | 0.499682 |
a1c09b122b71b3dda7a04be6ded3b367e6ccb894 | 2,609 | agda | Agda | src/Web/Semantic/DL/TBox/Model.agda | agda/agda-web-semantic | 8ddbe83965a616bff6fc7a237191fa261fa78bab | [
"MIT"
] | 9 | 2015-09-13T17:46:41.000Z | 2020-03-14T14:21:08.000Z | src/Web/Semantic/DL/TBox/Model.agda | bblfish/agda-web-semantic | 38fbc3af7062ba5c3d7d289b2b4bcfb995d99057 | [
"MIT"
] | 4 | 2018-11-14T02:32:28.000Z | 2021-01-04T20:57:19.000Z | src/Web/Semantic/DL/TBox/Model.agda | bblfish/agda-web-semantic | 38fbc3af7062ba5c3d7d289b2b4bcfb995d99057 | [
"MIT"
] | 3 | 2017-12-03T14:52:09.000Z | 2022-03-12T11:40:03.000Z | open import Data.Product using ( _×_ ; _,_ )
open import Data.Sum using ( inj₁ ; inj₂ )
open import Relation.Binary.PropositionalEquality using ( refl )
open import Relation.Unary using ( _∈_ ; _∉_ ; _⊆_ )
open import Web.Semantic.DL.Concept.Model using
( _⟦_⟧₁ ; ⟦⟧₁-resp-≈ ; ⟦⟧₁-resp-≃; ⟦⟧₁-refl-≃ )
open import Web.... | 43.483333 | 77 | 0.474128 |
0ba2690dcc8d6b793a16dc58b7c7f3b00d68a194 | 705 | agda | Agda | test/succeed/Issue860.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/Issue860.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | null | null | null | test/succeed/Issue860.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
open import Common.Prelude
pattern [_] x = x ∷ []
pattern tail {x} xs = x ∷ xs
length : ∀ {A} → List A → Nat
length [] = 0
length [ _ ] = 1
length (tail [ _ ]) = 2
length (tail (tail xs)) = 2 + length xs
data Vec (A : Set) : Nat → Set where
nil : Vec A 0
cons : ∀ n → A → Vec A n → Vec A (suc n)
pattern _∷v_ {n... | 22.741935 | 95 | 0.567376 |
200bba6fb29fcf7952b65d5d4a03c459cbfaa718 | 17,802 | agda | Agda | src/Categories/Adjoint/Properties.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Adjoint/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Adjoint/Properties.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.Adjoint.Properties where
open import Level
open import Data.Product using (Σ; _,_; -,_; proj₂; uncurry)
open import Function.Base using (_$_)
open import Categories.Adjoint using (_⊣_; Adjoint)
open import Categories.Adjoint.Equivalents using (Hom-NI′⇒Adjoint)
ope... | 47.983827 | 124 | 0.49545 |
df9db6d4aa8d7194f181591437946aacad07c90a | 3,116 | agda | Agda | theorems/stash/NConnected.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | theorems/stash/NConnected.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | theorems/stash/NConnected.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 experimental.NConnected where
lemma₁ : ∀ {i j} {A : Type i} {B : Type j} (f : A → B) {n : ℕ₋₂}
→ is-connected n A → is-connected (S n) B
→ has-conn-fibers n f
lemma₁ f cA cB = λ b → Σ-conn cA (λ a → path-conn cB)
lemma₂ : ∀ {i} {A B C : T... | 31.795918 | 80 | 0.413992 |
50fc40fbd27301798899163254b37bff654c6097 | 2,139 | agda | Agda | src/MLib/Fin/Parts/Nat/Simple/Properties.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | src/MLib/Fin/Parts/Nat/Simple/Properties.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | src/MLib/Fin/Parts/Nat/Simple/Properties.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | module MLib.Fin.Parts.Nat.Simple.Properties where
open import MLib.Prelude
open import MLib.Fin.Parts.Nat
import MLib.Fin.Parts.Nat.Simple as S
module P a b = Partsℕ (S.repl a b)
open Nat using (_*_; _+_; _<_)
open Fin using (toℕ; fromℕ≤)
open List
fromAny : ∀ a b → Any Fin (S.repl a b) → ℕ × ℕ
fromAny zero b ()
f... | 41.941176 | 132 | 0.57597 |
dc3187c9ca4a90b97cedf2102015af2a03a5385f | 749 | agda | Agda | test/Fail/Issue4560NoPatternMatchingWithoutEta.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue4560NoPatternMatchingWithoutEta.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue4560NoPatternMatchingWithoutEta.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2020-04-19, issue #4560, raised by Andrea
-- Having both matching on constructor and copattern matching
-- for non-eta records leads to loss of subject reduction.
open import Agda.Builtin.Equality
postulate
A : Set
a : A
record R : Set where
constructor con
no-eta-equality
field
X Y : A
fo... | 19.710526 | 64 | 0.676903 |
0b1321cdee65f44fb01d233f67f2d769f008ea23 | 1,772 | agda | Agda | test/Succeed/Issue2046.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2046.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2046.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-12-12, issue #2046, reported by Nad
-- Parameter refinement broke the size solver.
-- {-# OPTIONS -v tc.size.solve:100 #-}
-- {-# OPTIONS -v tc.constr.cast:100 #-}
-- -- {-# OPTIONS -v tc.sig.param:60 #-}
-- -- {-# OPTIONS -v tc.check.internal:100 #-}
-- -- {-# OPTIONS -v interaction.give:100 #-}
{-#... | 22.717949 | 55 | 0.586907 |
4d08af6fce367c02c9be2b5e4f00810d9fcad85d | 1,507 | agda | Agda | src/Categories/Category/Instance/Zero.agda | glittershark/agda-categories | 2128fab9e8d341364cbf784bb17c547bf73891de | [
"MIT"
] | null | null | null | src/Categories/Category/Instance/Zero.agda | glittershark/agda-categories | 2128fab9e8d341364cbf784bb17c547bf73891de | [
"MIT"
] | null | null | null | src/Categories/Category/Instance/Zero.agda | glittershark/agda-categories | 2128fab9e8d341364cbf784bb17c547bf73891de | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Level
-- ⊥ is Initial
module Categories.Category.Instance.Zero where
open import Data.Empty using (⊥; ⊥-elim)
open import Function renaming (id to idf)
open import Categories.Category
open import Categories.Functor
open import Categories.Category.Instance.Cats
import ... | 26.438596 | 83 | 0.474453 |
a1a8e42c3cd6a403004da25e0dd3bc4da2ddd289 | 2,513 | agda | Agda | examples/outdated-and-incorrect/Alonzo/PrintFloat.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/outdated-and-incorrect/Alonzo/PrintFloat.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/outdated-and-incorrect/Alonzo/PrintFloat.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | module PrintFloat where
import AlonzoPrelude
import PreludeShow
import PreludeList
import PreludeString
import PreludeNat
open AlonzoPrelude
open PreludeShow
open PreludeList, hiding(_++_)
open PreludeString
open PreludeNat
typeS : Char -> Set
typeS 'f' = Float
show : (c : Char) -> (typeS c) -> String
show 'f' f = s... | 31.024691 | 75 | 0.58655 |
cb9c1d567807cc2e3375051883aeec957dc7e49f | 3,485 | agda | Agda | archive/agda-2/Oscar/Property/Preservativity.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-2/Oscar/Property/Preservativity.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-2/Oscar/Property/Preservativity.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module Oscar.Property.Preservativity where
open import Oscar.Level
open import Oscar.Relation
record Preservativity
{a} {A : Set a} {b} {B : A → Set b} {c} {C : (x : A) → B x → Set c}
(_▻₁_ : (x : A) → (y : B x) → C x y)
{d} {D : Set d} {e} {E : D → Set e} {f} {F : (x : D) → E x → Set f}
(_▻₂_ : (x : D) ... | 39.157303 | 203 | 0.356671 |
39af21e3b951dc7c7323e68f809d9a92ea480e53 | 396 | agda | Agda | Cubical/Data/FinSet/Binary/Small/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Data/FinSet/Binary/Small/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Data/FinSet/Binary/Small/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Data.FinSet.Binary.Small.Base where
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Univalence
open import Cubical.Data.Bool hiding (isSetBool)
data Binary : Type₀
El : Binary → Type₀
data Binary where
ℕ₂ : Binar... | 18.857143 | 50 | 0.714646 |
dc9f89657b1f8dfad1923912f3cb0cd0efe31749 | 665 | agda | Agda | archive/agda-1/IsLiteralFormula.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/IsLiteralFormula.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/IsLiteralFormula.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module IsLiteralFormula where
open import OscarPrelude
open import PredicateName
open import Term
open import Formula
open import HasNegation
data IsLiteralFormula : Formula → Set
where
atomic : (𝑃 : PredicateName) → (τs : Terms) → IsLiteralFormula $ 𝑃[ 𝑃 ♭ τs ]
logical : (𝑃 : PredicateName) → (τs : Terms) ... | 31.666667 | 83 | 0.723308 |
4a6b6f7977435f850e3fdcc0f63ee0ef18c27d40 | 6,243 | agda | Agda | canonical-boxed-forms.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 4 | 2020-10-04T06:45:06.000Z | 2021-12-19T15:38:31.000Z | canonical-boxed-forms.agda | hazelgrove/hazel-palette-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | 9 | 2020-09-30T20:27:56.000Z | 2020-10-20T20:44:13.000Z | canonical-boxed-forms.agda | hazelgrove/hazelnut-livelits-agda | c3225acc3c94c56376c6842b82b8b5d76912df2a | [
"MIT"
] | null | null | null | open import Nat
open import Prelude
open import contexts
open import core
open import canonical-value-forms
module canonical-boxed-forms where
canonical-boxed-forms-b : ∀{Δ d} →
Δ , ∅ ⊢ d :: b →
d boxedval →
d == c
canonical-boxed... | 49.15748 | 113 | 0.50024 |
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.