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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23d90b19744b8c64b80947cdcd77daf770182982 | 7,987 | agda | Agda | Cubical/Algebra/RingSolver/RawAlgebra.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Algebra/RingSolver/RawAlgebra.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Algebra/RingSolver/RawAlgebra.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Algebra.RingSolver.RawAlgebra where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Data.Nat using (ℕ)
open import Cubical.Data.Int renaming (_+_ to _+ℤ_ ; _·_ to _·ℤ_ ; -_ to -ℤ_ ; _-_ to _-ℤ_ ; +Assoc to +ℤAssoc ; +Comm to +ℤComm ; -Dis... | 44.372222 | 152 | 0.493928 |
cbe5702d8fac49ab9b3a8b3ef3fb97b2ca52495e | 2,003 | agda | Agda | Data/Binary/Multiplication/Properties.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | Data/Binary/Multiplication/Properties.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | null | null | null | Data/Binary/Multiplication/Properties.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe #-}
module Data.Binary.Multiplication.Properties where
open import Prelude
open import Data.Binary.Definition
open import Data.Binary.Addition
open import Data.Binary.Addition.Properties using (+-cong)
open import Data.Binary.Multiplication
open import Data.Binary.Conversion
import Data.N... | 39.27451 | 90 | 0.484274 |
c53c76a27ad96ea668d9619b4a9170958c52f48c | 483 | agda | Agda | agda-stdlib/src/Data/List/All.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/All.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/All.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use Data.List.Relation.Unary.All
-- directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.All w... | 26.833333 | 72 | 0.509317 |
df13e37661abe85b7f6fd33121a789f47279c4fa | 1,993 | agda | Agda | Cubical/Displayed/Subst.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Displayed/Subst.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/Displayed/Subst.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | {-
Given a type A with a UARel and a family B over A,
a SubstRel on B is a family of functions a ≅ a' → B a ≃ B a' path-equal to transport in that family.
Any SubstRel gives rise to a DUARel in which b and b' are related over p when the transport of b along p is
equial to b'.
-}
{-# OPTIONS --safe #-}
module ... | 32.672131 | 109 | 0.581535 |
df97b058cfa6a1113d52fd7dac91f64614d37bc0 | 5,132 | agda | Agda | src-focusing/Library.agda | andreasabel/ipl | 9a6151ad1f0977674b8cc9e9cefb49ae83e8a42a | [
"Unlicense"
] | 19 | 2018-05-16T08:08:51.000Z | 2021-04-27T19:10:49.000Z | src-focusing/Library.agda | andreasabel/ipl | 9a6151ad1f0977674b8cc9e9cefb49ae83e8a42a | [
"Unlicense"
] | null | null | null | src-focusing/Library.agda | andreasabel/ipl | 9a6151ad1f0977674b8cc9e9cefb49ae83e8a42a | [
"Unlicense"
] | 2 | 2018-11-13T16:01:46.000Z | 2021-02-25T20:39:03.000Z | {-# OPTIONS --rewriting #-}
-- Interface to the standard library.
-- Place to add own auxiliary definitions.
module Library where
open import Size public
open import Level public using () renaming (zero to lzero)
open import Data.Unit public using (⊤)
open import Data.Empty public using (⊥; ⊥-el... | 37.188406 | 142 | 0.500974 |
cb153e26b65c2e7fd3547e11ed9c32d3a2d32744 | 402 | agda | Agda | test/Succeed/Issue1834c.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue1834c.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue1834c.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas & James, 2016-04-18 pre-AIM XXIII
-- order of clauses should not matter here!
{-# OPTIONS --exact-split #-}
open import Common.Prelude
record R A : Set where
field out : A
T : (x y : Bool) → Set
T true y = R Bool
T false true = R Nat
T false false = R String
test : (x y : Bool) → T x y
R.out (test... | 20.1 | 44 | 0.621891 |
1c932af6caf1e37416964f94c277abb07aa827a3 | 7,445 | agda | Agda | papers/unraveling-recursion/code/src/Compilation/Data.agda | imikushin/plutus | 2c5bda20fb94b0f3737ba1a236ef5d7a7fd9f631 | [
"Apache-2.0"
] | 1,299 | 2018-10-02T13:41:39.000Z | 2022-03-28T01:10:02.000Z | papers/unraveling-recursion/code/src/Compilation/Data.agda | imikushin/plutus | 2c5bda20fb94b0f3737ba1a236ef5d7a7fd9f631 | [
"Apache-2.0"
] | 2,493 | 2018-09-28T19:28:17.000Z | 2022-03-31T15:31:31.000Z | papers/unraveling-recursion/code/src/Compilation/Data.agda | imikushin/plutus | 2c5bda20fb94b0f3737ba1a236ef5d7a7fd9f631 | [
"Apache-2.0"
] | 399 | 2018-10-05T09:36:10.000Z | 2022-03-31T11:18:25.000Z | {-# OPTIONS --type-in-type #-}
module Compilation.Data where
open import Context
open import Type.Core
open import Function
open import Data.Product
open import Data.List.Base
infixr 6 _⇒ᶜ_
{- Note [Type denotations]
The denotation of a System Fωμ type is an Agda type that somehow corresponds to the original type.... | 33.38565 | 106 | 0.610208 |
d01b0b23a40f7e3f76a4d868b389d5c4af817cb0 | 9,753 | agda | Agda | agda-stdlib-0.9/src/Data/List/Countdown.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/List/Countdown.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Data/List/Countdown.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- A data structure which keeps track of an upper bound on the number
-- of elements /not/ in a given list
------------------------------------------------------------------------
import Level
open import Relation.... | 40.135802 | 107 | 0.532964 |
106e14f2d8cc8d59f3e62964e30b3ce4858072a6 | 1,914 | agda | Agda | Definition/Typed/Consequences/NeTypeEq.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/Typed/Consequences/NeTypeEq.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/Typed/Consequences/NeTypeEq.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Consequences.NeTypeEq where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Consequences.Syntactic
open import Definition.Typed.Consequences.Injectivity
open import Definition.Typed.Consequences.Substitution
open impo... | 42.533333 | 80 | 0.626959 |
0b23419e5b1e5e90dab9a5b56212eb9f5767ae0e | 2,925 | agda | Agda | BasicIS4/Metatheory/DyadicGentzen-TarskiOvergluedDyadicImplicit.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIS4/Metatheory/DyadicGentzen-TarskiOvergluedDyadicImplicit.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIS4/Metatheory/DyadicGentzen-TarskiOvergluedDyadicImplicit.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module BasicIS4.Metatheory.DyadicGentzen-TarskiOvergluedDyadicImplicit where
open import BasicIS4.Syntax.DyadicGentzen public
open import BasicIS4.Semantics.TarskiOvergluedDyadicImplicit public
open ImplicitSyntax (_⊢_) (mono²⊢) public
-- Completeness with respect to a particular model.
module _ {{_ : Model}} wher... | 29.25 | 83 | 0.499829 |
dccd7c84e870aee124d2542f0fb23fc0d7b2e3a4 | 3,915 | agda | Agda | agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-bst.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 36 | 2015-01-29T14:37:15.000Z | 2021-07-30T06:55:03.000Z | agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-bst.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-bst.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | -- binary search trees (not balanced)
open import bool
open import bool-thms2
open import eq
open import maybe
open import product
open import product-thms
open import bool-relations using (transitive ; total)
module z05-01-bst (A : Set) -- type of elements
(_≤A_ : A → A → 𝔹) ... | 39.94898 | 94 | 0.527203 |
dfa6162f0738431ce160d67aa2689a3520554a63 | 3,966 | agda | Agda | src/Partiality-algebra/Omega-continuous.agda | nad/partiality-monad | f69749280969f9093e5e13884c6feb0ad2506eae | [
"MIT"
] | 2 | 2020-05-21T22:59:18.000Z | 2020-07-03T08:56:08.000Z | src/Partiality-algebra/Omega-continuous.agda | nad/partiality-monad | f69749280969f9093e5e13884c6feb0ad2506eae | [
"MIT"
] | null | null | null | src/Partiality-algebra/Omega-continuous.agda | nad/partiality-monad | f69749280969f9093e5e13884c6feb0ad2506eae | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- ω-continuous functions
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
module Partiality-algebra.Omega-continuous where
open import Equality.Propositional.Cubical
open import P... | 33.897436 | 104 | 0.549924 |
230011ed9a3458dc259d19b4c5061c2d1fd17551 | 3,570 | agda | Agda | core/lib/groups/Subgroup.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/groups/Subgroup.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/groups/Subgroup.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | 1 | 2018-12-26T21:31:57.000Z | 2018-12-26T21:31:57.000Z | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.Function2
open import lib.types.Group
open import lib.types.Sigma
open import lib.types.Truncation
open import lib.groups.Homomorphism
open import lib.groups.Isomorphism
open import lib.groups.SubgroupProp
module lib... | 29.75 | 87 | 0.597199 |
50b5dd3e75a1228da5219eeaa3d901839efeb7e3 | 9,310 | agda | Agda | test/hPropInvestigations.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | 3 | 2020-07-31T18:15:26.000Z | 2022-02-19T12:15:21.000Z | test/hPropInvestigations.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | test/hPropInvestigations.agda | mchristianl/synthetic-reals | 10206b5c3eaef99ece5d18bf703c9e8b2371bde4 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts #-}
module hPropInvestigations where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
private
variable
ℓ ℓ' ℓ'' : Level
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Data.Sigma.... | 37.692308 | 133 | 0.542213 |
c579f2a0c67a659156e911e932117081396ec709 | 3,759 | agda | Agda | LibraBFT/ImplShared/Util/Dijkstra/RWS/Syntax.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 4 | 2020-12-16T19:43:41.000Z | 2021-12-18T19:24:05.000Z | LibraBFT/ImplShared/Util/Dijkstra/RWS/Syntax.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 72 | 2021-02-04T05:04:33.000Z | 2022-03-25T05:36:11.000Z | LibraBFT/ImplShared/Util/Dijkstra/RWS/Syntax.agda | oracle/bft-consensus-agda | 49f8b1b70823be805d84ffc3157c3b880edb1e92 | [
"UPL-1.0"
] | 6 | 2020-12-16T19:43:52.000Z | 2022-02-18T01:04:32.000Z | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 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.ImplShared.Util.Dijkstra.RWS
open import LibraBFT.ImplSh... | 28.263158 | 111 | 0.667997 |
20d7c937857be83965e20328d4daabe352b12cd7 | 814 | agda | Agda | test/Succeed/Issue2344.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Succeed/Issue2344.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue2344.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --allow-unsolved-metas #-}
-- Andreas, 2016-12-19, issue #2344, reported by oinkium, shrunk by Ulf
-- The function Agda.TypeChecking.Telescope.permuteTel
-- used in the unifier was buggy.
-- {-# OPTIONS -v tc.meta:25 #-}
-- {-# OPTIONS -v tc.lhs:10 #-}
-- {-# OPTIONS -v tc.lhs.unify:100 #-}
-- {-# OPTIONS... | 26.258065 | 72 | 0.624079 |
1c148f38a445faa847242d5840150a73f56122d8 | 1,843 | agda | Agda | examples/examplesPaperJFP/IOGraphicsLib.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 23 | 2016-06-19T12:57:55.000Z | 2020-10-12T23:15:25.000Z | examples/examplesPaperJFP/IOGraphicsLib.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | null | null | null | examples/examplesPaperJFP/IOGraphicsLib.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 2 | 2018-09-01T15:02:37.000Z | 2022-03-12T11:41:00.000Z | {-# OPTIONS --copatterns #-}
module examplesPaperJFP.IOGraphicsLib where
open import Data.Bool.Base
open import Data.Char.Base
open import Data.Nat.Base hiding (_⊓_; _+_; _*_)
open import Data.List.Base hiding (_++_)
open import Data.Integer.Base hiding (suc)
open import Data.String.Base
open import Data.Maybe.Base
... | 33.509091 | 139 | 0.700488 |
cba93fdf19702f0a18ee0a488c516849ea2bf7e3 | 4,034 | agda | Agda | hott/equivalence/alternative.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 27 | 2015-04-14T15:47:03.000Z | 2022-01-09T07:26:57.000Z | src/hott/equivalence/alternative.agda | pcapriotti/agda-base | bbbc3bfb2f80ad08c8e608cccfa14b83ea3d258c | [
"BSD-3-Clause"
] | 4 | 2015-02-02T14:32:16.000Z | 2016-10-26T11:57:26.000Z | hott/equivalence/alternative.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 4 | 2015-04-11T17:19:12.000Z | 2019-02-26T06:17:38.000Z | {-# OPTIONS --without-K #-}
open import function.extensionality.core
module hott.equivalence.alternative where
open import sum
open import equality.core
open import equality.calculus
open import function.core
open import function.extensionality.proof
open import function.isomorphism.core
open import function.isomorph... | 30.560606 | 70 | 0.359197 |
df210fc3303199b3d4d56c18f383cf420b217dd2 | 1,818 | agda | Agda | test/asset/agda-stdlib-1.0/Relation/Binary/PropositionalEquality/TrustMe.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | test/asset/agda-stdlib-1.0/Relation/Binary/PropositionalEquality/TrustMe.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Relation/Binary/PropositionalEquality/TrustMe.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- An equality postulate which evaluates
------------------------------------------------------------------------
{-# OPTIONS --with-K #-}
module Relation.Binary.PropositionalEquality.TrustMe where
open import Re... | 34.301887 | 101 | 0.561606 |
0bd4c5e6fc6f6713798322fb1948d0522172ae76 | 11,428 | agda | Agda | Cubical/Algebra/CommRing/FGIdeal.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/FGIdeal.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Algebra/CommRing/FGIdeal.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | {-
Define finitely generated ideals of commutative rings and
show that they are an ideal.
Parts of this should be reusable for explicit constructions
of free modules over a finite set.
-}
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.FGIdeal where
open import Cubical.Foundations.Prelude
open import Cu... | 45.712 | 102 | 0.506388 |
203d3890b67923dab46b0128035f2648601a9acd | 852 | agda | Agda | Data/PolyP/Derivations/Levels.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | Data/PolyP/Derivations/Levels.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | null | null | null | Data/PolyP/Derivations/Levels.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe --guardedness #-}
module Data.PolyP.Derivations.Levels where
open import Data.PolyP
open import Level
open import Data.PolyP.Types
open import Data.Sum
open import Data.Sigma
open import Data.Unit
open import Data.Fin
open import Data.Nat
open import Data.Vec
open import Function
open imp... | 28.4 | 79 | 0.521127 |
fb3bea7423703f96d7fd38011214d0a43598fa13 | 2,267 | agda | Agda | formalization/agda/Spire/Examples/Standard.agda | spire/spire | 3d67f137ee9423b7e6f8593634583998cd692353 | [
"BSD-3-Clause"
] | 43 | 2015-05-28T23:25:33.000Z | 2022-03-08T17:10:59.000Z | formalization/agda/Spire/Examples/Standard.agda | spire/spire | 3d67f137ee9423b7e6f8593634583998cd692353 | [
"BSD-3-Clause"
] | null | null | null | formalization/agda/Spire/Examples/Standard.agda | spire/spire | 3d67f137ee9423b7e6f8593634583998cd692353 | [
"BSD-3-Clause"
] | 1 | 2015-08-17T21:00:07.000Z | 2015-08-17T21:00:07.000Z | module Spire.Examples.Standard where
----------------------------------------------------------------------
data ℕ : Set where
zero : ℕ
suc : (n : ℕ) → ℕ
data Vec (A : Set) : ℕ → Set where
nil : Vec A zero
cons : (n : ℕ) (a : A) (xs : Vec A n) → Vec A (suc n)
------------------------------------------------... | 29.441558 | 90 | 0.430525 |
4dc229fa7babb31e2e0d2dc4473ae34100f8783c | 2,078 | agda | Agda | src/Categories/Category/Construction/Core.agda | yourboynico/agda-categories | 6a087c592dbe58fc4bd9d02e1be9b94a9e138aca | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Category/Construction/Core.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Category/Construction/Core.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
-- The core of a category.
-- See https://ncatlab.org/nlab/show/core
module Categories.Category.Construction.Core {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level using (_⊔_)
open import Function using (flip)
open import Categories.Category.Gr... | 27.706667 | 79 | 0.598171 |
4dba82f3a117ac414a87d2107e2dea0061489b47 | 1,752 | agda | Agda | src/plfa-code/Naturals.agda | chirsz-ever/plfa-code | ec5b359a8c22bf5268cae3c36a97e6737c75d5f3 | [
"MIT"
] | null | null | null | src/plfa-code/Naturals.agda | chirsz-ever/plfa-code | ec5b359a8c22bf5268cae3c36a97e6737c75d5f3 | [
"MIT"
] | null | null | null | src/plfa-code/Naturals.agda | chirsz-ever/plfa-code | ec5b359a8c22bf5268cae3c36a97e6737c75d5f3 | [
"MIT"
] | null | null | null | module plfa-code.Naturals where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
{-# BUILTIN NATURAL ℕ #-}
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎)
_+_ : ℕ → ℕ → ℕ
zero + n = n
suc m + n = suc (m + n)
_ : 2 + 3 ≡ 5
_ = refl
_*_ : ℕ → ℕ ... | 12.514286 | 50 | 0.447489 |
1c563d9246f91041eaf9dd754ef32a5ec3e6b0fc | 1,298 | agda | Agda | src/data/lib/prim/Agda/Builtin/Cubical/Id.agda | banacorn/agda | 2a07bfdf2c1c4ae87f428809af0887aceb6632c0 | [
"MIT"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Cubical/Id.agda | banacorn/agda | 2a07bfdf2c1c4ae87f428809af0887aceb6632c0 | [
"MIT"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Cubical/Id.agda | banacorn/agda | 2a07bfdf2c1c4ae87f428809af0887aceb6632c0 | [
"MIT"
] | null | null | null | {-# OPTIONS --erased-cubical --safe --no-sized-types --no-guardedness
--no-subtyping #-}
module Agda.Builtin.Cubical.Id where
open import Agda.Primitive.Cubical
open import Agda.Builtin.Cubical.Path
open import Agda.Builtin.Cubical.Sub renaming (primSubOut to ouc; Sub to _[_↦_])
postulate
Id ... | 33.282051 | 82 | 0.44453 |
0bd84c0d578a70287c4022d247b8be50a7fda246 | 6,203 | agda | Agda | Projection.agda | fangyi-zhou/mpst-in-agda | 3d12eed9d340207d242d70f43c6b34e01d3620de | [
"MIT"
] | 1 | 2021-08-14T17:36:53.000Z | 2021-08-14T17:36:53.000Z | Projection.agda | fangyi-zhou/mpst-in-agda | 3d12eed9d340207d242d70f43c6b34e01d3620de | [
"MIT"
] | 1 | 2021-08-31T10:15:38.000Z | 2021-11-24T11:30:17.000Z | Projection.agda | fangyi-zhou/mpst-in-agda | 3d12eed9d340207d242d70f43c6b34e01d3620de | [
"MIT"
] | null | null | null | open import Data.Empty using (⊥-elim)
open import Data.Fin using (Fin; _≟_)
open import Data.Nat using (ℕ)
open import Data.Product using (∃-syntax; _,_)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Data.Vec using (lookup; _[_]≔_)
open import Data.Vec.Properties using (lookup∘update; lookup∘update′)
open im... | 36.274854 | 110 | 0.522328 |
dcd747dceedd66ca4526fc84dc327dc7d89bcc3d | 1,949 | agda | Agda | Mockingbird/Problems/Chapter16.agda | splintah/combinatory-logic | df8bf877e60b3059532c54a247a36a3d83cd55b0 | [
"MIT"
] | 1 | 2022-02-28T23:44:42.000Z | 2022-02-28T23:44:42.000Z | Mockingbird/Problems/Chapter16.agda | splintah/combinatory-logic | df8bf877e60b3059532c54a247a36a3d83cd55b0 | [
"MIT"
] | null | null | null | Mockingbird/Problems/Chapter16.agda | splintah/combinatory-logic | df8bf877e60b3059532c54a247a36a3d83cd55b0 | [
"MIT"
] | null | null | null | open import Mockingbird.Forest using (Forest)
-- The Forest Without a Name
module Mockingbird.Problems.Chapter16 {b ℓ} (forest : Forest {b} {ℓ}) where
open import Data.Product using (_×_; _,_; ∃-syntax)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Function using (_$_; _⇔_; Equivalence)
open import Relatio... | 36.092593 | 104 | 0.586968 |
4dd46dfb2607ce0e84edddee3af5691eda962c5d | 917 | agda | Agda | Categories/PushOuts.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 21 | 2015-07-30T01:25:12.000Z | 2021-02-13T18:02:18.000Z | Categories/PushOuts.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 3 | 2019-01-13T13:12:33.000Z | 2019-05-29T09:50:26.000Z | Categories/PushOuts.agda | jmchapman/Relative-Monads | 74707d3538bf494f4bd30263d2f5515a84733865 | [
"MIT"
] | 1 | 2019-11-04T21:33:13.000Z | 2019-11-04T21:33:13.000Z | module Categories.PushOuts where
open import Library
open import Categories
open Cat
record Square {a}{b}{C : Cat {a}{b}}{X Y Z}(f : Hom C Z X)(g : Hom C Z Y) : Set (a ⊔ b) where
constructor square
field W : Obj C
h : Hom C X W
k : Hom C Y W
scom : comp C h f ≅ comp C k g
record... | 30.566667 | 94 | 0.522356 |
398b9c03e763fb5106959d89355d8d2e9ea0b5ad | 2,252 | agda | Agda | TypeTheory/Lecture/PropsAsTypes.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | TypeTheory/Lecture/PropsAsTypes.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | TypeTheory/Lecture/PropsAsTypes.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
module PropsAsTypes where
data Σ {I : Set} (X : I → Set) : Set where
_,_ : (i : I) → X i → Σ X
drec-Σ : {I : Set} {X : I → Set} {A : Σ X → Set} →
((i : I) → (x : X i) → A (i , x)) →
(u : Σ X) → A u
drec-Σ f (i , x) = f i x
π₁ : {I : Set} {X : I → Set} → Σ X → I
π₁ ... | 21.245283 | 69 | 0.43206 |
124fb8ea7cd27be76f47a7d8a59c4866f6e367de | 225 | agda | Agda | src/data/lib/prim/Agda/Builtin/Word.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | 1 | 2016-03-17T01:45:59.000Z | 2016-03-17T01:45:59.000Z | src/data/lib/prim/Agda/Builtin/Word.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Word.agda | asr/eagda | 7220bebfe9f64297880ecec40314c0090018fdd0 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | {-# OPTIONS --without-K #-}
module Agda.Builtin.Word where
open import Agda.Builtin.Nat
postulate Word64 : Set
{-# BUILTIN WORD64 Word64 #-}
primitive
primWord64ToNat : Word64 → Nat
primWord64FromNat : Nat → Word64
| 17.307692 | 34 | 0.715556 |
dc2dfda41688283f879e81906de30283e7540933 | 5,111 | agda | Agda | src/StateMachineModel.agda | lisandrasilva/agda-liveness | 391e148f391dc2d246249193788a0d203285b38e | [
"Apache-2.0"
] | null | null | null | src/StateMachineModel.agda | lisandrasilva/agda-liveness | 391e148f391dc2d246249193788a0d203285b38e | [
"Apache-2.0"
] | null | null | null | src/StateMachineModel.agda | lisandrasilva/agda-liveness | 391e148f391dc2d246249193788a0d203285b38e | [
"Apache-2.0"
] | null | null | null | {-
Copyright 2019 Lisandra Silva
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 writin... | 32.974194 | 92 | 0.465271 |
20fff9337a60567cf4b67a8ee1e2e04698842c2f | 3,015 | agda | Agda | Math/FormalLanguage.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | 3 | 2020-04-07T17:49:42.000Z | 2020-04-21T00:03:43.000Z | Math/FormalLanguage.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | Math/FormalLanguage.agda | rei1024/agda-misc | 37200ea91d34a6603d395d8ac81294068303f577 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Math.FormalLanguage where
-- agda-stdlib
import Algebra.FunctionProperties as FP
import Algebra.Structures as Structures
open import Level renaming (zero to lzero; suc to lsuc)
open import Data.List as L using (List; []; _++_)
import Data.List.Properties as Lₚ
open import Dat... | 30.765306 | 74 | 0.593698 |
5055a15468dd45391b0f08839d1124ab74ccab8a | 437 | agda | Agda | Cubical/Algebra/RingSolver/IntAsRawRing.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Algebra/RingSolver/IntAsRawRing.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Algebra/RingSolver/IntAsRawRing.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Algebra.RingSolver.IntAsRawRing where
open import Cubical.Data.Nat hiding (_+_; _·_)
open import Cubical.Data.Int
open import Cubical.Data.Int.Base
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.RingSolver.RawRing
ℤAsRawRing : RawRing ℓ-zero
ℤAsRawRing = raw... | 27.3125 | 70 | 0.713959 |
1c4a99d9cd2a83a1078b1d99b0d81cd4d195b6ef | 5,628 | agda | Agda | core/lib/types/Cover.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/Cover.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/Cover.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | 1 | 2018-12-26T21:31:57.000Z | 2018-12-26T21:31:57.000Z | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics renaming (pt to pt⊙)
open import lib.NConnected
open import lib.types.TLevel
open import lib.NType2
open import lib.types.Pi
open import lib.types.Sigma
open import lib.types.LoopSpace
open import lib.types.Truncation
open import lib.types.PathSet
module ... | 31.617978 | 75 | 0.524343 |
cb2e4429784b05161950b345853ab7b0c945fc18 | 3,443 | agda | Agda | lib/types/Coproduct.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | lib/types/Coproduct.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | lib/types/Coproduct.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Bool
open import lib.types.Empty
open import lib.types.Lift
open import lib.types.Pointed
module lib.types.Coproduct where
module _ {i j} {A : Type i} {B : Type j} where
⊔-code : Coprod A B → Coprod A B → Type (lmax i j)
⊔-code (inl a₁) (i... | 35.864583 | 79 | 0.526576 |
1c4679b695db6afe60a9819a13f9e58c013b65b3 | 6,188 | agda | Agda | theorems/cw/cohomology/cochainequiv/HigherCoboundary.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 294 | 2015-01-09T16:23:23.000Z | 2022-03-20T13:54:45.000Z | theorems/cw/cohomology/cochainequiv/HigherCoboundary.agda | AntoineAllioux/HoTT-Agda | 1037d82edcf29b620677a311dcfd4fc2ade2faa6 | [
"MIT"
] | 31 | 2015-03-05T20:09:00.000Z | 2021-10-03T19:15:25.000Z | theorems/cw/cohomology/cochainequiv/HigherCoboundary.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.Bouquet
open import homotopy.FinWedge
open import homotopy.SphereEndomorphism
open import groups.SphereEndomorphism
open import cw.CW
open import cw.FinCW
open import cw.WedgeOfCells
open import cw.FinBoundary
open import cohomology.Theory
... | 44.84058 | 132 | 0.507434 |
c539636a2e51b880277560449e09822f6dcffdf0 | 919 | agda | Agda | src/Categories/Category/Construction/Cowedges.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Category/Construction/Cowedges.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Category/Construction/Cowedges.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.Core using (Category)
open import Categories.Functor.Bifunctor using (Bifunctor)
module Categories.Category.Construction.Cowedges {o ℓ e o′ ℓ′ e′} {C : Category o ℓ e} {D : Category o′ ℓ′ e′}
(F : Bifunctor (Category.op C) C D) where
open import Le... | 28.71875 | 110 | 0.645267 |
123aba03793af34365f2ff689c791296871a7ce8 | 18,623 | agda | Agda | Multidimensional/NNat.agda | wrrnhttn/agda-cubical-multidimensional | 55709dd950e319c4a105ace33ddaf8b955354add | [
"MIT"
] | null | null | null | Multidimensional/NNat.agda | wrrnhttn/agda-cubical-multidimensional | 55709dd950e319c4a105ace33ddaf8b955354add | [
"MIT"
] | 4 | 2019-06-19T20:40:07.000Z | 2019-07-02T16:24:01.000Z | Multidimensional/NNat.agda | wrrnhttn/agda-cubical-multidimensional | 55709dd950e319c4a105ace33ddaf8b955354add | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical #-}
open import Cubical.Core.Glue
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Data.Empty
open import Cubical.Data.Unit
open imp... | 33.019504 | 116 | 0.503893 |
fb62ebea2bf70d9cfd2e34c790a0654d814cea12 | 110 | agda | Agda | agda/Cham/Name.agda | riz0id/chemical-abstract-machine | 292023fc36fa67ca4a81cff9a875a325a79b9d6f | [
"BSD-3-Clause"
] | null | null | null | agda/Cham/Name.agda | riz0id/chemical-abstract-machine | 292023fc36fa67ca4a81cff9a875a325a79b9d6f | [
"BSD-3-Clause"
] | null | null | null | agda/Cham/Name.agda | riz0id/chemical-abstract-machine | 292023fc36fa67ca4a81cff9a875a325a79b9d6f | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Cham.Name where
open import Data.String
Name : Set
Name = String
| 12.222222 | 34 | 0.681818 |
c558fa386b713a5e93bc278797c75acd7380432b | 7,607 | agda | Agda | agda/book/SFHC/v01-01-basics.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 36 | 2015-01-29T14:37:15.000Z | 2021-07-30T06:55:03.000Z | agda/book/SFHC/v01-01-basics.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | null | null | null | agda/book/SFHC/v01-01-basics.agda | haroldcarr/learn-haskell-coq-ml-etc | 3dc7abca7ad868316bb08f31c77fbba0d3910225 | [
"Unlicense"
] | 8 | 2015-04-13T21:40:15.000Z | 2021-09-21T15:58:10.000Z | -- this is so this can be imported even though it has unresolved holes
{-# OPTIONS --allow-unsolved-metas #-}
module v01-01-basics where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎)
data day : Set where
mon : day
tue : day
w... | 19.405612 | 73 | 0.560273 |
cb160dc6dfebd8b91ccba3674d3bafb50e1537c4 | 356 | agda | Agda | test/Succeed/ImplicitlyDottedVariable.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/ImplicitlyDottedVariable.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/ImplicitlyDottedVariable.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
data Vec (A : Set) : Nat → Set where
[] : Vec A 0
cons : (n : Nat) → A → Vec A n → Vec A (suc n)
tail : {A : Set} (n : Nat) → Vec A (suc n) → Vec A n
tail n (cons n x xs) = xs
tail' : {A : Set} (n : Nat) → Vec A (suc n) → Vec A n
tail' 0 (cons 0 x []) = []
tail' (suc n) (cons (suc n)... | 27.384615 | 62 | 0.516854 |
dccb13a6cc520c23ed589953df57d0495f18f722 | 4,043 | agda | Agda | src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --cubical --safe --no-sized-types --no-guardedness #-}
module Agda.Builtin.Cubical.Glue where
open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMin to _∧_;
primHComp to h... | 33.413223 | 104 | 0.489241 |
df9cfe14188744d93f880e9fb974eb5bedb92e7f | 1,597 | agda | Agda | Data/ListSized/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Data/ListSized/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Data/ListSized/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Data.ListSized.Proofs where
import Lvl
open import Data.ListSized
open import Data.ListSized.Functions
open import Functional
open import Function.Equals
open import Numeral.Finite
open import Numeral.Natural
open import Numeral.Natural.Function
open import Numeral.Natural.Oper
open import Numeral.Natural.... | 33.978723 | 76 | 0.646212 |
1c2a8544144d932b0ab915248d59c18245666355 | 1,911 | agda | Agda | Cubical/Data/HomotopyGroup/Base.agda | Rotsor/cubical | d55cd4834ca1f171f58b4a0c46b804ea6d18191f | [
"MIT"
] | null | null | null | Cubical/Data/HomotopyGroup/Base.agda | Rotsor/cubical | d55cd4834ca1f171f58b4a0c46b804ea6d18191f | [
"MIT"
] | null | null | null | Cubical/Data/HomotopyGroup/Base.agda | Rotsor/cubical | d55cd4834ca1f171f58b4a0c46b804ea6d18191f | [
"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.Data.Nat
open import Cubical.Data.Group.Base
open import Cubical.HITs.SetTruncation
Pointed ... | 30.333333 | 79 | 0.488226 |
4a702b49f482f5978ad8a379b08e1f90c2f48198 | 50,371 | agda | Agda | archive/agda-1/Unify-monolithic.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/Unify-monolithic.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/Unify-monolithic.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | {- https://lists.chalmers.se/pipermail/agda/2013/006033.html http://code.haskell.org/~Saizan/unification/ 18-Nov-2013 Andrea Vezzosi -}
module Unify-monolithic where
-- some equivalences needed to adapt Tactic.Nat to the standard library
module EquivalenceOf≤ where
open import Agda.Builtin.Equality
open import Agd... | 42.435552 | 364 | 0.45284 |
2040232bcb7329a1e76b75c710aab55038a001e0 | 1,290 | agda | Agda | Chapter1/#3.agda | CodaFi/HoTT-Exercises | 3411b253b0a49a5f9c3301df175ae8ecdc563b12 | [
"MIT"
] | null | null | null | Chapter1/#3.agda | CodaFi/HoTT-Exercises | 3411b253b0a49a5f9c3301df175ae8ecdc563b12 | [
"MIT"
] | null | null | null | Chapter1/#3.agda | CodaFi/HoTT-Exercises | 3411b253b0a49a5f9c3301df175ae8ecdc563b12 | [
"MIT"
] | null | null | null | module #3 where
open import Data.Product
open import Data.Sum
open import Relation.Binary.PropositionalEquality
{-
Exercise 1.3. Derive the induction principle for products indA×B, using only the projections and
the propositional uniqueness principle uppt. Verify that the definitional equalities are valid.
Generali... | 37.941176 | 119 | 0.531008 |
cbccbeaf919d66402d38856b9ab177a88e92ce8c | 613 | agda | Agda | Cubical/Algebra/CommAlgebra/Instances/Unit.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | Cubical/Algebra/CommAlgebra/Instances/Unit.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | Cubical/Algebra/CommAlgebra/Instances/Unit.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommAlgebra.Instances.Unit where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Unit
open import Cubical.Algebra.Ring
open import Cubical.Algebra.CommRing
open import Cubical.Algebra.CommRing.Instances.Unit
open import Cubical.Algebra.CommAlgebra
priva... | 23.576923 | 55 | 0.722675 |
cba53d3a581b08964ca9788cdc0e0d7c61652d66 | 4,843 | agda | Agda | legacy/RandomAccessList/Redundant/Core/Properties.agda | banacorn/numeral | aae093cc9bf21f11064e7f7b12049448cd6449f1 | [
"MIT"
] | 1 | 2015-04-23T15:58:28.000Z | 2015-04-23T15:58:28.000Z | legacy/RandomAccessList/Redundant/Core/Properties.agda | banacorn/numeral | aae093cc9bf21f11064e7f7b12049448cd6449f1 | [
"MIT"
] | null | null | null | legacy/RandomAccessList/Redundant/Core/Properties.agda | banacorn/numeral | aae093cc9bf21f11064e7f7b12049448cd6449f1 | [
"MIT"
] | 1 | 2015-05-30T05:50:50.000Z | 2015-05-30T05:50:50.000Z | module RandomAccessList.Redundant.Core.Properties where
open import BuildingBlock
open import BuildingBlock.BinaryLeafTree using (BinaryLeafTree; Node; Leaf)
open import RandomAccessList.Redundant.Core
open import Data.Num.Redundant
open import Data.Num.Redundant.Properties
open import Data.Nat using (ℕ; zero; suc)
... | 31.044872 | 143 | 0.33471 |
cbf62c75835aed33afe3a308e3938f4d60e5835b | 7,187 | agda | Agda | nicolai/thesis/Anonymous_Existence_CollSplit.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | nicolai/thesis/Anonymous_Existence_CollSplit.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | null | null | null | nicolai/thesis/Anonymous_Existence_CollSplit.agda | nicolaikraus/HoTT-Agda | 939a2d83e090fcc924f69f7dfa5b65b3b79fe633 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Sigma
open import lib.NType2
open import lib.types.Paths
open import Preliminaries
open import Truncation_Level_Criteria
module Anonymous_Existence_CollSplit where
-- Chapter 4: Anonymous Existence
-- Chapter 4.1: Collapsible Types have Split... | 39.707182 | 148 | 0.488521 |
fbf2529caf66cd3a37c8e29c78b1428e1adc2d58 | 810 | agda | Agda | test/Succeed/Issue1209-2.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1209-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1209-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- A variant of code reported by Andreas Abel.
{-# OPTIONS --guardedness --sized-types #-}
open import Common.Coinduction renaming (∞ to Delay)
open import Common.Size
open import Common.Product
data ⊥ : Set where
record Stream (A : Set) : Set where
inductive
constructor delay
field
force : Delay (A × Str... | 23.142857 | 79 | 0.638272 |
0b8fd16f2480abce2c9499a921c4c1f2f23048dc | 1,088 | agda | Agda | agda-stdlib/src/Data/List/Relation/Binary/Equality/DecSetoid.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/Relation/Binary/Equality/DecSetoid.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/Relation/Binary/Equality/DecSetoid.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Pointwise decidable equality over lists parameterised by a setoid
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module ... | 28.631579 | 72 | 0.5625 |
dcd62faa00e1629a8b45c893a4f9a177455bafb0 | 1,055 | agda | Agda | test/Succeed/Issue1087.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1087.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1087.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2014-04-12, Order of declaration mattered in the presence
-- of meta variables involving sizes
-- {-# OPTIONS -v tc.meta:10 -v tc.meta.assign:10 #-}
-- Error persists without option sized-types
{-# OPTIONS --sized-types #-}
module _ where
open import Common.Size
-- different error if we do not use the bui... | 26.375 | 70 | 0.67109 |
d062fe0363f6f8511ca00c13ac8a006b0edbe1d1 | 868 | agda | Agda | agda-implicit/BoehmBerarducci.agda | mietek/scott-encoding | 14e819383dd8730e1c3cbd9c2ce53335bd95188b | [
"X11",
"MIT"
] | 6 | 2015-05-27T19:33:52.000Z | 2019-08-08T16:31:59.000Z | agda-implicit/BoehmBerarducci.agda | mietek/scott-encoding | 14e819383dd8730e1c3cbd9c2ce53335bd95188b | [
"X11",
"MIT"
] | null | null | null | agda-implicit/BoehmBerarducci.agda | mietek/scott-encoding | 14e819383dd8730e1c3cbd9c2ce53335bd95188b | [
"X11",
"MIT"
] | null | null | null | module BoehmBerarducci where
open import Data.Nat
open import Data.List
NatQ : Set₁
NatQ = {A : Set} -> (A -> A) -> A -> A
unNatQ : {A : Set} -> (A -> A) -> A -> NatQ -> A
unNatQ f a q = q f a
succQ : NatQ -> NatQ
succQ q = \f a -> f (q f a)
zeroQ : NatQ
zeroQ = \f a -> a
fromNatQ : NatQ -> ℕ
fromNatQ q = unNatQ... | 19.288889 | 59 | 0.528802 |
39028c902e87ffa414f9df4dc2b22e084f665b89 | 1,114 | agda | Agda | test/Fail/Issue822.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue822.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue822.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | -- {-# OPTIONS -v tc.lhs:40 #-} {-# OPTIONS -v scope.pat:40 #-}
module Issue822 where
module M₁ where
postulate [_] : Set
module M₂ where
data D : Set₁ where
[_] : Set → D
module M₃ where
data D : Set₁ where
[_] : Set → D
open M₁
open M₂
open M₃
Foo : _ → Set
Foo [ A ] = A
-- Strange error messag... | 23.208333 | 69 | 0.667864 |
4ae1b7190e6dc5aa22271fdc6c97c3f4f9911d56 | 44,130 | agda | Agda | archive/agda-1/NaturalDeduction-PatternLambdaBug.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/NaturalDeduction-PatternLambdaBug.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/NaturalDeduction-PatternLambdaBug.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | {-# OPTIONS --rewriting #-}
{-# OPTIONS --show-implicit #-}
module NaturalDeduction-PatternLambdaBug
where
record ⊤ : Set where
data ⊥ : Set where
foo : ⦃ _ : ⊤ ⦄ → ⊥ → Set
foo = λ {x → {!x!}}
{-
C-c C-c above generates invalid syntax:
foo = λ { }
Found an implicit lambda where an explicit lambda was ex... | 38.440767 | 173 | 0.455495 |
10868e3465224b5920429036b2d54fa1b4a83b27 | 370 | agda | Agda | test/fail/Issue1015OnlyRecord.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | test/fail/Issue1015OnlyRecord.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | null | null | null | test/fail/Issue1015OnlyRecord.agda | masondesu/agda | 70c8a575c46f6a568c7518150a1a64fcd03aa437 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
{-# OPTIONS --copatterns #-}
open import Common.Size
record R (i : Size) : Set where
-- Note: not coinductive
constructor delay
field
force : (j : Size< i) → R j
open R
inh : (i : Size) → R i
force (inh i) j = inh j
-- Should give termination error
data ⊥ : Set where
elim : R ∞ → ⊥
elim (delay f) = eli... | 15.416667 | 40 | 0.613514 |
128600e3f8e0d5ef252223b50f42d97f7ae9b4d0 | 99 | agda | Agda | test/Fail/Issue2420.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue2420.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue2420.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module _ where
module M where
record S : Set₁ where
open M
field
F1 : Set
F2 : {!!}
| 9 | 21 | 0.575758 |
1cc03d57e379e5bd060dc538a5f846b7e4546496 | 4,508 | agda | Agda | Cubical/Foundations/Pointed/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Foundations/Pointed/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Foundations/Pointed/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Foundations.Pointed.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Structure using (typ) public
open import Cubical.Foundations.GroupoidLaws
open import Cubical.Fou... | 34.945736 | 76 | 0.533496 |
4ab5a541e6bb8825a3cea85a9398212a5a02346b | 415 | agda | Agda | agda/HLevels.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/HLevels.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/HLevels.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module HLevels where
open import Path
open import Cubical.Foundations.Everything
using (isProp
;isSet
;isContr
;isPropIsContr
;isProp→isSet
;isOfHLevel→isOfHLevelDep
;hProp
;isSetHProp
;isPropIsProp
)
public
... | 17.291667 | 42 | 0.614458 |
1c186540eede2928925622247536273631451904 | 24,950 | agda | Agda | GauInt/Properties.agda | onestruggler/EucDomain | 7e268e8354065fde734c9c2d9998d2cfd4a21f71 | [
"CC0-1.0"
] | null | null | null | GauInt/Properties.agda | onestruggler/EucDomain | 7e268e8354065fde734c9c2d9998d2cfd4a21f71 | [
"CC0-1.0"
] | null | null | null | GauInt/Properties.agda | onestruggler/EucDomain | 7e268e8354065fde734c9c2d9998d2cfd4a21f71 | [
"CC0-1.0"
] | null | null | null | -- This file gives the definition of Gaussian Integers, the addition
-- and multiplication on them, and shows that they form a commutative
-- ring, and other properties. All the proofs are straightforward.
{-# OPTIONS --without-K --safe #-}
module GauInt.Properties where
-- imports from local.
open import GauInt.In... | 35.140845 | 446 | 0.448257 |
cba94de9123442f3966656771a9ec295eaf6d359 | 746 | agda | Agda | test/Succeed/Issue2484-6.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2484-6.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2484-6.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --sized-types #-}
module _ (_ : Set) where
open import Agda.Builtin.Size
postulate
I : Set
record ∃ (B : I → Set) : Set where
constructor _,_
field
proj₁ : I
proj₂ : B proj₁
module M (_ : Set₁) where
mutual
data P (i : Size) (x y : I) : Set where
⟨_⟩ : ∃ (Q i x) → P i x y
... | 18.195122 | 60 | 0.458445 |
c5d3f6d008b8d44e74c85ea6d1e2d8948635f273 | 2,337 | agda | Agda | test/Succeed/Issue1833.agda | sseefried/agda | 6b13364d36eeb60d8ec15eaf8effe23c73401900 | [
"BSD-2-Clause"
] | 1 | 2022-02-05T01:20:23.000Z | 2022-02-05T01:20:23.000Z | test/Succeed/Issue1833.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 6 | 2021-10-18T08:12:24.000Z | 2021-11-24T08:31:10.000Z | test/Succeed/Issue1833.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | null | null | null |
module _ where
open import Common.Prelude hiding (_>>=_)
open import Common.Reflection
open import Agda.Builtin.Sigma
infix -100 This:_ this:_
data This:_ {a} {A : Set a} : A → Set where
this:_ : ∀ x → This: x
macro
runT : Tactic → Tactic
runT m = m
evalT : ∀ {a} {A : Set a} → TC A → Tactic
evalT m hole ... | 25.402174 | 101 | 0.620454 |
4d15c24836a8d463282233f4558a3aaafa040acd | 192 | agda | Agda | src/data/lib/prim/Agda/Builtin/IO.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/IO.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/IO.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null |
module Agda.Builtin.IO where
postulate IO : ∀ {a} → Set a → Set a
{-# BUILTIN IO IO #-}
{-# HASKELL type AgdaIO a b = IO b #-}
{-# COMPILED_TYPE IO MAlonzo.Code.Agda.Builtin.IO.AgdaIO #-}
| 19.2 | 60 | 0.635417 |
39ef2e4f22ddf9daaedfea9d46bdd27b74d280ba | 6,995 | agda | Agda | Cubical/Algebra/Group/Base.agda | mchristianl/cubical | cc6ad25d5ffbe4f20ea7020474f266d24b97caa0 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/Base.agda | mchristianl/cubical | cc6ad25d5ffbe4f20ea7020474f266d24b97caa0 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/Base.agda | mchristianl/cubical | cc6ad25d5ffbe4f20ea7020474f266d24b97caa0 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.SIP
open import Cubical.Data.Sigma
open import Cubical.Data.Int hiding (-_) renaming (_+_ to _+Int_ ; _-_ to _-Int_)
open import Cubical.Data.Unit
open imp... | 32.686916 | 100 | 0.479342 |
0eed521de058d3aaa6504c72a5bbf91b07cbea1b | 15,972 | agda | Agda | Cubical/Algebra/Group/EilenbergMacLane/GroupStructure.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Algebra/Group/EilenbergMacLane/GroupStructure.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/EilenbergMacLane/GroupStructure.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Group.EilenbergMacLane.GroupStructure where
open import Cubical.Algebra.Group.EilenbergMacLane.Base
open import Cubical.Algebra.Group.EilenbergMacLane.WedgeConnectivity
open import Cubical.Algebra.Group.Base
open import Cubical.Algebra.Gro... | 38.394231 | 112 | 0.450225 |
0e7129441a89d792baf8d2cf3bf1d1449501c188 | 2,295 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Product/Categorical/Right.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Product/Categorical/Right.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Product/Categorical/Right.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Right-biased universe-sensitive functor and monad instances for the
-- Product type.
--
-- To minimize the universe level of the RawFunctor, we require that
-- elements of B are "lifted" to a copy of B at a highe... | 28.333333 | 72 | 0.555991 |
4ae8c4c37f722608110d621384f8130f94efb44e | 1,502 | agda | Agda | simpleAgda.agda | hjorthjort/IdrisToAgda | a5f65e28cc9fdfefde49e7d8cf84486601b9e7b1 | [
"MIT"
] | 2 | 2020-02-16T23:22:50.000Z | 2020-06-29T20:42:43.000Z | simpleAgda.agda | hjorthjort/IdrisToAgda | a5f65e28cc9fdfefde49e7d8cf84486601b9e7b1 | [
"MIT"
] | 1 | 2019-11-28T17:52:42.000Z | 2019-11-28T17:52:42.000Z | simpleAgda.agda | hjorthjort/IdrisToAgda | a5f65e28cc9fdfefde49e7d8cf84486601b9e7b1 | [
"MIT"
] | 1 | 2019-11-27T16:25:18.000Z | 2019-11-27T16:25:18.000Z | module simpleAgda where
-- main : IO ()
-- main = putStrLn "Testing simple Idris"
--
-- Some simple equivalent Idris and Agda code.
--
-- data N = Z | Suc N
data N : Set where
Z : N
suc : N -> N
-- one : N
-- one = Suc Z
one : N
one = suc Z
-- addOne : N -> N
-- addOne Z = Suc Z
-- addOne (Suc n) = Suc (Suc ... | 21.768116 | 75 | 0.543941 |
4d70ffeb98506dd7c37f86eb0c1f622ce312f79c | 386 | agda | Agda | Cats/Category/Constructions/Epi.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | 24 | 2017-11-03T15:18:57.000Z | 2021-08-06T05:00:46.000Z | Cats/Category/Constructions/Epi.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | null | null | null | Cats/Category/Constructions/Epi.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | 1 | 2019-03-18T15:35:07.000Z | 2019-03-18T15:35:07.000Z | {-# OPTIONS --without-K --safe #-}
module Cats.Category.Constructions.Epi where
open import Level
open import Cats.Category.Base
module Build {lo la l≈} (Cat : Category lo la l≈) where
private open module Cat = Category Cat
open Cat.≈-Reasoning
IsEpi : ∀ {A B} → A ⇒ B → Set (lo ⊔ la ⊔ l≈)
IsEpi {A} {B} f ... | 20.315789 | 63 | 0.606218 |
1c5060d4a968c380e555e5314e5b8dbeb315e6d2 | 33,630 | agda | Agda | test/LibSucceed/Issue784/Values.agda | ayberkt/agda | 376c2fcafef775847e336244ecf8020575b07d96 | [
"BSD-3-Clause"
] | null | null | null | test/LibSucceed/Issue784/Values.agda | ayberkt/agda | 376c2fcafef775847e336244ecf8020575b07d96 | [
"BSD-3-Clause"
] | null | null | null | test/LibSucceed/Issue784/Values.agda | ayberkt/agda | 376c2fcafef775847e336244ecf8020575b07d96 | [
"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 Data.String.Properties public using (_≟_)
open import Function public
open import Data.List using (List; []; _∷_; _++_; [_]; boolFilter) renaming (map to mapL)
open import Data.L... | 43.562176 | 151 | 0.43149 |
39e81b9cbc22ca8bee876244b1bfab9f9f1cc67a | 399 | agda | Agda | test/interaction/Issue1640.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue1640.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue1640.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module _ where
module M (X : Set) where
postulate
F : Set
G : Set
data ⊥ : Set where
open M ⊥ hiding (F)
easy : M.G ⊥
easy = {!!} -- G
hard : M.F ⊥
hard = {!!} -- M.F ⊥ (and not .Issue1640._.F)
data ⊤ : Set where
tt : ⊤
module With where
private
F : ⊤ → Set
F x with x
F _ | tt = ⊥... | 12.46875 | 48 | 0.496241 |
10a7fc8e03e7e7eba9859720dcc89b90e3ba5ca8 | 5,564 | agda | Agda | agda-stdlib/src/Data/Vec/N-ary.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Vec/N-ary.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Vec/N-ary.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Code for converting Vec A n → B to and from n-ary functions
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.N-ary where
open import D... | 31.794286 | 72 | 0.442667 |
dcc08f82babe35d7db4bc271bba9f98cfc41a31d | 938 | agda | Agda | test/interaction/Issue3687.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue3687.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue3687.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2019-04-10, issue #3687, name mayhem when printing module contents (C-c C-o)
-- {-# OPTIONS -v interaction.contents.record:20 #-}
record Cat : Set₁ where
field
Obj : Set
Hom : (A B : Obj) → Set
Eq : ∀{A B} (f g : Hom A B) → Set
id : (A : Obj) → Hom A A
comp : ∀{A B C} (f :... | 29.3125 | 88 | 0.523454 |
183e8c3791a8f12458e4a0a003ea28dccd84914e | 3,817 | agda | Agda | src/System/IO/Transducers/Properties/TwoCategory.agda | ilya-fiveisky/agda-system-io | d06c219c7b7afc85aae3b1d4d66951b889aa7371 | [
"MIT"
] | 10 | 2015-01-04T13:45:16.000Z | 2021-09-15T04:35:41.000Z | src/System/IO/Transducers/Properties/TwoCategory.agda | ilya-fiveisky/agda-system-io | d06c219c7b7afc85aae3b1d4d66951b889aa7371 | [
"MIT"
] | null | null | null | src/System/IO/Transducers/Properties/TwoCategory.agda | ilya-fiveisky/agda-system-io | d06c219c7b7afc85aae3b1d4d66951b889aa7371 | [
"MIT"
] | 2 | 2017-08-10T06:12:54.000Z | 2022-03-12T11:40:23.000Z | open import Coinduction using ( ♭ )
open import Data.Product using ( _,_ )
open import Relation.Binary using ( Poset )
open import Relation.Binary.PropositionalEquality using ( _≡_ ; refl ; sym ; trans ; cong ; subst₂ ) renaming ( setoid to ≡-setoid )
open import System.IO.Transducers using ( _⇒_ ; inp ; out ; done ; ⟦... | 31.545455 | 132 | 0.534189 |
dc4c3f7a184311438eb95be91d6882ac3f40592c | 256 | agda | Agda | Cubical/Foundations/Pointed.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Foundations/Pointed.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Foundations/Pointed.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | 1 | 2021-11-22T02:02:01.000Z | 2021-11-22T02:02:01.000Z | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Foundations.Pointed where
open import Cubical.Foundations.Pointed.Base public
open import Cubical.Foundations.Pointed.Properties public
open import Cubical.Foundations.Pointed.Homogeneous
| 32 | 57 | 0.816406 |
187dd8a19dd8a274457a5e1198e4efa77ba4939d | 646 | agda | Agda | test/interaction/Issue1083.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/interaction/Issue1083.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue1083.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | -- Andreas, 2013-04-06
-- Interaction point buried in postponed type checking problem
module Issue1083 where
data Bool : Set where true false : Bool
T : Bool → Set
T true = Bool → Bool
T false = Bool
postulate
f : {x : Bool} → T x
test : (x : Bool) → T x
test true = f {!!}
test false = {!!}
-- Constraints show... | 23.925926 | 77 | 0.685759 |
0bdb33a245e87c059b1d20d535bc900079280c90 | 694 | agda | Agda | _assets/agda/Girard.agda | ionathanch/ionathanch.github.io | d54cdaf24391b2726e491a18cba2d2d8ae3ac20b | [
"MIT"
] | null | null | null | _assets/agda/Girard.agda | ionathanch/ionathanch.github.io | d54cdaf24391b2726e491a18cba2d2d8ae3ac20b | [
"MIT"
] | null | null | null | _assets/agda/Girard.agda | ionathanch/ionathanch.github.io | d54cdaf24391b2726e491a18cba2d2d8ae3ac20b | [
"MIT"
] | null | null | null | {-# OPTIONS --type-in-type #-}
data ⊥ : Set where
℘ : ∀ {ℓ} → Set ℓ → Set _
℘ {ℓ} S = S → Set
U : Set
U = ∀ (X : Set) → (℘ (℘ X) → X) → ℘ (℘ X)
{- If using two impredicative universe layers instead of type-in-type:
U : Set₁
U = ∀ (X : Set₁) → (℘ (℘ X) → X) → ℘ (℘ X)
-}
τ : ℘ (℘ U) → U
τ t = λ X f p → t (λ x → p (f... | 18.263158 | 70 | 0.367435 |
dc4724086c959be7572e860d727b9b61c2336ebf | 164,645 | agda | Agda | src/Lens/Non-dependent/Traditional/Erased.agda | nad/dependent-lenses | f2da6f7e95b87ca525e8ea43929c6d6163a74811 | [
"MIT"
] | 3 | 2020-04-16T12:10:46.000Z | 2020-07-03T08:55:52.000Z | src/Lens/Non-dependent/Traditional/Erased.agda | nad/dependent-lenses | f2da6f7e95b87ca525e8ea43929c6d6163a74811 | [
"MIT"
] | null | null | null | src/Lens/Non-dependent/Traditional/Erased.agda | nad/dependent-lenses | f2da6f7e95b87ca525e8ea43929c6d6163a74811 | [
"MIT"
] | 1 | 2020-07-01T14:33:26.000Z | 2020-07-01T14:33:26.000Z | ------------------------------------------------------------------------
-- Traditional non-dependent lenses with erased lens laws
------------------------------------------------------------------------
import Equality.Path as P
module Lens.Non-dependent.Traditional.Erased
{e⁺} (eq : ∀ {a p} → P.Equality-with-path... | 46.827361 | 162 | 0.367044 |
39b16c47487944411df07d9a9eb5cd8975c8cd84 | 1,512 | agda | Agda | src/LibraBFT/Impl/Types/OnChainConfig/ValidatorSet.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Impl/Types/OnChainConfig/ValidatorSet.agda | LaudateCorpus1/bft-consensus-agda | a4674fc473f2457fd3fe5123af48253cfb2404ef | [
"UPL-1.0"
] | null | null | null | src/LibraBFT/Impl/Types/OnChainConfig/ValidatorSet.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.ImplShared.Consensus.Types
open import Optics.All
open i... | 37.8 | 111 | 0.712302 |
1082ee82cdb41af2d144990b812cf3699696e64c | 9,048 | agda | Agda | homotopy/JoinAssoc2.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | homotopy/JoinAssoc2.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | homotopy/JoinAssoc2.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
-- Associativity of the join (work in progress)
module homotopy.JoinAssoc2 where
import homotopy.JoinAssoc as Assoc
module Assoc2 {i j k} (A : Type i) (B : Type j) (C : Type k) where
open Assoc A B C
{- Here are the steps, without the junk around:
apd (λ x... | 74.77686 | 294 | 0.463859 |
4de95f093dd9c0fa96e1a300d30cec9c19e6309e | 6,932 | agda | Agda | Nested.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | 1 | 2021-02-13T14:48:45.000Z | 2021-02-13T14:48:45.000Z | Nested.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | Nested.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Nested applications of the defined function can be handled
------------------------------------------------------------------------
module Nested where
open import Codata.Musical.Notation
open import Codata.Musical.Stream
open import Function... | 33.980392 | 93 | 0.420514 |
1cdb0390c7d2d10f8d31e0be658a01c90160aa15 | 7,485 | agda | Agda | core/lib/types/Nat.agda | maxdore/hott-morse | 01bbd8841f9b9b25666b91e65b196d8f472b9978 | [
"MIT"
] | null | null | null | core/lib/types/Nat.agda | maxdore/hott-morse | 01bbd8841f9b9b25666b91e65b196d8f472b9978 | [
"MIT"
] | null | null | null | core/lib/types/Nat.agda | maxdore/hott-morse | 01bbd8841f9b9b25666b91e65b196d8f472b9978 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --rewriting #-}
open import lib.Base
open import lib.Function
open import lib.NType
open import lib.PathGroupoid
open import lib.Relation
open import lib.types.Bool
open import lib.types.Coproduct
open import lib.types.Empty
open import lib.types.Sigma
module lib.types.Nat where
infixl 80 _+_... | 26.827957 | 87 | 0.476019 |
a1ccb9059f0c41de457aadd344d110c378062d53 | 3,841 | agda | Agda | core/lib/types/Wedge.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | core/lib/types/Wedge.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | core/lib/types/Wedge.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Coproduct
open import lib.types.Paths
open import lib.types.Pointed
open import lib.types.Pushout
open import lib.types.PushoutFlattening
open import lib.types.Span
open import lib.types.Unit
-- Wedge of two pointed types is defined as a particu... | 25.952703 | 78 | 0.497006 |
a1a45e0544d858fae6ae0099a0790d107a610319 | 139 | agda | Agda | test/Fail/Issue478b.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue478b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue478b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Issue478b where
record Ko (Q : Set) : Set₁ where
field
T : Set
foo : T
foo = Set
-- This previously said Set₁ !=< T r
| 11.583333 | 36 | 0.604317 |
fbe3d978b54d3fe508c888fc6d7d972b1cea4bc3 | 608 | agda | Agda | test/Succeed/Issue1280.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1280.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1280.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue1280 where
open import Common.Prelude
open import Common.Reflection
infixr 5 _∷_
data Vec (A : Set) : Nat → Set where
[] : Vec A 0
_∷_ : ∀ {n} → A → Vec A n → Vec A (suc n)
test : Vec _ _
test = 0 ∷ []
quoteTest : Term
quoteTest = quoteTerm test
unquoteTest = unquote (give quoteTest)
data Foo (A ... | 20.266667 | 68 | 0.666118 |
a1082c38d7811c26233f82085b5450d8c530e90e | 485 | agda | Agda | test/interaction/Issue289.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue289.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue289.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue289 where
data D : Set where
d : D
record ⊤ : Set where
foo : (x y : D) → ⊤
foo d y = {!y!}
-- WAS:
-- Right hand side must be a single hole when making a case
-- distinction.
-- when checking that the expression ? has type ⊤
-- THEN: (Andreas, 2013-03-22)
-- Since goal is solved, further case distin... | 21.086957 | 67 | 0.670103 |
df6d50b49571f7807fd0312a442f7b29d23d96a9 | 432 | agda | Agda | test/Fail/Issue202.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue202.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue202.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --no-universe-polymorphism #-}
module Issue202 where
open import Agda.Primitive public using (Level)
open import Imports.Test
module Test2 {ℓ : Level} (F : Foo ℓ) where
-- Test2.agda:4,31-36
-- The metavariable _1 cannot depend on ℓ because it does not depend
-- on any variables
-- when checking that th... | 25.411765 | 68 | 0.738426 |
a17c36720307f71f9fae3718cdb5cfff7fca6137 | 11,972 | agda | Agda | function/isomorphism/utils.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 27 | 2015-04-14T15:47:03.000Z | 2022-01-09T07:26:57.000Z | function/isomorphism/utils.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 2 | 2015-02-11T11:14:59.000Z | 2015-02-11T15:20:34.000Z | function/isomorphism/utils.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.isomorphism.utils where
open import sum
open import equality.core
open import equality.calculus
open import function.core
open import function.overloading
open import function.isomorphism.core
open import function.isomorphism.coherent
open import function.extensionality.pro... | 32.269542 | 75 | 0.380638 |
a17d6d2dd828cbf6c750a30522a4ac6b3f844272 | 146 | agda | Agda | test/epic/Prelude/Product.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | test/epic/Prelude/Product.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | test/epic/Prelude/Product.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | null | null | null | module Prelude.Product where
infixr 4 _,_
record _×_ (A B : Set) : Set where
constructor _,_
field
fst : A
snd : B
open _×_ public
| 12.166667 | 34 | 0.636986 |
a1935196ab1ce603a29d70b58576eaf8e29da5f9 | 167 | agda | Agda | test/Fail/NoLetInRecordTele.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/NoLetInRecordTele.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/NoLetInRecordTele.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Builtin.Equality
record R {A : Set} {B : A → Set} p@ab : Set where
field
prf : p ≡ p
| 20.875 | 49 | 0.688623 |
107369c48245284a2df888f218e9a191640e8ed7 | 4,270 | agda | Agda | examples/StateSized/StackStateDependent.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 23 | 2016-06-19T12:57:55.000Z | 2020-10-12T23:15:25.000Z | examples/StateSized/StackStateDependent.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | null | null | null | examples/StateSized/StackStateDependent.agda | agda/ooAgda | 7cc45e0148a4a508d20ed67e791544c30fecd795 | [
"MIT"
] | 2 | 2018-09-01T15:02:37.000Z | 2022-03-12T11:41:00.000Z | {-# OPTIONS --postfix-projections #-}
module StateSized.StackStateDependent where
open import Data.Product
open import Function
open import Data.String.Base as Str
open import Data.Nat.Base as N
open import Data.Vec as Vec using (Vec; []; _∷_; head; tail)
open import Relation.Binary using (Rel)
open import Relation.... | 30.719424 | 101 | 0.586651 |
12e5a9c994a5707a62a7ef60229bfd843fd075df | 713 | agda | Agda | test/interaction/Issue1349.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue1349.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue1349.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, fixed #1349 on 2016-06-08
-- {-# OPTIONS -v tc.term.exlam:50 -v scope.extendedLambda:10 #-}
module Issue1349 where
open import Common.Prelude
module Logic {s} (F : Set s) (arF : F → Nat) where
data Term : Nat → Set s where
var : ∀ n → Term (suc n)
d : Unit → Nat
d = \ {unit → zero} -- fails
-- ... | 25.464286 | 169 | 0.650771 |
1c159f3b42974f373c687e0c1e1eec0fc6eb32f2 | 2,489 | agda | Agda | Categories/Functor/Lemmas.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Categories/Functor/Lemmas.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Categories/Functor/Lemmas.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --warning=error --without-K --safe #-}
open import LogicalFormulae
open import Categories.Definition
open import Categories.Functor.Definition
module Categories.Functor.Lemmas where
functorCompose : {a b c d e f : _} {B : Category {a} {b}} {C : Category {c} {d}} {D : Category {e} {f}} → (Functor C D) → (... | 113.136364 | 756 | 0.653274 |
23523f01e0fa10db1652b7a785ece79b28bd20d4 | 199 | agda | Agda | examples/AIM6/HelloAgda/Bool.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/AIM6/HelloAgda/Bool.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/AIM6/HelloAgda/Bool.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Bool where
data Bool : Set where
true : Bool
false : Bool
infix 0 if_then_else_
if_then_else_ : {A : Set} -> Bool -> A -> A -> A
if true then x else y = x
if false then x else y = y
| 15.307692 | 48 | 0.633166 |
dc7d8982d7ba282219a9b44f6502362add1fa184 | 2,544 | agda | Agda | src/fot/README.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/README.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/README.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- FOT (First-Order Theories)
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-... | 32.615385 | 78 | 0.533019 |
12ab4aa290e65a88ed443c52be42e3f2877eec28 | 5,482 | agda | Agda | agda-stdlib/src/Relation/Binary/Construct/NaturalOrder/Left.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Relation/Binary/Construct/NaturalOrder/Left.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Relation/Binary/Construct/NaturalOrder/Left.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Conversion of binary operators to binary relations via the left
-- natural order.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation... | 29.632432 | 84 | 0.564028 |
dc636f2800d99b19e9a9198688b784e1704b2089 | 1,244 | agda | Agda | test/Succeed/Issue836a.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue836a.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue836a.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2013-05-02 This ain't a bug, it is a feature.
-- {-# OPTIONS -v scope.name:10 #-}
-- {-# OPTIONS -v scope:10 #-}
-- {-# OPTIONS -v scope.mod.inst:30 #-}
module _ where
module M (_ : Set₁) where
record R : Set₁ where
field
X : Set
open M Set using (R)
X : R → Set
X = R.X
-- A glimpse at the ... | 24.88 | 65 | 0.606109 |
0ec46e1680495b8a1afdb8f787da152b76630398 | 180 | agda | Agda | test/Fail/Issue782.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue782.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue782.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2013-02-21, example by Andres Sicard Ramirez
module Issue782 where
open import Common.Prelude renaming (zero toz; suc tos; Nat toℕ)
f : ℕ → ℕ
f z = z
f (s n) = z
| 20 | 64 | 0.677778 |
1cc204146f31103bb6c37ed650756c436d7ce32c | 1,267 | agda | Agda | test/Succeed/Issue723.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue723.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue723.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- {-# OPTIONS -v tc.constr.findInScope:15 -v tc.meta.new:50 #-}
-- Andreas, 2012-10-20 issue raised by d.starosud
-- solved by dropping UnBlock constraints during trial candidate assignment
-- Jesper, 2018-11-28: Now fixed more properly
module Succeed.Issue723 where
import Common.Level
open import Common.Prelude usin... | 23.462963 | 111 | 0.662194 |
4d3b7e8f78cbc5464053a30d33b5283c11cc343c | 375 | agda | Agda | test/Succeed/LevelLeqGeq.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/LevelLeqGeq.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/LevelLeqGeq.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-09-28
-- Level constraints X <= a and a <= X should solve X = a.
-- {-# OPTIONS -v tc.constr.add:40 #-}
open import Common.Level
module _ (a : Level) where
mutual
X : Level
X = _
data C : Set (lsuc X) where
c : Set a → C -- constrains X by a <= X
data D : Set (lsuc a) where
c : S... | 18.75 | 58 | 0.576 |
4d4cff1940892bd55677b7e4cd24606e6e76d057 | 902 | agda | Agda | Rings/Homomorphisms/Kernel.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Rings/Homomorphisms/Kernel.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Rings/Homomorphisms/Kernel.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 Setoids.Setoids
open import Sets.EquivalenceRelations
open import Rings.Definition
open import Rings.Homomorphisms.Definition
open import Rings.Ideals.Definition
module Rings.Homomorphisms.Kernel {a b c d : _} {A : Set a} {B : Set c} {S : Setoid {a} {b} ... | 45.1 | 256 | 0.717295 |
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.