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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a160e08b22d4041f49aecbd6ced76f02cf860dda | 17,297 | agda | Agda | src/GenericElim/Desc.agda | larrytheliquid/generic-elim | 832383d7adf37aa2364213fb0aeb67e9f61a248f | [
"MIT"
] | 11 | 2015-06-02T14:05:20.000Z | 2021-09-09T08:46:42.000Z | src/GenericElim/Desc.agda | larrytheliquid/generic-elim | 832383d7adf37aa2364213fb0aeb67e9f61a248f | [
"MIT"
] | null | null | null | src/GenericElim/Desc.agda | larrytheliquid/generic-elim | 832383d7adf37aa2364213fb0aeb67e9f61a248f | [
"MIT"
] | 2 | 2016-05-02T08:56:15.000Z | 2022-03-12T11:31:22.000Z | {-# OPTIONS --type-in-type #-}
open import Data.Unit
open import Data.Product hiding ( curry ; uncurry )
open import Data.List hiding ( concat )
open import Data.String
open import Relation.Binary.PropositionalEquality
open import Function
module GenericElim.Desc where
-------------------------------------------------... | 29.719931 | 106 | 0.485576 |
299da8dcde60772bc2d13a6465631fa15279f1e3 | 402 | agda | Agda | test/Succeed/ForcingRelevance.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/ForcingRelevance.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/ForcingRelevance.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
open import Agda.Builtin.Equality
data Ix : Set where
ix : .(i : Nat) (n : Nat) → Ix
data D : Ix → Set where
mkD : ∀ n → D (ix n n)
data ΣD : Set where
_,_ : ∀ i → D i → ΣD
foo : ΣD → Nat
foo (i , mkD n) = n
d : ΣD
d = ix 0 6 , mkD 6
-- Check that we pick the right (the non-ir... | 16.75 | 69 | 0.597015 |
0b944ed04c922615fe8dd3aac8174b9727919fb5 | 2,684 | agda | Agda | src/fot/FOTC/Data/Nat/Induction/Acc/WF-ATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Data/Nat/Induction/Acc/WF-ATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Data/Nat/Induction/Acc/WF-ATP.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Well-founded induction on the natural numbers
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-... | 39.470588 | 79 | 0.445976 |
2f46aa74083bd01110c1e48ccaafc03a244fb599 | 674 | agda | Agda | test/Succeed/TerminationSubExpression.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/TerminationSubExpression.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/TerminationSubExpression.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- {-# OPTIONS -v term:20 #-}
-- Andreas, 2011-04-19 (Agda list post by Leonard Rodriguez)
module TerminationSubExpression where
infixr 3 _⇨_
data Type : Set where
int : Type
_⇨_ : Type → Type → Type
test : Type → Type
test int = int
test (φ ⇨ int) = test φ
test (φ ⇨ (φ′ ⇨ φ″)) = test (φ′ ⇨ φ″)
-- this should ... | 23.241379 | 66 | 0.58457 |
4d43d3caf85031b156ab1e156935a3b8106cd268 | 299 | agda | Agda | lambda/vec.agda | Lapin0t/lambda | 09a231d9b3057d57b864070188ed9fe14a07eda2 | [
"Apache-2.0"
] | null | null | null | lambda/vec.agda | Lapin0t/lambda | 09a231d9b3057d57b864070188ed9fe14a07eda2 | [
"Apache-2.0"
] | null | null | null | lambda/vec.agda | Lapin0t/lambda | 09a231d9b3057d57b864070188ed9fe14a07eda2 | [
"Apache-2.0"
] | null | null | null | module lambda.vec where
open import Data.Nat
open import Data.Fin hiding (_+_)
infixr 40 _▸_
data vec (T : Set) : ℕ → Set where
ε : vec T 0
_▸_ : ∀ {n} → vec T n → T → vec T (suc n)
lookup : ∀ {n} → {T : Set} → Fin n → vec T n → T
lookup zero (Γ ▸ x) = x
lookup (suc i) (Γ ▸ x) = lookup i Γ
| 19.933333 | 48 | 0.565217 |
4da1da58ca51e7c042d6b37505626648115ae5b2 | 4,586 | agda | Agda | Structure/Operator/Vector/LinearMap.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Structure/Operator/Vector/LinearMap.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Structure/Operator/Vector/LinearMap.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Structure.Operator.Vector.LinearMap where
open import Functional
open import Logic
open import Logic.Predicate
open import Logic.Propositional
import Lvl
open import Structure.Function
open import Structure.Function.Domain
open import Structure.Function.Multi
open import Structure.Operator
open import Stru... | 42.462963 | 173 | 0.656782 |
1c593d6d6378f8c02fb35a84789ca6020d8c26be | 3,371 | agda | Agda | src/TemporalOps/Common/Compare.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | 4 | 2018-05-31T20:37:04.000Z | 2022-01-04T09:33:48.000Z | src/TemporalOps/Common/Compare.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | null | null | null | src/TemporalOps/Common/Compare.agda | DimaSamoz/temporal-type-systems | 7d993ba55e502d5ef8707ca216519012121a08dd | [
"MIT"
] | null | null | null |
{- Comparison view and associated lemmas -}
module TemporalOps.Common.Compare where
open import CategoryTheory.Categories
open import Relation.Binary.PropositionalEquality as ≡
open import Relation.Binary.HeterogeneousEquality as ≅
open import Data.Nat.Properties using (+-identityʳ ; +-assoc ; +-suc)
open import Data... | 41.109756 | 84 | 0.545832 |
2fadf9a4840cd810a8e5b1b595764be7069440ac | 8,055 | agda | Agda | theorems/cohomology/MayerVietorisExact.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | theorems/cohomology/MayerVietorisExact.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | theorems/cohomology/MayerVietorisExact.agda | cmknapp/HoTT-Agda | bc849346a17b33e2679a5b3f2b8efbe7835dc4b6 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.PtdAdjoint
open import homotopy.SuspAdjointLoop
open import cohomology.Exactness
open import cohomology.FunctionOver
open import cohomology.MayerVietoris
open import cohomology.Theory
{- Standard Mayer-Vietoris exact sequence (algebraic) derived from
... | 42.845745 | 76 | 0.503662 |
06f83433c237edf265a52384f6f40afe5e58d592 | 114 | agda | Agda | test/interaction/SplitOnHidden.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/SplitOnHidden.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/SplitOnHidden.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z | data Nat : Set where
zero : Nat
suc : Nat → Nat
test : ∀{N M : Nat} → Nat → Nat → Nat
test N M = {!.N N .M!}
| 16.285714 | 37 | 0.508772 |
1d86e62d1a65e142f36961f9512eb77a13c29e16 | 602 | agda | Agda | test/Fail/Issue610-module-alias.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue610-module-alias.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue610-module-alias.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-02-11, bug reported by sanzhiyan
{-# OPTIONS --irrelevant-projections #-}
module Issue610-module-alias where
import Common.Level
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set where
data A : Set₁ where
set : .Set → A
module M .(x : Set) where
.out : _
out = x
.ack : A → Set... | 15.435897 | 80 | 0.607973 |
065897a587baad93a728e064a9f9cae033d8b2d0 | 8,031 | agda | Agda | Definition/LogicalRelation/Substitution/Irrelevance.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/LogicalRelation/Substitution/Irrelevance.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/LogicalRelation/Substitution/Irrelevance.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Irrelevance {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Typed
open import Definition.LogicalRelation
import Definition.LogicalRela... | 43.646739 | 85 | 0.382144 |
599b9ca688f61742380e796b404d3d2af04adb9c | 144 | agda | Agda | test/fail/Issue476d.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/fail/Issue476d.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/fail/Issue476d.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | -- Private signatures
module Issue476d where
module M where
private
record R : Set₁
record R where
field X : Set
Q : Set₁
Q = M.R | 12 | 22 | 0.666667 |
1d0da00332ca25a66879dae26a5f612419ac450b | 3,406 | agda | Agda | src/JVM/Model.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 6 | 2020-10-07T14:07:17.000Z | 2021-02-28T21:49:08.000Z | src/JVM/Model.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | null | null | null | src/JVM/Model.agda | ajrouvoet/jvm.agda | c84bc6b834295ac140ff30bfc8e55228efbf6d2a | [
"Apache-2.0"
] | 1 | 2021-12-28T17:37:15.000Z | 2021-12-28T17:37:15.000Z | {-# OPTIONS --safe #-}
module JVM.Model {ℓ} (T : Set ℓ) where
open import Level hiding (Lift)
open import Data.Product
open import Data.Unit
open import Data.List
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Relation.Ternary.Core
open import Relation.Ternary.Structures
open import ... | 31.247706 | 81 | 0.724604 |
293113a79d6ac77a984c275487a8634e93bc9f7c | 11,350 | agda | Agda | Definition/LogicalRelation/Properties/Neutral.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/LogicalRelation/Properties/Neutral.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/LogicalRelation/Properties/Neutral.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Properties.Neutral {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Pro... | 43.822394 | 94 | 0.396035 |
4a1be14b8dce45405e39c629c53d2a04ec39c723 | 1,698 | agda | Agda | src/cedille-main.agda | mb64/cedille | d0f69cc6fbfb69d7ef83a436b623d612328eb016 | [
"MIT"
] | 328 | 2018-09-14T20:06:09.000Z | 2022-03-26T10:33:07.000Z | src/cedille-main.agda | mb64/cedille | d0f69cc6fbfb69d7ef83a436b623d612328eb016 | [
"MIT"
] | 123 | 2018-09-17T10:53:20.000Z | 2022-01-12T03:51:28.000Z | src/cedille-main.agda | mb64/cedille | d0f69cc6fbfb69d7ef83a436b623d612328eb016 | [
"MIT"
] | 34 | 2018-09-17T11:51:36.000Z | 2022-02-20T18:33:16.000Z | module cedille-main where
import parse
open import ial
open import cedille-types
import cedille
module parsem = parse cedille.gratr2-nt ptr
open parsem
open parsem.pnoderiv cedille.rrs cedille.cedille-rtn
open import run ptr
open noderiv {- from run.agda -}
process-start : start → string
process-start s = ""
proces... | 39.488372 | 154 | 0.671378 |
31bd4f69806cda96d8e8ece059555713c524f94b | 198 | agda | Agda | sets/empty.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 27 | 2015-04-14T15:47:03.000Z | 2022-01-09T07:26:57.000Z | sets/empty.agda | HoTT/M-types | beebe176981953ab48f37de5eb74557cfc5402f4 | [
"BSD-3-Clause"
] | 2 | 2015-02-11T11:14:59.000Z | 2015-02-11T15:20:34.000Z | sets/empty.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 sets.empty where
open import level using ()
data ⊥ : Set where
⊥-elim : ∀ {i}{A : Set i} → ⊥ → A
⊥-elim ()
¬_ : ∀ {i} → Set i → Set i
¬ X = X → ⊥
infix 3 ¬_
| 13.2 | 33 | 0.510101 |
2feaf49122a033e1989506ece4d770f4f50faa30 | 223 | agda | Agda | test/Succeed/Issue4909.agda | LaloHao/agda | 7de768bb7bc65dbe1efa35c699cfa8b8f9510573 | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue4909.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue4909.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --rewriting #-}
{-# OPTIONS --no-fast-reduce #-}
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
data A : Set where
a b : A
postulate rew : a ≡ b
{-# REWRITE rew #-}
test : a ≡ b
test = refl
| 14.866667 | 33 | 0.600897 |
0bafaf7510289f635524659f3a1769538e04448c | 2,388 | agda | Agda | preservation.agda | hazelgrove/hazelnat-myth | a8f9299090d95f4ef1a6c2f15954c2981c0ee25c | [
"MIT"
] | 1 | 2019-12-19T23:42:31.000Z | 2019-12-19T23:42:31.000Z | preservation.agda | hazelgrove/hazelnat-myth | a8f9299090d95f4ef1a6c2f15954c2981c0ee25c | [
"MIT"
] | null | null | null | preservation.agda | hazelgrove/hazelnat-myth | a8f9299090d95f4ef1a6c2f15954c2981c0ee25c | [
"MIT"
] | null | null | null | open import Nat
open import Prelude
open import List
open import contexts
open import core
open import lemmas-env
module preservation where
preservation : ∀{⛽ Δ Σ' Γ E e r k τ} →
Δ , Σ' , Γ ⊢ E →
Δ , Σ' , Γ ⊢ e :: τ →
E ⊢ e ⌊ ⛽ ⌋⇒ r ⊣ k →
... | 46.823529 | 129 | 0.664992 |
573c8b7125689eb0891f09d6a658c17f7e1aad2e | 1,372 | agda | Agda | archive/agda-3/src/Oscar/Class/Symmetry/ToSym.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-3/src/Oscar/Class/Symmetry/ToSym.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-3/src/Oscar/Class/Symmetry/ToSym.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Symmetry
module Oscar.Class.Symmetry.ToSym where
private
test-class :
⦃ _ : ∀ {𝔬} {𝔒 : Ø 𝔬} {𝔯} {_∼_ : 𝔒 → 𝔒 → Ø 𝔯} → Symmetry.class _∼_ ⦄
→ ∀ {𝔬} {𝔒 : Ø 𝔬} {𝔯} {_∼_ : 𝔒 → 𝔒 → Ø 𝔯} → Symmetry.class _∼_
test-class = !... | 29.826087 | 73 | 0.433673 |
31996c0bc9dc6bd6dd2ca6ae0410a1d511dd82d3 | 2,732 | agda | Agda | Cubical/Algebra/Ring/Ideal.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/Ideal.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/Algebra/Ring/Ideal.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Ring.Ideal where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Powerset
open import Cubical.Algebr... | 34.582278 | 84 | 0.421669 |
d043833bfd028add2f70e28671d8cf0b0f69aa85 | 4,087 | agda | Agda | MuNu.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | 1 | 2021-02-13T14:48:45.000Z | 2021-02-13T14:48:45.000Z | MuNu.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | MuNu.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- An investigation of nested fixpoints of the form μX.νY.… in Agda
------------------------------------------------------------------------
module MuNu where
open import Codata.Musical.Notation
import Codata.Musical.Colist as Colist
open import... | 28.78169 | 72 | 0.537069 |
cbbefe66809fca43551aaf7033dc5657c03d9537 | 4,420 | agda | Agda | Syntax/Transitivity.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Syntax/Transitivity.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Syntax/Transitivity.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Syntax.Transitivity where
import Lvl
open import Logic
import Structure.Relator.Names as Names
open import Structure.Relator.Properties
open import Type
private variable ℓ₁ ℓ₂ ℓ₃ : Lvl.Level
private variable T : Type{ℓ₁}
-- The transitivity operator
infixl 1000 _🝖_
_🝖_ : ∀{_▫_ : T → T → Stmt{ℓ₂}} ... | 39.464286 | 163 | 0.505204 |
2958e237b58ba940b6a2a79eba57e977c054eabb | 3,809 | agda | Agda | src/lift.agda | mb64/cedille | d0f69cc6fbfb69d7ef83a436b623d612328eb016 | [
"MIT"
] | 328 | 2018-09-14T20:06:09.000Z | 2022-03-26T10:33:07.000Z | src/lift.agda | mb64/cedille | d0f69cc6fbfb69d7ef83a436b623d612328eb016 | [
"MIT"
] | 123 | 2018-09-17T10:53:20.000Z | 2022-01-12T03:51:28.000Z | src/lift.agda | mb64/cedille | d0f69cc6fbfb69d7ef83a436b623d612328eb016 | [
"MIT"
] | 34 | 2018-09-17T11:51:36.000Z | 2022-02-20T18:33:16.000Z | {- functions related to lift types. The main function is do-lift, which
is called from hnf -}
module lift where
open import ial
open import cedille-types
open import ctxt
open import syntax-util
open import subst
open import erase
liftingType-to-kind : liftingType → kind
liftingType-to-kind (LiftArrow l1 l2) = Kn... | 52.178082 | 138 | 0.683381 |
41757fc04fbf25d90f09318e92b2f2a35e17c9cb | 5,880 | agda | Agda | Cubical/Homotopy/Group/S3.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Homotopy/Group/S3.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | Cubical/Homotopy/Group/S3.agda | barrettj12/cubical | 7b41b9171f90473efc98487cb2ea7a4d02320cb2 | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Group.S3 where
{-
This file contains a summary of what remains for π₄S³≅ℤ/2 to be proved.
See the module π₄S³ at the end of this file.
-}
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.... | 32.131148 | 77 | 0.553061 |
4d0a72b9091f9b5703fc6f7922d01707015af67f | 12,631 | agda | Agda | LP/Terms.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | LP/Terms.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | LP/Terms.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | open import Signature
-- | In this module, we construct the free monad and the free completely
-- iterative monad over a signature Σ (see Aczel, Adamek, Milius and Velebil).
-- The first assigns to a set V of variables the set TV of finite terms over Σ
-- (that is, finite trees labelled with symbols in f ∈ ∥Σ∥ and ar(... | 29.790094 | 95 | 0.510253 |
4de1f3af998e6a211f94992e2cc7bd22a6308aae | 1,648 | agda | Agda | vendor/stdlib/src/Algebra/Props/Ring.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 56 | 2015-01-20T02:11:42.000Z | 2021-12-21T17:02:19.000Z | vendor/stdlib/src/Algebra/Props/Ring.agda | larrytheliquid/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 1 | 2022-03-12T12:17:51.000Z | 2022-03-12T12:17:51.000Z | vendor/stdlib/src/Algebra/Props/Ring.agda | isabella232/Lemmachine | 8ef786b40e4a9ab274c6103dc697dcb658cf3db3 | [
"MIT"
] | 3 | 2015-07-21T16:37:58.000Z | 2022-03-12T11:54:10.000Z | ------------------------------------------------------------------------
-- Some derivable properties
------------------------------------------------------------------------
open import Algebra
module Algebra.Props.Ring (r : Ring) where
open Ring r
import Relation.Binary.EqReasoning as EqR; open EqR setoid
open imp... | 44.540541 | 93 | 0.34466 |
1cdcf9ee56470703548729fe19980a847ad4c6c8 | 168 | agda | Agda | data/declaration/Import.agda | msuperdock/agda-unused | f327f9aab8dcb07022b857736d8201906bba02e9 | [
"MIT"
] | 6 | 2020-10-29T09:38:43.000Z | 2022-03-01T16:38:05.000Z | data/declaration/Import.agda | msuperdock/agda-unused | f327f9aab8dcb07022b857736d8201906bba02e9 | [
"MIT"
] | null | null | null | data/declaration/Import.agda | msuperdock/agda-unused | f327f9aab8dcb07022b857736d8201906bba02e9 | [
"MIT"
] | 1 | 2022-03-01T16:38:14.000Z | 2022-03-01T16:38:14.000Z | module Import where
import Agda.Builtin.Bool
as _
open import Agda.Builtin.Nat
as _
import Agda.Builtin.Unit
using (⊤; tt)
A
: Set
A
= Agda.Builtin.Unit.⊤
| 11.2 | 28 | 0.690476 |
39fa0bff8bee8963a5ade5207290f887c1f28014 | 1,100 | agda | Agda | examples/Lookup.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/Lookup.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/Lookup.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Lookup where
data Bool : Set where
false : Bool
true : Bool
data IsTrue : Bool -> Set where
isTrue : IsTrue true
data List (A : Set) : Set where
[] : List A
_::_ : A -> List A -> List A
data _×_ (A B : Set) : Set where
_,_ : A -> B -> A × B
module Map
(Key : Set)
(_==_ : Key -> Key -> B... | 22 | 72 | 0.459091 |
31e2bb130aa20fa3e9f74fd2f0fcd0821761530e | 11,112 | agda | Agda | benchmark/cwf/Setoid.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | benchmark/cwf/Setoid.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | benchmark/cwf/Setoid.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z | {-# OPTIONS --no-positivity-check
--no-termination-check
#-}
-- A universe setoids
module Setoid where
import Chain
record True : Set where
data False : Set where
Rel : Set -> Set1
Rel A = A -> A -> Set
Pred : Set -> Set1
Pred A = A -> Set
Resp : {A : Set} -> Rel A -> {B : Set} -> Rel B -> Pred (A -... | 34.08589 | 94 | 0.448614 |
061bff43af312fe2d77bf1e22b128f27e81c616d | 458 | agda | Agda | test/Fail/Issue653.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue653.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue653.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2013-02-27
module Issue653 where
postulate
P : {A : Set} → (A → Set) → Set
mutual
{-# NON_TERMINATING #-}
A : Set
A = P B -- note A = P {A} B is non-terminating
data B : A → Set where
c : (a : A) → B a
-- This caused a stack overflow due to infinite reduction
-- in the positivity checker.
... | 22.9 | 74 | 0.652838 |
23bae51ac87e49520d795994f36ebf05490fc7a5 | 696 | agda | Agda | test/interaction/Issue2466.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue2466.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue2466.agda | zgrannan/agda | 5953ce337eb6b77b29ace7180478f49c541aea1c | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2017-03-21, issue #2466
-- The unifier should not turn user-written variable patterns into
-- dot patterns.
-- {-# OPTIONS -v reify.implicit:100 -v interaction.case:100 #-}
-- {-# OPTIONS -v tc.lhs.unify:40 #-}
postulate
A B : Set
module Explicit where
data D : A → B → Set where
c : ∀ p {p'} x ... | 19.885714 | 66 | 0.510057 |
c5262ec7cd33f3941acd848db7f1410d80aff130 | 7,518 | agda | Agda | CP/Session2.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | 2 | 2020-08-25T07:34:40.000Z | 2020-08-25T14:05:01.000Z | CP/Session2.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | null | null | null | CP/Session2.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | null | null | null | open import Relation.Binary using (Decidable; DecSetoid)
open import Level
module CP.Session2 {a} (ChanSetoid : DecSetoid zero a) (Type : Set) where
Chan : Set
Chan = DecSetoid.Carrier ChanSetoid
_≟Chan_ = DecSetoid._≟_ ChanSetoid
_≈Chan_ = DecSetoid._≈_ ChanSetoid
_≉Chan_ = DecSetoid._≉_ ChanSetoid
infixl 5 _,_... | 39.777778 | 158 | 0.373371 |
5777aca1d40fcc4b83fabb9272db3cf395fca365 | 3,401 | agda | Agda | src/Auto/Counting.agda | wenkokke/AutoInAgda | f384b5c236645fcf8ab93179723a7355383a8716 | [
"MIT"
] | 22 | 2017-07-18T18:14:09.000Z | 2021-03-20T15:04:47.000Z | src/Auto/Counting.agda | wenkokke/AutoInAgda | f384b5c236645fcf8ab93179723a7355383a8716 | [
"MIT"
] | 1 | 2017-11-03T09:46:19.000Z | 2017-11-06T16:49:27.000Z | src/Auto/Counting.agda | wenkokke/AutoInAgda | f384b5c236645fcf8ab93179723a7355383a8716 | [
"MIT"
] | 2 | 2018-07-10T10:47:30.000Z | 2019-07-07T07:37:07.000Z | open import Auto.Core using (Rule; RuleName; _≟-RuleName_; name2rule; IsHintDB)
open import Level using (zero)
open import Function using (id; _∘_)
open import Category.Functor using (module RawFunctor)
open import Data.Bool as Bool using (if_th... | 35.061856 | 96 | 0.510438 |
c5c2f015237a55ed44ef244f3f7567f21d91fc0f | 1,854 | agda | Agda | Cubical/HITs/TypeQuotients/Properties.agda | Edlyr/cubical | 5de11df25b79ee49d5c084fbbe6dfc66e4147a2e | [
"MIT"
] | null | null | null | Cubical/HITs/TypeQuotients/Properties.agda | Edlyr/cubical | 5de11df25b79ee49d5c084fbbe6dfc66e4147a2e | [
"MIT"
] | null | null | null | Cubical/HITs/TypeQuotients/Properties.agda | Edlyr/cubical | 5de11df25b79ee49d5c084fbbe6dfc66e4147a2e | [
"MIT"
] | null | null | null | {-
Type quotients:
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.TypeQuotients.Properties where
open import Cubical.HITs.TypeQuotients.Base
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundatio... | 30.393443 | 91 | 0.468177 |
292c24a52c189729d15dfa928064f311ca54fd21 | 141 | agda | Agda | test/Compiler/simple/Issue728.agda | MxmUrw/agda | 6ede01fa854c5472e54f7d1799ca2c08ed316129 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Compiler/simple/Issue728.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Compiler/simple/Issue728.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --guardedness #-}
module Issue728 where
open import Common.MAlonzo using () renaming (main to mainDefault)
main = mainDefault
| 17.625 | 66 | 0.744681 |
234dfc973426944a9a57e4345c8f5f2d5f630a00 | 15,161 | agda | Agda | Definition/Typed/Weakening.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/Typed/Weakening.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | Definition/Typed/Weakening.agda | Vtec234/logrel-mltt | 4746894adb5b8edbddc8463904ee45c2e9b29b69 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Weakening where
open import Definition.Untyped as U hiding (wk)
open import Definition.Untyped.Properties
open import Definition.Typed
import Tools.PropositionalEquality as PE
-- Weakening type
data _∷_⊆_ : Wk → Con Term → Con Term → Set where
id : ∀ ... | 42.587079 | 84 | 0.369501 |
cba1fa9dbd68d565381e97c46eed596ce5ac9d38 | 398 | agda | Agda | Nat.agda | divipp/agda-intro-prezi | a8902e36ed2037de9008e061d54517d4d7d99f0f | [
"BSD-3-Clause"
] | 2 | 2018-11-27T02:50:48.000Z | 2020-01-21T14:53:25.000Z | Nat.agda | divipp/agda-intro-prezi | a8902e36ed2037de9008e061d54517d4d7d99f0f | [
"BSD-3-Clause"
] | null | null | null | Nat.agda | divipp/agda-intro-prezi | a8902e36ed2037de9008e061d54517d4d7d99f0f | [
"BSD-3-Clause"
] | null | null | null | module Nat where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
_+_ : ℕ → ℕ → ℕ
zero + a = a
suc a + b = suc (a + b)
data _≡_ {A : Set} : A → A → Set where
refl : {a : A} → a ≡ a
infix 4 _≡_
cong : {A B : Set} {a b : A} (f : A → B) → a ≡ b → f a ≡ f b
cong f refl = refl
+-assoc : (a b c : ℕ) → (a + b) + c ≡ a + (... | 18.090909 | 60 | 0.462312 |
1dd786b98dec4a0fbd57f028c21054090a0789eb | 8,390 | agda | Agda | src/fot/FOTC/Program/SortList/Properties/MiscellaneousI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/SortList/Properties/MiscellaneousI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/SortList/Properties/MiscellaneousI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Miscellaneous properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# ... | 36.008584 | 79 | 0.474851 |
4a3d747c0b5042bb5b4d2044473d1c144eb0f055 | 571 | agda | Agda | test/Succeed/Issue3309.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue3309.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue3309.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2018-10-23, issue #3309 reported by G. Brunerie
--
-- Check that we can use irrelevant record fields in copattern matching.
--
-- (A refactoring broke the correct relevances of pattern variables
-- after matching on an irrelevant projection pattern.)
record Σ (A : Set) (B : A → Set) : Set where
construct... | 23.791667 | 72 | 0.597198 |
4173bdc37c29eda3fe4c67d4f57dc868b8120592 | 1,648 | agda | Agda | test/asset/agda-stdlib-1.0/Data/Container.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/Container.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Data/Container.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Containers, based on the work of Abbott and others
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --sized-types #-}
module Data.Container where
open imp... | 32.313725 | 81 | 0.646238 |
c560b08a1f9582c1a6e0bf953dc1269c85ff6199 | 701 | agda | Agda | test/Succeed/Issue1596.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1596.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1596.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2015-06-28
-- {-# OPTIONS -v tc.polarity:20 #-}
{-# OPTIONS --sized-types #-}
open import Common.Size
-- List should be monotone in both arguments
-- (even as phantom type).
data List (i : Size) (A : Set) : Set where
[] : List i A
castL : ∀{i A} → List i A → List ∞ A
castL x = x
castLL : ∀{i A} → L... | 21.242424 | 77 | 0.606277 |
061da231777db5bd1355e1662709cf8f9557e7b0 | 334 | agda | Agda | src/Examples/Sorting/Sequential/Comparable.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | 29 | 2021-07-14T03:18:28.000Z | 2022-03-22T20:35:11.000Z | src/Examples/Sorting/Sequential/Comparable.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | null | null | null | src/Examples/Sorting/Sequential/Comparable.agda | jonsterling/agda-calf | e51606f9ca18d8b4cf9a63c2d6caa2efc5516146 | [
"Apache-2.0"
] | 2 | 2021-10-06T10:28:24.000Z | 2022-01-29T08:12:01.000Z | {-# OPTIONS --prop --rewriting #-}
module Examples.Sorting.Sequential.Comparable where
open import Calf.CostMonoid
open import Calf.CostMonoids
costMonoid = ℕ-CostMonoid
open import Data.Nat using (ℕ)
open CostMonoid costMonoid using (ℂ)
fromℕ : ℕ → ℂ
fromℕ n = n
open import Examples.Sorting.Comparable costMonoid... | 19.647059 | 63 | 0.775449 |
410fc1fba380510879efdb75d6548fd019c45a12 | 765 | agda | Agda | part1/lists/reverse-involution.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | 1 | 2020-07-07T09:42:22.000Z | 2020-07-07T09:42:22.000Z | part1/lists/reverse-involution.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | part1/lists/reverse-involution.agda | akiomik/plfa-solutions | df7722b88a9b3dfde320a690b78c4c1ef8c7c547 | [
"Apache-2.0"
] | null | null | null | module reverse-involution where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; cong)
open Eq.≡-Reasoning
open import lists using (List; []; _∷_; [_]; _++_; reverse)
open import reverse-++-distrib using (reverse-++-distrib)
-- reverseが対合(involution)である事の証明
reverse-involution : {A : S... | 23.90625 | 59 | 0.6 |
0b770b23d6b49038c99f1e4ee4673d0edef3e434 | 160 | agda | Agda | test/interaction/Issue619.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | null | null | null | test/interaction/Issue619.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | null | null | null | test/interaction/Issue619.agda | larrytheliquid/agda | 477c8c37f948e6038b773409358fd8f38395f827 | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
open import Common.Reflect
open import Common.Prelude
data Z : Set where
zero : Z
foo : QName → Bool → Bool
foo (quote Nat.zero) b = {!b!}
foo _ _ = false
| 14.545455 | 30 | 0.66875 |
1d8a07eba8b2e69f7fc305589a6001685beb4462 | 2,029 | agda | Agda | Definition/Typed/EqRelInstance.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2018-06-21T08:39:01.000Z | 2022-01-17T16:13:53.000Z | Definition/Typed/EqRelInstance.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | null | null | null | Definition/Typed/EqRelInstance.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2022-01-26T14:55:51.000Z | 2022-02-15T19:42:19.000Z | {-# OPTIONS --safe #-}
module Definition.Typed.EqRelInstance where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.Weakening
open import Definition.Typed.Properties
open import Definition.Typed.Reduction
open import Definition.Typed.Equa... | 45.088889 | 81 | 0.473632 |
4a4d646da79ae4a7a226bf686946374cced664d9 | 2,479 | agda | Agda | agda-stdlib/src/Data/List/NonEmpty/Categorical.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/List/NonEmpty/Categorical.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/List/NonEmpty/Categorical.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- A categorical view of List⁺
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.NonEmpty.Categorical where
open import Agda.Builtin.List... | 26.655914 | 72 | 0.486083 |
0b5986de697c1d0508f8b24d4ded49cc3d7faac9 | 2,176 | agda | Agda | Categories/Morphism/Properties.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Morphism/Properties.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Morphism/Properties.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# 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 HomReasoning
import Categories.Morphism as M
open M 𝒞
open import Categories.Morphism.Reasoning 𝒞
private
... | 24.449438 | 72 | 0.463235 |
0be2bf4cbaae8e6e9858d063887dba29c1fdd228 | 134 | agda | Agda | archive/agda-1/HasNeitherNor.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null | archive/agda-1/HasNeitherNor.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | 1 | 2019-04-29T00:35:04.000Z | 2019-05-11T23:33:04.000Z | archive/agda-1/HasNeitherNor.agda | m0davis/oscar | 52e1cdbdee54d9a8eaee04ee518a0d7f61d25afb | [
"RSA-MD"
] | null | null | null |
module HasNeitherNor where
record HasNeitherNor (A : Set) : Set
where
field
_⊗_ : A → A → A
open HasNeitherNor ⦃ … ⦄ public
| 13.4 | 36 | 0.656716 |
293d6a26a10231b985030ce434a7032b4c224c6f | 599 | agda | Agda | examples/outdated-and-incorrect/univ/tmp.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/outdated-and-incorrect/univ/tmp.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/outdated-and-incorrect/univ/tmp.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
module tmp where
open import univ
open import cwf
open import Base
open import Nat
open import help
open import proofs
{- TODO: Prove
w = ƛ ((w // wk) ∙ vz) (η)
ƛ v // σ = ƛ (v // (σ ∘ wk ,, vz))
w ∙ u // σ = (w // σ) ∙ (u // σ)
-}
{-
lem-tmp : {Γ : Con}{A : Type Γ}(B : Type (Γ , A)) ->
Π A B =Ty Π A... | 18.71875 | 70 | 0.462437 |
127fd24d80eec13e858c02c085dfba927ef5bd94 | 20,635 | agda | Agda | agda/Esterel/Lang/CanFunction/MergePotentialRuleTheta.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 3 | 2020-04-16T10:58:53.000Z | 2020-07-01T03:59:31.000Z | agda/Esterel/Lang/CanFunction/MergePotentialRuleTheta.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | null | null | null | agda/Esterel/Lang/CanFunction/MergePotentialRuleTheta.agda | florence/esterel-calculus | 4340bef3f8df42ab8167735d35a4cf56243a45cd | [
"MIT"
] | 1 | 2020-04-15T20:02:49.000Z | 2020-04-15T20:02:49.000Z | {-
The equivalent "goodness" of can-θ w.r.t. the rmerge reduction.
The main properties of the Can function proved in this file are:
canθₛ-mergeˡ : ∀ {E θ' r p BV FV} sigs θ →
CorrectBinding p BV FV →
p ≐ E ⟦ ρ θ' · r ⟧e →
∀ S' →
Signal.unwrap S' ∉ SigMap.keys (Env.sig θ') →
Signal.unwrap S' ∈... | 45.957684 | 97 | 0.551054 |
59f4c0896c60a4b6bcd0b1e5bb9cc252a5888852 | 8,572 | agda | Agda | Cubical/Algebra/Semilattice/Base.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/Semilattice/Base.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/Semilattice/Base.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | {-
following Johnstone's book "Stone Spaces" we define semilattices
to be commutative monoids such that every element is idempotent.
In particular, we take every semilattice to have a neutral element
that is either the maximal or minimal element depending on whether
we have a join or meet semilattice.
-}
{-# OPTI... | 36.632479 | 97 | 0.587611 |
cbf3c499cf61a0e656cc639c47dbdfd9cc1f3027 | 546 | agda | Agda | test/Succeed/Erased-cubical.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Erased-cubical.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Erased-cubical.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --safe --erased-cubical #-}
module Erased-cubical where
-- Modules that use --cubical can be imported.
open import Erased-cubical.Cubical-again
-- Code from such modules that was originally defined in modules using
-- --without-K or --erased-cubical can be used without restrictions.
_ : {A : Set} → A →... | 22.75 | 70 | 0.688645 |
4d4f398b48bdc760383fa906f75dd623678c5814 | 932 | agda | Agda | test/Fail/Issue1994.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue1994.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue1994.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {- Example by Andrew Pitts, 2016-05-23 -}
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Builtin.Equality public
infix 6 I─_
postulate
𝕀 : Set
O : 𝕀
I : 𝕀
I─_ : 𝕀 → 𝕀
{-# BUILTIN REWRITE _≡_ #-}
postulate
I─O≡I : I─ O ≡ I
{-# REWRITE I─O≡I #-}
data Pth (A ... | 18.64 | 52 | 0.508584 |
2f32d81ec06dedf414621f6d77dbb7c78715bc43 | 7,944 | agda | Agda | Cubical/Experiments/Brunerie.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | Cubical/Experiments/Brunerie.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | Cubical/Experiments/Brunerie.agda | howsiyu/cubical | 1b9c97a2140fe96fe636f4c66beedfd7b8096e8f | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Experiments.Brunerie where
open import Cubical.Foundations.Everything
open import Cubical.Data.Bool
open import Cubical.Data.Nat
open import Cubical.Data.Int
open import Cubical.HITs.S1
open import Cubical.HITs.S2
open import Cubical.HITs.S3
open import Cubical.HITs.Join
open impo... | 26.657718 | 96 | 0.502014 |
2f50bed5137b5d0dfd1a7b2d82967e711d1d3a12 | 13,379 | agda | Agda | Vectors.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Vectors.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Vectors.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import Numbers.Naturals.Order.Lemmas
open import Semirings.Definition
open import Orders.Total.Definition
open import Lists.Lists
module Vectors where
data Vec ... | 44.745819 | 203 | 0.530458 |
2f9afd2d15da51cba9474f1fc15745fb23eb1163 | 1,288 | agda | Agda | agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Properties.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Properties.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Properties.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe #-}
module Algebra.Construct.Free.Semilattice.Relation.Unary.All.Properties where
open import Prelude hiding (⊥; ⊤)
open import Algebra.Construct.Free.Semilattice.Eliminators
open import Algebra.Construct.Free.Semilattice.Definition
open import Cubical.Foundations.HLevels
open import Data... | 36.8 | 77 | 0.682453 |
06780fc7b336fa314db7d3deff51f176f945277d | 17 | agda | Agda | test/interaction/Issue4516.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue4516.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue4516.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Set where
| 8.5 | 16 | 0.823529 |
1c9cf87b8d3319b99a75df42729daa902197b64c | 4,472 | agda | Agda | src/Categories/Adjoint/Instance/PosetCore.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 1 | 2021-04-18T18:21:47.000Z | 2021-04-18T18:21:47.000Z | src/Categories/Adjoint/Instance/PosetCore.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | null | null | null | src/Categories/Adjoint/Instance/PosetCore.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Categories.Adjoint.Instance.PosetCore where
-- The adjunction between the "forgetful" functor from Posets to
-- Setoids and the core functor for posets.
open import Level using (_⊔_)
import Function
open import Function.Equality using (Π; _⟶_)
open import Relation.Binary usi... | 36.958678 | 100 | 0.628578 |
59dd2127ce11275befe80fc76abd1cbd6778c070 | 7,943 | agda | Agda | algebra/DecidableFreeGroupIsReducedWord.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | algebra/DecidableFreeGroupIsReducedWord.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | algebra/DecidableFreeGroupIsReducedWord.agda | UlrikBuchholtz/HoTT-Agda | f8fa68bf753d64d7f45556ca09d0da7976709afa | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT hiding (_::_)
module algebra.DecidableFreeGroupIsReducedWord {i} (A : Type i) (dec : has-dec-eq A) where
open import algebra.Word A
open import algebra.ReducedWord A dec
-- Some helper functions.
tail-is-reduced : (x : A) (w : Word) → is-reduced (x :: w) → is-re... | 44.623596 | 96 | 0.529397 |
101e4eb4864a0eb2ce871bbddf11a1d3c40f4460 | 405 | agda | Agda | test/Compiler/simple/Erased-constructors.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | test/Compiler/simple/Erased-constructors.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | test/Compiler/simple/Erased-constructors.agda | AntoineAllioux/agda | 68ec2312961776e415c99d2839e41a92ffe464db | [
"BSD-3-Clause"
] | null | null | null | -- Partly based on code due to Andrea Vezzosi.
open import Common.Prelude
data D : Set where
run-time : Bool → D
@0 compile-time : Bool → D
f : D → @0 D → Bool
f (run-time x) _ = x
f (compile-time x) (run-time y) = x
f (compile-time x) (compile-time y) = y
main : IO Unit
main =
p... | 22.5 | 53 | 0.57284 |
0b5318cab5dae8e5c4faf160a80379bec15b3971 | 6,172 | agda | Agda | src/NumberTheory/ModularArithmetic.agda | Taneb/antlion | 8c3a4235a16f66a94267aada287bd8ee7d054ead | [
"MIT"
] | null | null | null | src/NumberTheory/ModularArithmetic.agda | Taneb/antlion | 8c3a4235a16f66a94267aada287bd8ee7d054ead | [
"MIT"
] | null | null | null | src/NumberTheory/ModularArithmetic.agda | Taneb/antlion | 8c3a4235a16f66a94267aada287bd8ee7d054ead | [
"MIT"
] | null | null | null | import Data.Integer as Integer
open Integer using (ℤ)
module NumberTheory.ModularArithmetic (m : ℤ) where
open import Algebra.Structures
open Integer hiding (+_; _-_) -- using (_+_; _*_; -_; +0)
open import Data.Integer.GCD
open import Data.Integer.Properties hiding (*-1-isMonoid; *-1-isCommutativeMonoid; +-*-isComm... | 27.801802 | 105 | 0.423364 |
fb793932d4f9672abe5a6ff865895bbda6678870 | 1,099 | agda | Agda | test/Succeed/Issue1110.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1110.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1110.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --allow-unsolved-metas #-}
-- Andreas, 2014-05-17 reported by Fabien Renaud
open import Common.Equality
data Nat : Set where
zero : Nat
suc : Nat → Nat
{-# BUILTIN NATURAL Nat #-}
data List {a} (A : Set a) : Set a where
[] : List A
_∷_ : A → List A → List A
length : ∀{a}{A : Set a} → List A →... | 23.382979 | 79 | 0.55414 |
50cf5e3403bbe0f6e8f11ac20fa2ec15c7c7fc69 | 1,177 | agda | Agda | test/Succeed/Issue2322.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2322.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2322.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --guardedness #-}
open import Agda.Builtin.Coinduction
open import Agda.Builtin.Equality
record Reveal_·_is_ {A : Set} {B : A → Set}
(f : (x : A) → B x) (x : A) (y : B x) :
Set where
constructor [_]
field eq : f x ≡ y
inspect : {A : Set} {B : A → Set}
... | 27.372093 | 63 | 0.468139 |
2f4c4bf8fcef6752ddbf7bc465460636a3630121 | 394 | agda | Agda | test/Succeed/Issue1523b.agda | MxmUrw/agda | 6ede01fa854c5472e54f7d1799ca2c08ed316129 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1523b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1523b.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- {-# OPTIONS --copatterns #-}
-- {-# OPTIONS -v tc.lhs:20 #-}
{-# OPTIONS --sized-types #-}
open import Common.Size
record Stream (i : Size) (A : Set) : Set where
coinductive
constructor _::_
field
head : A
tail : ∀ {j : Size< i} → Stream j A
open Stream public
-- size forgetful cons
cons : ∀ i {A... | 18.761905 | 48 | 0.576142 |
1d2ae4d857f10898eec54863e616755066cf35c7 | 3,128 | agda | Agda | Base/Syntax/Context.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 10 | 2015-03-04T06:09:20.000Z | 2019-07-19T07:06:59.000Z | Base/Syntax/Context.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 6 | 2015-07-01T18:09:31.000Z | 2017-05-04T13:53:59.000Z | Base/Syntax/Context.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 1 | 2016-02-18T12:26:44.000Z | 2016-02-18T12:26:44.000Z | ------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Variables and contexts
--
-- This module defines the syntax of contexts and subcontexts,
-- together with variables and properties of these notions.
--
-- This module is parametric in the syntax of types, so it
-- c... | 25.024 | 78 | 0.568414 |
a162e56c4fd08370ec22b9563ecca9ee1184cca5 | 2,498 | agda | Agda | Cubical/HITs/Rationals/QuoQ/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | Cubical/HITs/Rationals/QuoQ/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | 1 | 2022-01-27T02:07:48.000Z | 2022-01-27T02:07:48.000Z | Cubical/HITs/Rationals/QuoQ/Base.agda | L-TChen/cubical | 60226aacd7b386aef95d43a0c29c4eec996348a8 | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Rationals.QuoQ.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Data.Nat as ℕ using (discreteℕ)
open import Cubical.Data.NatPlusOne
open import Cubical.Data.Sigma
open import Cubical.HIT... | 32.441558 | 94 | 0.556045 |
41d0d317e6790ad8101fb3da9aebf84f650d0670 | 1,463 | agda | Agda | src/exercices/Commerce.agda | d-plaindoux/colca | a81447af3ab2ba898bb7d57be71369abbba12d81 | [
"MIT"
] | 2 | 2021-03-12T18:31:14.000Z | 2021-05-04T09:35:36.000Z | src/exercices/Commerce.agda | d-plaindoux/colca | a81447af3ab2ba898bb7d57be71369abbba12d81 | [
"MIT"
] | null | null | null | src/exercices/Commerce.agda | d-plaindoux/colca | a81447af3ab2ba898bb7d57be71369abbba12d81 | [
"MIT"
] | null | null | null | --
-- Created by Dependently-Typed Lambda Calculus on 2020-09-23
-- Commerce
-- Author: dplaindoux
--
{-# OPTIONS --without-K --safe #-}
module Commerce where
open import Relation.Nullary using (Reflects; Dec; yes; no)
open import Data.Bool using (Bool; true; false)
open import Data.Nat using (ℕ; _+_; _≥?_; _≥_)
ope... | 23.983607 | 80 | 0.597403 |
d06ccf83e04074488e927c138f78301a1668726a | 2,984 | agda | Agda | Categories/Category/Construction/EnrichedFunctors.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Construction/EnrichedFunctors.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | Categories/Category/Construction/EnrichedFunctors.agda | rei1024/agda-categories | 89d163f72caa7deeac9413f27bc1b4ed7f9e025b | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
open import Categories.Category using () renaming (Category to Setoid-Category)
open import Categories.Category.Monoidal
module Categories.Category.Construction.EnrichedFunctors
{o ℓ e} {V : Setoid-Category o ℓ e} (M : Monoidal V) where
-- The (enriched) functor category for a gi... | 34.697674 | 82 | 0.577078 |
59cd4169829d53ac64aedd0ec5c285c77b1d3ee2 | 9,296 | agda | Agda | Cubical/HITs/SmashProduct/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/SmashProduct/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/SmashProduct/Base.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.HITs.SmashProduct.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.Foundations.Isomorphism
open import Cubical.HITs.Pushout.Base
open import Cubical.Data.Unit
open import Cubical.Data.Prod
open import Cubical.HITs.Wedge... | 43.439252 | 157 | 0.472569 |
cbbb62e0b4d17cf6949a48db0015ff7d289c709d | 702 | agda | Agda | test/Fail/Issue2423.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue2423.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue2423.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | -- Andreas, 2017-01-21, issue #2423 overloading inherited projections
-- {-# OPTIONS -v tc.lhs.split:30 #-}
-- {-# OPTIONS -v tc.proj.amb:100 #-}
-- {-# OPTIONS -v tc.mod.apply:100 #-}
postulate
A : Set
record R : Set where
field f : A
record S : Set where
field r : R
open R r public
-- The inherited proj... | 21.272727 | 79 | 0.648148 |
2f224718319f3af18b3f7256165a1ece5e693df2 | 327 | agda | Agda | test/features/matrixShapedTerminationOrder/TerminationMixingTupledCurried.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/features/matrixShapedTerminationOrder/TerminationMixingTupledCurried.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/features/matrixShapedTerminationOrder/TerminationMixingTupledCurried.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module TerminationMixingTupledCurried where
data Nat : Set where
zero : Nat
succ : Nat -> Nat
data _×_ (A B : Set) : Set where
_,_ : A -> B -> A × B
good : Nat × Nat -> Nat -> Nat
good (succ x , y) z = good (x , succ y) (succ z)
good (x , succ y) z = good (x , y) x
good xy (succ z) = good xy z
good _ _ =... | 20.4375 | 48 | 0.568807 |
41612992a09ef931bf695b50a5aab21844047612 | 603 | agda | Agda | plutus-metatheory/test/IntegerOverflow.agda | imikushin/plutus | 2c5bda20fb94b0f3737ba1a236ef5d7a7fd9f631 | [
"Apache-2.0"
] | 1,299 | 2018-10-02T13:41:39.000Z | 2022-03-28T01:10:02.000Z | plutus-metatheory/test/IntegerOverflow.agda | imikushin/plutus | 2c5bda20fb94b0f3737ba1a236ef5d7a7fd9f631 | [
"Apache-2.0"
] | 2,493 | 2018-09-28T19:28:17.000Z | 2022-03-31T15:31:31.000Z | plutus-metatheory/test/IntegerOverflow.agda | imikushin/plutus | 2c5bda20fb94b0f3737ba1a236ef5d7a7fd9f631 | [
"Apache-2.0"
] | 399 | 2018-10-05T09:36:10.000Z | 2022-03-31T11:18:25.000Z | module test.IntegerOverflow where
open import Type
open import Declarative
open import Builtin
open import Builtin.Constant.Type
open import Builtin.Constant.Term Ctx⋆ Kind * # _⊢⋆_ con size⋆
open import Agda.Builtin.Sigma
open import Data.Integer
open import Data.Nat
open import Data.Empty
-- plutus/plutus-core/test... | 26.217391 | 70 | 0.74461 |
39adb41fccd4bdeb128a43a422a764d7a987ebd5 | 3,946 | agda | Agda | src/fot/FOTC/Program/GCD/Total/TotalityI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/GCD/Total/TotalityI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/GCD/Total/TotalityI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Totality properties of the gcd
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-... | 37.942308 | 78 | 0.424734 |
57bd54d8f0a7a9559025bed0c822d205a945b5b0 | 52 | agda | Agda | test/Fail/Unknown-name-in-polarity-pragma.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Unknown-name-in-polarity-pragma.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Unknown-name-in-polarity-pragma.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --warning=error #-}
{-# POLARITY F #-}
| 13 | 31 | 0.538462 |
41185121bbdac32d2b512e85df6cd485bb4fcd20 | 2,131 | agda | Agda | BasicIPC/Syntax/HilbertSequential.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIPC/Syntax/HilbertSequential.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIPC/Syntax/HilbertSequential.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | -- Basic intuitionistic propositional calculus, without ∨ or ⊥.
-- Hilbert-style formalisation of syntax.
-- Sequences of terms.
module BasicIPC.Syntax.HilbertSequential where
open import BasicIPC.Syntax.Common public
-- Derivations.
infix 3 _⊦⊢_
data _⊦⊢_ (Γ : Cx Ty) : Cx Ty → Set where
nil : Γ ⊦⊢ ∅
var :... | 30.884058 | 71 | 0.441107 |
57e28d61cf14efa360d9df34533431ab8f6ea0e8 | 3,621 | agda | Agda | src/Categories/Enriched/Functor.agda | jaykru/agda-categories | a4053cf700bcefdf73b857c3352f1eae29382a60 | [
"MIT"
] | 279 | 2019-06-01T14:36:40.000Z | 2022-03-22T00:40:14.000Z | src/Categories/Enriched/Functor.agda | seanpm2001/agda-categories | d9e4f578b126313058d105c61707d8c8ae987fa8 | [
"MIT"
] | 236 | 2019-06-01T14:53:54.000Z | 2022-03-28T14:31:43.000Z | src/Categories/Enriched/Functor.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 using (module Commutation) renaming (Category to Setoid-Category)
open import Categories.Category.Monoidal using (Monoidal)
module Categories.Enriched.Functor {o ℓ e} {V : Setoid-Category o ℓ e}
(M : Monoidal V) wher... | 32.330357 | 97 | 0.5562 |
314adc4507da08e8aafe6fb0d8a935cd6346bc1e | 1,217 | agda | Agda | Categories/Functor/Diagonal.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Functor/Diagonal.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Functor/Diagonal.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
module Categories.Functor.Diagonal where
open import Data.Product
open import Categories.Category
open import Categories.Functor
open import Categories.Product
open import Categories.FunctorCategory
open import Categories.Functor.Constant
import Categories.Power as Power
Δ : ... | 23.862745 | 95 | 0.608053 |
590d71a4bbe28c2e4b13265c021b28180f6dfdf2 | 406 | agda | Agda | test/succeed/InstanceGuessesMeta.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/succeed/InstanceGuessesMeta.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/succeed/InstanceGuessesMeta.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | -- Andreas, 2012-01-10
-- {-# OPTIONS -v tc.constr.findInScope:50 #-}
module InstanceGuessesMeta where
data Bool : Set where
true false : Bool
postulate
D : Bool -> Set
E : Bool -> Set
d : {x : Bool} -> D x
f : {x : Bool}{{ dx : D x }} -> E x
b : E true
b = f -- should succeed
-- Agda is now allowed to... | 23.882353 | 70 | 0.618227 |
df363ebc3bcd49fc593f5ceef4702fec3c8d605a | 5,260 | agda | Agda | Cubical/Data/Queue/Untruncated2List.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Data/Queue/Untruncated2List.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Data/Queue/Untruncated2List.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-# OPTIONS --no-exact-split --safe #-}
module Cubical.Data.Queue.Untruncated2List where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.SIP
open import Cubical.Structures... | 30.941176 | 105 | 0.552091 |
202d89a5a3778c0b674cf9dc1fcd8c934fa14057 | 588 | agda | Agda | HoTT.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | 1 | 2021-06-30T00:17:55.000Z | 2021-06-30T00:17:55.000Z | HoTT.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | HoTT.agda | danbornside/HoTT-Agda | 1695a7f3dc60177457855ae846bbd86fcd96983e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
module HoTT where
open import lib.Basics public
open import lib.types.Types public
open import lib.groups.Groups public
open import lib.cubical.Cubical public
open import lib.NType2 public
open import lib.Equivalences2 public
open import lib.NConnected public
{-
To use coinduction in the ... | 24.5 | 76 | 0.784014 |
0e0c75ef5cc8ddf159320baf6f11e9abfd963ed4 | 46,435 | agda | Agda | Agda/07-finite-sets.agda | tmoux/HoTT-Intro | 22023fd35023cb6804424ce12cd10d252b80fd29 | [
"CC-BY-4.0"
] | 333 | 2018-09-26T08:33:30.000Z | 2022-03-22T23:50:15.000Z | Agda/07-finite-sets.agda | tmoux/HoTT-Intro | 22023fd35023cb6804424ce12cd10d252b80fd29 | [
"CC-BY-4.0"
] | 8 | 2019-06-18T04:16:04.000Z | 2020-10-16T15:27:01.000Z | Agda/07-finite-sets.agda | tmoux/HoTT-Intro | 22023fd35023cb6804424ce12cd10d252b80fd29 | [
"CC-BY-4.0"
] | 30 | 2018-09-26T09:08:57.000Z | 2022-03-16T00:33:50.000Z | {-# OPTIONS --without-K --exact-split --safe #-}
module 07-finite-sets where
import 06-universes
open 06-universes public
--------------------------------------------------------------------------------
{- Section 7.1 The congruence relations -}
{- Definition 7.1.1 -}
-- We introduce the divisibility relation. --... | 33.215308 | 82 | 0.563562 |
39b2850b3005cf04adbab228a64c8570768bd3d7 | 15,011 | agda | Agda | Lambda/Closure/Functional/Alternative.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | 1 | 2021-02-13T14:48:45.000Z | 2021-02-13T14:48:45.000Z | Lambda/Closure/Functional/Alternative.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | Lambda/Closure/Functional/Alternative.agda | nad/codata | 1b90445566df0d3b4ba6e31bd0bac417b4c0eb0e | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Alternative functional semantics for an untyped λ-calculus with
-- constants
------------------------------------------------------------------------
-- I noted that the compiler correctness proof in
-- Lambda.Closure.Functional might be easie... | 35.825776 | 138 | 0.44594 |
50976c29b6da15636c5b9aa2f84f0f7f64e6a4d1 | 713 | agda | Agda | Logic/IntroInstances.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Logic/IntroInstances.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Logic/IntroInstances.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Logic.IntroInstances where
import Data.Tuple as Tuple
import Lvl
open import Logic.Predicate
open import Logic.Propositional
open import Type
private variable ℓ : Lvl.Level
private variable A B Obj : Type{ℓ}
private variable P : Obj → Type{ℓ}
private variable x : Obj
instance
[∧]-intro-instance : ... | 24.586207 | 64 | 0.58906 |
dcf69e784c577b62f9dd1d735761ad05dfe987a9 | 27,502 | agda | Agda | Agda/05-identity-types.agda | jonsterling/HoTT-Intro | 7457d00fbd2c0a993b01cd2b3dbc4f259213845e | [
"CC-BY-4.0"
] | null | null | null | Agda/05-identity-types.agda | jonsterling/HoTT-Intro | 7457d00fbd2c0a993b01cd2b3dbc4f259213845e | [
"CC-BY-4.0"
] | null | null | null | Agda/05-identity-types.agda | jonsterling/HoTT-Intro | 7457d00fbd2c0a993b01cd2b3dbc4f259213845e | [
"CC-BY-4.0"
] | null | null | null | {-# OPTIONS --without-K --exact-split #-}
module 05-identity-types where
import 04-inductive-types
open 04-inductive-types public
-- Section 5.1
-- Definition 5.1.1
{- We introduce the identity type. -}
data Id {i : Level} {A : UU i} (x : A) : A → UU i where
refl : Id x x
{- In the following definition we give... | 37.014805 | 81 | 0.561995 |
50dc0cd6f8297945ae40a6f9f3636be8b46ed53a | 3,417 | agda | Agda | Categories/Agda.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Agda.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Agda.agda | p-pavel/categories | e41aef56324a9f1f8cf3cd30b2db2f73e01066f2 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
module Categories.Agda where
open import Level
import Relation.Binary
import Function.Equality
import Categories.Support.Equivalence
import Categories.Support.SetoidFunctions
open import Categories.Support.PropositionalEquality
open import Categories.Category
open import Categ... | 32.855769 | 118 | 0.494586 |
2f525621f0df691630df89448ecc7ed6793f53f7 | 958 | agda | Agda | test/asset/agda-stdlib-1.0/Relation/Nullary/Construct/Add/Extrema.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/Nullary/Construct/Add/Extrema.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | null | null | null | test/asset/agda-stdlib-1.0/Relation/Nullary/Construct/Add/Extrema.agda | omega12345/agda-mode | 0debb886eb5dbcd38dbeebd04b34cf9d9c5e0e71 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Notation for freely adding extrema to any set
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Nullary.Construct.Add.Extrema where
ope... | 31.933333 | 74 | 0.454071 |
12457290036376d25e45faa2b1952ab9a96c4573 | 88 | agda | Agda | agda/Data/Pi.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | agda/Data/Pi.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Data/Pi.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe #-}
module Data.Pi where
open import Data.Pi.Base public
| 14.666667 | 32 | 0.693182 |
dc3f7dcc30133c17d5f5bd3a44e5346d93748f04 | 2,234 | agda | Agda | LC/stash/STLC.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | 2 | 2020-08-25T07:34:40.000Z | 2020-08-25T14:05:01.000Z | LC/stash/STLC.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | null | null | null | LC/stash/STLC.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | null | null | null | module STLC where
open import Data.Nat
open import Data.Empty
open import Relation.Binary.PropositionalEquality
-- infix 4 _⊢_
-- infix 4 _∋_∶_
-- infixl 5 _,_
infixr 7 _⟶_
infix 5 ƛ_
infixl 7 _∙_
-- infix 9 `_
infixl 10 _∶_
-- infix 5 μ_
-- infix 8 `suc_
-- infix 9 S_
-- infix 9 #_
data Type : Set whe... | 16.071942 | 52 | 0.416294 |
4daa53efb5ecf31690be20a9d0f0ada553b10361 | 2,719 | agda | Agda | theorems/cohomology/LongExactSequence.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/cohomology/LongExactSequence.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | theorems/cohomology/LongExactSequence.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | 1 | 2018-12-26T21:31:57.000Z | 2018-12-26T21:31:57.000Z | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.Theory
open import groups.ExactSequence
open import groups.HomSequence
open import homotopy.CofiberSequence
module cohomology.LongExactSequence {i} (CT : CohomologyTheory i)
{X Y : Ptd i} (n : ℤ) (f : X ⊙→ Y) where
open CohomologyTheor... | 39.985294 | 126 | 0.613093 |
d08ca99a2258f57dc222ad2fa643095efa5a90e8 | 878 | agda | Agda | AnyBoolean.agda | larrytheliquid/bahug-april2010 | 60f71d369015b83b9ef5fabc75a70f367d20ac97 | [
"MIT"
] | null | null | null | AnyBoolean.agda | larrytheliquid/bahug-april2010 | 60f71d369015b83b9ef5fabc75a70f367d20ac97 | [
"MIT"
] | null | null | null | AnyBoolean.agda | larrytheliquid/bahug-april2010 | 60f71d369015b83b9ef5fabc75a70f367d20ac97 | [
"MIT"
] | 1 | 2022-03-12T12:03:09.000Z | 2022-03-12T12:03:09.000Z | module AnyBoolean where
open import Data.Bool
open import Data.Nat
open import Data.List hiding (any)
open import Relation.Binary.PropositionalEquality
even : ℕ → Bool
even zero = true
even (suc zero) = false
even (suc (suc n)) = even n
test-6-even : even 6 ≡ true
test-6-even = refl
odd : ℕ → Bool
odd zero = false
o... | 19.954545 | 49 | 0.61959 |
0633a6ac1e97e1b950ef87073eb65d92d2bf83f3 | 7,854 | agda | Agda | Cubical/HITs/Ints/BiInvInt/Properties.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/BiInvInt/Properties.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | null | null | null | Cubical/HITs/Ints/BiInvInt/Properties.agda | maxdore/cubical | ef62b84397396d48135d73ba7400b71c721ddc94 | [
"MIT"
] | 1 | 2021-03-12T20:08:45.000Z | 2021-03-12T20:08:45.000Z | {-# OPTIONS --safe #-}
module Cubical.HITs.Ints.BiInvInt.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.Properties
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorph... | 31.542169 | 100 | 0.535523 |
57c5847ec68766c394f3d59972450e6dadca26a0 | 4,210 | agda | Agda | Cubical/Algebra/Group/Instances/Bool.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/Instances/Bool.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/Instances/Bool.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Algebra.Group.Instances.Bool where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Structure
open import Cubical.Relation.Nullary
open import Cubical.Data.Bool
open import Cubical.Data.Empty as ⊥
open import Cub... | 41.683168 | 108 | 0.631116 |
063eea785d09782acd63a212a2e792276d4aec13 | 2,280 | agda | Agda | complexity-drafts/Translation2.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 2 | 2016-04-26T20:22:22.000Z | 2019-08-08T12:27:18.000Z | complexity-drafts/Translation2.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | 1 | 2020-03-23T08:39:04.000Z | 2020-05-12T00:32:45.000Z | complexity-drafts/Translation2.agda | benhuds/Agda | 2404a6ef2688f879bda89860bb22f77664ad813e | [
"MIT"
] | null | null | null | --NEW TRANSLATION FILE
open import Preliminaries
open import Source2
open import Comp2
module Translation2 where
-- translation from source types to complexity types
mutual
⟨⟨_⟩⟩ : Tp → CTp
⟨⟨ unit ⟩⟩ = unit
⟨⟨ nat ⟩⟩ = nat
⟨⟨ susp A ⟩⟩ = || A ||
⟨⟨ A ->s B ⟩⟩ = ⟨⟨ A ⟩⟩ ->c || B ||
⟨⟨ A ×... | 40 | 140 | 0.463596 |
23b885835d11ce4b6f841f69f86c60c163125035 | 19,533 | agda | Agda | Definition/Conversion/EqRelInstance.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2018-06-21T08:39:01.000Z | 2022-01-17T16:13:53.000Z | Definition/Conversion/EqRelInstance.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | null | null | null | Definition/Conversion/EqRelInstance.agda | CoqHott/logrel-mltt | e0eeebc4aa5ed791ce3e7c0dc9531bd113dfcc04 | [
"MIT"
] | 2 | 2022-01-26T14:55:51.000Z | 2022-02-15T19:42:19.000Z | {-# OPTIONS --safe #-}
module Definition.Conversion.EqRelInstance where
open import Definition.Untyped
open import Definition.Untyped.Properties using (wkSingleSubstId)
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.Weakening using (_∷_⊆_; wkEq; step; id)
open import... | 45.425581 | 116 | 0.410638 |
1872a9c5ed4ff860e6507e3be921b3726159c928 | 8,728 | agda | Agda | Cubical/Functions/Logic.agda | jorge-jbs/cubical | ebbe824fda41ab6524b62a42959665be4e67b847 | [
"MIT"
] | null | null | null | Cubical/Functions/Logic.agda | jorge-jbs/cubical | ebbe824fda41ab6524b62a42959665be4e67b847 | [
"MIT"
] | null | null | null | Cubical/Functions/Logic.agda | jorge-jbs/cubical | ebbe824fda41ab6524b62a42959665be4e67b847 | [
"MIT"
] | null | null | null | -- Various functions for manipulating hProps.
--
-- This file used to be part of Foundations, but it turned out to be
-- not very useful so moved here. Feel free to upstream content.
--
-- Note that it is often a bad idea to use hProp instead of having the
-- isProp proof separate. The reason is that Agda can rarely in... | 30.305556 | 97 | 0.421173 |
20038931de22af6fa5969c81c558b28ec514bd53 | 13,903 | agda | Agda | src/fot/Agsy/McCarthy91/Arithmetic.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/Agsy/McCarthy91/Arithmetic.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/Agsy/McCarthy91/Arithmetic.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- Testing Agsy arithmetic properties used by the McCarthy 91 function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# ... | 51.302583 | 213 | 0.067324 |
41e6912b0c4054e9580615d48fd887dd9f411b0d | 776 | agda | Agda | Lang/Instance.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Lang/Instance.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Lang/Instance.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | module Lang.Instance where
import Lvl
open import Type
private variable ℓ : Lvl.Level
private variable T X Y Z : Type{ℓ}
-- Infers/resolves/(searches for) an instance/proof of the specified type/statement
resolve : (T : Type{ℓ}) → ⦃ _ : T ⦄ → T
resolve (_) ⦃ x ⦄ = x
-- Infers/resolves/(searches for) an instan... | 25.032258 | 83 | 0.533505 |
dc910eb4db889c24ee89fe92aa902bab5e02cf1d | 1,373 | agda | Agda | LibraBFT/Yasm/Yasm.agda | haroldcarr/bft-consensus-agda | 34e4627855fb198665d0c98f377403a906ba75d7 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Yasm/Yasm.agda | haroldcarr/bft-consensus-agda | 34e4627855fb198665d0c98f377403a906ba75d7 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Yasm/Yasm.agda | haroldcarr/bft-consensus-agda | 34e4627855fb198665d0c98f377403a906ba75d7 | [
"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.Prelude
open import LibraBFT.Base.PKCS
open import LibraBF... | 49.035714 | 111 | 0.708667 |
0eddd9fe0565b854e53c1f0ab82a46a20a5936ae | 3,027 | agda | Agda | prototyping/Properties/Step.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | 1 | 2022-02-11T21:30:17.000Z | 2022-02-11T21:30:17.000Z | prototyping/Properties/Step.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | prototyping/Properties/Step.agda | FreakingBarbarians/luau | 5187e64f88953f34785ffe58acd0610ee5041f5f | [
"MIT"
] | null | null | null | module Properties.Step where
open import Agda.Builtin.Equality using (_≡_; refl)
open import FFI.Data.Maybe using (just; nothing)
open import Luau.Heap using (Heap; lookup; alloc; ok; function_⟨_⟩_end)
open import Luau.Syntax using (Block; Expr; nil; var; addr; function⟨_⟩_end; block_is_end; _$_; local_←_; function_⟨_... | 51.305085 | 142 | 0.635282 |
290d1ebeadc3a03fd0778c9e50239eee7e8a5e96 | 1,829 | agda | Agda | src/Category/Profunctor.agda | crisoagf/agda-optics | 308afeeaa905870dbf1a995fa82e8825dfaf2d74 | [
"BSD-3-Clause"
] | null | null | null | src/Category/Profunctor.agda | crisoagf/agda-optics | 308afeeaa905870dbf1a995fa82e8825dfaf2d74 | [
"BSD-3-Clause"
] | null | null | null | src/Category/Profunctor.agda | crisoagf/agda-optics | 308afeeaa905870dbf1a995fa82e8825dfaf2d74 | [
"BSD-3-Clause"
] | null | null | null | module Category.Profunctor where
open import Agda.Primitive using (Level; _⊔_; lsuc)
open import Data.Product using (_,_; _×_)
open import Function using (id)
open import Relation.Binary.PropositionalEquality using (_≡_)
Dimap : ∀ {a b} (p : Set a → Set a → Set b) → Set (lsuc a ⊔ b)
Lmap : ∀ {a b} (p : Set a → Set a →... | 44.609756 | 142 | 0.583926 |
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.