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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
398d030c38156cf5e14e1a3516d3aed5f0a8e2a8 | 1,804 | agda | Agda | test/Succeed/Issue3621.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3621.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3621.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2019-03-18, AIM XXIX, performance regression in 2.5.4
-- The following was quick in 2.5.3
postulate
Bool : Set
Foo : Bool → Bool → Bool → Bool → Bool → Bool → Bool → Bool → Bool → Set
data FooRel
: (x1 x1' : Bool)
(x2 x2' : Bool)
(x3 x3' : Bool)
(x4 x4' : Bool)
(x5 x5' : Bool)
(x... | 32.214286 | 228 | 0.476164 |
a13e0384d1bdb73931e1214f63f79f45adb1d24f | 2,715 | agda | Agda | RecursiveTypes/Subtyping/Semantic/Equivalence.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | 1 | 2021-02-13T14:48:45.000Z | 2021-02-13T14:48:45.000Z | RecursiveTypes/Subtyping/Semantic/Equivalence.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | RecursiveTypes/Subtyping/Semantic/Equivalence.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The two semantical definitions of subtyping are equivalent
------------------------------------------------------------------------
module RecursiveTypes.Subtyping.Semantic.Equivalence where
open import Data.Nat
open import Codata.Musical.Not... | 28.882979 | 72 | 0.378637 |
592519970e2c4af0f76a520f418acf107d57354c | 2,321 | agda | Agda | src/Implicits/Substitutions/Type.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | 4 | 2019-04-05T17:57:11.000Z | 2021-05-07T04:08:41.000Z | src/Implicits/Substitutions/Type.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Implicits/Substitutions/Type.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | open import Prelude
module Implicits.Substitutions.Type where
open import Implicits.Syntax.Type
open import Data.Fin.Substitution
open import Data.Star as Star hiding (map)
open import Data.Star.Properties
open import Data.Vec
module TypeApp {T} (l : Lift T Type) where
open Lift l hiding (var)
infixl 8 _/_
... | 30.539474 | 83 | 0.490306 |
0bc67cac4dcae8e189789bb14f93897d84f532e2 | 1,708 | agda | Agda | src/Human/Humanity.agda | MaisaMilena/JuiceMaker | b509eb4c4014605facfb4ee5c807cd07753d4477 | [
"MIT"
] | 6 | 2019-03-29T17:35:20.000Z | 2020-11-28T05:46:27.000Z | src/Human/Humanity.agda | MaisaMilena/AgdaCalculator | e977a5f2a005682cee123568b49462dd7d7b11ad | [
"MIT"
] | null | null | null | src/Human/Humanity.agda | MaisaMilena/AgdaCalculator | e977a5f2a005682cee123568b49462dd7d7b11ad | [
"MIT"
] | null | null | null | module Human.Humanity where
-- Use agda-prelude instead of agda-stdlib?
open import Human.JS public
open import Human.Unit public
open import Human.Nat public
open import Human.List public
open import Human.Bool public
open import Human.String public
open import Human.IO public
open import Human.Float public
open imp... | 26.6875 | 163 | 0.591335 |
2348ff954ff9791a18a3e73feb7b8fd739c84b7b | 1,277 | agda | Agda | Agda/univalent-hott/1-type-theory.agda | hemangandhi/HoTT-Intro | 09c710bf9c31ba88be144cc950bd7bc19c22a934 | [
"CC-BY-4.0"
] | null | null | null | Agda/univalent-hott/1-type-theory.agda | hemangandhi/HoTT-Intro | 09c710bf9c31ba88be144cc950bd7bc19c22a934 | [
"CC-BY-4.0"
] | null | null | null | Agda/univalent-hott/1-type-theory.agda | hemangandhi/HoTT-Intro | 09c710bf9c31ba88be144cc950bd7bc19c22a934 | [
"CC-BY-4.0"
] | null | null | null | {-# OPTIONS --without-K --exact-split #-}
module 1-type-theory where
import 00-preamble
open 00-preamble public
-- Exercise 1.1 (From ../02-pi.agda)
_∘-1-1_ :
{i j k : Level} {A : UU i} {B : UU j} {C : UU k} →
(B → C) → ((A → B) → (A → C))
(g ∘-1-1 f) a = g (f a)
import 04-inductive-types
open 04-inductive-type... | 26.604167 | 84 | 0.516053 |
106a7928cc93b598085d495cdc11a029bf37081a | 413 | agda | Agda | notes/agda-interface/OptionPragmaCommandLine.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 10 | 2015-09-03T20:54:16.000Z | 2019-12-03T13:44:25.000Z | notes/agda-interface/OptionPragmaCommandLine.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 121 | 2015-01-25T13:22:12.000Z | 2018-04-22T06:01:44.000Z | notes/agda-interface/OptionPragmaCommandLine.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 4 | 2016-05-10T23:06:19.000Z | 2016-08-03T03:54:55.000Z | -- Testing how the pragmas are saved in the agda interface files (using
-- the program dump-agdai) when they are used from the command-line:
-- $ agda --no-termination-check OptionPragmaCommandLine.agda
-- 17 October 2012. Because the PragmaOption --no-termination-check
-- was used from the command-line it is *not* s... | 31.769231 | 71 | 0.757869 |
23e0a1257901658e8a9df4f50662fcca190e78ee | 345 | agda | Agda | test/Succeed/ForeignPragma.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/ForeignPragma.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/ForeignPragma.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Check that FOREIGN code can have nested pragmas.
module _ where
open import Common.Prelude
{-# FOREIGN GHC
{-# NOINLINE plusOne #-}
plusOne :: Integer -> Integer
plusOne n = n + 1
{-# INLINE plusTwo #-}
plusTwo :: Integer -> Integer
plusTwo = plusOne . plusOne
#-}
postulate
plusOne : Nat → Nat
{-# COMPILE G... | 15.681818 | 51 | 0.672464 |
06abedb3fd65bbb3907e00fafa5d62d3ca6d7342 | 41,064 | agda | Agda | Cubical/ZCohomology/GroupStructure.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-02-05T01:25:02.000Z | 2022-02-05T01:25:02.000Z | Cubical/ZCohomology/GroupStructure.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/ZCohomology/GroupStructure.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.GroupStructure where
open import Cubical.ZCohomology.Base
open import Cubical.HITs.S1
open import Cubical.HITs.Sn
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
op... | 44.586319 | 138 | 0.4765 |
a16f302cd11d2409538d58165a44e540572965ec | 3,385 | agda | Agda | agda-stdlib/src/Algebra/Properties/Ring.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Algebra/Properties/Ring.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Algebra/Properties/Ring.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some basic properties of Rings
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Algebra
module Algebra.Properties.Ring {r₁ r₂} (R : Ring r... | 36.793478 | 72 | 0.458789 |
500c028baa3002d38b1cd69b3b8c22e8010a6675 | 4,952 | agda | Agda | src/exercices/stack.agda | d-plaindoux/colca | a81447af3ab2ba898bb7d57be71369abbba12d81 | [
"MIT"
] | 2 | 2021-03-12T18:31:14.000Z | 2021-05-04T09:35:36.000Z | src/exercices/stack.agda | d-plaindoux/colca | a81447af3ab2ba898bb7d57be71369abbba12d81 | [
"MIT"
] | null | null | null | src/exercices/stack.agda | d-plaindoux/colca | a81447af3ab2ba898bb7d57be71369abbba12d81 | [
"MIT"
] | null | null | null | module Stack where
open import Data.Bool using (Bool; true; false)
open import Data.Nat using (ℕ; zero; suc)
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎; step-≡)
module V1 where
{-
This first version introduces the Stack abst... | 25.137056 | 95 | 0.510299 |
4df73cbdc3ac3eb61f8e2807e7c25789acb88366 | 1,699 | agda | Agda | Cubical/Foundations/Pointed/FunExt.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Foundations/Pointed/FunExt.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Foundations/Pointed/FunExt.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Foundations.Pointed.FunExt where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Pointed.Base
open import Cubical.Foundations.Pointed.Properties
o... | 34.673469 | 69 | 0.60977 |
0646bfb31569989a210da5d4c8d12296a3450a6a | 589 | agda | Agda | test/asset/agda-stdlib-1.0/Data/W/WithK.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | test/asset/agda-stdlib-1.0/Data/W/WithK.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/W/WithK.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some code related to the W type that relies on the K rule
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Data.W.WithK where
open import Data.Pro... | 28.047619 | 72 | 0.490662 |
4db915116fd0c58215c133850b5bdf23b0b6ef55 | 7,384 | agda | Agda | src/FRP/LTL/Time.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 21 | 2015-07-02T20:25:05.000Z | 2020-06-15T02:51:13.000Z | src/FRP/LTL/Time.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 2 | 2015-03-01T07:01:31.000Z | 2015-03-02T15:23:53.000Z | src/FRP/LTL/Time.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 3 | 2015-03-01T07:33:00.000Z | 2022-03-12T11:39:04.000Z | open import Function using ( _∘_ )
open import Data.Product using ( ∃ ; _×_ ; _,_ )
open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ )
open import Data.Empty using ( ⊥ ; ⊥-elim )
open import Data.Nat using ( ℕ ; zero ; suc ) renaming ( _+_ to _+ℕ_ ; _≤_ to _≤ℕ_ )
open import Relation.Binary.PropositionalEquality using
... | 33.112108 | 107 | 0.452465 |
501df080b3a93eb2593455383c90633fa5418c90 | 5,010 | agda | Agda | Cubical/Displayed/Function.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Displayed/Function.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Displayed/Function.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | {-
Functions building UARels and DUARels on function types
-}
{-# OPTIONS --no-exact-split --safe #-}
module Cubical.Displayed.Function where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open impor... | 30.54878 | 100 | 0.547305 |
1dd1c054a64bc2094ce3cb55a002c843a24916ba | 374 | agda | Agda | test/Succeed/Issue2429-subtyping.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue2429-subtyping.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/Issue2429-subtyping.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2017-01-24, issue #2429
-- Respect subtyping also for irrelevant lambdas!
-- Subtyping: (.A → B) ≤ (A → B)
-- Where a function is expected, we can put one which does not use its argument.
id : ∀{A B : Set} → (.A → B) → A → B
id f = f
test : ∀{A B : Set} → (.A → B) → A → B
test f = λ .a → f a
-- Should w... | 24.933333 | 80 | 0.596257 |
59dc43967ecd8dcf237b5d3c5cdf44730003683e | 421 | agda | Agda | Math/NumberTheory/Summation/Generic/Properties/Lemma.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | 3 | 2020-04-07T17:49:42.000Z | 2020-04-21T00:03:43.000Z | Math/NumberTheory/Summation/Generic/Properties/Lemma.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | Math/NumberTheory/Summation/Generic/Properties/Lemma.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Math.NumberTheory.Summation.Generic.Properties.Lemma where
-- agda-stdlib
open import Data.Nat
open import Data.Nat.Properties
open import Data.Nat.Solver
open import Relation.Binary.PropositionalEquality
open import Function.Base
lemma₁ : ∀ m n → 2 + m + n ≡ suc m + suc n
l... | 28.066667 | 77 | 0.688836 |
296979e7ce9e87a80be902e7d074f66e971da4d3 | 8,118 | agda | Agda | Cubical/HITs/Cylinder/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/Cylinder/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/Cylinder/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.Cylinder.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Everything
open import Cubical.Data.Sigma
open import Cubical.Data.Unit
open import Cubical.Data.Sum using (_⊎_; inl; inr)
open import Cubical.HITs.Proposit... | 30.518797 | 130 | 0.631683 |
2fff73fe5f79b867e2128c46d647d3673a55f7e1 | 10,039 | agda | Agda | TypeTheory/HoTT/Partiality2.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | TypeTheory/HoTT/Partiality2.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | TypeTheory/HoTT/Partiality2.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --copatterns --sized-types #-}
open import lib.Basics
open import lib.PathGroupoid
open import lib.types.Paths
open import lib.Funext
open import Size
{-
-- | Coinductive delay type. This is the functor νπ̂ : Set → Set arising
-- as the fixed point of π̂(H) = π ∘ ⟨Id, H⟩, where π : Set × Set → ... | 27.57967 | 79 | 0.441578 |
318b6174a49ec4de279fb1b5e9e72f65e595df33 | 2,832 | agda | Agda | Cubical/Data/Fin/Arithmetic.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-02-05T01:25:26.000Z | 2022-02-05T01:25:26.000Z | Cubical/Data/Fin/Arithmetic.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Data/Fin/Arithmetic.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Fin.Arithmetic where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat
open import Cubical.Data.Nat.Mod
open import Cubical.Data.Nat.Order
open import Cubical.Data.Fin
open import Cubical.Data.Sigma
infixl 6 _+ₘ_ _-ₘ_ _·ₘ_
infix 7 -ₘ_
-- Additio... | 32.181818 | 72 | 0.491172 |
18601ac944ba24cd8cd923ef865baa7050a8cf84 | 6,618 | agda | Agda | InterpreterWithConstants.agda | sseefried/well-typed-agda-interpreter | 2a85cc82934be9433648bca0b49b77db18de524c | [
"MIT"
] | 3 | 2021-06-18T12:06:14.000Z | 2021-06-18T12:37:46.000Z | InterpreterWithConstants.agda | sseefried/well-typed-agda-interpreter | 2a85cc82934be9433648bca0b49b77db18de524c | [
"MIT"
] | null | null | null | InterpreterWithConstants.agda | sseefried/well-typed-agda-interpreter | 2a85cc82934be9433648bca0b49b77db18de524c | [
"MIT"
] | 2 | 2021-06-18T06:14:18.000Z | 2021-06-18T12:31:11.000Z | {-# OPTIONS --without-K --safe --overlapping-instances #-}
-- Reference to check out
--
-- Simply Typed Lambda Calculus in Agda, without Shortcuts
-- https://gergo.erdi.hu/blog/2013-05-01-simply_typed_lambda_calculus_in_agda,_without_shortcuts/
module InterpreterWithConstants where
open import Data.Char hiding (_≤... | 26.261905 | 113 | 0.526594 |
31c6a4af94679326887fcff9e5658eee607981bc | 754 | agda | Agda | agda/hott/core/universe.agda | piyush-kurur/hott | 876ecdcfddca1abf499e8f00db321c6dc3d5b2bc | [
"BSD-3-Clause"
] | null | null | null | agda/hott/core/universe.agda | piyush-kurur/hott | 876ecdcfddca1abf499e8f00db321c6dc3d5b2bc | [
"BSD-3-Clause"
] | null | null | null | agda/hott/core/universe.agda | piyush-kurur/hott | 876ecdcfddca1abf499e8f00db321c6dc3d5b2bc | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K #-}
-- The universe of all types
module hott.core.universe where
open import Agda.Primitive public using (Level; lzero; lsuc; _⊔_)
-- We give an new name for Set
Type : (ℓ : Level) → Set (lsuc ℓ)
Type ℓ = Set ℓ
lone : Level; lone = lsuc lzero
ltwo : Level; ltwo = lsuc lone
lthree : L... | 23.5625 | 65 | 0.685676 |
a12bd13d60a5db10678b774d4f2d2349e216f95f | 854 | agda | Agda | function/extensionality/core.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 27 | 2015-04-14T15:47:03.000Z | 2022-01-09T07:26:57.000Z | src/function/extensionality/core.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 4 | 2015-02-02T14:32:16.000Z | 2016-10-26T11:57:26.000Z | function/extensionality/core.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 4 | 2015-04-11T17:19:12.000Z | 2019-02-26T06:17:38.000Z | {-# OPTIONS --without-K #-}
module function.extensionality.core where
open import level using (lsuc; _⊔_)
open import equality.core
Extensionality : ∀ i j → Set (lsuc (i ⊔ j))
Extensionality i j = {X : Set i}{Y : Set j}
→ {f g : X → Y}
→ ((x : X) → f x ≡ g x)
→... | 29.448276 | 48 | 0.395785 |
292920876b47a7cb25264c5352c144eb479d19ee | 4,975 | agda | Agda | src/LibraBFT/Abstract/Properties.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Abstract/Properties.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Abstract/Properties.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"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 LibraBFT.Abstract.Types
open import LibraBFT.Abstract.Types... | 50.252525 | 174 | 0.642814 |
12b29a64e5c67de4c95bff25c64055721691110f | 6,568 | agda | Agda | TotalParserCombinators/Semantics.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 7 | 2016-12-13T05:23:14.000Z | 2021-06-22T05:35:31.000Z | TotalParserCombinators/Semantics.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 1 | 2018-01-22T22:21:41.000Z | 2018-01-24T16:39:37.000Z | TotalParserCombinators/Semantics.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Semantics of the parsers
------------------------------------------------------------------------
module TotalParserCombinators.Semantics where
open import Coinduction
open import Data.List hiding (drop)
open import Data.List.Any.Membership.P... | 36.488889 | 72 | 0.510201 |
06a91371398e142c40f5fa8782abfe5b045906fc | 1,359 | agda | Agda | test/fail/Issue399.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/fail/Issue399.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/Issue399.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | -- 2011-04-12 AIM XIII fixed this issue by freezing metas after declaration (Andreas & Ulf)
module Issue399 where
open import Common.Prelude
data Maybe (A : Set) : Set where
nothing : Maybe A
just : A → Maybe A
_++_ : {A : Set} → List A → List A → List A
[] ++ ys = ys
(x ∷ xs) ++ ys = x ∷ (xs ++ ys)
r... | 32.357143 | 91 | 0.660044 |
1cb0bbbb20fa027665048e9436f70e0c00f77c4a | 1,435 | agda | Agda | test/Fail/Issue2101.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue2101.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Fail/Issue2101.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- Andreas, 2016-07-17 issue 2101
-- It should be possible to place a single function with a where block
-- inside `abstract`.
-- This will work if type signatures inside a where-block
-- are considered private, since in private type signatures,
-- abstract definitions are transparent.
-- (Unlike in public type signa... | 20.797101 | 70 | 0.620906 |
294f6a6f1a826f6c98df878eec1e18df8dfdcc5b | 402 | agda | Agda | Categories/Object/Indexed.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Object/Indexed.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Object/Indexed.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
open import Categories.Support.Equivalence
module Categories.Object.Indexed {o ℓ e c q} (C : Category o ℓ e) (B : Setoid c q) where
open import Categories.Support.SetoidFunctions
open Category C
open _⟶_ public using () renaming (cong to cong₀; _... | 26.8 | 88 | 0.736318 |
fbb4ad2c41be89a23b8031ea354ae56d5876ee56 | 3,807 | agda | Agda | src/Web/Semantic/DL/TBox/Interp/Morphism.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/Interp/Morphism.agda | agda/agda-web-semantic | 8ddbe83965a616bff6fc7a237191fa261fa78bab | [
"MIT"
] | 4 | 2018-11-14T02:32:28.000Z | 2021-01-04T20:57:19.000Z | src/Web/Semantic/DL/TBox/Interp/Morphism.agda | agda/agda-web-semantic | 8ddbe83965a616bff6fc7a237191fa261fa78bab | [
"MIT"
] | 3 | 2017-12-03T14:52:09.000Z | 2022-03-12T11:40:03.000Z | open import Data.Product using ( ∃ ; _×_ ; _,_ ; proj₁ ; proj₂ )
open import Relation.Unary using ( _∈_ )
open import Web.Semantic.DL.TBox.Interp using
( Interp ; Δ ; _⊨_≈_ ; con ; rol ; ≈-refl ; ≈-sym ; ≈-trans ; con-≈ ; rol-≈ )
open import Web.Semantic.DL.Signature using ( Signature )
open import Web.Semantic.Util ... | 35.25 | 83 | 0.430785 |
31d016568af6bb255bf3b84be4f7b96609a49fca | 387 | agda | Agda | test/Succeed/Issue479.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue479.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue479.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2012-03-15, example by Ulf
-- {-# OPTIONS -v tc.meta:20 #-}
module Issue479 where
import Common.Level
open import Common.Equality
data ⊥ : Set where
data Bool : Set where true false : Bool
X : Bool
X=true : X ≡ true
X≠false : X ≡ false → ⊥
X = _
X≠false ()
X=true = refl
-- The emptyness check for... | 19.35 | 62 | 0.661499 |
df3ac23248224561f3bc542b3e449966675f5bac | 3,702 | agda | Agda | test/asset/agda-stdlib-1.0/Function/Surjection.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/Surjection.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Function/Surjection.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Surjections
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Function.Surjection where
open import Level
open import Function.Equality as F
u... | 29.149606 | 72 | 0.52188 |
12efdf290f0672f9d934e2197809b89a7897cb70 | 102 | agda | Agda | test/Succeed/OpBind.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/OpBind.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/OpBind.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module OpBind where
postulate _∘_ : Set -> Set -> Set
Homomorphic₀ : Set → Set
Homomorphic₀ ∘ = ∘
| 11.333333 | 33 | 0.656863 |
a1292ffbcfba5c7a71d384f870509d1593fdf99e | 1,727 | agda | Agda | src/STLC/Term.agda | johnyob/agda-types | aeb2be63381d891fabe5317e3c27553deb6bca6d | [
"MIT"
] | null | null | null | src/STLC/Term.agda | johnyob/agda-types | aeb2be63381d891fabe5317e3c27553deb6bca6d | [
"MIT"
] | null | null | null | src/STLC/Term.agda | johnyob/agda-types | aeb2be63381d891fabe5317e3c27553deb6bca6d | [
"MIT"
] | null | null | null | module STLC.Term where
open import Data.Fin using (Fin)
open import Data.Fin.Substitution
open import Data.Nat using (ℕ; _+_)
open import Relation.Binary.Construct.Closure.ReflexiveTransitive
using (Star; ε; _◅_)
open import Data.Vec using (Vec; []; _∷_; lookup)
open import Relation.Binary.PropositionalEquality
... | 23.657534 | 85 | 0.493341 |
295cdf7cd7845789e4ba416771b96215abc99bc7 | 4,122 | agda | Agda | Agda/quotient-groups.agda | UlrikBuchholtz/HoTT-Intro | 1e1f8def50f9359928e52ebb2ee53ed1166487d9 | [
"CC-BY-4.0"
] | 333 | 2018-09-26T08:33:30.000Z | 2022-03-22T23:50:15.000Z | Agda/quotient-groups.agda | UlrikBuchholtz/HoTT-Intro | 1e1f8def50f9359928e52ebb2ee53ed1166487d9 | [
"CC-BY-4.0"
] | 8 | 2019-06-18T04:16:04.000Z | 2020-10-16T15:27:01.000Z | Agda/quotient-groups.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 quotient-groups where
import subgroups
open subgroups public
{- The left and right coset relation -}
left-coset-relation :
{l1 l2 : Level} (G : Group l1) (H : Subgroup l2 G) →
(x y : type-Group G) → UU (l1 ⊔ l2)
left-coset-relation G H x =
fib ((mul-Group G x) ... | 37.472727 | 78 | 0.600194 |
59142c1d33da5100d1ac715f5f1cae389d607978 | 1,490 | agda | Agda | Prelude/Eq.agda | bbarenblat/B | c1fd2daa41aa1b915f74b4c09c6e62c79320e8ec | [
"Apache-2.0"
] | 1 | 2017-06-30T15:59:38.000Z | 2017-06-30T15:59:38.000Z | Prelude/Eq.agda | bbarenblat/B | c1fd2daa41aa1b915f74b4c09c6e62c79320e8ec | [
"Apache-2.0"
] | null | null | null | Prelude/Eq.agda | bbarenblat/B | c1fd2daa41aa1b915f74b4c09c6e62c79320e8ec | [
"Apache-2.0"
] | null | null | null | {- Copyright © 2015 Benjamin Barenblat
Licensed under the Apache License, Version 2.0 (the ‘License’); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 27.592593 | 79 | 0.719463 |
1d49422474c1181033fb9d7678a311a3ff552f56 | 2,462 | agda | Agda | agda-stdlib-0.9/src/Algebra/FunctionProperties.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/Algebra/FunctionProperties.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Algebra/FunctionProperties.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of functions, such as associativity and commutativity
------------------------------------------------------------------------
-- These properties can (for instance) be used to define algebraic
-- str... | 27.355556 | 72 | 0.529651 |
3906dd9cd11971a5175dfd5047bb04b464a7ecf7 | 1,257 | agda | Agda | RefactorAgdaEngine/AgdaHelperFunctions.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 5 | 2019-01-31T14:10:18.000Z | 2019-05-03T10:03:36.000Z | RefactorAgdaEngine/AgdaHelperFunctions.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 3 | 2019-01-31T08:03:07.000Z | 2019-02-05T12:53:36.000Z | RefactorAgdaEngine/AgdaHelperFunctions.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 1 | 2019-01-31T08:40:41.000Z | 2019-01-31T08:40:41.000Z | -- stuff I did not find in the standard library, but which
-- I might just not have noticed.
module AgdaHelperFunctions where
open import Data.String
open import Data.Sum
open import Category.Monad
infixr 0 _$_
_$_ : {A B : Set} -> (A -> B) -> A -> B
x $ y = x y
bind : {error x y : Set} -> error ⊎ x -> (x -> error ... | 27.933333 | 171 | 0.638823 |
292887218748123ddfd1721e7be70d43a2d1bcc3 | 2,269 | agda | Agda | presentationsAndExampleCode/agdaImplementorsMeetingGlasgow22April2016AntonSetzer/interfaceExtensionAndDelegation.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 23 | 2016-06-19T12:57:55.000Z | 2020-10-12T23:15:25.000Z | presentationsAndExampleCode/agdaImplementorsMeetingGlasgow22April2016AntonSetzer/interfaceExtensionAndDelegation.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | null | null | null | presentationsAndExampleCode/agdaImplementorsMeetingGlasgow22April2016AntonSetzer/interfaceExtensionAndDelegation.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 2 | 2018-09-01T15:02:37.000Z | 2022-03-12T11:41:00.000Z | module interfaceExtensionAndDelegation where
open import Data.Product
open import Data.Nat.Base
open import Data.Nat.Show
open import Data.String.Base using (String; _++_)
open import Size
open import NativeIO
open import interactiveProgramsAgda using (ConsoleInterface; _>>=_; do;
... | 33.367647 | 72 | 0.560599 |
20a01ef9cc23f176aa52df98acf2480cd4316d72 | 4,673 | agda | Agda | agda-stdlib/src/Algebra/Solver/Ring/AlmostCommutativeRing.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Algebra/Solver/Ring/AlmostCommutativeRing.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Algebra/Solver/Ring/AlmostCommutativeRing.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Commutative semirings with some additional structure ("almost"
-- commutative rings), used by the ring solver
------------------------------------------------------------------------
{-# OPTIONS --without-K --sa... | 31.153333 | 91 | 0.562166 |
39f46096f129d02593a8bfde9d5039e53b6158ee | 970 | agda | Agda | test/succeed/Issue826-2.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/succeed/Issue826-2.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | null | null | null | test/succeed/Issue826-2.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.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 = ♯_
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) = h x... | 20.638298 | 70 | 0.510309 |
0bd8d8bab6d69824c787510726b0ed9181ac50bc | 4,846 | agda | Agda | Cubical/DStructures/Structures/ReflGraph.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/DStructures/Structures/ReflGraph.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/DStructures/Structures/ReflGraph.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.DStructures.Structures.ReflGraph where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Structure
open impo... | 32.743243 | 95 | 0.535493 |
cb25daa96908fe0feac180d21db72a56391b45e8 | 67,003 | agda | Agda | agda/Esterel/Lang/CanFunction/CanThetaContinuation.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 3 | 2020-04-16T10:58:53.000Z | 2020-07-01T03:59:31.000Z | agda/Esterel/Lang/CanFunction/CanThetaContinuation.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | null | null | null | agda/Esterel/Lang/CanFunction/CanThetaContinuation.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 1 | 2020-04-15T20:02:49.000Z | 2020-04-15T20:02:49.000Z | {-
The module CanThetaContinuation contains the continuation-passing
variant of Canθ, which is used as a tool to simplify Canθ-Can
expressions.
The lemmas are mainly about the function Canθ' defined by the equation
unfold : ∀ sigs S'' p θ →
Canθ sigs S'' p θ ≡ Canθ' sigs S'' (Can p) θ
The main property... | 57.218617 | 251 | 0.533454 |
1c4a1de2c88c4cfb80f2d0f7ed2e44dc743dad46 | 1,032 | agda | Agda | examples/outdated-and-incorrect/AIM6/Cat/lib/Logic/Relations.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/Logic/Relations.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/Logic/Relations.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Logic.Relations where
import Logic.Base
import Data.Bool
Rel : Set -> Set1
Rel A = A -> A -> Set
Reflexive : {A : Set} -> Rel A -> Set
Reflexive {A} _R_ = {x : A} -> x R x
Symmetric : {A : Set} -> Rel A -> Set
Symmetric {A} _R_ = {x y : A} -> x R y -> y R x
Transitive : {A : Set} -> Rel A -> Set
Transitiv... | 24 | 69 | 0.514535 |
df38eb987d8e9bc7a5d87312752e0df168d068a2 | 34 | agda | Agda | test/Succeed/ValidNamePartSet.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/ValidNamePartSet.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/ValidNamePartSet.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | test = forall (_Set_ : Set) → Set
| 17 | 33 | 0.617647 |
188b73cd1a4e0f12d03dc5f85b5b9a9944531f08 | 140 | agda | Agda | test/Fail/UnequalHiding.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/UnequalHiding.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/UnequalHiding.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module UnequalHiding where
data One : Set where one : One
f : ({A : Set} -> A -> A) -> One
f = \(id : (A : Set) -> A -> A) -> id One one
| 17.5 | 45 | 0.514286 |
12ec94499394b4a24e2b520bad5c3e2c0b00c284 | 31,064 | agda | Agda | BTA6.agda | luminousfennell/polybta | ef878f7fa5afa51fb7a14cd8f7f75da0af1b9deb | [
"BSD-3-Clause"
] | 1 | 2019-10-15T04:35:29.000Z | 2019-10-15T04:35:29.000Z | BTA6.agda | luminousfennell/polybta | ef878f7fa5afa51fb7a14cd8f7f75da0af1b9deb | [
"BSD-3-Clause"
] | null | null | null | BTA6.agda | luminousfennell/polybta | ef878f7fa5afa51fb7a14cd8f7f75da0af1b9deb | [
"BSD-3-Clause"
] | 1 | 2019-10-15T09:01:37.000Z | 2019-10-15T09:01:37.000Z | module BTA6 where
----------------------------------------------
-- Preliminaries: Imports and List-utilities
----------------------------------------------
open import Data.Nat hiding (_<_)
open import Data.Bool
open import Function using (_∘_)
open import Data.List
open import Relation.Nullary
open import Relation.... | 39.371356 | 107 | 0.53657 |
502bd202274fd2aaf9c1721b8ff9498d6a485694 | 5,098 | agda | Agda | src/DTGP.agda | larrytheliquid/dtgp | 31d79242908f2d80ea8e0c02931f4fdc5a3e5d1f | [
"MIT"
] | 9 | 2015-07-20T16:46:00.000Z | 2022-03-19T21:39:58.000Z | src/DTGP.agda | larrytheliquid/dtgp | 31d79242908f2d80ea8e0c02931f4fdc5a3e5d1f | [
"MIT"
] | null | null | null | src/DTGP.agda | larrytheliquid/dtgp | 31d79242908f2d80ea8e0c02931f4fdc5a3e5d1f | [
"MIT"
] | 2 | 2018-04-17T02:02:58.000Z | 2022-03-12T11:53:14.000Z | open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
module DTGP
{Domain Word : Set}
(pre post : Word → Domain → Domain)
(_≟_ : (x y : Domain) → Dec (x ≡ y))
where
open import Function
open import Relation.Binary
open import Data.Bool hiding (_≟_)
open import Data.Nat hiding (_≥_; _≟_)
o... | 28.010989 | 79 | 0.557866 |
12fdbed078bbf844e97548c684d16aebeab15679 | 536 | agda | Agda | test/Succeed/Issue4010.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue4010.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue4010.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2019-08-19, issue #4010
-- unquoteDef and unquoteDecl should also work in abstract blocks.
open import Agda.Builtin.Reflection renaming (bindTC to _>>=_)
open import Agda.Builtin.List
abstract
data D : Set where
c : D
f : D
unquoteDef f = do
qc ← quoteTC c -- Previously, there was a compl... | 24.363636 | 70 | 0.647388 |
1ddc31778804f4e778e6acad4d2a02f3fbfb603f | 3,337 | agda | Agda | agda-stdlib/src/Reflection/Pattern.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Reflection/Pattern.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Reflection/Pattern.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Patterns used in the reflection machinery
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Reflection.Pattern where
open import Data.List.Base ... | 33.039604 | 98 | 0.560084 |
2f8a98ee76fefb80066a50ca9a9e97c7b69d0414 | 312 | agda | Agda | Data/Binary/Proofs.agda | oisdk/agda-binary | 92af4d620febd47a9791d466d747278dc4a417aa | [
"MIT"
] | 1 | 2019-03-21T21:30:10.000Z | 2019-03-21T21:30:10.000Z | Data/Binary/Proofs.agda | oisdk/agda-binary | 92af4d620febd47a9791d466d747278dc4a417aa | [
"MIT"
] | null | null | null | Data/Binary/Proofs.agda | oisdk/agda-binary | 92af4d620febd47a9791d466d747278dc4a417aa | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Data.Binary.Proofs where
open import Data.Binary.Proofs.Multiplication using (*-homo)
open import Data.Binary.Proofs.Addition using (+-homo)
open import Data.Binary.Proofs.Unary using (inc-homo)
open import Data.Binary.Proofs.Bijection using (𝔹↔ℕ)
| 34.666667 | 62 | 0.714744 |
59945a9d43a0c12fb38fbbe1f82be6bc31ad1dcf | 883 | agda | Agda | test/fail/Issue503.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/fail/Issue503.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/Issue503.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | -- div shouldn't termination check, but it also shouldn't make the termination
-- checker loop.
module Issue503 where
data Bool : Set where
true : Bool
false : Bool
if_then_else_ : {C : Set} -> Bool -> C -> C -> C
if true then a else b = a
if false then a else b = b
data Nat : Set where
zero : Nat
succ : Nat... | 19.195652 | 78 | 0.570781 |
fba4250e9a7d132dfbbeceb8ba9e389f78ad831f | 357 | agda | Agda | test/Fail/IrrelevantFin.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/IrrelevantFin.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/IrrelevantFin.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2011-04-07
module IrrelevantFin where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data Fin : Nat -> Set where
zero : .(n : Nat) -> Fin (suc n)
suc : .(n : Nat) -> Fin n -> Fin (suc n)
-- this should not type check, since irrelevant n cannot appear in Fin n
-- or Fin (suc c)
-- note: this i... | 23.8 | 72 | 0.619048 |
31bab9ded5314949c629f47299cf3f70319f6a3e | 17,169 | agda | Agda | agda/course/2017-conor_mcbride_cs410/CS410-17-master/lectures/Lec4.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/lectures/Lec4.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/course/2017-conor_mcbride_cs410/CS410-17-master/lectures/Lec4.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | {-# OPTIONS --type-in-type #-} -- yes, there will be some cheating in this lecture
module Lec4 where
open import Lec1Done
open import Lec2Done
open import Lec3Done
-- the identity functor (the identity action on objects and arrows)
ID : {C : Category} -> C => C
ID = id~> where open Category CATEGORY
-- composition... | 31.273224 | 93 | 0.478362 |
1de94c62b949743b2b972fe536cbbbbfe82fc982 | 6,035 | agda | Agda | src/CategoryTheory/BCCCs/Cartesian.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | 4 | 2018-05-31T20:37:04.000Z | 2022-01-04T09:33:48.000Z | src/CategoryTheory/BCCCs/Cartesian.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | null | null | null | src/CategoryTheory/BCCCs/Cartesian.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | null | null | null |
-- Products and Cartesian categories
module CategoryTheory.BCCCs.Cartesian where
open import CategoryTheory.Categories
open import Relation.Binary using (IsEquivalence)
module _ {n} (ℂ : Category n) where
open Category ℂ
-- Terminal object in a category
record TerminalObj : Set (lsuc n) where
... | 32.798913 | 81 | 0.401491 |
5965d4e8a8d274a19bf56e94da7b9c1aa30ec488 | 71 | agda | Agda | test/Succeed/Issue2007.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2007.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2007.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module _ where
record R : Set₁ where
constructor c
open R {{...}}
| 8.875 | 21 | 0.633803 |
4d4aa5269fdd5fc763cfae1573f41a8f6d33ad35 | 12,810 | agda | Agda | Eq/Theory.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | 4 | 2016-12-25T01:52:57.000Z | 2021-03-22T00:28:03.000Z | Eq/Theory.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | null | null | null | Eq/Theory.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | 3 | 2015-04-26T11:39:14.000Z | 2021-05-04T22:37:18.000Z | module Eq.Theory where
open import Prelude
open import T
open import DynTheory
open import SubstTheory
open import Contexts
open import Eq.Defs
open import Eq.KleeneTheory
open import Eq.ObsTheory
open import Eq.LogicalTheory
-- Theory about the interactions between the relationships between the equivs
-- Now that w... | 50.833333 | 133 | 0.588993 |
3980488e59af79655d05ed09085b6bc72a18f024 | 4,091 | agda | Agda | typed-elaboration.agda | hazelgrove/hazelnut-agda | a3640d7b0f76cdac193afd382694197729ed6d57 | [
"MIT"
] | null | null | null | typed-elaboration.agda | hazelgrove/hazelnut-agda | a3640d7b0f76cdac193afd382694197729ed6d57 | [
"MIT"
] | null | null | null | typed-elaboration.agda | hazelgrove/hazelnut-agda | a3640d7b0f76cdac193afd382694197729ed6d57 | [
"MIT"
] | null | null | null | open import Nat
open import Prelude
open import dynamics-core
open import contexts
open import lemmas-consistency
open import lemmas-disjointness
open import lemmas-matching
open import weakening
module typed-elaboration where
mutual
typed-elaboration-synth : {Γ : tctx} {e : hexp} {τ : htyp} {d : ihexp} {Δ : hct... | 51.78481 | 159 | 0.587631 |
20d9d5020a7a0746d95c4cd010733b58f0f77283 | 1,011 | agda | Agda | Cubical/Relation/Binary/Reasoning/Equality.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Relation/Binary/Reasoning/Equality.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Relation/Binary/Reasoning/Equality.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Binary.Reasoning.Equality where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
private
variable
ℓ : Level
A : Type ℓ
infixr 1 _≡⟨⟩_ _≡⟨_⟩_ _≡˘⟨_⟩_
infix 2 _∎
-- Step with a non-trivial propositional equ... | 21.978261 | 57 | 0.538081 |
59b551fa69f581476c2f012f5d2041a3201469ed | 4,361 | agda | Agda | Mixfix/Expr.agda | nad/parser-combinators | 76774f54f466cfe943debf2da731074fe0c33644 | [
"MIT"
] | 1 | 2020-07-03T08:56:13.000Z | 2020-07-03T08:56:13.000Z | Mixfix/Expr.agda | nad/parser-combinators | 76774f54f466cfe943debf2da731074fe0c33644 | [
"MIT"
] | null | null | null | Mixfix/Expr.agda | nad/parser-combinators | 76774f54f466cfe943debf2da731074fe0c33644 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Precedence-correct expressions
------------------------------------------------------------------------
module Mixfix.Expr where
open import Data.Vec using (Vec)
open import Data.List using (List; []; _∷_)
open import Data.List.Membership.Pr... | 35.169355 | 104 | 0.588397 |
2948e814c478e47b4d98b27593f53631fe215043 | 3,309 | agda | Agda | archive/agda-1/TermCode.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/TermCode.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/TermCode.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | {-# OPTIONS --allow-unsolved-metas #-}
module TermCode where
open import OscarPrelude
open import VariableName
open import FunctionName
open import Arity
open import Term
open import Vector
data TermCode : Set
where
variable : VariableName → TermCode
function : FunctionName → Arity → TermCode
termCode-function-... | 35.202128 | 129 | 0.638259 |
502e8960bca26ea7776492be629133fd658a160b | 6,845 | agda | Agda | Cubical/Foundations/Transport.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-02-05T01:25:26.000Z | 2022-02-05T01:25:26.000Z | Cubical/Foundations/Transport.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Foundations/Transport.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {- Basic theory about transport:
- transport is invertible
- transport is an equivalence ([transportEquiv])
-}
{-# OPTIONS --safe #-}
module Cubical.Foundations.Transport where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubica... | 44.16129 | 113 | 0.540979 |
59f5de4d3f5330b3d95e4a4f7d9ae69862da9934 | 4,866 | agda | Agda | src/hott/truncation/equality.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 20 | 2015-06-12T12:20:17.000Z | 2022-02-01T11:25:54.000Z | src/hott/truncation/equality.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 4 | 2015-02-02T14:32:16.000Z | 2016-10-26T11:57:26.000Z | src/hott/truncation/equality.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 4 | 2015-02-02T12:17:00.000Z | 2019-05-04T19:31:00.000Z | {-# OPTIONS --without-K #-}
module hott.truncation.equality where
open import sum
open import equality
open import function.extensionality
open import function.isomorphism
open import function.overloading
open import sets.nat
open import hott.equivalence
open import hott.level.core
open import hott.level.closure
open ... | 37.430769 | 96 | 0.394986 |
2073a9070726ee3ba5f653b4dc03f5c91b1ef454 | 536 | agda | Agda | neg-datatype-nonterm.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | neg-datatype-nonterm.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | neg-datatype-nonterm.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | {-# OPTIONS --no-positivity-check #-}
{- This file gives a standard example showing that if arguments to
constructors can use the datatype in a negative position (to the
left of one or an odd number of arrows), then termination and
logical consistency is lost. -}
module neg-datatype-nonterm where
open impo... | 26.8 | 67 | 0.714552 |
12f85fc96c2f6c11292737fc200ce9b1bca53e60 | 1,118 | agda | Agda | Categories/Groupoid/Coproduct.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Groupoid/Coproduct.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Groupoid/Coproduct.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
module Categories.Groupoid.Coproduct where
open import Level
open import Data.Sum
open import Categories.Category
open import Categories.Groupoid
open import Categories.Morphisms
import Categories.Coproduct as CoproductC
Coproduct : ∀ {o ℓ e o′ ℓ′ e′} {C : Category o ℓ e} {D ... | 34.9375 | 75 | 0.516995 |
5932c8d17f4b9023e0e3dea0f20916a4d4a3d2e0 | 2,412 | agda | Agda | test/Succeed/Erasure-succeed-Issue3855.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 2 | 2019-10-29T09:40:30.000Z | 2020-09-20T00:28:57.000Z | test/Succeed/Erasure-succeed-Issue3855.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/Erasure-succeed-Issue3855.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- Andreas, 2019-06-18, LAIM 2019, issue #3855:
-- Successful tests for the erasure (@0) modality.
module _ where
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
open import Agda.Builtin.Coinduction
open import Common.IO
module WhereInErasedDeclaration where
@0 n : Na... | 23.647059 | 86 | 0.592869 |
298bad9e4988aa3d4cdf4f8174a8417e3eb7e987 | 700 | agda | Agda | test/Succeed/Issue1366a.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1366a.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1366a.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2014-11-25, variant of Issue 1366
{-# OPTIONS --copatterns #-}
open import Common.Prelude using (Nat; zero; suc; Unit; unit)
data Vec (A : Set) : Nat → Set where
[] : Vec A zero
_∷_ : ∀ {n} → A → Vec A n → Vec A (suc n)
-- Singleton type
data Sg {A : Set} (x : A) : Set where
sg : Sg x
-- Gene... | 17.948718 | 61 | 0.55 |
1d2eca79b897778275812cea41852f92b29cc410 | 16,736 | agda | Agda | Cubical/Data/BinNat/BinNat.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Data/BinNat/BinNat.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Data/BinNat/BinNat.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {- 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.947262 | 104 | 0.645734 |
0b73e4b7836da7cc0aca3b16bb39b2dafcce8b17 | 23 | agda | Agda | test/Fail/Issue3448.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue3448.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue3448.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | data D : _ where
D : _
| 7.666667 | 16 | 0.565217 |
fb417a5cd852d20ab35c3ae8a05d4e7e81f9f609 | 3,523 | agda | Agda | theorems/homotopy/SuspSmashJoin.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | theorems/homotopy/SuspSmashJoin.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | theorems/homotopy/SuspSmashJoin.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 50 | 2015-01-10T01:48:08.000Z | 2022-02-14T03:03:25.000Z | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.elims.SuspSmash
open import homotopy.elims.CofPushoutSection
-- Σ(X∧Y) ≃ X * Y
module homotopy.SuspSmashJoin {i j} (X : Ptd i) (Y : Ptd j) where
private
{- path lemmas -}
private
reduce-x : ∀ {i} {A : Type i} {x y z : A} (p : x =... | 32.62037 | 72 | 0.400511 |
299e6b66bb23e7aaf5f9e6b8d3eac0d49568a7bd | 1,047 | agda | Agda | Data/Boolean/NaryOperators.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Data/Boolean/NaryOperators.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Data/Boolean/NaryOperators.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Data.Boolean.NaryOperators where
open import Data.Boolean
import Data.Boolean.Operators
open Data.Boolean.Operators.Logic
open import Function.DomainRaise
open import Numeral.Natural
private variable n : ℕ
-- N-ary conjunction (AND).
-- Every term is true.
∧₊ : (n : ℕ) → (Bool →̂ Bool)(n)
∧₊(0) = ... | 22.276596 | 53 | 0.505253 |
4d47f7b1749217bb1f56e83b4acfcc9dcbef3a7b | 799 | agda | Agda | agda-stdlib-0.9/src/Data/W.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | 1 | 2016-10-20T15:52:05.000Z | 2016-10-20T15:52:05.000Z | agda-stdlib-0.9/src/Data/W.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Data/W.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- W-types
------------------------------------------------------------------------
module Data.W where
open import Level
open import Relation.Nullary
-- The family of W-types.
data W {a b} (A : Set a) (B : A → ... | 24.96875 | 72 | 0.413016 |
29f98d512e1cec626a8f546f27f8f2955b25b15b | 25,788 | agda | Agda | src/Equality/Path/Isomorphisms.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Equality/Path/Isomorphisms.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Equality/Path/Isomorphisms.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Isomorphisms and equalities relating an arbitrary "equality with J"
-- to path equality, along with a proof of extensionality for the
-- "equality with J"
------------------------------------------------------------------------
{-# OPTIONS --e... | 40.54717 | 134 | 0.436017 |
59d78ae566f6729bf42bc757d228d7bbe5971418 | 356 | agda | Agda | test/Succeed/Issue1115.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1115.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1115.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
{-# OPTIONS --without-K #-}
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
data Fin : Nat → Set where
zero : {n : Nat} → Fin (suc n)
suc : {n : Nat} (i : Fin n) → Fin (suc n)
-- From Data.Fin.Properties in the standard library (2016-12-30).
suc-injective : ∀ {o} {m n : Fin o} → Fin.suc m ≡ suc ... | 25.428571 | 65 | 0.620787 |
066aeba8e3817ad1165f521418254bb3ccbfc2c9 | 9,937 | agda | Agda | src/Delay-monad/Bisimilarity/Observation.agda | nad/delay-monad | 495f9996673d0f1f34ce202902daaa6c39f8925e | [
"MIT"
] | null | null | null | src/Delay-monad/Bisimilarity/Observation.agda | nad/delay-monad | 495f9996673d0f1f34ce202902daaa6c39f8925e | [
"MIT"
] | null | null | null | src/Delay-monad/Bisimilarity/Observation.agda | nad/delay-monad | 495f9996673d0f1f34ce202902daaa6c39f8925e | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- An observation about weak bisimilarity
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
module Delay-monad.Bisimilarity.Observation where
open import Equality.Propositional
open import Lo... | 31.546032 | 145 | 0.491597 |
2f60c8d7bf72d8198da23f31ef4345d378570c29 | 83 | agda | Agda | Ferros/Resource/CNode.agda | auxoncorp/ferros-spec | 8759d36ac9ec24c53f226a60fa3811eb1d4e5d93 | [
"Apache-2.0"
] | 3 | 2021-09-11T01:06:56.000Z | 2022-01-27T23:18:55.000Z | Ferros/Resource/CNode.agda | auxoncorp/ferros-spec | 8759d36ac9ec24c53f226a60fa3811eb1d4e5d93 | [
"Apache-2.0"
] | null | null | null | Ferros/Resource/CNode.agda | auxoncorp/ferros-spec | 8759d36ac9ec24c53f226a60fa3811eb1d4e5d93 | [
"Apache-2.0"
] | null | null | null | module Ferros.Resource.CNode where
open import Ferros.Resource.CNode.Base public
| 20.75 | 46 | 0.831325 |
0ee3ca34c200c76c1853cf00370049847677d4db | 38,948 | agda | Agda | agda/Text/Greek/SBLGNT/2Thess.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 44 | 2015-05-29T14:48:51.000Z | 2022-03-06T15:41:57.000Z | agda/Text/Greek/SBLGNT/2Thess.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 13 | 2015-05-28T20:04:08.000Z | 2020-09-07T11:58:38.000Z | agda/Text/Greek/SBLGNT/2Thess.agda | scott-fleischman/GreekGrammar | 915c46c27c7f8aad5907474d8484f2685a4cd6a7 | [
"MIT"
] | 5 | 2015-02-27T22:34:13.000Z | 2017-06-11T11:25:09.000Z | module Text.Greek.SBLGNT.2Thess where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΠΡΟΣ-ΘΕΣΣΑΛΟΝΙΚΕΙΣ-Β : List (Word)
ΠΡΟΣ-ΘΕΣΣΑΛΟΝΙΚΕΙΣ-Β =
word (Π ∷ α ∷ ῦ ∷ ∙λ ∷ ο ∷ ς ∷ []) "2Thess.1.1"
∷ word (κ ∷ α ∷ ὶ ∷ []) "2Thess.1.1"
∷ word (Σ ... | 46.868833 | 91 | 0.369518 |
1caea53527969f970c7ce4a1da2e1164ca814a02 | 1,838 | agda | Agda | test/Succeed/Issue795.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue795.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue795.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- {-# OPTIONS -v tc.term.args:30 -v tc.meta:50 #-}
module Issue795 where
data Q (A : Set) : Set where
F : (N : Set → Set) → Set₁
F N = (A : Set) → N (Q A) → N A
postulate
N : Set → Set
f : F N
R : (N : Set → Set) → Set
funny-term : ∀ N → (f : F N) → R N
-- This should work now: WAS: "Refuse to constru... | 20.197802 | 75 | 0.555495 |
29c40d6569aa11b859be9bd7563ff1ced9700cc6 | 1,615 | agda | Agda | Cubical/Data/HomotopyGroup/Base.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Data/HomotopyGroup/Base.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Data/HomotopyGroup/Base.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | 1 | 2021-03-12T20:08:45.000Z | 2021-03-12T20:08:45.000Z | {-# OPTIONS --safe #-}
module Cubical.Data.HomotopyGroup.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
import Cubical.Foundations.GroupoidLaws as GL
open import Cubical.Foundations.Pointed
open import Cubical.Data.Nat
open import Cubical.Algebra.Group
open import Cubical.... | 30.471698 | 81 | 0.548607 |
2fd053889e58887a3b3e85bfb52e4e88f013a3f0 | 5,436 | agda | Agda | Cubical/Algebra/Ring/Properties.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/Properties.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/Properties.agda | knrafto/cubical | f6771617374bfe65a7043d00731fed5a673aa729 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Ring.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import... | 41.815385 | 101 | 0.392752 |
c5aaea1a9a142a73766ad5b5d0d72c03564f899b | 5,858 | agda | Agda | src/Extensions/List.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Extensions/List.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | src/Extensions/List.agda | metaborg/ts.agda | 7fe638b87de26df47b6437f5ab0a8b955384958d | [
"MIT"
] | null | null | null | module Extensions.List where
open import Prelude
open import Data.List
open import Data.Fin using (fromℕ≤; zero; suc)
open import Data.List.All hiding (lookup; map)
open import Data.Maybe hiding (All; map)
open import Relation.Nullary
open import Relation.Nullary.Decidable using (map′)
open import Relation.Binary.Cor... | 36.385093 | 107 | 0.481564 |
29e59f1f76608bccd33b807f34e5df51a82c822f | 520 | agda | Agda | Cubical/Algebra/CommRing/Integers.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Integers.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Integers.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | 1 | 2021-03-12T20:08:45.000Z | 2021-03-12T20:08:45.000Z | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Integers where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.CommRing
open import Cubical.HITs.Ints.BiInvInt
renaming (
_+_ to _+ℤ_;
-_ to _-ℤ_;
+-assoc to +ℤ-assoc;
+-comm to +ℤ-comm
)
BiInvIntAsCommRing : CommRing ℓ-ze... | 21.666667 | 46 | 0.663462 |
50b915177c809cd12b69c0196d24cc00e2885236 | 1,229 | agda | Agda | Structure/Category/NaturalTransformation/Equiv.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/Category/NaturalTransformation/Equiv.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/Category/NaturalTransformation/Equiv.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Structure.Category.NaturalTransformation.Equiv where
import Function.Equals
open Function.Equals.Dependent
import Lvl
open import Logic
open import Logic.Predicate
open import Structure.Category
open import Structure.Category.Functor
open import Structure.Category.NaturalTransformation
open imp... | 26.148936 | 61 | 0.70057 |
29d8ea9310c99795cfde7ce2d245a4681a3aa6e2 | 2,335 | agda | Agda | test/LibSucceed/Issue1382.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/LibSucceed/Issue1382.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/LibSucceed/Issue1382.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --allow-unsolved-metas #-}
-- Andreas, 2014-12-06
-- Reported by sanzhiyan, Dec 4 2014
open import Data.Vec
open import Data.Fin
open import Data.Nat renaming (_+_ to _+N_)
open import Data.Nat.Solver
open import Relation.Binary.PropositionalEquality hiding ([_])
open +-*-Solver using (prove; solve; _:=_;... | 43.240741 | 117 | 0.558887 |
2f3805f23dd84ddd28698077701ff78be93f28cc | 63,312 | agda | Agda | agda-stdlib/src/Data/Integer/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Integer/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Integer/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some properties about integers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- Disabled to prevent warnings from deprecated names
{-# OPTIONS --war... | 33.19979 | 111 | 0.425922 |
31250c2cdb40ce4e6071dccacfa02c662062da0b | 841 | agda | Agda | test/succeed/Test0.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | test/succeed/Test0.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | test/succeed/Test0.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 50 | 2015-01-10T01:48:08.000Z | 2022-02-14T03:03:25.000Z | {-# OPTIONS --without-K #-}
open import lib.Base
module succeed.Test0 where
module _ where
private
data #I : Type₀ where
#zero : #I
#one : #I
I : Type₀
I = #I
zero : I
zero = #zero
one : I
one = #one
postulate
seg : zero == one
I-elim : ∀ {i} {P : I → Type i} (zero* : P ze... | 21.025 | 68 | 0.470868 |
2f4579f990805bf4ae7a2a1c297128caef7cfddf | 7,296 | agda | Agda | Cubical/Modalities/Lex.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Modalities/Lex.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Modalities/Lex.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --postfix-projections #-}
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function renaming (uncurry to λ⟨,⟩_)
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence
open import Cubical.Foundations.Transpor... | 26.150538 | 138 | 0.488624 |
4dbecffc043af9188d9ef0acd9f7633f9c609729 | 20,018 | agda | Agda | theorems/groups/CoefficientExtensionality.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | theorems/groups/CoefficientExtensionality.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | theorems/groups/CoefficientExtensionality.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 groups.CoefficientExtensionality where
module _ {i} {A : Type i} (dec : has-dec-eq A) where
open FreeAbelianGroup A
Word-coef : Word A → (A → ℤ)
Word-coef nil a = 0
Word-coef (inl a' :: w) a with dec a' a
Word-coef (inl a' :: w) a | inl a'=a... | 46.230947 | 134 | 0.512139 |
50ba1282587dbb247faede0d79314e22e0c9daf6 | 5,321 | agda | Agda | core/lib/types/TLevel.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | core/lib/types/TLevel.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | core/lib/types/TLevel.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 50 | 2015-01-10T01:48:08.000Z | 2022-02-14T03:03:25.000Z | {-# OPTIONS --without-K --rewriting #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.types.Empty
open import lib.types.Nat
module lib.types.TLevel where
⟨_⟩₋₁ : ℕ → ℕ₋₂
⟨ n ⟩₋₁ = S ⟨ n ⟩₋₂
⟨_⟩ : ℕ → ℕ₋₂
⟨ n ⟩ = S (S ⟨ n ⟩₋₂)
infixl 80 _+2+_
_+2+_ : ℕ₋₂ → ℕ₋₂ → ℕ₋₂
⟨-2⟩ +2+ n = n
S m +2+ n = S ... | 27.858639 | 77 | 0.440707 |
298d64711ed604760b2432dc45e60487d1b4978b | 8,220 | agda | Agda | Cubical/HITs/FiniteMultiset/CountExtensionality.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/FiniteMultiset/CountExtensionality.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/FiniteMultiset/CountExtensionality.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.CountExtensionality where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat
open import Cubical.Data.Nat.Order
open import Cubical.Data.Empty as ⊥
open import Cubical.Data.S... | 42.8125 | 126 | 0.509854 |
294de7e13ce27566c48cc7868a767ed948726ad4 | 136 | agda | Agda | test/interaction/Issue835.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue835.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue835.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Issue835 where
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
postulate
A : Set
x y : A
F : x ≡ y → Set
F ()
| 9.714286 | 42 | 0.507353 |
4da4acc0d914449b06258226971051f3f4959e9a | 358 | agda | Agda | src/Calf/Prelude.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | 29 | 2021-07-14T03:18:28.000Z | 2022-03-22T20:35:11.000Z | src/Calf/Prelude.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | null | null | null | src/Calf/Prelude.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | 2 | 2021-10-06T10:28:24.000Z | 2022-01-29T08:12:01.000Z | {-# OPTIONS --prop --without-K --rewriting #-}
module Calf.Prelude where
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite public
Ω = Prop
□ = Set
postulate
funext : ∀ {a b} {A : Set a} {B : A → Set b} {f g : (a : A) → B a} → (∀ x → f x ≡ g x) → f ≡ g
funext/Ω : {A : Prop} {B : □} {f g... | 25.571429 | 96 | 0.541899 |
18f29788b940c4eb0211e45645b991954ea25623 | 588 | agda | Agda | test/Fail/Issue3855OccursErasedDefinition.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue3855OccursErasedDefinition.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue3855OccursErasedDefinition.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2019-10-01, continuing issue #3855 (erasure modality @0)
-- Test case by Nisse at https://github.com/agda/agda/issues/3855#issuecomment-527164352
-- Occurs check needs to take erasure status of definitions
-- (here: postulates) into account.
postulate
P : Set → Set
p : (A : Set) → P A
@0 A : S... | 25.565217 | 88 | 0.687075 |
4118df13c7463e5d3f471e7b31b14ea61320f998 | 138 | agda | Agda | Cubical/Codata/M/AsLimit/Coalg.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Codata/M/AsLimit/Coalg.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Codata/M/AsLimit/Coalg.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --guardedness --safe #-}
module Cubical.Codata.M.AsLimit.Coalg where
open import Cubical.Codata.M.AsLimit.Coalg.Base public
| 23 | 54 | 0.76087 |
185e4d553236541997fc5b066df92f784b13ded5 | 1,914 | agda | Agda | agda/Number/InclusionModules.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | 3 | 2020-07-31T18:15:26.000Z | 2022-02-19T12:15:21.000Z | agda/Number/InclusionModules.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | agda/Number/InclusionModules.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts #-}
module Number.InclusionModules where
import Number.Postulates
import Number.Inclusions
-- NOTE: the following takes a very long time to typecheck
-- see https://lists.chalmers.se/pipermail/agda-dev/2015-September/000201.html
-- see https://github.com/agda/agda/issues/1646
... | 50.368421 | 89 | 0.784222 |
20baf87b539733db297ad34dd41aa8e1f01c1905 | 1,468 | agda | Agda | test/Fail/Issue5531.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue5531.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue5531.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --type-in-type --rewriting #-}
open import Agda.Builtin.Sigma
open import Agda.Builtin.Equality
coe : {A B : Set} → A ≡ B → A → B
coe refl x = x
{-# BUILTIN REWRITE _≡_ #-}
Tel = Set
U = Set
variable
Δ : Tel
A B : Δ → U
δ₀ δ₁ : Δ
postulate
IdTel : (Δ : Tel)(δ₀ δ₁ : Δ) → Tel
Id : (A : Δ → U){... | 28.784314 | 91 | 0.412125 |
12cdf0d63ffd93f82a1910bd40b41e7546c65c92 | 1,953 | agda | Agda | src/Categories/Functor/Monoidal/Symmetric.agda | o1lo01ol1o/agda-categories | 5fc007768264a270b8ff319570225986773da601 | [
"MIT"
] | null | null | null | src/Categories/Functor/Monoidal/Symmetric.agda | o1lo01ol1o/agda-categories | 5fc007768264a270b8ff319570225986773da601 | [
"MIT"
] | null | null | null | src/Categories/Functor/Monoidal/Symmetric.agda | o1lo01ol1o/agda-categories | 5fc007768264a270b8ff319570225986773da601 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Categories.Category.Monoidal.Structure
using (SymmetricMonoidalCategory)
module Categories.Functor.Monoidal.Symmetric {o o′ ℓ ℓ′ e e′}
(C : SymmetricMonoidalCategory o ℓ e) (D : SymmetricMonoidalCategory o′ ℓ′ e′)
where
open import Level
open import Data.Product u... | 33.101695 | 81 | 0.75064 |
cb3ff8fa9679b48e65965f64f244d794c540fa5d | 1,206 | agda | Agda | src/Categories/Minus2-Category.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Minus2-Category.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Minus2-Category.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
-- 'Traditionally', meaning in nLab and in
-- "Lectures on n-Categories and Cohomology" by Baez and Shulman
-- https://arxiv.org/abs/math/0608420
-- (-2)-Categories are defined to be just a single value, with trivial Hom
-- But that's hardly a definition of a class of things, it's a... | 31.736842 | 78 | 0.689055 |
c591b069716d5f353eb93b0fc5c18143566c5856 | 26 | agda | Agda | test/interaction/space in the path/BehindSpaces.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/space in the path/BehindSpaces.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/space in the path/BehindSpaces.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module BehindSpaces where
| 13 | 25 | 0.884615 |
2316d1a470eeedbd50933749858b01472d803920 | 4,944 | agda | Agda | Structure/Operator/Vector/LinearCombination/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/Operator/Vector/LinearCombination/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/Operator/Vector/LinearCombination/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | import Lvl
open import Structure.Operator.Vector
open import Structure.Setoid
open import Type
module Structure.Operator.Vector.LinearCombination.Proofs
{ℓᵥ ℓₛ ℓᵥₑ ℓₛₑ}
{V : Type{ℓᵥ}} ⦃ equiv-V : Equiv{ℓᵥₑ}(V) ⦄
{S : Type{ℓₛ}} ⦃ equiv-S : Equiv{ℓₛₑ}(S) ⦄
{_+ᵥ_ : V → V → V}
{_⋅ₛᵥ_ : S → V → V}
{_+ₛ_ _⋅... | 55.550562 | 285 | 0.591828 |
18af3d0e94e08557428b7293ad64c1b83bb314cc | 582 | agda | Agda | Agda/RevRev.agda | Brethland/LEARNING-STUFF | eb2cef0556efb9a4ce11783f8516789ea48cc344 | [
"MIT"
] | 2 | 2020-02-03T05:05:52.000Z | 2020-03-11T10:35:42.000Z | Agda/RevRev.agda | Brethland/LEARNING-STUFF | eb2cef0556efb9a4ce11783f8516789ea48cc344 | [
"MIT"
] | null | null | null | Agda/RevRev.agda | Brethland/LEARNING-STUFF | eb2cef0556efb9a4ce11783f8516789ea48cc344 | [
"MIT"
] | 1 | 2019-12-13T04:50:46.000Z | 2019-12-13T04:50:46.000Z | {-# OPTIONS --safe #-}
module RevRev where
open import Relation.Binary.PropositionalEquality
open import Data.List
open import Data.List.Properties
rev : ∀ {ℓ} {A : Set ℓ} → List A → List A
rev [] = []
rev (x ∷ xs) = rev xs ++ x ∷ []
lemma : ∀ {ℓ} {A : Set ℓ} (a b : List A) → rev (a ++ b) ≡ rev b ++ rev a
lemma [] b... | 30.631579 | 76 | 0.573883 |
a1f6f46ecd6fd03c588834a85c90a84751640b37 | 8,181 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Product/Relation/Binary/Lex/NonStrict.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Product/Relation/Binary/Lex/NonStrict.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Product/Relation/Binary/Lex/NonStrict.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Lexicographic products of binary relations
------------------------------------------------------------------------
-- The definition of lexicographic product used here is suitable if
-- the left-hand relation i... | 37.875 | 76 | 0.554455 |
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.