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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22ff552eb7ef647791edf5246b1e83a9862ccf14 | 21,407 | agda | Agda | src/to-string.agda | ice1000/cedille | bf62d3d338809a30bc21a1affed07936b1ac60ac | [
"MIT"
] | null | null | null | src/to-string.agda | ice1000/cedille | bf62d3d338809a30bc21a1affed07936b1ac60ac | [
"MIT"
] | null | null | null | src/to-string.agda | ice1000/cedille | bf62d3d338809a30bc21a1affed07936b1ac60ac | [
"MIT"
] | null | null | null | import cedille-options
module to-string (options : cedille-options.options) where
open import cedille-types
open import constants
open import syntax-util
open import ctxt
open import rename
open import general-util
open import datatype-util
open import type-util
open import free-vars
open import json
data expr-side ... | 36.972366 | 187 | 0.607558 |
2222cc8169baf9b81a23e491999280ae5ddd70af | 3,060 | agda | Agda | OutsideIn/Inference/Separator.agda | liamoc/outside-in | fc1fc1bba2af95806d9075296f9ed1074afa4c24 | [
"BSD-3-Clause"
] | 2 | 2015-09-14T05:22:15.000Z | 2020-11-19T14:30:07.000Z | OutsideIn/Inference/Separator.agda | liamoc/outside-in | fc1fc1bba2af95806d9075296f9ed1074afa4c24 | [
"BSD-3-Clause"
] | null | null | null | OutsideIn/Inference/Separator.agda | liamoc/outside-in | fc1fc1bba2af95806d9075296f9ed1074afa4c24 | [
"BSD-3-Clause"
] | null | null | null | open import OutsideIn.Prelude
open import OutsideIn.X
module OutsideIn.Inference.Separator(x : X) where
import OutsideIn.Constraints as C
open C(x)
open X(x)
open import Data.List hiding (map)
mutual
data SeparatedConstraint (n : Set) : Shape → Set where
SC : ∀ {s} → QConstraint n → Implications n ... | 51 | 127 | 0.558497 |
580c1caf1c0dc1691c654c29770b0a102c6489bb | 1,309 | agda | Agda | LibraBFT/Concrete/System/Parameters.agda | haroldcarr/bft-consensus-agda | 34e4627855fb198665d0c98f377403a906ba75d7 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Concrete/System/Parameters.agda | haroldcarr/bft-consensus-agda | 34e4627855fb198665d0c98f377403a906ba75d7 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Concrete/System/Parameters.agda | haroldcarr/bft-consensus-agda | 34e4627855fb198665d0c98f377403a906ba75d7 | [
"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... | 36.361111 | 111 | 0.686784 |
22d96b16ee01b0ecde767f97499e680e7b06fa92 | 2,846 | agda | Agda | src/Sphere.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Sphere.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Sphere.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Spheres
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
-- This module follows the HoTT book rather closely.
import Equality.Path as P
module Sphere
{e⁺} (eq : ∀ {a p} → P.E... | 33.482353 | 113 | 0.504216 |
3dbd896d2b21a89d97152f7523d609c90fea7db2 | 6,745 | agda | Agda | Ex6AgdaSetup.agda | clarkdm/CS410 | 523a8749f49c914bcd28402116dcbe79a78dbbf4 | [
"CC0-1.0"
] | null | null | null | Ex6AgdaSetup.agda | clarkdm/CS410 | 523a8749f49c914bcd28402116dcbe79a78dbbf4 | [
"CC0-1.0"
] | null | null | null | Ex6AgdaSetup.agda | clarkdm/CS410 | 523a8749f49c914bcd28402116dcbe79a78dbbf4 | [
"CC0-1.0"
] | null | null | null | module Ex6AgdaSetup where
{- This file contains all the basic types you need for the editor. You should
read and understand the Agda in this file, but not bother too much about
the funny compiler directives. -}
open import CS410-Prelude
open import CS410-Nat
record _**_ (S T : Set) : Set where
constructor _,... | 34.948187 | 82 | 0.606968 |
3d84499ce129672577d60e93ffc5685cc5ef34dc | 797 | agda | Agda | Cubical/Categories/Instances/RingAlgebras.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Categories/Instances/RingAlgebras.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Categories/Instances/RingAlgebras.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Categories.Instances.RingAlgebras where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Algebra.Ring
open import Cubical.Algebra.Algebra
open import Cubical.Categories.Category
open Category
open AlgebraHoms
private
variabl... | 27.482759 | 63 | 0.759097 |
4176843ee1ab02be9fea91a03fc8d7c2e16c9e49 | 10,532 | agda | Agda | Cubical/Algebra/CommRing/Localisation/Base.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Localisation/Base.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Localisation/Base.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | -- We define the localisation of a commutative ring
-- at a multiplicatively closed subset and show that it
-- has a commutative ring structure.
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.CommRing.Localisation.Base where
open import Cubical.Foundations.Prelude
open import Cubical.F... | 36.442907 | 101 | 0.476738 |
587a0fc6fd1221bbbb6342d1757fbb08c84ab058 | 1,057 | agda | Agda | SDG/SDG.agda | wrrnhttn/agda-sdg | 6814e6f0baffff35efe14ef70d469343cd9b3ba0 | [
"MIT"
] | 1 | 2020-11-13T09:36:38.000Z | 2020-11-13T09:36:38.000Z | SDG/SDG.agda | wrrnhttn/agda-sdg | 6814e6f0baffff35efe14ef70d469343cd9b3ba0 | [
"MIT"
] | 1 | 2019-07-18T20:00:23.000Z | 2019-09-18T15:47:49.000Z | SDG/SDG.agda | wrrnhttn/agda-sdg | 6814e6f0baffff35efe14ef70d469343cd9b3ba0 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import SDG.Extra.OrderedAlgebra
module SDG.SDG {r₁ r₂} (R : OrderedCommutativeRing r₁ r₂) where
open OrderedCommutativeRing R renaming (Carrier to Rc)
open import Data.Product
open import Data.Sum
open import Algebra
-- note: SDG should probably be a record if i need to
-- u... | 21.571429 | 102 | 0.53737 |
2293081f33f40677c4540163cac255dfc828037e | 51,464 | agda | Agda | test/Hit.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | 3 | 2020-07-31T18:15:26.000Z | 2022-02-19T12:15:21.000Z | test/Hit.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | test/Hit.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts #-}
module Hit where
-- open import Cubical.Core.Everything
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ)
-- open import Cubical.Foundations.Equiv.HalfAdjoint
-- open import Cubical.Data.Sigma.Properties
-- https://en.wikipedia.org/wiki/Inductive_type#Highe... | 49.247847 | 375 | 0.574227 |
5967b522b3ad928c4f85fff6c2e34dda3bf46fc7 | 918 | agda | Agda | test/Compiler/simple/Issue2879-2.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Compiler/simple/Issue2879-2.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/Issue2879-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --sized-types #-}
open import Agda.Builtin.IO
open import Agda.Builtin.Nat
open import Agda.Builtin.Size
open import Agda.Builtin.Unit
mutual
data Delay (A : Set) (i : Size) : Set where
now : A → Delay A i
later : Delay′ A i → Delay A i
record Delay′ (A : Set) (i : Size) : Set where
co... | 21.348837 | 55 | 0.592593 |
3d219df6fed750f6e14b5e7bd801921bc713d36e | 123 | agda | Agda | src/Lemmachine/Default.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 56 | 2015-01-20T02:11:42.000Z | 2021-12-21T17:02:19.000Z | src/Lemmachine/Default.agda | larrytheliquid/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 1 | 2022-03-12T12:17:51.000Z | 2022-03-12T12:17:51.000Z | src/Lemmachine/Default.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 3 | 2015-07-21T16:37:58.000Z | 2022-03-12T11:54:10.000Z | module Lemmachine.Default where
open import Lemmachine
resource : Hooks
resource = []
main = runResolve (toApp resource)
| 15.375 | 34 | 0.780488 |
dfb48363f18780b1dc698f7a2ece994f17e96416 | 438 | agda | Agda | agda/Analysis.agda | halfaya/MusicTools | 04896c61b603d46011b7d718fcb47dd756e66021 | [
"MIT"
] | 28 | 2017-04-21T09:08:52.000Z | 2022-03-04T18:04:07.000Z | agda/Analysis.agda | halfaya/MusicTools | 04896c61b603d46011b7d718fcb47dd756e66021 | [
"MIT"
] | 1 | 2020-11-13T01:26:20.000Z | 2020-11-17T00:58:55.000Z | agda/Analysis.agda | halfaya/MusicTools | 04896c61b603d46011b7d718fcb47dd756e66021 | [
"MIT"
] | 3 | 2019-01-12T17:02:36.000Z | 2020-11-10T04:04:40.000Z | {-# OPTIONS --cubical --safe #-}
module Analysis where
open import Data.List using (List; []; _∷_; map)
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Harmony
open import Music
open import Note
open import Pitch
-- test of analysis
accompF : List Pitch
accompF = f 4 ∷ a 4 ∷ ... | 18.25 | 67 | 0.703196 |
410f71e8fbdd02929432d59d4002b1d9e0d62840 | 4,070 | agda | Agda | src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2021-06-14T11:08:59.000Z | 2021-06-14T11:08:59.000Z | src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2020-05-29T19:45:38.000Z | 2020-05-29T19:45:38.000Z | src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2021-04-18T13:34:07.000Z | 2021-04-18T13:34:07.000Z | {-# OPTIONS --cubical --safe --no-sized-types --no-guardedness
--no-subtyping #-}
module Agda.Builtin.Cubical.Glue where
open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMin to _∧_;
... | 33.360656 | 104 | 0.488698 |
581dcf84137f72aee68d3ad009c20eedaaeed3d9 | 9,254 | agda | Agda | agda-stdlib/src/Data/List/NonEmpty.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/NonEmpty.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/NonEmpty.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Non-empty lists
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.NonEmpty where
open import Level using (Level)
open import Category.... | 28.12766 | 94 | 0.479684 |
3d4f37abb4010a392a951db94d99f6d572433c24 | 1,403 | agda | Agda | src/CF/Transform/Compile/ToJVM.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 6 | 2020-10-07T14:07:17.000Z | 2021-02-28T21:49:08.000Z | src/CF/Transform/Compile/ToJVM.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | null | null | null | src/CF/Transform/Compile/ToJVM.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 1 | 2021-12-28T17:37:15.000Z | 2021-12-28T17:37:15.000Z | {-# OPTIONS --safe #-}
{- A typeclass for converting between type disciplines #-}
module CF.Transform.Compile.ToJVM where
open import Level
open import Function
open import Data.Product as P
open import Data.List as L
open import Data.List.Properties as LP
open import Data.List.Membership.Propositional
open import Da... | 28.06 | 93 | 0.595153 |
1c0ad3acf58efa84553cf3a2ad9ced9369f50afc | 6,268 | agda | Agda | LP/Example.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | LP/Example.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | LP/Example.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | module Example where
import Level
open import Signature
open import Function
open import Data.Empty
open import Data.Unit
open import Data.Nat
open import Data.Fin
open import Data.Product as Prod renaming (Σ to ⨿)
open import Data.Sum as Sum
open import Relation.Nullary
open import Relation.Unary hiding (_⇒_)
open im... | 25.583673 | 80 | 0.424697 |
126624536733f1411c6ad87f0e6cdb262da08472 | 3,300 | agda | Agda | notes/fomega/gadts/ScottVec.agda | Quantum-One-DLT/zerepoch | c8cf4619e6e496930c9092cf6d64493eff300177 | [
"Apache-2.0"
] | null | null | null | notes/fomega/gadts/ScottVec.agda | Quantum-One-DLT/zerepoch | c8cf4619e6e496930c9092cf6d64493eff300177 | [
"Apache-2.0"
] | null | null | null | notes/fomega/gadts/ScottVec.agda | Quantum-One-DLT/zerepoch | c8cf4619e6e496930c9092cf6d64493eff300177 | [
"Apache-2.0"
] | 2 | 2021-11-13T21:25:19.000Z | 2022-02-21T16:38:59.000Z | -- This document shows how to encode GADTs using `IFix`.
{-# OPTIONS --type-in-type #-}
module ScottVec where
-- The kind of church-encoded type-level natural numbers.
Nat = (Set -> Set) -> Set -> Set
zero : Nat
zero = λ f z -> z
suc : Nat -> Nat
suc = λ n f z -> f (n f z)
plus : Nat -> Nat -> Nat
plus = λ n m f ... | 34.736842 | 98 | 0.564848 |
583b88bc2a1e43f53c27d9b9015e23bd09233d3f | 5,100 | agda | Agda | lib/types/Cover.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | lib/types/Cover.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | lib/types/Cover.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.NConnected
open import lib.types.TLevel
open import lib.NType2
open import lib.types.Pi
open import lib.types.Sigma
open import lib.types.Pointed
open import lib.types.LoopSpace
open import lib.types.Truncation
open import lib.types.PathSet
module lib... | 31.875 | 84 | 0.515098 |
a1655f385f50f4351875c40e9cc9918969c56ad0 | 16,082 | agda | Agda | Cubical/HITs/PropositionalTruncation/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/PropositionalTruncation/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/PropositionalTruncation/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-
This file contains:
- Eliminator for propositional truncation
-}
{-# OPTIONS --safe #-}
module Cubical.HITs.PropositionalTruncation.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open imp... | 35.345055 | 118 | 0.482838 |
57541db688aab5a75f2ad4bc90a653ca301dc51d | 1,216 | agda | Agda | test/Succeed/Issue5923-OP.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | test/Succeed/Issue5923-OP.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | test/Succeed/Issue5923-OP.agda | favonia/agda | 8d433b967567c08afe15d04a5cb63b6f6d8884ee | [
"BSD-2-Clause"
] | null | null | null | {-# OPTIONS --type-in-type --rewriting #-}
module _ where
postulate
_≡_ : {A : Set} → A → A → Set
{-# BUILTIN REWRITE _≡_ #-}
record ⊤ : Set where
constructor []
open ⊤
postulate
ID : (Δ : Set) (δ₀ δ₁ : Δ) → Set
ID⊤ : (δ₀ δ₁ : ⊤) → ID ⊤ δ₀ δ₁ ≡ ⊤
Id : {Δ : Set} (A : Δ → Set) {δ₀ δ₁ : Δ} (δ₂ : ID Δ δ₀ δ₁)... | 31.179487 | 111 | 0.449013 |
50cd7f79029681dace27e5584b4127fc1d3d8968 | 3,935 | agda | Agda | src/Relation/Binary/Reduction.agda | Blaisorblade/f-omega-int-agda | ae20dac2a5e0c18dff2afda4c19954e24d73a24f | [
"MIT"
] | 12 | 2017-06-13T16:05:35.000Z | 2021-09-27T05:53:06.000Z | src/Relation/Binary/Reduction.agda | Blaisorblade/f-omega-int-agda | ae20dac2a5e0c18dff2afda4c19954e24d73a24f | [
"MIT"
] | 1 | 2021-05-14T08:09:40.000Z | 2021-05-14T08:54:39.000Z | src/Relation/Binary/Reduction.agda | Blaisorblade/f-omega-int-agda | ae20dac2a5e0c18dff2afda4c19954e24d73a24f | [
"MIT"
] | 2 | 2021-05-13T22:29:48.000Z | 2021-05-14T10:25:05.000Z | ------------------------------------------------------------------------
-- Generic support for reduction relations.
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module Relation.Binary.Reduction where
open import Data.Fin using (Fin)
open import Data.Fin... | 32.254098 | 72 | 0.547903 |
410324c1fc06c4df7fc4574efd0a03493f3c61e7 | 4,733 | agda | Agda | agda-stdlib/src/Data/Fin/Substitution.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Fin/Substitution.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Fin/Substitution.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Substitutions
------------------------------------------------------------------------
-- Uses a variant of Conor McBride's technique from "Type-Preserving
-- Renaming and Substitution".
-- See Data.Fin.Substit... | 25.583784 | 79 | 0.56011 |
3d69989bcce7036a1ea878b36e0938e0f8605d60 | 222 | agda | Agda | test/Fail/Issue274.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue274.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue274.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue274 where
-- data ⊥ : Set where
record U : Set where
inductive
constructor roll
field ap : U → U
-- lemma : U → ⊥
-- lemma (roll u) = lemma (u (roll u))
-- bottom : ⊥
-- bottom = lemma (roll λ x → x)
| 14.8 | 38 | 0.585586 |
1c9a9d1215c2c504d8c2355c3a49be8f78f698dc | 9,278 | agda | Agda | lib/PathOver.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | lib/PathOver.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | lib/PathOver.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.Equivalences
open import lib.Univalence
open import lib.Funext
{- Structural lemmas about paths over paths
The lemmas here have the form
[↓-something-in] : introduction rule for the something
[↓-something-out] : eliminatio... | 34.490706 | 93 | 0.441367 |
577278358495e9bc736dd11129dffc381c2fdd62 | 987 | agda | Agda | lib/types/Bool.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | lib/types/Bool.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | lib/types/Bool.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Pointed
module lib.types.Bool where
data Bool : Type₀ where
true : Bool
false : Bool
⊙Bool : Ptd₀
⊙Bool = ⊙[ Bool , true ]
if_then_else_ : ∀ {i} {A : Bool → Type i}
(b : Bool) (t : A true) (e : A false)
→ A b
if true then t else e = t... | 22.953488 | 63 | 0.670719 |
1c833049ad15f67cb79ab8957c4e415335d17437 | 2,752 | agda | Agda | Cubical/Functions/Surjection.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Functions/Surjection.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Functions/Surjection.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Functions.Surjection where
open import Cubical.Core.Everything
open import Cubical.Data.Sigma
open import Cubical.Data.Unit
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.E... | 33.975309 | 83 | 0.660247 |
58b9197326d21852e004ebe6f91509f560a2dbba | 29,577 | agda | Agda | Cubical/ZCohomology/RingStructure/RingLaws.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/ZCohomology/RingStructure/RingLaws.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/ZCohomology/RingStructure/RingLaws.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.RingStructure.RingLaws where
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function
open import Cubical.Foundations.Path
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open impo... | 43.495588 | 143 | 0.479156 |
319b5160941f08a0daf129896412ac392349b0a5 | 256 | agda | Agda | archive/agda-1/Foundation/Primitive.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/Foundation/Primitive.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/Foundation/Primitive.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module Foundation.Primitive where
open import Agda.Primitive
infix -65536 ℞_
℞_ : ∀ ℓ → Set _
℞_ ℓ = Set ℓ
⟰ : Level → Level
⟰ = lsuc
infix -65536 ℞₁_
℞₁_ : ∀ ℓ → Set _
℞₁_ ℓ = ℞ ⟰ ℓ
𝟘 : Level
𝟘 = lzero
open import Agda.Primitive using (_⊔_) public
| 12.190476 | 45 | 0.628906 |
0ef9241cac1dfc31468ddf49de11acb4d652493c | 973 | agda | Agda | test/Succeed/Issue826-2.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue826-2.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/Issue826-2.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | module Issue826-2 where
open import Common.Coinduction
data _≡_ {A : Set} (x y : A) : Set where
data D : Set where
c : ∞ D → D
delay : D → ∞ D
delay x = ♯ x
data P : D → Set where
o : (x : ∞ D) → P (♭ x) → P (c x)
postulate
h : (x : D) → P x → P x
f : (x : D) → P (c (delay x)) → P x
f x (o .(delay x) p) = ... | 20.702128 | 70 | 0.509764 |
d0daef1cf43cec50a44d4916e8163af0f444bb1a | 520 | agda | Agda | Agda/subrings.agda | UlrikBuchholtz/HoTT-Intro | 1e1f8def50f9359928e52ebb2ee53ed1166487d9 | [
"CC-BY-4.0"
] | 333 | 2018-09-26T08:33:30.000Z | 2022-03-22T23:50:15.000Z | Agda/subrings.agda | UlrikBuchholtz/HoTT-Intro | 1e1f8def50f9359928e52ebb2ee53ed1166487d9 | [
"CC-BY-4.0"
] | 8 | 2019-06-18T04:16:04.000Z | 2020-10-16T15:27:01.000Z | Agda/subrings.agda | UlrikBuchholtz/HoTT-Intro | 1e1f8def50f9359928e52ebb2ee53ed1166487d9 | [
"CC-BY-4.0"
] | 30 | 2018-09-26T09:08:57.000Z | 2022-03-16T00:33:50.000Z | {-# OPTIONS --without-K --exact-split #-}
module subrings where
import rings
open rings public
--------------------------------------------------------------------------------
{- Subrings -}
subset-Ring :
(l : Level) {l1 : Level} → Ring l1 → UU ((lsuc l) ⊔ l1)
subset-Ring l R = type-Ring R → UU-Prop l
is-additi... | 24.761905 | 80 | 0.513462 |
3de5919dcb02720d3ef7d172e70d92b665f47b95 | 1,965 | agda | Agda | src/Nat/Class.agda | iblech/agda-quotients | 1b51e83acf193a556a61d44a4585a6467a383fa3 | [
"MIT"
] | 1 | 2021-04-29T13:10:27.000Z | 2021-04-29T13:10:27.000Z | src/Nat/Class.agda | iblech/agda-quotients | 1b51e83acf193a556a61d44a4585a6467a383fa3 | [
"MIT"
] | null | null | null | src/Nat/Class.agda | iblech/agda-quotients | 1b51e83acf193a556a61d44a4585a6467a383fa3 | [
"MIT"
] | 1 | 2021-04-28T12:49:47.000Z | 2021-04-28T12:49:47.000Z | module Nat.Class where
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
record Nat (ℕ : Set) : Set₁ where
field
zero : ℕ
succ : ℕ → ℕ
ind : (P : ℕ → Set) → P zero → (∀ {k} → P k → P (succ k)) → ∀ n → P n
_+_ : ℕ → ℕ → ℕ
+-zero : ∀ {n} → zero + n ≡ n
+-succ : ∀ {m n} → suc... | 23.963415 | 73 | 0.398982 |
2f201525dcde7a91c5b74009ca20c89911322162 | 4,930 | agda | Agda | Soundness/agda/Soundness.agda | halfaya/Music | 5d9a1bbfbe52f55acf33d960763dce0872689c2b | [
"MIT"
] | 1 | 2020-11-10T04:05:28.000Z | 2020-11-10T04:05:28.000Z | Soundness/agda/Soundness.agda | halfaya/Music | 5d9a1bbfbe52f55acf33d960763dce0872689c2b | [
"MIT"
] | null | null | null | Soundness/agda/Soundness.agda | halfaya/Music | 5d9a1bbfbe52f55acf33d960763dce0872689c2b | [
"MIT"
] | 1 | 2020-11-10T04:05:31.000Z | 2020-11-10T04:05:31.000Z | {-# OPTIONS --without-K --erased-cubical --no-import-sorts #-}
module Soundness where
open import Prelude
open import Instruments
open import MakeTracks using (makeTrackList)
open import Motif using (motif; levels)
open import SUtil
----------------
macro
getDef : Name → Term → TC ⊤
getDef n h = do
d ← get... | 28.830409 | 84 | 0.648682 |
df6277ea7e10158eaac8f5682675f007f660f09d | 393 | agda | Agda | test/Fail/Issue526.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue526.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue526.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- {-# OPTIONS -v 100 -v tc.meta.name:100 -v interactive.meta:10 #-}
module Issue526 where
-- Don't just write _49,
-- include the corresponding implicit variable name as well (if any)
postulate
f : {A : Set} → {a : A} → Set1 → {B : Set} → Set
test : Set
test = f Set
test₁ : Set
test₁ = f {A = _} Set
postulate
... | 15.72 | 68 | 0.608142 |
57ec711c9d5bf581d801b48fd7fc9c583f84bbf7 | 8,863 | agda | Agda | LibraBFT/Base/ByteString.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 4 | 2020-12-16T19:43:41.000Z | 2021-12-18T19:24:05.000Z | LibraBFT/Base/ByteString.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 72 | 2021-02-04T05:04:33.000Z | 2022-03-25T05:36:11.000Z | LibraBFT/Base/ByteString.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 6 | 2020-12-16T19:43:52.000Z | 2022-02-18T01:04:32.000Z | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Prelude
-- To enable reasoning about algorithms that con... | 39.744395 | 111 | 0.573959 |
57b488aa066f504f645028c0c1dac9087970d3cf | 5,767 | agda | Agda | test/epic/RunTests.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | null | null | null | test/epic/RunTests.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | null | null | null | test/epic/RunTests.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | null | null | null | {-# OPTIONS --no-termination-check #-}
module RunTests where
open import Prelude.Bool
open import Prelude.Char
open import Prelude.Nat
open import Prelude.List
open import Prelude.IO
open import Prelude.String
open import Prelude.Unit
open import Prelude.Product
postulate
Stream : Set
popen : String -> String ->... | 31.342391 | 136 | 0.556268 |
12f402ad5e6697cd8b9d0e337fcc96bac9a97e36 | 1,103 | agda | Agda | examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Real/Base.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Real/Base.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Real/Base.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Data.Real.Base where
import Prelude
import Data.Rational
import Data.Nat as Nat
import Data.Bits
import Data.Bool
import Data.Maybe
import Data.Integer
import Data.List
import Data.Real.Gauge
open Prelude
open Data.Rational hiding (_-_; !_!)
open Data.Bits
open Data.Bool
open Data.List
open Data.Integer
... | 20.811321 | 57 | 0.629193 |
292100f630b8f2baf01bdc3b27639d67f81ee656 | 1,584 | agda | Agda | Cubical/Structures/TypeEqvTo.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Structures/TypeEqvTo.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Structures/TypeEqvTo.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Structures.TypeEqvTo where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.HITs.PropositionalTruncation
open import Cubical.Data.Prod hiding (_×_) renaming (_×Σ_ to _×_)
open import Cubical.Foundations.SIP renaming (SNS... | 37.714286 | 88 | 0.661616 |
588b6b85031bd33f53ff1cacbc50a275e9f2805a | 481 | agda | Agda | test/interaction/Issue1790.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/interaction/Issue1790.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue1790.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2016-01-22, issue 1790
-- Projections should be highlighted as such everywhere,
-- even in the parts of a record declaration that
-- make the record constructor type.
record Σ A (B : A → Set) : Set where
field
fst : A
snd : B fst -- fst should be highlighted as projection here
-- Should also wo... | 26.722222 | 64 | 0.673597 |
57afbd3a87871b4aa6661de6ad9394ec40d3018f | 617 | agda | Agda | test/fail/NoPanic.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T04:41:05.000Z | 2019-11-27T04:41:05.000Z | test/fail/NoPanic.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/NoPanic.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | {-# OPTIONS --universe-polymorphism #-}
module NoPanic where
postulate
Level : Set
lzero : Level
lsuc : Level → Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO lzero #-}
{-# BUILTIN LEVELSUC lsuc #-}
module M {A : Set} where
postulate
I : A → ∀ a → Set a
i : ∀ (x : A) {a} → I x a
... | 19.28125 | 59 | 0.604538 |
0e1af70fc12820388e59a4a026d8f4cad4d8f449 | 23,883 | agda | Agda | src/Finite-subset/Kuratowski.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Finite-subset/Kuratowski.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Finite-subset/Kuratowski.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Kuratowski finite subsets
------------------------------------------------------------------------
-- Based on Frumin, Geuvers, Gondelman and van der Weide's "Finite
-- Sets in Homotopy Type Theory".
{-# OPTIONS --cubical --safe #-}
import E... | 30.540921 | 114 | 0.455805 |
31d19632181f2dc8f0f19464b4439ed34a914000 | 4,858 | agda | Agda | src/logic.agda | shinji-kono/HyperReal-in-agda | 64d5f1ec0a6d81b7b9c45a289f669bbf32c9c891 | [
"MIT"
] | null | null | null | src/logic.agda | shinji-kono/HyperReal-in-agda | 64d5f1ec0a6d81b7b9c45a289f669bbf32c9c891 | [
"MIT"
] | null | null | null | src/logic.agda | shinji-kono/HyperReal-in-agda | 64d5f1ec0a6d81b7b9c45a289f669bbf32c9c891 | [
"MIT"
] | null | null | null | module logic where
open import Level
open import Relation.Nullary
open import Relation.Binary hiding (_⇔_ )
open import Data.Empty
data Bool : Set where
true : Bool
false : Bool
record _∧_ {n m : Level} (A : Set n) ( B : Set m ) : Set (n ⊔ m) where
constructor ⟪_,_⟫
field
proj1 : A
proj... | 28.080925 | 87 | 0.502264 |
2920760d05b33f9ce78cf7293983e1e478a34dde | 1,442 | agda | Agda | Setoids/DirectSum.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Setoids/DirectSum.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Setoids/DirectSum.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --safe --warning=error --without-K #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import LogicalFormulae
open import Sets.EquivalenceRelations
open import Setoids.Setoids
module Setoids.DirectSum {m n o p : _} {A : Set m} {B : Set n} (R : Setoid {m} {o} A) (S : Setoid {n} {p} B) where... | 68.666667 | 156 | 0.677531 |
22631d8622c2e30eb542419ea50c184394168738 | 13,166 | agda | Agda | Cubical/ZCohomology/MayerVietorisUnreduced.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/ZCohomology/MayerVietorisUnreduced.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/ZCohomology/MayerVietorisUnreduced.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.ZCohomology.MayerVietorisUnreduced where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.Properties
open import Cubical.ZCohomology.GroupStructure
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function
open import Cubical.Foundations... | 52.454183 | 133 | 0.442352 |
1da4b47799c2d9fdafa63a17c47f652b26840505 | 7,225 | agda | Agda | Structure/OrderedField.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/OrderedField.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/OrderedField.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Structure.OrderedField where
import Lvl
open import Data.Boolean
open import Data.Boolean.Proofs
import Data.Either as Either
open import Data.Tuple as Tuple
open import Functional
open import Logic
open import Logic.Classical
open import Logic.IntroInstances
open import Logic.Propositional
open impor... | 39.917127 | 207 | 0.505052 |
4dd08a6a469b53f09b204d9e2045cefa41681e20 | 4,752 | agda | Agda | BasicT/Metatheory/GentzenNormalForm-Unknown.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicT/Metatheory/GentzenNormalForm-Unknown.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicT/Metatheory/GentzenNormalForm-Unknown.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module BasicT.Metatheory.GentzenNormalForm-Unknown where
open import BasicT.Syntax.GentzenNormalForm public
-- Forcing. (In a particular model?)
infix 3 _⊩_
_⊩_ : Cx Ty → Ty → Set
Γ ⊩ α P = Γ ⊢ⁿᶠ α P
Γ ⊩ A ▻ B = Γ ⊢ⁿᵉ A ▻ B ⊎ ∀ {Γ′} → Γ ⊆ Γ′ → Γ′ ⊩ A → Γ′ ⊩ B
Γ ⊩ A ∧ B = Γ ⊢ⁿᵉ A ∧ B ⊎ Γ ⊩ A × Γ ⊩ B
Γ ⊩ ⊤ = Γ ... | 27.468208 | 80 | 0.481481 |
505cf2e4dffd5df6256f07ca776f249a85888023 | 1,599 | agda | Agda | Cubical/HITs/FiniteMultiset/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/FiniteMultiset/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/FiniteMultiset/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2021-11-22T02:02:01.000Z | 2021-11-22T02:02:01.000Z | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.FiniteMultiset.Base where
open import Cubical.Foundations.Prelude
open import Cubical.HITs.SetTruncation
open import Cubical.Foundations.HLevels
private
variable
ℓ : Level
A : Type ℓ
infixr 5 _∷_
data FMSet (A : Type ℓ) : Type ℓ where
... | 31.352941 | 96 | 0.484678 |
0b1222e2250b2c163aec6deaaf6fb91cff471331 | 8,142 | agda | Agda | Cubical/HITs/Cylinder/Base.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/HITs/Cylinder/Base.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/HITs/Cylinder/Base.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.HITs.Cylinder.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Data.Sigma
open import Cubical.Data.Unit
open import Cubical.Data.Sum using (_⊎_; inl; inr)
open import Cubical... | 30.380597 | 130 | 0.633014 |
5814af5d6f6444f3c3fa158b708322333324e12f | 12,686 | agda | Agda | theorems/cw/cohomology/ReconstructedCochainsEquivCellularCochains.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | theorems/cw/cohomology/ReconstructedCochainsEquivCellularCochains.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | theorems/cw/cohomology/ReconstructedCochainsEquivCellularCochains.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cw.CW
open import cw.FinCW
open import cw.FinBoundary
open import cohomology.Theory
open import cohomology.ChainComplex
module cw.cohomology.ReconstructedCochainsEquivCellularCochains
(OT : OrdinaryTheory lzero) where
open OrdinaryTheory OT
o... | 60.409524 | 121 | 0.590966 |
c7b035d7a9772cfa2fe12b5809254600aad53267 | 3,953 | agda | Agda | Categories/Category/Monoidal/Core.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Monoidal/Core.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Monoidal/Core.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- Definition of Monoidal Category
-- Big design decision that differs from the previous version:
-- Do not go through "Functor.Power" to encode variables and work
-- at the level of NaturalIsomorphisms, instead work at the object/morphism
-- level, v... | 35.936364 | 90 | 0.587655 |
5862f116dfc1fec464774c58da223427ef80d0e8 | 41,822 | agda | Agda | Cubical/Homotopy/Group/Base.agda | MatthiasHu/cubical | 58f2d0dd07e51f8aa5b348a522691097b6695d1c | [
"MIT"
] | 1 | 2022-03-05T00:29:00.000Z | 2022-03-05T00:29:00.000Z | Cubical/Homotopy/Group/Base.agda | snu-development/cubical | 58f2d0dd07e51f8aa5b348a522691097b6695d1c | [
"MIT"
] | null | null | null | Cubical/Homotopy/Group/Base.agda | snu-development/cubical | 58f2d0dd07e51f8aa5b348a522691097b6695d1c | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Group.Base where
open import Cubical.Homotopy.Loopspace
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.Foundations.Pointed.Homogeneous
open import Cubical.Foundations.HLevels
open impor... | 39.529301 | 97 | 0.482186 |
c5f6623984dab95eb06e4ae898cec03e62fb3ab6 | 512 | agda | Agda | test/Fail/Issue2723.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2723.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2723.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2017-08-28, issue #2723, reported by Andrea
{-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS --warning=error #-}
-- {-# OPTIONS -v tc.cover:30 #-}
record Test : Set1 where
field
one two : Set
open Test
foo : Test
foo .one = {!!}
foo = {!!}
foo .two = {!!}
-- WAS: internal error in clause com... | 19.692308 | 63 | 0.658203 |
c59c45abdcf0725c2a4916c93210d4d8e8a71c54 | 814 | agda | Agda | Categories/Category.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Categories.Category where
open import Level
-- The main definitions are in:
open import Categories.Category.Core public
-- Convenience functions for working over mupliple categories at once:
-- C [ x , y ] (for x y objects of C) - Hom_C(x , y)
-- C [ f ≈ g ] (for f g arrows ... | 35.391304 | 105 | 0.562654 |
227a5b13dd7f25afe79aca4e4402cc7814faef67 | 3,416 | agda | Agda | src/Relation/Ternary/Separation/Monad/State/Heap.agda | laMudri/linear.agda | 461077552d88141ac1bba044aa55b65069c3c6c0 | [
"MIT"
] | 34 | 2019-12-20T13:57:50.000Z | 2021-02-03T15:22:33.000Z | src/Relation/Ternary/Separation/Monad/State/Heap.agda | laMudri/linear.agda | 461077552d88141ac1bba044aa55b65069c3c6c0 | [
"MIT"
] | null | null | null | src/Relation/Ternary/Separation/Monad/State/Heap.agda | laMudri/linear.agda | 461077552d88141ac1bba044aa55b65069c3c6c0 | [
"MIT"
] | 2 | 2020-01-30T14:15:14.000Z | 2020-05-23T00:34:36.000Z | open import Data.List
open import Data.Unit
open import Relation.Unary hiding (_∈_)
open import Relation.Unary.PredicateTransformer using (Pt)
open import Relation.Ternary.Separation
open import Relation.Ternary.Separation.Construct.Market
open import Relation.Ternary.Separation.Monad
open import Relation.Ternary.Sepa... | 37.538462 | 99 | 0.643443 |
129b20e931d2ae83feeb6438703247423470e654 | 2,495 | agda | Agda | agda-stdlib/src/Data/Maybe/Relation/Unary/Any.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Maybe/Relation/Unary/Any.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Maybe/Relation/Unary/Any.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Maybes where one of the elements satisfies a given property
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Maybe.Relation.Unary.Any where... | 32.402597 | 81 | 0.521042 |
3d75ba8f5c0ad68ce5be70b8ceccf6359446a423 | 503 | agda | Agda | test/succeed/Epic.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/Epic.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | null | null | null | test/succeed/Epic.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | module Epic where
data Nat : Set where
Z : Nat
S : Nat -> Nat
_+_ : Nat -> Nat -> Nat
Z + m = m
S n + m = S (n + m)
_*_ : Nat -> Nat -> Nat
Z * m = Z
S n * m = m + (n * m)
{-# BUILTIN NATURAL Nat #-}
{-# BUILTIN NATPLUS _+_ #-}
{-# BUILTIN NATTIMES _*_ #-}
data Unit : Set where
unit : Unit
postulate
IO ... | 16.225806 | 89 | 0.540755 |
1cb1faac6f3735b9c1f677b1fd7a0da507f1ec9f | 415 | agda | Agda | test/Fail/Issue3124.agda | alhassy/agda | 6043e77e4a72518711f5f808fb4eb593cbf0bb7c | [
"BSD-3-Clause"
] | 1 | 2021-07-07T10:49:57.000Z | 2021-07-07T10:49:57.000Z | test/Fail/Issue3124.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue3124.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2018-06-10, issue #3124
-- Wrong context for error IrrelevantDatatype in the coverage checker.
data Squash (A : Set) : Prop where
squash : A → Squash A
test : ∀{A} → Squash (Squash A → A)
test = squash λ{ (squash y) → y }
-- WAS: de Bruijn index in error message
-- Expected error:
-- Cannot split on a... | 27.666667 | 70 | 0.698795 |
3d0a12e4cd489739dba01e2b6000ad839e13fefe | 3,864 | agda | Agda | Categories/Category/Monoidal/Closed/IsClosed/Dinatural.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Monoidal/Closed/IsClosed/Dinatural.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Monoidal/Closed/IsClosed/Dinatural.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Category.Monoidal
open import Categories.Category.Monoidal.Closed
module Categories.Category.Monoidal.Closed.IsClosed.Dinatural
{o ℓ e} {C : Category o ℓ e} {M : Monoidal C} (Cl : Closed M) where
open import Data.Product usin... | 49.538462 | 156 | 0.527174 |
2287ab5653500353be0cebfeb8c85251e4713d2a | 346 | agda | Agda | test/Fail/TerminationInfiniteRecord.agda | hborum/agda | aac88412199dd4cbcb041aab499d8a6b7e3f4a2e | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/TerminationInfiniteRecord.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/TerminationInfiniteRecord.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- 2010-10-02, see issue 334
module TerminationInfiniteRecord where
record Empty : Set where
inductive
constructor empty
field
fromEmpty : Empty
elimEmpty : Empty -> Set
elimEmpty (empty e) = elimEmpty e
-- this no longer termination checks
-- and it should not, since it is translated to
-- elimEmpty e' =... | 20.352941 | 47 | 0.731214 |
12a28add40ad5648cd3ef98c0392a376f11ae551 | 395 | agda | Agda | test/interaction/Issue4160.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue4160.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue4160.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --show-implicit #-}
data Bool : Set where
true : Bool
false : Bool
data D : Set where
d : D
data E : Set where
e : E
HSet : Set₁
HSet = {b : Bool} → Set
-- Here HA is HSet
-- The output of this function is the set E, for input HSet G.
⊨_ : HSet → Set
⊨_ HA = HA {true}
G : HSet
G {true} = E
G {... | 13.166667 | 62 | 0.546835 |
2254c1a431bc1b864f4888ffc61787b08c97eb69 | 23 | agda | Agda | test/Succeed/installed-libs/Installed.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/installed-libs/Installed.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/installed-libs/Installed.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Installed where
| 11.5 | 22 | 0.869565 |
3d051057746c25a0f008c09f9481148700a13725 | 16,746 | agda | Agda | Cubical/Data/BinNat/BinNat.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Data/BinNat/BinNat.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | Cubical/Data/BinNat/BinNat.agda | limemloh/cubical | df4ef7edffd1c1deb3d4ff342c7178e9901c44f1 | [
"MIT"
] | null | null | null | {- Binary natural numbers (Anders Mörtberg, Jan. 2019)
This file defines two representations of binary numbers. We prove that
they are equivalent to unary numbers and univalence is then used to
transport both programs and properties between the representations.
This is an example of how having computational univalence... | 33.967546 | 104 | 0.645766 |
dcbe4853d786413d9d8249b745de852e217a1e57 | 1,687 | agda | Agda | test/Succeed/Issue3296.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3296.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3296.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
-- Generalized variables in datatype (and record) parameters
module _ where
open import Agda.Primitive
open import Agda.Builtin.Nat
module NotParameterised where
variable
ℓ : Level
A : Set ℓ
x y : A
m n : Nat
data Vec (A : Set ℓ) : Nat → Set ℓ where
[] : Vec A zero
_∷_ : A → Vec A n →... | 23.760563 | 76 | 0.548903 |
c782aedd1260222a064a36944bc62baa24f938a8 | 793 | agda | Agda | test/asset/agda-stdlib-1.0/Relation/Binary/Properties/StrictPartialOrder.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | test/asset/agda-stdlib-1.0/Relation/Binary/Properties/StrictPartialOrder.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Relation/Binary/Properties/StrictPartialOrder.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties satisfied by strict partial orders
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Relation.Binary.Prop... | 29.37037 | 72 | 0.551072 |
4dcaf0c3519f6020f7229765d7bb2e7c78caa340 | 1,426 | agda | Agda | lib/Haskell/Prim/Word.agda | JonathanBrouwer/agda2hs | dcf63cc7ce51a325a97ac58bdd0aeace24c08b15 | [
"MIT"
] | 55 | 2020-10-20T13:36:25.000Z | 2022-03-26T21:57:56.000Z | lib/Haskell/Prim/Word.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 63 | 2020-10-22T05:19:27.000Z | 2022-02-25T15:47:30.000Z | lib/Haskell/Prim/Word.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 18 | 2020-10-21T22:19:09.000Z | 2022-03-12T11:42:52.000Z |
module Haskell.Prim.Word where
open import Agda.Builtin.Nat
open import Agda.Builtin.Bool
open import Agda.Builtin.List
open import Agda.Builtin.Char
open import Agda.Builtin.String
open import Agda.Builtin.Unit
open import Agda.Builtin.Int using (pos; negsuc)
import Agda.Builtin.Word renaming (Word64 to Word; primW... | 22.634921 | 100 | 0.675316 |
3d8d371cf1d54491a427382446c87e8a97f8dc11 | 170 | agda | Agda | examples/AIM6/Path/All.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/AIM6/Path/All.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/AIM6/Path/All.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module All where
import Prelude
import Star
import Nat
import List
import Vec
import Elem
import Fin
import Modal
import Lambda
import Span
import MapTm
import Examples
| 11.333333 | 16 | 0.835294 |
0b0b3cd4157eb2397de86eb04ab0596df4bcf880 | 3,170 | agda | Agda | Cubical/Categories/Morphism.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Categories/Morphism.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Categories/Morphism.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Morphism where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Categories.Category
private
variable
ℓ ℓ' : Level
module _ {C : Precategory ℓ ℓ'} where
open Precategory C
private
vari... | 27.807018 | 94 | 0.460568 |
4d0b752d0a46f7e30b8485ca8551087eb9c447f5 | 187 | agda | Agda | src/Impure/STLCRef/Readme.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Impure/STLCRef/Readme.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Impure/STLCRef/Readme.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | module Impure.STLCRef.Readme where
open import Impure.STLCRef.Syntax
open import Impure.STLCRef.Welltyped
open import Impure.STLCRef.Eval
open import Impure.STLCRef.Properties.Soundness
| 26.714286 | 47 | 0.855615 |
581611d1662519059668fdc93d65d5e1acf8eb5c | 7,024 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Fin/Base.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Fin/Base.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Fin/Base.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Finite sets
------------------------------------------------------------------------
-- Note that elements of Fin n can be seen as natural numbers in the
-- set {m | m < n}. The notation "m" in comments below re... | 27.015385 | 72 | 0.489749 |
57c03b4c341a1bb31fabe833e57f54941b744ca5 | 301 | agda | Agda | src/JVM/Contexts.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 6 | 2020-10-07T14:07:17.000Z | 2021-02-28T21:49:08.000Z | src/JVM/Contexts.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | null | null | null | src/JVM/Contexts.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 1 | 2021-12-28T17:37:15.000Z | 2021-12-28T17:37:15.000Z | {-# OPTIONS --safe #-}
module JVM.Contexts where
open import JVM.Types
open import Relation.Ternary.Construct.List.Overlapping Ty public
renaming
( overlap-rel to ctx-rel
; overlap-commutative to ctx-commutative
; overlap-semigroup to ctx-semigroup
; overlap-monoid to ctx-monoid)
| 25.083333 | 65 | 0.737542 |
228a0433738d024bd252b33f998d3b871395f288 | 10,952 | agda | Agda | Cubical/Algebra/Group/MorphismProperties.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/MorphismProperties.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/MorphismProperties.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"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... | 38.975089 | 133 | 0.61103 |
22af90c78e6f4d538cff1d0be86b142e6ef1f229 | 1,773 | agda | Agda | agda-stdlib/src/Data/These/Categorical/Left/Base.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/These/Categorical/Left/Base.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/These/Categorical/Left/Base.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Base definitions for the left-biased universe-sensitive functor and
-- monad instances for These.
--
-- To minimize the universe level of the RawFunctor, we require that
-- elements of B are "lifted" to a copy of... | 28.596774 | 73 | 0.565144 |
1232465cf595a8728f2160ca1771d37a220db638 | 1,496 | agda | Agda | test/Common/Reflection.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 4 | 2017-02-24T16:53:22.000Z | 2019-12-23T04:56:23.000Z | test/Common/Reflection.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 6 | 2017-02-24T19:27:31.000Z | 2017-02-24T19:38:17.000Z | test/Common/Reflection.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:39:14.000Z | 2022-03-12T11:39:14.000Z |
module Common.Reflection where
open import Agda.Builtin.Reflection public renaming
( arg-info to argInfo
; function to funDef
; data-type to dataDef
; record-type to recordDef
; agda-sort to sort
; name to qname
; absurd-clause to absurdClause
; pat-lam to extLam
;... | 25.355932 | 96 | 0.65508 |
1d50c2424b2279a5c2a8d38884acec98b76752cb | 1,947 | agda | Agda | Cubical/Data/DiffInt/Properties.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Data/DiffInt/Properties.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | Cubical/Data/DiffInt/Properties.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.DiffInt.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Univalence
open import Cubical.Data.DiffInt.Base
open import Cubical.Data.Nat
open import Cubical.Data.Sigma
open import Cubical.Data.Bool
open import Cubical.Relation... | 35.4 | 115 | 0.546482 |
4161353f8f6296cdc723e6706eeda3cddbcfd5b2 | 3,437 | agda | Agda | Basic/Compiler/SplitCode.agda | AndrasKovacs/SemanticsWithApplications | 05200d60b4a4b2c6fa37806ced9247055d24db94 | [
"MIT"
] | 8 | 2016-09-12T04:25:39.000Z | 2020-02-02T10:01:52.000Z | Basic/Compiler/SplitCode.agda | AndrasKovacs/SemanticsWithApplications | 05200d60b4a4b2c6fa37806ced9247055d24db94 | [
"MIT"
] | null | null | null | Basic/Compiler/SplitCode.agda | AndrasKovacs/SemanticsWithApplications | 05200d60b4a4b2c6fa37806ced9247055d24db94 | [
"MIT"
] | null | null | null |
module Basic.Compiler.SplitCode where
open import Basic.Compiler.Code
open import Basic.AST
open import Basic.BigStep
open import Utils.Monoid
open import Data.Vec hiding (_++_; [_]; _∷ʳ_)
open import Data.Bool renaming (if_then_else_ to ifBool_then_else_)
open import Data.Nat
open import Data.List hiding ([_])
open... | 45.826667 | 78 | 0.508001 |
3d5a5c58b3a112b2ea2697f07e8d3237460d5d5a | 1,915 | agda | Agda | old/Sets/ETCS.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | old/Sets/ETCS.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | old/Sets/ETCS.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | import Lvl
-- TODO: Is it possible formalize this like this? Is it even correct?
-- Based on http://www.maths.ed.ac.uk/~tl/edinburgh_yrm/ (2017-11-22)
module Sets.ETCS where
open import Logic.Propositional
module Theory (S : Set(Lvl.𝟎)) (F : S → S → Set(Lvl.𝟎)) (_∘_ : ∀{a b c} → F(b)(c) → F(a)(b) → F(a)(... | 33.017241 | 159 | 0.513838 |
1c5c3ea1b8d36ac97f119198abbca86d4ea0003d | 7,992 | agda | Agda | core/lib/PathGroupoid.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/PathGroupoid.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/PathGroupoid.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.Base
module lib.PathGroupoid where
module _ {i} {A : Type i} where
{- Concatenation of paths
There are two different definitions of concatenation of paths, [_∙_] and [_∙'_],
with different definitionnal behaviour. Maybe we should have only one but it’s
... | 27.75 | 82 | 0.358609 |
12612c688fac75e20b207f89758fe4af202d918f | 2,572 | agda | Agda | nicolai/anonymousExistence/library/Univalence.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | nicolai/anonymousExistence/library/Univalence.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | null | null | null | nicolai/anonymousExistence/library/Univalence.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import library.Base
open import library.PathGroupoid
open import library.PathFunctor
open import library.Equivalences
module library.Univalence where
{-
The map [coe-equiv] is the map which is supposed to be an equivalence according
to the univalence axiom. We do not define it direct... | 32.974359 | 81 | 0.531104 |
29163360a70a71269dfa046435b5466a1520c953 | 179 | agda | Agda | src/Tactic/Reflection/Quote/Class.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Tactic/Reflection/Quote/Class.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Tactic/Reflection/Quote/Class.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z |
module Tactic.Reflection.Quote.Class where
open import Builtin.Reflection
record Quotable {a} (A : Set a) : Set a where
field
` : A → Term
open Quotable {{...}} public
| 14.916667 | 45 | 0.675978 |
c7bc080f842876b7a6f9640cc85da89d6065a6a6 | 4,804 | agda | Agda | agda/book/Programming_Language_Foundations_in_Agda/x07-747Negation.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 36 | 2015-01-29T14:37:15.000Z | 2021-07-30T06:55:03.000Z | agda/book/Programming_Language_Foundations_in_Agda/x07-747Negation.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/book/Programming_Language_Foundations_in_Agda/x07-747Negation.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | module 747Negation where
-- Library
open import Relation.Binary.PropositionalEquality using (_≡_; refl) -- added last
open import Data.Nat using (ℕ; zero; suc)
open import Data.Empty using (⊥; ⊥-elim)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Data.Product using (_×_; proj₁; proj₂)
-- Negation is defi... | 22.87619 | 81 | 0.598043 |
dc1da6ee49fe5d10a624dc6567741de258045539 | 1,525 | agda | Agda | src/fot/Common/FOL/Relation/Binary/PropositionalEquality.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/Common/FOL/Relation/Binary/PropositionalEquality.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/Common/FOL/Relation/Binary/PropositionalEquality.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Propositional equality
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OP... | 27.727273 | 78 | 0.428197 |
58f1dd9d403e48d95ae9f1b23b356dcb2193dfa3 | 833 | agda | Agda | test/api/PrettyInterface.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/api/PrettyInterface.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/api/PrettyInterface.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- {-# OPTIONS -v 20 #-}
-- {-# OPTIONS -v tc.polarity:30 #-}
-- {-# OPTIONS -v tc.decl:30 #-}
-- {-# OPTIONS -v tc.term:30 #-}
-- {-# OPTIONS -v tc.conv.coerce:20 #-}
-- {-# OPTIONS -v tc.signature:30 #-}
-- {-# OPTIONS -v import.iface:100 #-}
module PrettyInterface where
open import Agda.Primitive
open import Agda.... | 21.921053 | 57 | 0.528211 |
1d71d14468762a1049607a8ce6a921da3f961221 | 2,300 | agda | Agda | src/agda/Vehicle.agda | vehicle-lang/vehicle | 25842faea65b4f7f0f7b1bb11ea6e4bf3f4a59b0 | [
"BSD-3-Clause"
] | 9 | 2022-02-10T12:56:42.000Z | 2022-02-17T18:51:05.000Z | src/agda/Vehicle.agda | vehicle-lang/vehicle | 25842faea65b4f7f0f7b1bb11ea6e4bf3f4a59b0 | [
"BSD-3-Clause"
] | 19 | 2022-03-07T14:09:13.000Z | 2022-03-31T20:49:39.000Z | src/agda/Vehicle.agda | vehicle-lang/vehicle | 25842faea65b4f7f0f7b1bb11ea6e4bf3f4a59b0 | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --allow-exec #-}
open import Agda.Builtin.FromNat
open import Data.Bool.Base using (T; Bool; if_then_else_)
open import Data.String using (String; _++_; lines)
open import Data.Nat.Base using (ℕ)
open import Data.Fin using (Fin)
import Data.Fin.Literals as Fin
import Data.Nat.Literals as Nat
open import D... | 28.04878 | 72 | 0.593478 |
06b8f632a53575ac293a5b5ec2c202f53c9fddbf | 12,986 | agda | Agda | core/lib/types/Truncation.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | core/lib/types/Truncation.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | core/lib/types/Truncation.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.TLevel
open import lib.types.Pi
open import lib.types.Sigma
open import lib.NType2
module lib.types.Truncation where
module _ {i} where
postulate -- HIT
Trunc : (n : ℕ₋₂) (A : Type i) → Type i
[_] : {n : ℕ₋₂} {A : Type i... | 38.082111 | 119 | 0.5 |
c70f9fbb86e3fbdc6a2b41ef575f5e4ed9160e0d | 3,308 | agda | Agda | src/Categories/Functor/Hom.agda | MirceaS/agda-categories | 58e5ec015781be5413bdf968f7ec4fdae0ab4b21 | [
"MIT"
] | null | null | null | src/Categories/Functor/Hom.agda | MirceaS/agda-categories | 58e5ec015781be5413bdf968f7ec4fdae0ab4b21 | [
"MIT"
] | null | null | null | src/Categories/Functor/Hom.agda | MirceaS/agda-categories | 58e5ec015781be5413bdf968f7ec4fdae0ab4b21 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Categories.Functor.Hom where
-- The Hom Functor from C.op × C to Setoids,
-- the two 1-argument version fixing one object
-- and some notation for the version where the category must be made explicit
open import Data.Product
open import Function using () renaming (_∘_ to _∙_)... | 34.458333 | 85 | 0.476421 |
5814a9b79dd221233e777abc8b5205472d162aa3 | 35,894 | agda | Agda | agda/paper/2009-Dependent_Types_at_Work-Bove_and_Dybjer/x01.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 36 | 2015-01-29T14:37:15.000Z | 2021-07-30T06:55:03.000Z | agda/paper/2009-Dependent_Types_at_Work-Bove_and_Dybjer/x01.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/paper/2009-Dependent_Types_at_Work-Bove_and_Dybjer/x01.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | import Relation.Binary.PropositionalEquality as PE
module x01 where
import Data.Empty.Polymorphic as DEP
open import Data.Unit.Polymorphic
import Data.Maybe as Maybe
{-
Dependent Types at Work
Ana Bove and Peter Dybjer
Chalmers University of Technology, Göteborg, Sweden
intro to functional programming with depend... | 34.055028 | 107 | 0.62601 |
10e8f90d8d74f16d43a01cd75daa2e6f142c4216 | 617 | agda | Agda | test/Succeed/Test4687.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Test4687.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Test4687.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
open import Agda.Builtin.List
open import Agda.Builtin.Maybe
data Coercible (A : Set) (B : Set) : Set where
TrustMe : Coercible A B
postulate coerce : {A B : Set} {{_ : Coercible A B}} → A → B
instance
coerce-fun : {A B : Set} {{_ : Coercible A B}}
→ {C D : Set} {{_ : Coe... | 24.68 | 60 | 0.60778 |
1d0dc9bffcde1f2466e2b0dcd55810408de6b61d | 965 | agda | Agda | Cubical/HITs/Rationals/HITQ/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/HITs/Rationals/HITQ/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/Rationals/HITQ/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Rationals.HITQ.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Relation.Nullary
open import Cubical.HITs.Ints.QuoInt
open import Cubical.Data.Nat as ℕ hiding (_·_)
open import Cubica... | 26.081081 | 79 | 0.662176 |
c51ff8f647e1390819c6c6e15cf7ecb74c60c87b | 187 | agda | Agda | test/Succeed/Issue1109.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1109.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1109.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2014-05-02 Negative fixities allow now.
module _ where
infix -1 _+_
infix 0 _*_
postulate
_+_ : Set1 → Set2 → Set1
_*_ : Set2 → Set2 → Set2
test = Set + Set1 * Set1
| 14.384615 | 52 | 0.636364 |
1a088d46445671efd86022bcd99bd7065dd0f168 | 299 | agda | Agda | src/Human/Equality.agda | MaisaMilena/AgdaCalculator | e977a5f2a005682cee123568b49462dd7d7b11ad | [
"MIT"
] | 1 | 2019-03-29T02:30:10.000Z | 2019-03-29T02:30:10.000Z | src/Human/Equality.agda | MaisaMilena/AgdaCalculator | e977a5f2a005682cee123568b49462dd7d7b11ad | [
"MIT"
] | null | null | null | src/Human/Equality.agda | MaisaMilena/AgdaCalculator | e977a5f2a005682cee123568b49462dd7d7b11ad | [
"MIT"
] | null | null | null | module Human.Equality where
data _==_ {A : Set} (x : A) : A -> Set where
refl : x == x
{-# BUILTIN EQUALITY _==_ #-}
sym : {A : Set} (x : A) (y : A) -> x == y -> y == x
sym x .x refl = refl
cong : {A : Set} {B : Set} (x : A) (y : A) (f : A -> B) -> x == y -> f x == f y
cong x y f refl = refl
| 23 | 79 | 0.454849 |
22c98666f8c3dc390041636fec687fbc9c552380 | 580 | agda | Agda | out/Empty/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | out/Empty/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | out/Empty/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 Empty | E
type
𝟘 : 0-ary
term
abort : 𝟘 -> α
theory
(𝟘η) e : 𝟘 c : α |> abort(e) = c
-}
module Empty.Signature where
open import SOAS.Context
-- Type declaration
data ET : Set where
𝟘 : ET
ope... | 14.5 | 91 | 0.667241 |
4d069d3b10beb1f0b58008d3800cd378a715c8b3 | 779 | agda | Agda | agda-stdlib/src/Data/Nat/Reflection.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Nat/Reflection.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Nat/Reflection.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Reflection utilities for ℕ
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Nat.Reflection where
open import Data.Nat.Base as ℕ
open impor... | 28.851852 | 72 | 0.473684 |
319696614f10c369f4d3a87d64609b941dc95686 | 585 | agda | Agda | test/Succeed/Issue1450.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1450.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1450.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | postulate
F : (Set → Set) → Set
!_ : Set → Set
!_,_ : Set → Set → Set
X : Set
syntax F (λ X → A) = X , A
infix 1 F
infix 2 !_
Foo : Set
Foo = ! X , X
-- This expression can be parsed in exactly one way. However, Agda
-- rejects it:
--
-- Expected variable name in binding position
--
-- The error i... | 22.5 | 70 | 0.65641 |
dfc259d8225004a0c184636d6d8fa4287f22410f | 4,376 | agda | Agda | examples/instance-arguments/13-implicitProofObligations.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2019-11-27T04:41:05.000Z | 2019-11-27T04:41:05.000Z | examples/instance-arguments/13-implicitProofObligations.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/instance-arguments/13-implicitProofObligations.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | {-# OPTIONS --universe-polymorphism #-}
module 13-implicitProofObligations where
module Imports where
module L where
postulate
Level : Set
zero : Level
suc : Level → Level
_⊔_ : Level → Level → Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO zero #-}
{-# BU... | 23.153439 | 67 | 0.48149 |
58fd14861092bce37bc6823ada5a24db427d7b9b | 372 | agda | Agda | prototyping/FFI/Data/Maybe.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | 1 | 2022-03-18T04:10:20.000Z | 2022-03-18T04:10:20.000Z | prototyping/FFI/Data/Maybe.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | prototyping/FFI/Data/Maybe.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | module FFI.Data.Maybe where
open import Agda.Builtin.Equality using (_≡_; refl)
{-# FOREIGN GHC import qualified Data.Maybe #-}
data Maybe (A : Set) : Set where
nothing : Maybe A
just : A → Maybe A
{-# COMPILE GHC Maybe = data Data.Maybe.Maybe (Data.Maybe.Nothing|Data.Maybe.Just) #-}
just-inv : ∀ {A} {x y : A} ... | 24.8 | 86 | 0.650538 |
3d3182f0fccd7f6d9fc741a869f7083e8ba92e93 | 257 | agda | Agda | test/Fail/Issue2758b.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2758b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2758b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --experimental-irrelevance #-}
open import Agda.Builtin.Bool
data Box (A : Set) : ..(x : A) → Set where
c : (x : A) → Box A x
unbox : {A : Set} → .(x : A) → Box A x → A
unbox a (c b) = b
postulate
.b : Bool
b' : Bool
b' = unbox b (c _)
| 16.0625 | 42 | 0.536965 |
59035d50ceec4ed5a208605a7728f901b1a37783 | 39 | agda | Agda | Structure/Topology/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/Topology/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/Topology/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Structure.Topology.Proofs where
| 19.5 | 38 | 0.871795 |
29c0f50481276b7c34edd3832a3dd0990aec811b | 307 | agda | Agda | test/Common/Size.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | test/Common/Size.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | test/Common/Size.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K #-}
------------------------------------------------------------------------
-- From the Agda standard library
--
-- Sizes for Agda's sized types
------------------------------------------------------------------------
module Common.Size where
open import Agda.Builtin.Size public
| 27.909091 | 72 | 0.37785 |
a18feb3bfc3e2f6b7410ed8b97baf02286935875 | 17,514 | agda | Agda | imper-repeat.agda | JimFixGroupResearch/imper-ial | 80d9411b2869614cae488cd4a6272894146c9f3c | [
"MIT"
] | null | null | null | imper-repeat.agda | JimFixGroupResearch/imper-ial | 80d9411b2869614cae488cd4a6272894146c9f3c | [
"MIT"
] | null | null | null | imper-repeat.agda | JimFixGroupResearch/imper-ial | 80d9411b2869614cae488cd4a6272894146c9f3c | [
"MIT"
] | null | null | null | module imper-repeat where
open import lib
open import eq-reasoning
data Singleton {a} {A : Set a} (x : A) : Set a where
_with≡_ : (y : A) → x ≡ y → Singleton x
inspect : ∀ {a} {A : Set a} (x : A) → Singleton x
inspect x = x with≡ refl
-- Unicode notes. I use:
-- \Mix, \Mie, \MiF etc for meta-variables 𝑥, 𝑒, �... | 21.837905 | 89 | 0.387119 |
2fb28ffbdb36790a362f71cf3256beef70af1922 | 7,349 | agda | Agda | src/Section6.agda | mietek/coquand | 7c000654c4f97024d2939c412702f64dc821d4ec | [
"X11"
] | 4 | 2017-03-27T01:29:58.000Z | 2017-09-07T12:44:40.000Z | src/Section6.agda | mietek/coquand | 7c000654c4f97024d2939c412702f64dc821d4ec | [
"X11"
] | null | null | null | src/Section6.agda | mietek/coquand | 7c000654c4f97024d2939c412702f64dc821d4ec | [
"X11"
] | null | null | null | module Section6 where
open import Section5 public
-- 6. Application to terms
-- =======================
--
-- In practice we may not want to work with proof trees but rather well-typed terms. As an
-- application of the results above we show how to give semantics to a formulation of Martin-
-- Löf’s substitution ca... | 36.745 | 101 | 0.375289 |
589bdf404b3e25092d7e0e15ffd11deb9d7e3d91 | 3,678 | agda | Agda | fracGC/PiPointed.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | fracGC/PiPointed.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | fracGC/PiPointed.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 #-}
module PiPointed where
open import Data.Empty
open import Data.Unit
open import Data.Sum
open import Data.Product renaming (map to map×)
open import Relation.Binary.PropositionalEquality
open import Singleton
open import PlainPi
infixr 90 _#_
-------------------------------------... | 43.270588 | 102 | 0.461936 |
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.