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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
126ad82ec80e0cc0f4a6e85bb6ec77a6564206cd | 6,273 | agda | Agda | Cubical/Algebra/CommRing/Base.agda | apabepa10/cubical | 3a9bb56260c25a6f2e9c20af8d278de0fe8d9e05 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Base.agda | apabepa10/cubical | 3a9bb56260c25a6f2e9c20af8d278de0fe8d9e05 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Base.agda | apabepa10/cubical | 3a9bb56260c25a6f2e9c20af8d278de0fe8d9e05 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.CommRing.Base 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 C... | 38.25 | 115 | 0.565599 |
570c0211ec6243fd8c9454f771ced967b5d757fa | 1,366 | agda | Agda | examples/lib/Logic/Congruence.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/lib/Logic/Congruence.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/lib/Logic/Congruence.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
module Logic.Congruence where
import Prelude
import Logic.Relations
import Logic.Equivalence
open Prelude
open Logic.Relations
open Logic.Equivalence using (Equivalence)
renaming (module Equivalence to Proj)
data Congruence (A : Set) : Set1 where
congruence :
(Eq : Equivalence A) ->
... | 25.773585 | 78 | 0.611274 |
12c16ab75c3ee77fdd61e205339d15373792c12d | 24,652 | agda | Agda | Cubical/HITs/Truncation/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/HITs/Truncation/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/HITs/Truncation/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.HITs.Truncation.Properties where
open import Cubical.Data.NatMinusOne
open import Cubical.HITs.Truncation.Base
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.GroupoidLaws
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open ... | 43.477954 | 146 | 0.550706 |
dcf7c49e348a35315ed41cc7842e271e79509e95 | 90 | agda | Agda | test/interaction/Issue4215.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue4215.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue4215.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
open import Agda.Builtin.Nat
foo : Nat → Nat → Nat
foo 0 m = {!m!}
foo (suc n) m = {!!}
| 12.857143 | 28 | 0.555556 |
5969e8de8704c6862cd0fb6062152c1dc2c451b5 | 238 | agda | Agda | test/Fail/CoinductiveBuiltinList.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/CoinductiveBuiltinList.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Fail/CoinductiveBuiltinList.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | module CoinductiveBuiltinList where
open import Common.Coinduction
data List (A : Set) : Set where
[] : List A
_∷_ : (x : A) (xs : ∞ (List A)) → List A
{-# BUILTIN LIST List #-}
{-# BUILTIN NIL [] #-}
{-# BUILTIN CONS _∷_ #-}
| 19.833333 | 42 | 0.584034 |
23def69502ccde6368272f5648a846a698a23454 | 1,522 | agda | Agda | src/Categories/Minus2-Category/Properties.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Minus2-Category/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Minus2-Category/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Minus2-Category.Properties where
-- All -2-Categories are equivalent to One
open import Level
open import Data.Product using (Σ; _,_; proj₁; proj₂)
open import Data.Unit using (⊤; tt)
open import Categories.Minus2-Category
open import Categories.Category
import C... | 26.701754 | 105 | 0.604468 |
06b1d21487c59a58803fd36e4e40bef2c3735b55 | 421 | agda | Agda | Eq.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | 4 | 2016-12-25T01:52:57.000Z | 2021-03-22T00:28:03.000Z | Eq.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | null | null | null | Eq.agda | msullivan/godels-t | 7412725cf27873b2b23f7e411a236a97dd99ef91 | [
"MIT"
] | 3 | 2015-04-26T11:39:14.000Z | 2021-05-04T22:37:18.000Z | module Eq where
open import Prelude
open import T
open import Contexts
open import Eq.Defs
import Eq.KleeneTheory
import Eq.ObsTheory
import Eq.LogicalTheory
import Eq.Theory
open Eq.Defs public
open Eq.KleeneTheory public using (kleene-is-equivalence ; nats-halt)
open Eq.ObsTheory public using (obs-is-coarsest ; obs... | 24.764706 | 72 | 0.812352 |
1d0c02576e146353a45a8d094e4d691a8ece1969 | 1,466 | agda | Agda | src/LibraBFT/Impl/Consensus/ConsensusTypes/ExecutedBlock.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Impl/Consensus/ConsensusTypes/ExecutedBlock.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Impl/Consensus/ConsensusTypes/ExecutedBlock.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 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.Base.Types
import LibraBFT.Impl.Consensus.Consensus... | 40.722222 | 111 | 0.740791 |
3d52ca2a14165c539bbe847c6e176ce35a4fa107 | 1,489 | agda | Agda | test/Succeed/QuoteExtLam.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/QuoteExtLam.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/QuoteExtLam.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
open import Common.Prelude
open import Common.Reflection
open import Common.Equality
open import Agda.Builtin.Sigma
magic₁ : ⊥ → Nat
magic₁ = λ ()
magic₂ : ⊥ → Nat
magic₂ = λ { () }
magic₃ : ⊥ → Nat
magic₃ ()
data Wrap (A : Set) : Set where
wrap : A → Wrap A
magic₄ : Wrap ⊥ → Nat
magic₄ (wrap ())
data OK : Set... | 22.223881 | 93 | 0.627267 |
3db94f28f40c5c1591aed1deab022e532f43ddfc | 2,328 | agda | Agda | Cubical/Categories/Additive/Instances/Terminal.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Categories/Additive/Instances/Terminal.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Categories/Additive/Instances/Terminal.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Categories.Additive.Instances.Terminal where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Categories.Category
open import Cubical.Categories.Additive.Base
open import Cubical.Categories.Instances.Discrete
open import Cubica... | 34.746269 | 96 | 0.734536 |
299a852c9841ee9d6a016a12bf43323e193c683e | 2,082 | agda | Agda | notes/FOT/FOTC/Polymorphism/List.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | notes/FOT/FOTC/Polymorphism/List.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | notes/FOT/FOTC/Polymorphism/List.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Testing polymorphic lists using data types
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-pol... | 28.520548 | 80 | 0.534582 |
3d3369edfd6b96bd62c1798a3b9a4f7acf497ebb | 321 | agda | Agda | notes/agda-interface/OptionPragma.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 10 | 2015-09-03T20:54:16.000Z | 2019-12-03T13:44:25.000Z | notes/agda-interface/OptionPragma.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 121 | 2015-01-25T13:22:12.000Z | 2018-04-22T06:01:44.000Z | notes/agda-interface/OptionPragma.agda | asr/apia | a66c5ddca2ab470539fd68c42c4fbd45f720d682 | [
"MIT"
] | 4 | 2016-05-10T23:06:19.000Z | 2016-08-03T03:54:55.000Z | {-# OPTIONS --no-termination-check #-}
-- Testing how the pragmas are saved in the agda interface files (using
-- the program dump-agdai).
-- 13 July 2012. Because for example the --no-termination-check is a
-- PragmaOption it is saved as:
--
-- iPragmaOptions = [["--no-termination-check"]]
module OptionPragma where... | 26.75 | 71 | 0.713396 |
c58e8de704e9b49a95e8de304577807f8def9918 | 2,064 | agda | Agda | examples/Sized/CounterCell.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 23 | 2016-06-19T12:57:55.000Z | 2020-10-12T23:15:25.000Z | examples/Sized/CounterCell.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | null | null | null | examples/Sized/CounterCell.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 2 | 2018-09-01T15:02:37.000Z | 2022-03-12T11:41:00.000Z | module Sized.CounterCell where
open import Data.Product
open import Data.Nat.Base
open import Data.Nat.Show
open import Data.String.Base using (String; _++_)
open import SizedIO.Object
open import SizedIO.IOObject
open import SizedIO.Base
open import SizedIO.Console hiding (main)
open import SizedIO.ConsoleObject
o... | 27.157895 | 71 | 0.588663 |
068d53d8dc10e05ab2125b8d79c589208f6bc5d0 | 6,145 | agda | Agda | src/Categories/Category/Construction/Adjoints.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Category/Construction/Adjoints.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Category/Construction/Adjoints.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Construction.Adjoints where
open import Level
open import Data.Product using (_×_ ; _,_)
open import Categories.Category
open import Categories.Category.Helper
open import Categories.Adjoint
open import Categories.Adjoint.Compose
open import Categories.Ad... | 38.892405 | 126 | 0.5131 |
59b1243121a3dca7dfdc2768a67b7f3e31cf758b | 1,560 | agda | Agda | src/Prelude/Functor.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 111 | 2015-01-05T11:28:15.000Z | 2022-02-12T23:29:26.000Z | src/Prelude/Functor.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 59 | 2016-02-09T05:36:44.000Z | 2022-01-14T07:32:36.000Z | src/Prelude/Functor.agda | t-more/agda-prelude | da4fca7744d317b8843f2bc80a923972f65548d3 | [
"MIT"
] | 24 | 2015-03-12T18:03:45.000Z | 2021-04-22T06:10:41.000Z |
module Prelude.Functor where
open import Agda.Primitive
open import Prelude.Function
open import Prelude.Equality
record Functor {a b} (F : Set a → Set b) : Set (lsuc a ⊔ b) where
infixl 4 _<$>_ _<$_
field
fmap : ∀ {A B} → (A → B) → F A → F B
_<$>_ = fmap
_<$_ : ∀ {A B} → A → F B → F A
x <$ m = fmap (... | 26.440678 | 99 | 0.484615 |
29e3a8eb9c0e9d19b155ff219991289ce6919bb4 | 2,516 | agda | Agda | Cubical/Categories/Instances/CommAlgebras.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Categories/Instances/CommAlgebras.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Categories/Instances/CommAlgebras.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Categories.Instances.CommAlgebras where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Powerset
open import Cubical.Algebra.CommRing
open import Cubical.Algebra.Algebra
open import Cubical.Algebra.CommAlgebra
open... | 39.936508 | 100 | 0.638712 |
29afc43a8ff6e4af733d97802c820d7782ad76e4 | 1,274 | agda | Agda | test/interaction/Issue1138.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue1138.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue1138.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2014-05-21, reported and test case by Fabien Renaud
module Issue1138 where
open import Common.Equality
postulate
Var : Set
Varset : Set
_∖_ : Varset -> Var -> Varset
_⊆_ : Varset -> Varset -> Set
data Expression : Set where
abs : Var -> Expression -> Expression
FV : Expression -> Var... | 26 | 68 | 0.511774 |
414d931715b84d1150a8a189edb0822dbc47f43a | 2,396 | agda | Agda | src/Categories/Morphism/Properties.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Morphism/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Morphism/Properties.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 64 | 2019-06-02T16:58:15.000Z | 2022-03-14T02:00:59.000Z | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Morphism.Properties {o ℓ e} (𝒞 : Category o ℓ e) where
open import Data.Product using (_,_; _×_)
open Category 𝒞
open Definitions 𝒞
open HomReasoning
import Categories.Morphism as M
open M 𝒞
open import Categories.Morphism.Reas... | 24.44898 | 73 | 0.476628 |
313b0ff2f91a8d2b56ed9d4907615576452f1165 | 121 | agda | Agda | prototyping/Properties/Functions.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | 1 | 2021-12-05T21:53:03.000Z | 2021-12-05T21:53:03.000Z | prototyping/Properties/Functions.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | prototyping/Properties/Functions.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | module Properties.Functions where
infixr 5 _∘_
_∘_ : ∀ {A B C : Set} → (B → C) → (A → B) → (A → C)
(f ∘ g) x = f (g x)
| 17.285714 | 51 | 0.487603 |
4aafcf4749a34ebb46473069bd29f34af434055d | 30,869 | agda | Agda | agda/FsubMinus.agda | HuStmpHrrr/popl20-artifact | 48214a55ebb484fd06307df4320813d4a002535b | [
"MIT"
] | 1 | 2021-09-23T08:40:28.000Z | 2021-09-23T08:40:28.000Z | agda/FsubMinus.agda | HuStmpHrrr/popl20-artifact | 48214a55ebb484fd06307df4320813d4a002535b | [
"MIT"
] | null | null | null | agda/FsubMinus.agda | HuStmpHrrr/popl20-artifact | 48214a55ebb484fd06307df4320813d4a002535b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
-- In this module, we define F<:⁻, F<:ᵈ (F<: deterministic defined in Pierce92) and
-- show that F<:⁻ subtyping is undecidable.
module FsubMinus where
open import Data.List as List
open import Data.Nat
open import Data.Maybe as Maybe
open import Data.Product
open import Data.Vec as ... | 39.626444 | 139 | 0.439826 |
1293c21dd341e78c395ee6572a3c180b7ee1e413 | 1,783 | agda | Agda | Cubical/Data/HomotopyGroup/Base.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/Data/HomotopyGroup/Base.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | Cubical/Data/HomotopyGroup/Base.agda | ryanorendorff/cubical | c67854d2e11aafa5677e25a09087e176fafd3e43 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --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.Data.Group.Base
open imp... | 31.839286 | 80 | 0.514302 |
1c2f030b97274f8c50775b169eba2f6f1df89364 | 559 | agda | Agda | test/Succeed/Issue133.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue133.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue133.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Issue133 where
data Nat : Set where
zz : Nat
ss : Nat → Nat
data _==_ {X : Set}(x : X) : X → Set where
refl : x == x
data Zero : Set where
data Eq? (x : Nat) : Nat → Set where
same : Eq? x x
diff : {y : Nat} → (x == y → Zero) → Eq? x y
-- This failed before due to absurd lambda checking not getti... | 18.032258 | 63 | 0.520572 |
417f9125ec2e908813fcc9640dd9941664d09e53 | 342 | agda | Agda | test/Succeed/OverloadedConstructors.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/OverloadedConstructors.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/OverloadedConstructors.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module OverloadedConstructors 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)
three : Nat
three = suc (suc (suc zero))
ftwo : Fin three
ftwo = suc (suc zero)
inc : Nat -> Nat
inc = suc
{-
{-# BUILT... | 14.25 | 42 | 0.581871 |
57de82bb317950f59abe43b9dc83a7e74c9bda68 | 9,696 | agda | Agda | dialectica-cats/DCBSets.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | dialectica-cats/DCBSets.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | dialectica-cats/DCBSets.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | module DCBSets where
open import prelude
open import relations
-- The objects:
Obj : Set₁
Obj = Σ[ U ∈ Set ] (Σ[ X ∈ Set ] (Σ[ x ∈ (⊤ → X) ] (Σ[ d ∈ (X × X → X) ](Σ[ α ∈ (U → X → Set) ](
(∀{u : U}{x₁ x₂ : X} → α u (d (x₁ , x₂)) → ((α u x₁) × (α u x₂))) ×
( ∀{Y : Set}{x' : X}{F : Y → X}{y : ⊤ → Y} → d (x' , F (y t... | 39.414634 | 218 | 0.379744 |
29c9a393b0381dd344d77bd9f5a8de7d7f9d6282 | 214 | agda | Agda | src/Auxiliary/Extensionality.agda | peterthiemann/dual-session | 7a8bc1f6b2f808bd2a22c592bd482dbcc271979c | [
"BSD-2-Clause"
] | 1 | 2022-02-13T05:43:25.000Z | 2022-02-13T05:43:25.000Z | src/Auxiliary/Extensionality.agda | peterthiemann/dual-session | 7a8bc1f6b2f808bd2a22c592bd482dbcc271979c | [
"BSD-2-Clause"
] | null | null | null | src/Auxiliary/Extensionality.agda | peterthiemann/dual-session | 7a8bc1f6b2f808bd2a22c592bd482dbcc271979c | [
"BSD-2-Clause"
] | 1 | 2019-12-07T16:12:50.000Z | 2019-12-07T16:12:50.000Z | module Auxiliary.Extensionality where
open import Relation.Binary.PropositionalEquality using (_≡_)
postulate
ext : {A : Set}{B : A → Set}{f : (x : A) → B x} {g : (x : A) → B x} →
(∀ x → f x ≡ g x) → f ≡ g
| 26.75 | 71 | 0.579439 |
57ef13a9b6c667e681b5d8a6e4fd17c8c8258ace | 111,198 | agda | Agda | src/Structure-identity-principle/Erased.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | 3 | 2020-05-21T22:58:50.000Z | 2021-09-02T17:18:15.000Z | src/Structure-identity-principle/Erased.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | src/Structure-identity-principle/Erased.agda | nad/equality | 402b20615cfe9ca944662380d7b2d69b0f175200 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- A variant of the development in "Internalizing Representation
-- Independence with Univalence" (by Angiuli, Cavallo, Mörtberg and
-- Zeuner) with support for erasure
------------------------------------------------------------------------
-- T... | 36.66271 | 146 | 0.479298 |
59a97c5ab989f2f1dbbf45b113b5cbcb6f004d60 | 618 | agda | Agda | test/Succeed/Issue1292.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1292.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1292.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2014-10-05, issue reported by Stevan Andjelkovic
{-# OPTIONS --without-K #-}
postulate
IO : Set → Set
record ⊤ : Set where
constructor tt
record Container : Set₁ where
field
Shape : Set
Position : Shape → Set
open Container public
data W (A : Set) (B : A → Set) : Set where
sup : (x ... | 18.727273 | 75 | 0.595469 |
295d1d912ae496a39acf28cc2e455e08d7e7f71b | 725 | agda | Agda | Parametric/Change/Type.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 10 | 2015-03-04T06:09:20.000Z | 2019-07-19T07:06:59.000Z | Parametric/Change/Type.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 6 | 2015-07-01T18:09:31.000Z | 2017-05-04T13:53:59.000Z | Parametric/Change/Type.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 1 | 2016-02-18T12:26:44.000Z | 2016-02-18T12:26:44.000Z | ------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Simply-typed changes (Fig. 3 and Fig. 4d)
------------------------------------------------------------------------
import Parametric.Syntax.Type as Type
module Parametric.Change.Type
(Base : Type.Structure)
wh... | 26.851852 | 72 | 0.571034 |
579bc96e79998985f0235dd79c04aa08165ba3ef | 1,187 | agda | Agda | src/Structure/Monoid/Laws.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null | src/Structure/Monoid/Laws.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null | src/Structure/Monoid/Laws.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null |
module Structure.Monoid.Laws where
open import Prelude
record MonoidLaws {a} (A : Set a) {{Mon : Monoid A}} : Set a where
field
idLeft : (x : A) → mempty <> x ≡ x
idRight : (x : A) → x <> mempty ≡ x
<>assoc : (x y z : A) → x <> (y <> z) ≡ (x <> y) <> z
open MonoidLaws {{...}} public
{-# DISP... | 34.911765 | 98 | 0.590564 |
2966cae708ad6e70042228ea1fd0bd48aafc3728 | 305 | agda | Agda | setoid-cats/Basics.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | setoid-cats/Basics.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | setoid-cats/Basics.agda | heades/AUGL | b33c6a59d664aed46cac8ef77d34313e148fecc2 | [
"MIT"
] | null | null | null | -------------------------------------------
-- This file contains basic definitions. --
-------------------------------------------
module Basics where
open import Level
data ⊥-poly {l : Level} : Set l where
⊥-poly-elim : ∀ {l w} {Whatever : Set w} → ⊥-poly {l} → Whatever
⊥-poly-elim ()
| 25.416667 | 66 | 0.42623 |
29e036e6086afaf8a3bfa714b25c3f4ddb02c530 | 266 | agda | Agda | src/Utilities/ExistsSyntax.agda | armkeh/agda-computability | f6a6845a54aed7ecc6841ff5ad89643b553cbd77 | [
"MIT"
] | null | null | null | src/Utilities/ExistsSyntax.agda | armkeh/agda-computability | f6a6845a54aed7ecc6841ff5ad89643b553cbd77 | [
"MIT"
] | null | null | null | src/Utilities/ExistsSyntax.agda | armkeh/agda-computability | f6a6845a54aed7ecc6841ff5ad89643b553cbd77 | [
"MIT"
] | null | null | null | module Utilities.ExistsSyntax where
open import Level using (Level ; _⊔_)
open import Data.Product using (Σ)
variable
a b : Level
A : Set a
B : Set b
∃-syntax : (A : Set a) → (A → Set b) → Set (a ⊔ b)
∃-syntax = Σ
syntax ∃-syntax A (λ x → B) = ∃ x ∶ A • B
| 17.733333 | 50 | 0.593985 |
18184134662dd12aa651dfdadbd92368c5b190c0 | 3,132 | agda | Agda | homotopy/SuspensionJoin.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | homotopy/SuspensionJoin.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/SuspensionJoin.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
module homotopy.SuspensionJoin {i} (A : Type i) where
{- To -}
false, : A → Bool × A
false, a = false , a
true, : A → Bool × A
true, a = true , a
module To = SuspensionRec {i} A {_} {Bool * A} (left false :> Bool * A) (left true) (λ a → glue (false, a) ∙ ! (glue (true,... | 36.418605 | 144 | 0.515645 |
06612f6b2d88751d9f90a743139b1bab8d4b5d60 | 4,050 | agda | Agda | Cubical/Foundations/Pointed/Homotopy.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Foundations/Pointed/Homotopy.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Foundations/Pointed/Homotopy.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Foundations.Pointed.Homotopy where
{-
This module defines two kinds of pointed homotopies,
∙∼ and ∙∼P, and proves their equivalence
-}
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.GroupoidLaws
open import Cubical.Foundations.Isomorphism
open import ... | 33.75 | 103 | 0.512593 |
c5518ca6f89ab2d8be41d51cb37b7ddc3093192f | 629 | agda | Agda | examples/outdated-and-incorrect/Alonzo/PreludeString.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | null | null | null | examples/outdated-and-incorrect/Alonzo/PreludeString.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | null | null | null | examples/outdated-and-incorrect/Alonzo/PreludeString.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
module PreludeString where
import RTP -- magic module
import PreludeList
open PreludeList using (List)
open import AlonzoPrelude
infixr 50 _++_
private
primitive
primStringAppend : String -> String -> String
-- primStringReverse : String -> String
primStringToList : String -> List Cha... | 17.971429 | 52 | 0.721781 |
4a61b856ef684ab111337fb8759f321e001e06aa | 3,174 | agda | Agda | Cubical/Foundations/FunExtEquiv.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Foundations/FunExtEquiv.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/Foundations/FunExtEquiv.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Foundations.FunExtEquiv where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence
private
variable
ℓ ℓ₁ ℓ₂ ℓ₃ : Level
-- Function extensionality is an equivalence
module _ {A : Type ℓ} {B : A → ... | 34.5 | 81 | 0.543793 |
3d3c79a681db018ee58ea8b7a9c4a23b8432d79c | 25,358 | agda | Agda | Cubical/Homotopy/Group/Base.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Homotopy/Group/Base.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Homotopy/Group/Base.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"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.871069 | 97 | 0.486158 |
585892ca4d325640137f88710f6ea731791250b4 | 33,561 | agda | Agda | test/LibSucceed/Issue784/Values.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/LibSucceed/Issue784/Values.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/LibSucceed/Issue784/Values.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | module Issue784.Values where
open import Data.Bool using (Bool; true; false; not)
open import Data.String public using (String; _≟_)
open import Function public
open import Data.List using (List; []; _∷_; _++_; [_]; filter) renaming (map to mapL)
open import Data.List.Any public using (Any; here; there) renaming (map... | 43.529183 | 151 | 0.430559 |
3d58a993f4c6bc86cd5491e4665afdb5df87c7d6 | 32,269 | agda | Agda | agda/sn-calculus-confluence/potrec.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 3 | 2020-04-16T10:58:53.000Z | 2020-07-01T03:59:31.000Z | agda/sn-calculus-confluence/potrec.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | null | null | null | agda/sn-calculus-confluence/potrec.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 1 | 2020-04-15T20:02:49.000Z | 2020-04-15T20:02:49.000Z | module sn-calculus-confluence.potrec where
open import utility
open import sn-calculus
open import context-properties
using (->pot-view ; ->E-view)
open import sn-calculus-confluence.helper
open import Esterel.Lang
open import Esterel.Lang.Binding
open import Esterel.Lang.Properties
open import Esterel.Lang.CanFunc... | 42.740397 | 137 | 0.45254 |
291624ab2602e7a17b001193f29b65afdfe8bf44 | 1,664 | agda | Agda | Univalence/Pi0Semiring.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | Univalence/Pi0Semiring.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | Univalence/Pi0Semiring.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K #-}
module Pi0Semiring where
import Level
open import PiU
open import PiLevel0
open import Algebra using (CommutativeSemiring)
open import Algebra.Structures
using (IsSemigroup; IsCommutativeMonoid; IsCommutativeSemiring)
-----------------------------------------------------------------... | 25.6 | 78 | 0.602163 |
39f1db7849806cd4d7fa25d67003b627da323b5b | 4,539 | agda | Agda | Cubical/Algebra/Ring/BigOps.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Algebra/Ring/BigOps.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/BigOps.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | -- define ∑ and ∏ as the bigOps of a Ring when interpreted
-- as an additive/multiplicative monoid
{-# OPTIONS --safe #-}
module Cubical.Algebra.Ring.BigOps where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equi... | 31.303448 | 112 | 0.551223 |
cb1ebcac57aefa7095f26d5f1263dbcaaf463afa | 2,236 | agda | Agda | BasicIPC/Metatheory/GentzenNormalForm-KripkeMcKinseyTarski.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIPC/Metatheory/GentzenNormalForm-KripkeMcKinseyTarski.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIPC/Metatheory/GentzenNormalForm-KripkeMcKinseyTarski.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module BasicIPC.Metatheory.GentzenNormalForm-KripkeMcKinseyTarski where
open import BasicIPC.Syntax.GentzenNormalForm public
open import BasicIPC.Semantics.KripkeMcKinseyTarski public
-- Soundness with respect to all models, or evaluation.
eval : ∀ {A Γ} → Γ ⊢ A → Γ ⊨ A
eval (var i) γ = lookup i γ
eval (lam t) ... | 25.701149 | 82 | 0.549195 |
59948cf2299311be70bc0abf948e15756afb1abb | 1,832 | agda | Agda | test/LanguageConstructs.agda | JonathanBrouwer/agda2hs | dcf63cc7ce51a325a97ac58bdd0aeace24c08b15 | [
"MIT"
] | 55 | 2020-10-20T13:36:25.000Z | 2022-03-26T21:57:56.000Z | test/LanguageConstructs.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 63 | 2020-10-22T05:19:27.000Z | 2022-02-25T15:47:30.000Z | test/LanguageConstructs.agda | SNU-2D/agda2hs | 160478a51bc78b0fdab07b968464420439f9fed6 | [
"MIT"
] | 18 | 2020-10-21T22:19:09.000Z | 2022-03-12T11:42:52.000Z |
module LanguageConstructs where
open import Haskell.Prelude
{-# FOREIGN AGDA2HS {-# LANGUAGE LambdaCase #-} #-}
--------------------------------------------------
-- Lists
oneTwoThree : List Int
oneTwoThree = 1 ∷ 2 ∷ 3 ∷ []
{-# COMPILE AGDA2HS oneTwoThree #-}
exactlyTwo : List a → Maybe (a × a)
exactlyTwo (x ∷ y ... | 21.302326 | 51 | 0.57369 |
31f718821773ee9ce7bdd8bbbfecb3f878f79948 | 879 | agda | Agda | archive/agda-2/Oscar/Property/Extensionality.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-2/Oscar/Property/Extensionality.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-2/Oscar/Property/Extensionality.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module Oscar.Property.Extensionality where
open import Oscar.Level
record Extensionality
{a} {A : Set a} {b} {B : A → Set b} {ℓ₁}
(_≤₁_ : (x : A) → B x → Set ℓ₁)
{c} {C : A → Set c} {d} {D : ∀ {x} → B x → Set d} {ℓ₂}
(_≤₂_ : ∀ {x} → C x → ∀ {y : B x} → D y → Set ℓ₂)
(μ₁ : (x : A) → C x)
(μ₂ : ∀ {... | 28.354839 | 60 | 0.431172 |
58175f345dbe2857f9928405920814726e1c742b | 2,928 | agda | Agda | Fields/Orders/Partial/Archimedean.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Fields/Orders/Partial/Archimedean.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Fields/Orders/Partial/Archimedean.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 Sets.EquivalenceRelations
open import Numbers.Naturals.Semiring
open import Numbers.Integers.Definition
open import Numbers.Naturals.Order
open import LogicalFormulae
open import Groups.Definition
open import Rings.Orders.Partial.Definition
open import Set... | 49.627119 | 321 | 0.730533 |
2fb54e35d6d1df9408cedf4f14cdc028a265b26e | 705 | agda | Agda | test/Compiler/simple/VecReverse.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | 7 | 2018-11-05T22:13:36.000Z | 2018-11-06T16:38:43.000Z | test/Compiler/simple/VecReverse.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 16 | 2018-10-08T00:32:04.000Z | 2019-09-08T13:47:04.000Z | test/Compiler/simple/VecReverse.agda | xekoukou/agda-ocaml | 026a8f8473ab91f99c3f6545728e71fa847d2720 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z |
module _ where
open import Common.Prelude
open import Lib.Vec
_∘_ : ∀ {a b c} {A : Set a} {B : A → Set b} {C : ∀ x → B x → Set c}
(f : ∀ {x} (y : B x) → C x y) (g : ∀ x → B x) → ∀ x → C x (g x)
(f ∘ g) x = f (g x)
sum : ∀ {n} → Vec Nat n → Nat
sum (x ∷ xs) = x + sum xs
sum [] = 0
foldl : ∀ {A}{B : Nat → S... | 25.178571 | 90 | 0.475177 |
dc73acad7124149d51753fbe125fe233e75ad97c | 2,100 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Product/Categorical/Examples.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/Product/Categorical/Examples.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Product/Categorical/Examples.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Universe-sensitive functor and monad instances for the Product type.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Algebra
module Data.... | 33.333333 | 78 | 0.57619 |
299f648cfdc4094f77243c5efd93c26d2263296c | 19,747 | agda | Agda | prototyping/Properties/TypeNormalization.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | 1 | 2021-12-05T21:53:03.000Z | 2021-12-05T21:53:03.000Z | prototyping/Properties/TypeNormalization.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | prototyping/Properties/TypeNormalization.agda | JohnnyMorganz/luau | f2191b9e4da6a4bb2d9d344ebd7941ec2f00844b | [
"MIT"
] | null | null | null | {-# OPTIONS --rewriting #-}
module Properties.TypeNormalization where
open import Luau.Type using (Type; Scalar; nil; number; string; boolean; never; unknown; _⇒_; _∪_; _∩_)
open import Luau.Subtyping using (scalar-function-err)
open import Luau.TypeNormalization using (_∪ⁿ_; _∩ⁿ_; _∪ᶠ_; _∪ⁿˢ_; _∩ⁿˢ_; normalize)
open... | 52.37931 | 443 | 0.495316 |
1877a7fe8a330a747a8d8cd3621c2067a5e16768 | 625 | agda | Agda | test/Fail/Issue2985-2.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2985-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2985-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- This variant of the code is due to Ulf Norell.
{-# OPTIONS --sized-types #-}
open import Agda.Builtin.Size
data ⊥ : Set where
mutual
data Unit (i : Size) : Set where
c : Unit′ i → Unit i
data Unit₁ (i : Size) : Set where
c₁ : ⊥ → Unit i → Unit₁ i
record Unit′ (i : Size) : Set where
coinducti... | 16.025641 | 49 | 0.5616 |
598edf4561251944b74482cac06ffab0439dffa7 | 4,586 | agda | Agda | src/fot/FOTC/Data/Stream/PropertiesI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Data/Stream/PropertiesI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Data/Stream/PropertiesI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Streams properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTION... | 32.524823 | 80 | 0.497165 |
41a5a84d0dd8059dfba3704fb37f6b61e8437733 | 8,645 | agda | Agda | Cubical/Functions/Embedding.agda | jorge-jbs/cubical | ebbe824fda41ab6524b62a42959665be4e67b847 | [
"MIT"
] | null | null | null | Cubical/Functions/Embedding.agda | jorge-jbs/cubical | ebbe824fda41ab6524b62a42959665be4e67b847 | [
"MIT"
] | null | null | null | Cubical/Functions/Embedding.agda | jorge-jbs/cubical | ebbe824fda41ab6524b62a42959665be4e67b847 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Functions.Embedding where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.Properties
open import Cubical.Foundations.Equiv.HalfAdjoint
open impo... | 34.035433 | 105 | 0.605205 |
593702ff4b28b413f5850fa33ebfb3d45309f04f | 4,143 | agda | Agda | LibraBFT/Impl/Util/RWST.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Impl/Util/RWST.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Impl/Util/RWST.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Optics.All
open import LibraBFT.Prelude
-- This module defi... | 29.592857 | 112 | 0.5916 |
57ce5d72918f4b4e13f6b72b8bf6577741f57d37 | 142 | agda | Agda | test/fail/IrrelevantModuleParameter1.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/fail/IrrelevantModuleParameter1.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/IrrelevantModuleParameter1.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | module IrrelevantModuleParameter1 (A : Set) .(a : A) where
postulate
P : A -> Set
p : P a
-- cannot use a here, because it is irrelevant | 23.666667 | 58 | 0.669014 |
41b431be371e2e72a44d4eca5b9531841c267a3b | 1,011 | agda | Agda | archive/agda-3/src/AgdaFeatureInstanceResolutionViaConstraint.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-3/src/AgdaFeatureInstanceResolutionViaConstraint.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-3/src/AgdaFeatureInstanceResolutionViaConstraint.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | {-# OPTIONS --allow-unsolved-metas #-}
module AgdaFeatureInstanceResolutionViaConstraint where
postulate A : Set
postulate y : A
Appy : (A → Set) → Set
Appy H = H y
record Foo (T : Set) : Set where field foo : T
open Foo ⦃ … ⦄ public
postulate
S : A → Set
record Failing : Set where
no-eta-equality
postula... | 18.381818 | 69 | 0.60633 |
4d173c6ca7f5eee294dcaf24d565acc211b0d0e8 | 1,883 | agda | Agda | proto/agda/Equality.agda | Riib11/monadic-equality | 525a3d42431bf5dc6837939441f389ea5cead937 | [
"BSD-3-Clause"
] | null | null | null | proto/agda/Equality.agda | Riib11/monadic-equality | 525a3d42431bf5dc6837939441f389ea5cead937 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T15:49:12.000Z | 2021-02-25T15:49:12.000Z | proto/agda/Equality.agda | Riib11/monadic-equality | 525a3d42431bf5dc6837939441f389ea5cead937 | [
"BSD-3-Clause"
] | null | null | null | module Equality where
open import Function using (_∘_)
open import Relation.Binary.PropositionalEquality using (_≡_)
open import Data.Product using (_×_; _,_; ∃-syntax; proj₁; proj₂)
open import Data.Bool using (Bool; true; false)
open import Data.Nat using (ℕ)
--
-- Relation
--
record Relation (R : Set → Set) (A :... | 22.416667 | 84 | 0.603824 |
312b72a4dddb2fb2cb642ca4e8b0fc172a55196b | 19,430 | agda | Agda | agda-stdlib-0.9/src/Algebra/RingSolver.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/RingSolver.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Algebra/RingSolver.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Solver for commutative ring or semiring equalities
------------------------------------------------------------------------
-- Uses ideas from the Coq ring tactic. See "Proving Equalities in a
-- Commutative Rin... | 35.914972 | 145 | 0.403551 |
2fc17099c074492c322e0c9f6a22dc043fc30fc3 | 1,633 | agda | Agda | char.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | char.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | char.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | module char where
open import bool
open import nat
open import eq
open import product
open import product-thms
----------------------------------------------------------------------
-- datatypes
----------------------------------------------------------------------
postulate
char : Set
{-# BUILTIN CHAR char #-}
... | 24.014706 | 70 | 0.454991 |
3d96c013b17151a76007027ec27ad02823a51d01 | 1,205 | agda | Agda | test/succeed/Issue376.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/succeed/Issue376.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/Issue376.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | -- {-# OPTIONS -v tc.meta:50 #-}
-- Andreas 2012-03-27, record pattern unification
module Issue376 where
import Common.Level
open import Common.Equality
open import Common.Irrelevance
record Sigma (A : Set)(B : A -> Set) : Set where
constructor _,_
field
fst : A
snd : B fst
open Sigma public
record Unit ... | 25.104167 | 91 | 0.488797 |
1ddc12a1df5316a88b7ab6647a0b9d7a0119431b | 370 | agda | Agda | Cubical/Algebra/AbGroup/Instances/FreeAbGroup.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Algebra/AbGroup/Instances/FreeAbGroup.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Algebra/AbGroup/Instances/FreeAbGroup.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.AbGroup.Instances.FreeAbGroup where
open import Cubical.Foundations.Prelude
open import Cubical.HITs.FreeAbGroup
open import Cubical.Algebra.AbGroup
private variable
ℓ : Level
module _ {A : Type ℓ} where
FAGAbGroup : AbGroup ℓ
FAGAbGroup = makeAbGroup {G = FreeAbG... | 24.666667 | 88 | 0.767568 |
3d73782800f4489c62dc7019dfd6980ed6171630 | 369 | agda | Agda | test/Fail/Issue2840.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2840.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2840.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2017-11-06, issue #2840 reported by wenkokke
Id : (F : Set → Set) → Set → Set
Id F = F
data D (A : Set) : Set where
c : Id _ A
-- WAS: internal error in positivity checker
-- EXPECTED: success, or
-- The target of a constructor must be the datatype applied to its
-- parameters, _F_2 A isn't
-- when ch... | 24.6 | 66 | 0.682927 |
419ccf875ae6c67840aee4eaa90dd3108d16e723 | 670 | agda | Agda | src/Categories/Category/SetoidDiscrete.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | src/Categories/Category/SetoidDiscrete.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | null | null | null | src/Categories/Category/SetoidDiscrete.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Category.SetoidDiscrete where
open import Categories.Category
open import Level
open import Relation.Binary using (Setoid)
open import Function
open import Data.Unit
{-
This is a better version of Discrete, which is more in line with
the rest of this library, an... | 24.814815 | 69 | 0.650746 |
5783cebe99429226ae69ab8380dbc0d6c07c9ea0 | 4,579 | agda | Agda | Cubical/Foundations/Path.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | Cubical/Foundations/Path.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | Cubical/Foundations/Path.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.Foundations.Path where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.GroupoidLaws
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Transport
private
variable
ℓ ℓ' : Level
... | 53.870588 | 125 | 0.322123 |
06bc6616efb75aaf5db50b92ce6ae770c33fb09d | 2,786 | agda | Agda | src/Tactic/Reflection.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null | src/Tactic/Reflection.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null | src/Tactic/Reflection.agda | jespercockx/agda-prelude | 1984cf0341835b2f7bfe678098bd57cfe16ea11f | [
"MIT"
] | null | null | null |
module Tactic.Reflection where
open import Prelude hiding (abs; _>>=_) renaming (_>>=′_ to _>>=_)
open import Builtin.Reflection public
open import Tactic.Reflection.DeBruijn public
open import Tactic.Reflection.Telescope public
open import Tactic.Reflection.Substitute public
open import Tactic.Reflectio... | 28.721649 | 106 | 0.591888 |
591b1e66b2f511ff75e7dd9a687de04c5b9b00f3 | 4,730 | agda | Agda | Cubical/HITs/GroupoidQuotients/Properties.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/HITs/GroupoidQuotients/Properties.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/HITs/GroupoidQuotients/Properties.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | {-
Groupoid quotients:
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.GroupoidQuotients.Properties where
open import Cubical.HITs.GroupoidQuotients.Base
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cu... | 34.525547 | 88 | 0.515011 |
3d9b73c12b25f7bf1931226fc56a0f6402dd3f4b | 354 | agda | Agda | agda/Data/Maybe/Sugar.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Data/Maybe/Sugar.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Data/Maybe/Sugar.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Data.Maybe.Sugar where
open import Prelude
open import Data.Maybe
_>>=_ : Maybe A → (A → Maybe B) → Maybe B
nothing >>= f = nothing
just x >>= f = f x
pure : A → Maybe A
pure = just
_<*>_ : Maybe (A → B) → Maybe A → Maybe B
nothing <*> xs = nothing
just f <*> nothing = nothi... | 18.631579 | 41 | 0.60452 |
1d32d9db34a34c51095ee8befdebe03e9810ef6b | 6,919 | agda | Agda | src/Categories/NaturalTransformation/Monoidal/Symmetric.agda | o1lo01ol1o/agda-categories | 5fc007768264a270b8ff319570225986773da601 | [
"MIT"
] | null | null | null | src/Categories/NaturalTransformation/Monoidal/Symmetric.agda | o1lo01ol1o/agda-categories | 5fc007768264a270b8ff319570225986773da601 | [
"MIT"
] | null | null | null | src/Categories/NaturalTransformation/Monoidal/Symmetric.agda | o1lo01ol1o/agda-categories | 5fc007768264a270b8ff319570225986773da601 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
-- Monoidal natural transformations between lax and strong symmetric
-- monoidal functors.
--
-- NOTE. Symmetric monoidal natural transformations are really just
-- monoidal natural transformations that happen to go between
-- symmetric monoidal functors. No additional conditions ar... | 35.30102 | 80 | 0.62509 |
3108637958879ff8d6b952f0647bdcb3196b643b | 566 | agda | Agda | src/FRP/LTL/ISet/Stateless.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 21 | 2015-07-02T20:25:05.000Z | 2020-06-15T02:51:13.000Z | src/FRP/LTL/ISet/Stateless.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 2 | 2015-03-01T07:01:31.000Z | 2015-03-02T15:23:53.000Z | src/FRP/LTL/ISet/Stateless.agda | agda/agda-frp-ltl | e88107d7d192cbfefd0a94505e6a5793afe1a7a5 | [
"MIT"
] | 3 | 2015-03-01T07:33:00.000Z | 2022-03-12T11:39:04.000Z | open import Data.Product using ( _,_ )
open import FRP.LTL.ISet.Core using ( ISet ; _⇛_ ; mset ; M⟦_⟧ ; ⟦_⟧ ; [_] ; subsumM⟦_⟧ )
open import FRP.LTL.Time.Interval using ( ⊑-refl )
module FRP.LTL.ISet.Stateless where
infixr 2 _⇒_
_⇒_ : ISet → ISet → ISet
A ⇒ B = mset A ⇛ B
-- We could define $ as
-- f $ σ = i→m (λ j... | 31.444444 | 89 | 0.531802 |
3d8d71347aa28d33da9f0397149108b2f1382d48 | 14,259 | agda | Agda | Preliminaries.agda | ayberkt/system-t-normalization | 785c3d1f93ce2dac7801504b806abfd59f3875f6 | [
"BSD-3-Clause"
] | 3 | 2016-06-24T14:36:42.000Z | 2016-06-25T03:40:58.000Z | Preliminaries.agda | ayberkt/system-t-normalization | 785c3d1f93ce2dac7801504b806abfd59f3875f6 | [
"BSD-3-Clause"
] | null | null | null | Preliminaries.agda | ayberkt/system-t-normalization | 785c3d1f93ce2dac7801504b806abfd59f3875f6 | [
"BSD-3-Clause"
] | null | null | null |
module Preliminaries where
-- universe levels
postulate
Level : Set
lZ : Level
lS : Level -> Level
lmax : Level -> Level -> Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO lZ #-}
{-# BUILTIN LEVELSUC lS #-}
{-# BUILTIN LEVELMAX lmax #-}
-- -----------------------------... | 30.796976 | 151 | 0.458167 |
3d375b184f959d8ed92cd09b34993d58704e116d | 1,493 | agda | Agda | GauInt/Instances.agda | onestruggler/EucDomain | 7e268e8354065fde734c9c2d9998d2cfd4a21f71 | [
"CC0-1.0"
] | null | null | null | GauInt/Instances.agda | onestruggler/EucDomain | 7e268e8354065fde734c9c2d9998d2cfd4a21f71 | [
"CC0-1.0"
] | null | null | null | GauInt/Instances.agda | onestruggler/EucDomain | 7e268e8354065fde734c9c2d9998d2cfd4a21f71 | [
"CC0-1.0"
] | null | null | null | -- Instances of Gaussian integers.
{-# OPTIONS --without-K --safe #-}
module GauInt.Instances where
open import Data.Integer using (+_ ; -[1+_] ; +[1+_])
open import Data.Nat using (suc )
open import Instances
open import GauInt.Base renaming (-_ to -𝔾_ ; _-_ to _-𝔾_ ; _+_ to _+𝔾_ ; _*_ to _*𝔾_ ; NonZero to No... | 21.637681 | 124 | 0.586068 |
58233971c6f0cd908ef7d6637bfcf334676bf33c | 1,365 | agda | Agda | Cubical/HITs/Truncation/Base.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | 1 | 2020-03-23T23:52:11.000Z | 2020-03-23T23:52:11.000Z | Cubical/HITs/Truncation/Base.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | Cubical/HITs/Truncation/Base.agda | borsiemir/cubical | cefeb3669ffdaea7b88ae0e9dd258378418819ca | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Truncation.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat
open import Cubical.Data.NatMinusOne
open import Cubical.Data.NatMinusTwo hiding (-1+_)
open import Cubical.HITs.Nullification
open import Cubical.HITs.Sn
-- For the hub-and-... | 45.5 | 101 | 0.644689 |
2f9c7d9081327136236d0a2dd2dc791deab00add | 109 | agda | Agda | Cubical/Algebra/Algebra.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Algebra/Algebra.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Algebra/Algebra.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Algebra.Algebra where
open import Cubical.Algebra.Algebra.Base public
| 21.8 | 47 | 0.770642 |
207f590394c1e603bf5915ea80bfd786ea06f4ab | 204 | agda | Agda | agda/MoreLogic.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | 3 | 2020-07-31T18:15:26.000Z | 2022-02-19T12:15:21.000Z | agda/MoreLogic.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | agda/MoreLogic.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts #-}
module MoreLogic where -- hProp logic
open import MoreLogic.Reasoning public
open import MoreLogic.Definitions public
open import MoreLogic.Properties public
| 25.5 | 43 | 0.794118 |
31b31e259f45073b995e2713143c0a4a39e39744 | 15,124 | agda | Agda | Univalence/FinEquivEquivPlus.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | Univalence/FinEquivEquivPlus.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | Univalence/FinEquivEquivPlus.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K #-}
module FinEquivEquivPlus where
open import Data.Product using (_×_; proj₁; proj₂)
open import Equiv using (refl∼; sym∼; sym≃; _⊎≃_; id≃; _≃_; _●_; _×≃_; qinv)
open import FinEquivPlusTimes using (F0≃⊥; module Plus; module Times)
open Plus using (⊎≃+; +≃⊎)
open Times using (×≃*; *≃×)
ope... | 37.068627 | 91 | 0.336221 |
3d973672ec56bc440de938931cabdeb3f6fc40db | 925 | agda | Agda | test/Succeed/Issue3246.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 2 | 2019-10-29T09:40:30.000Z | 2020-09-20T00:28:57.000Z | test/Succeed/Issue3246.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/Succeed/Issue3246.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | -- Andreas, 2018-10-29, issue #3246
-- More things are now allowed in mutual blocks.
-- @mutual@ just pushes the definition parts to the bottom.
-- Definitions exist for data, record, functions, and pattern synonyms.
postulate Float : Set
{-# BUILTIN FLOAT Float #-} -- not (yet) allowed in mutual block
mutual
... | 19.680851 | 71 | 0.651892 |
129fd3a22319f3e3e604e025cca3d44f611582f1 | 5,261 | agda | Agda | src/Web/Semantic/DL/Category/Properties/Tensor/Functor.agda | bblfish/agda-web-semantic | 38fbc3af7062ba5c3d7d289b2b4bcfb995d99057 | [
"MIT"
] | 1 | 2022-02-22T09:43:23.000Z | 2022-02-22T09:43:23.000Z | src/Web/Semantic/DL/Category/Properties/Tensor/Functor.agda | bblfish/agda-web-semantic | 38fbc3af7062ba5c3d7d289b2b4bcfb995d99057 | [
"MIT"
] | null | null | null | src/Web/Semantic/DL/Category/Properties/Tensor/Functor.agda | bblfish/agda-web-semantic | 38fbc3af7062ba5c3d7d289b2b4bcfb995d99057 | [
"MIT"
] | null | null | null | open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ )
open import Relation.Binary.PropositionalEquality using ( refl )
open import Web.Semantic.DL.ABox.Interp using ( ⌊_⌋ ; ind ; _*_ )
open import Web.Semantic.DL.ABox.Model using
( _⊨a_ ; ⊨a-resp-≡³ ; on-bnode ; bnodes ; _,_ )
open import Web.Semantic.DL.Category.Object u... | 47.396396 | 85 | 0.563771 |
c53c8be096e05f59282e50d8819a71e0f1604c07 | 3,278 | agda | Agda | Modules/Span.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Modules/Span.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Modules/Span.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 LogicalFormulae
open import Functions.Definition
open import Groups.Definition
open import Groups.Abelian.Definition
open import Setoids.Setoids
open import Rings.Definition
open import Sets.FinSet.Definition
open import Vectors
open import Numbers.Natural... | 59.6 | 456 | 0.585723 |
3d36074668ea511cf749b4d817cb21d9cd0a8b19 | 9,654 | agda | Agda | deBruijn/Substitution/Data/Application/Application222.agda | nad/dependently-typed-syntax | 498f8aefc570f7815fd1d6616508eeb92c52abce | [
"MIT"
] | 5 | 2020-04-16T12:14:44.000Z | 2020-07-08T22:51:36.000Z | deBruijn/Substitution/Data/Application/Application222.agda | nad/dependently-typed-syntax | 498f8aefc570f7815fd1d6616508eeb92c52abce | [
"MIT"
] | null | null | null | deBruijn/Substitution/Data/Application/Application222.agda | nad/dependently-typed-syntax | 498f8aefc570f7815fd1d6616508eeb92c52abce | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Lemmas related to application of substitutions
------------------------------------------------------------------------
open import Data.Universe.Indexed
module deBruijn.Substitution.Data.Application.Application222
{i u e} {Uni : IndexedUni... | 44.694444 | 134 | 0.379221 |
58fc21c4f41df5b2bef89880df5afd911e13c680 | 3,654 | agda | Agda | Cubical/Data/Nat/Coprime.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Data/Nat/Coprime.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Data/Nat/Coprime.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Data.Nat.Coprime where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Data.Sigma
open import Cubical.Data.NatPlusOne
open import Cubical.HITs.PropositionalTruncation as PropTrunc
open import Cubical.Data.Nat.Base
open import... | 38.0625 | 91 | 0.498905 |
12c5b3f15bad75952cfb0e7867a97db3a19529de | 169 | agda | Agda | test/Fail/NoEtaEquality.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/NoEtaEquality.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/NoEtaEquality.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-09-20 test whether --no-eta-equality is respected
{-# OPTIONS --no-eta-equality #-}
record ⊤ : Set where
test : ⊤
test = _ -- should remain unsolved
| 18.777778 | 66 | 0.668639 |
317bbc577520ce07cadcc8a87f31f3d3c60bad68 | 350 | agda | Agda | test/Succeed/Issue3697.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3697.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3697.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 #-}
open import Agda.Primitive using (Setω)
-- No panic should be triggered
data A : Setω where
record B' : Set where
field
theA : A
data B : Set where
b : A → B
data C : Set where
c : Setω → C
data C' : Setω where
c : Setω → C'
record C'' : Setω where
field
theSet... | 12.5 | 39 | 0.605714 |
220b2e3869d85755fe46c0399cbd2199a7d22fa8 | 418 | agda | Agda | test/Compiler/with-stdlib/TrustMe.agda | vlopezj/agda | ff4d89e75970cf27599fb9f572bd43c9455cbb56 | [
"BSD-3-Clause"
] | 7 | 2018-11-05T22:13:36.000Z | 2018-11-06T16:38:43.000Z | test/Compiler/with-stdlib/TrustMe.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 16 | 2018-10-08T00:32:04.000Z | 2019-09-08T13:47:04.000Z | test/Compiler/with-stdlib/TrustMe.agda | vikfret/agda | 49ad0b3f0d39c01bc35123478b857e702b29fb9d | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | module TrustMe where
open import Data.String
open import Data.String.Unsafe
open import Data.Unit using (⊤)
open import IO
import IO.Primitive as Prim
open import Relation.Binary.PropositionalEquality
open import Relation.Nullary
-- Check that trustMe works.
testTrustMe : IO ⊤
testTrustMe with "apa" ≟ "apa"
... | ye... | 20.9 | 49 | 0.732057 |
4a875685502e4716b0193b168c59dc818b14bfa7 | 5,455 | agda | Agda | TotalRecognisers/LeftRecursion/Lib.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 7 | 2016-12-13T05:23:14.000Z | 2021-06-22T05:35:31.000Z | TotalRecognisers/LeftRecursion/Lib.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | 1 | 2018-01-22T22:21:41.000Z | 2018-01-24T16:39:37.000Z | TotalRecognisers/LeftRecursion/Lib.agda | yurrriq/parser-combinators | b396d35cc2cb7e8aea50b982429ee385f001aa88 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- A tiny library of derived combinators
------------------------------------------------------------------------
module TotalRecognisers.LeftRecursion.Lib (Tok : Set) where
open import Coinduction
open import Data.Bool hiding (_∧_)
open import ... | 30.138122 | 72 | 0.498992 |
2227f88da652d1b1ea394a735e2328267da7c53a | 4,073 | agda | Agda | formalization/agda/Spire/Hybrid.agda | spire/spire | 3d67f137ee9423b7e6f8593634583998cd692353 | [
"BSD-3-Clause"
] | 43 | 2015-05-28T23:25:33.000Z | 2022-03-08T17:10:59.000Z | formalization/agda/Spire/Hybrid.agda | spire/spire | 3d67f137ee9423b7e6f8593634583998cd692353 | [
"BSD-3-Clause"
] | null | null | null | formalization/agda/Spire/Hybrid.agda | spire/spire | 3d67f137ee9423b7e6f8593634583998cd692353 | [
"BSD-3-Clause"
] | 1 | 2015-08-17T21:00:07.000Z | 2015-08-17T21:00:07.000Z | open import Spire.Type
module Spire.Hybrid where
----------------------------------------------------------------------
data Context : Set₁
Environment : Context → Set
ScopedType : Context → Set₁
ScopedType Γ = Environment Γ → Set
data Context where
∅ : Context
_,_ : (Γ : Context) (A : ScopedType Γ) → Context
... | 30.856061 | 76 | 0.458876 |
0b40a14919f914f8ec170b1324e247e482e0a890 | 706 | agda | Agda | Cubical/Algebra/CommRing/Instances/Unit.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Algebra/CommRing/Instances/Unit.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/Instances/Unit.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Instances.Unit where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Unit
open import Cubical.Algebra.Ring
open import Cubical.Algebra.CommRing
private
variable
ℓ : Level
open CommRingStr
UnitCommRing : CommRing ℓ-zero
fst UnitCommRing ... | 25.214286 | 74 | 0.657224 |
3d66a0ac3f5b62dcf286e862b9efddd57f66b374 | 415 | agda | Agda | src/Fragment/Examples/Semigroup/Arith/Base.agda | yallop/agda-fragment | f2a6b1cf4bc95214bd075a155012f84c593b9496 | [
"MIT"
] | 18 | 2021-06-15T15:45:39.000Z | 2022-01-17T17:26:09.000Z | src/Fragment/Examples/Semigroup/Arith/Base.agda | yallop/agda-fragment | f2a6b1cf4bc95214bd075a155012f84c593b9496 | [
"MIT"
] | 1 | 2021-06-16T09:44:31.000Z | 2021-06-16T10:24:15.000Z | src/Fragment/Examples/Semigroup/Arith/Base.agda | yallop/agda-fragment | f2a6b1cf4bc95214bd075a155012f84c593b9496 | [
"MIT"
] | 3 | 2021-06-15T15:34:50.000Z | 2021-06-16T08:04:31.000Z | {-# OPTIONS --without-K --safe #-}
module Fragment.Examples.Semigroup.Arith.Base where
open import Fragment.Prelude public
open import Data.Nat using (ℕ; _*_; _+_) public
open import Data.Nat.Properties
using (*-isSemigroup; +-isSemigroup)
open import Relation.Binary.PropositionalEquality public
open ≡-Reasoning p... | 27.666667 | 56 | 0.771084 |
418b444311ad02b6946c0f08fdcfbdea94a6ad88 | 6,393 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Nat/GCD.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Nat/GCD.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Nat/GCD.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Greatest common divisor
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Nat.GCD where
open import Data.Nat
open import Data.Nat.Divisibil... | 32.451777 | 91 | 0.51791 |
10bcbf704be0bb81aeda47765a72e07d0cce5ce9 | 6,537 | agda | Agda | src/Syntax/Substitution/Kits.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | 4 | 2018-05-31T20:37:04.000Z | 2022-01-04T09:33:48.000Z | src/Syntax/Substitution/Kits.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | null | null | null | src/Syntax/Substitution/Kits.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | null | null | null |
-- Syntactic kits from Conor McBride's
-- "Type-Preserving Renaming and Substitution"
module Syntax.Substitution.Kits where
open import Syntax.Types
open import Syntax.Context
open import Syntax.Terms
open import CategoryTheory.Categories
open import Relation.Binary.PropositionalEquality using (_≡_ ; refl ; sym)
-... | 33.352041 | 88 | 0.503595 |
579e17821e53bcfd11580d9d22aaeee2dd05679f | 161 | agda | Agda | test/Fail/Issue1419.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue1419.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue1419.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue1419 where
module A where
module M where
module B where
module M where
open A
open B
module N (let open M) where
module LotsOfStuff where
| 10.733333 | 27 | 0.745342 |
39115e548dfb54ce683f78c86f95dbf19a5dd091 | 822 | agda | Agda | lib/Explore/Experimental/Isos.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | 2 | 2016-06-05T09:25:32.000Z | 2017-06-28T19:19:29.000Z | lib/Explore/Experimental/Isos.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | 1 | 2019-03-16T14:24:04.000Z | 2019-03-16T14:24:04.000Z | lib/Explore/Experimental/Isos.agda | crypto-agda/explore | 16bc8333503ff9c00d47d56f4ec6113b9269a43e | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K #-}
module Explore.Explorable.Isos where
open import Function
open import Data.Product
open import Data.Nat
open import Data.Vec renaming (sum to vsum)
open import Function.Related.TypeIsomorphisms.NP
import Relation.Binary.PropositionalEquality.NP as ≡
open ≡ using (_≡_; _≗_)
open import Expl... | 29.357143 | 98 | 0.671533 |
5864ad555148d25cd5e3d67557ce409bfb432958 | 454 | agda | Agda | test/Succeed/Issue807.agda | alex-mckenna/agda | 78b62cd24bbd570271a7153e44ad280e52ef3e29 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue807.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue807.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | -- {-# OPTIONS -v term:20 -v tc.term:20 #-}
-- {-# OPTIONS -v tc.def.alias:100 -v tc.term.expr.coind:100 #-}
module Issue807 where
open import Common.Coinduction
data Stream : Set where
cons : ∞ Stream → Stream
mutual
-- s : Stream
s = cons s′
-- s′ : ∞ _
s′ = ♯ s
-- Under 2.3.0.1: The code is accepted... | 20.636364 | 77 | 0.638767 |
2329beccf05ef9a8334ff75e2fbddf85f3c97dd1 | 2,244 | agda | Agda | Cats/Category/Setoids/Facts/Exponentials.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Category/Setoids/Facts/Exponentials.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | Cats/Category/Setoids/Facts/Exponentials.agda | alessio-b-zak/cats | a3b69911c4c6ec380ddf6a0f4510d3a755734b86 | [
"MIT"
] | null | null | null | module Cats.Category.Setoids.Facts.Exponentials where
open import Data.Product using (_,_)
open import Relation.Binary using (Setoid)
open import Cats.Category
open import Cats.Category.Setoids as Setoids using (Setoids ; ≈-intro ; ≈-elim)
open import Cats.Category.Setoids.Facts.Products as Products using
(hasBinar... | 24.933333 | 79 | 0.529857 |
10e83154aa11cc8089b50c3dbcd06c356926c33b | 293 | agda | Agda | test/Succeed/Issue611.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue611.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue611.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2012-04-18
module Issue611 where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data Bool : Set where
true false : Bool
T : Bool -> Set
T true = {x : Bool} -> Nat
T false = {x : Bool} -> Bool
data D (b : Bool) : Set where
c : T b -> D b
d : D false
d = c {_} true
| 14.65 | 29 | 0.569966 |
a15267bbafa74e8ea7b71a5b6ba94d2b2b4658b2 | 941 | agda | Agda | Cubical/Structures/Pointed.agda | RobertHarper/cubical | d13941587a58895b65f714f1ccc9c1f5986b109c | [
"MIT"
] | null | null | null | Cubical/Structures/Pointed.agda | RobertHarper/cubical | d13941587a58895b65f714f1ccc9c1f5986b109c | [
"MIT"
] | null | null | null | Cubical/Structures/Pointed.agda | RobertHarper/cubical | d13941587a58895b65f714f1ccc9c1f5986b109c | [
"MIT"
] | 1 | 2021-11-22T02:02:01.000Z | 2021-11-22T02:02:01.000Z | {-
Pointed structure: X ↦ X
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Pointed where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence
open import Cubical.Foundations.SIP
open import Cubical.Foundations.Point... | 26.138889 | 89 | 0.735388 |
1de609373ec8e653c3a77ffbf75e55d319b1519d | 576 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Integer/Literals.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Integer/Literals.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Integer/Literals.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Integer Literals
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Integer.Literals where
open import Agda.Builtin.FromNat
open import Agda... | 21.333333 | 72 | 0.487847 |
1d7ff4d259c0e12cbd3d69934945a553b1724a95 | 3,542 | agda | Agda | src/JVM/Model/Properties.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 6 | 2020-10-07T14:07:17.000Z | 2021-02-28T21:49:08.000Z | src/JVM/Model/Properties.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | null | null | null | src/JVM/Model/Properties.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 1 | 2021-12-28T17:37:15.000Z | 2021-12-28T17:37:15.000Z | module JVM.Model.Properties where
open import Data.List
open import Data.List.Properties
open import Data.List.Relation.Binary.Permutation.Propositional
open import Data.List.Relation.Binary.Permutation.Propositional.Properties
open import Data.Product hiding (map)
open import Relation.Unary using (Pred)
open import... | 42.674699 | 98 | 0.604461 |
d0d24933d1ed0bfbd9efd81df5eed3a46dec5c86 | 5,436 | agda | Agda | Cubical/HITs/Ints/QuoInt/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/QuoInt/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/QuoInt/Base.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2021-11-22T02:02:01.000Z | 2021-11-22T02:02:01.000Z | -- Define the integers as a HIT by identifying +0 and -0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Ints.QuoInt.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Transport
open import... | 25.166667 | 87 | 0.619573 |
a17883b1c7626a1c67463ef1797291101b226f76 | 4,137 | agda | Agda | src/MultiSorted/AlgebraicTheory.agda | cilinder/formaltt | 0a9d25e6e3965913d9b49a47c88cdfb94b55ffeb | [
"MIT"
] | 21 | 2021-02-16T14:07:06.000Z | 2021-11-19T15:50:08.000Z | src/MultiSorted/AlgebraicTheory.agda | andrejbauer/formaltt | 2aaf850bb1a262681c5a232cdefae312f921b9d4 | [
"MIT"
] | 1 | 2021-04-30T14:18:25.000Z | 2021-05-14T16:15:17.000Z | src/MultiSorted/AlgebraicTheory.agda | andrejbauer/formaltt | 2aaf850bb1a262681c5a232cdefae312f921b9d4 | [
"MIT"
] | 6 | 2021-02-16T13:43:07.000Z | 2021-05-24T02:51:43.000Z | open import Agda.Primitive using (lzero; lsuc; _⊔_)
open import Relation.Binary using (Setoid)
import MultiSorted.Context as Context
module MultiSorted.AlgebraicTheory where
-- an algebraic signature
record Signature {𝓈 ℴ} : Set (lsuc (𝓈 ⊔ ℴ)) where
field
sort : Set 𝓈 -- sorts
oper : Set ℴ -- ... | 33.096 | 131 | 0.519942 |
413af7f062c43503a6e90c17366d2a95f0b5bec7 | 5,067 | agda | Agda | part1/isomorphism/Isomorphism.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | 1 | 2020-07-07T09:42:22.000Z | 2020-07-07T09:42:22.000Z | part1/isomorphism/Isomorphism.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | part1/isomorphism/Isomorphism.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | module Isomorphism where
-- Imports
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong; cong-app)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; _+_)
open import Data.Nat.Properties using (+-comm)
-- Function composition (関数の合成)
_∘_ : ∀ {A B C : Set} → (B → C) → (A → B)... | 20.681633 | 83 | 0.397474 |
3d7f7d61026b6666e15eb94fa57f7a988a00d2b9 | 3,914 | agda | Agda | Structure/Operator/Monoid/Invertible/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/Operator/Monoid/Invertible/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/Operator/Monoid/Invertible/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Structure.Operator.Monoid.Invertible.Proofs where
import Data.Tuple as Tuple
import Lvl
open import Logic.Propositional
open import Logic.Predicate
open import Structure.Operator
open import Structure.Operator.Monoid
open import Structure.Operator.Monoid.Invertible
open import Structure.Operator.Prope... | 54.361111 | 148 | 0.573838 |
415776b728e896003e5b35d8eb1b124242f1c096 | 4,121 | agda | Agda | Formalization/PredicateLogic/Minimal/NaturalDeduction.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Formalization/PredicateLogic/Minimal/NaturalDeduction.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Formalization/PredicateLogic/Minimal/NaturalDeduction.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | open import Formalization.PredicateLogic.Signature
module Formalization.PredicateLogic.Minimal.NaturalDeduction (𝔏 : Signature) where
open Signature(𝔏)
open import Data.ListSized
import Lvl
open import Formalization.PredicateLogic.Syntax(𝔏)
open import Formalization.PredicateLogic.Syntax.Substitution(𝔏)
open... | 40.401961 | 151 | 0.480466 |
1d91fa367834b689f0ea766eb6090e862f8469b0 | 649 | agda | Agda | test/Succeed/RewritingRuleInParametrizedModule.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/RewritingRuleInParametrizedModule.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/RewritingRuleInParametrizedModule.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2015-08-27 Rewrite rules in parametrized modules are fine.
-- Jesper, 2015-10-14 Semantics of rewrite rules in parametrized modules has
-- changed (see issue 1652)
-- Jesper, 2015-11-9 Rewrite rules in parametrized modules are now
-- generalized to the top-context auto... | 27.041667 | 76 | 0.616333 |
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.