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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
231c0b0aa33747333e0b4c3386547f35f72e9e5c | 717 | agda | Agda | zerepoch-metatheory/test/StringLiteral.agda | Quantum-One-DLT/zerepoch | c8cf4619e6e496930c9092cf6d64493eff300177 | [
"Apache-2.0"
] | null | null | null | zerepoch-metatheory/test/StringLiteral.agda | Quantum-One-DLT/zerepoch | c8cf4619e6e496930c9092cf6d64493eff300177 | [
"Apache-2.0"
] | null | null | null | zerepoch-metatheory/test/StringLiteral.agda | Quantum-One-DLT/zerepoch | c8cf4619e6e496930c9092cf6d64493eff300177 | [
"Apache-2.0"
] | 2 | 2021-11-13T21:25:19.000Z | 2022-02-21T16:38:59.000Z | module test.StringLiteral where
open import Type
open import Declarative
open import Builtin
open import Builtin.Constant.Type
open import Builtin.Constant.Term Ctx⋆ Kind * # _⊢⋆_ con size⋆
-- zerepoch/zerepoch-core/test/data/stringLiteral.plc
postulate str1 : ByteString
{-# FOREIGN GHC import qualified Data.ByteStr... | 25.607143 | 64 | 0.76569 |
18c12b19a0849193da4e59da89bc6f9568d7811c | 1,573 | agda | Agda | RefactorAgdaEngine/Test/Tests/input/Test.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 5 | 2019-01-31T14:10:18.000Z | 2019-05-03T10:03:36.000Z | RefactorAgdaEngine/Test/Tests/input/Test.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 3 | 2019-01-31T08:03:07.000Z | 2019-02-05T12:53:36.000Z | RefactorAgdaEngine/Test/Tests/input/Test.agda | omega12345/RefactorAgda | 52d1034aed14c578c9e077fb60c3db1d0791416b | [
"BSD-3-Clause"
] | 1 | 2019-01-31T08:40:41.000Z | 2019-01-31T08:40:41.000Z | -- a few random examples
module Test where
import Agda.Builtin.Bool
data Nat : Set where zero : Nat -- Comment which gets eaten
suc : Nat -> Nat --Comment which is preserved
plus {- preserved comment {- which may be nested -} -} :
{- comment after Colon, also preserved-}
{-comments are essentia... | 27.12069 | 114 | 0.570884 |
dcb5acf35308f7bcd79e254be15f06f9773adde2 | 2,669 | agda | Agda | src/SystemF/BigStep/Types.agda | ajrouvoet/implicits.agda | ef2e347a4470e55083c83b743efbc2902ef1ad22 | [
"MIT"
] | 4 | 2019-04-05T17:57:11.000Z | 2021-05-07T04:08:41.000Z | src/SystemF/BigStep/Types.agda | ElessarWebb/implicits.agda | ef2e347a4470e55083c83b743efbc2902ef1ad22 | [
"MIT"
] | null | null | null | src/SystemF/BigStep/Types.agda | ElessarWebb/implicits.agda | ef2e347a4470e55083c83b743efbc2902ef1ad22 | [
"MIT"
] | null | null | null | module SystemF.BigStep.Types where
open import Prelude
-- types are indexed by the number of open tvars
infixl 10 _⇒_
data Type (n : ℕ) : Set where
Unit : Type n
ν : (i : Fin n) → Type n
_⇒_ : Type n → Type n → Type n
∀' : Type (suc n) → Type n
open import Data.Fin.Substitution
open import Data.Vec
mo... | 32.54878 | 86 | 0.449981 |
4a77449488fbd7dcde1b9f52534f28351388fc07 | 432 | agda | Agda | examples/outdated-and-incorrect/syntax/ModuleA.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2018-10-10T17:08:44.000Z | 2018-10-10T17:08:44.000Z | examples/outdated-and-incorrect/syntax/ModuleA.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | examples/outdated-and-incorrect/syntax/ModuleA.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | 1 | 2022-03-12T11:35:18.000Z | 2022-03-12T11:35:18.000Z |
-- This module is used to illustrate how to import a non-parameterised module.
module examples.syntax.ModuleA where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
plus : Nat -> Nat -> Nat
eval : Nat -> Nat
eval zero = zero
eval (suc x) = suc (eval x)
eval (plus zero y) = eva... | 25.411765 | 78 | 0.578704 |
4ad3c06cc886e1fccd72b9d044ff3379d6110948 | 1,086 | agda | Agda | agda/BBSTree/Properties.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | 6 | 2015-05-21T12:50:35.000Z | 2021-08-24T22:11:15.000Z | agda/BBSTree/Properties.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | agda/BBSTree/Properties.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | open import Relation.Binary.Core
module BBSTree.Properties {A : Set}
(_≤_ : A → A → Set)
(trans≤ : Transitive _≤_) where
open import BBSTree _≤_
open import Bound.Total A
open import Bound.Total.Order.Properties _≤_ trans≤
open import List.Order.Simple _≤_
open import List.... | 43.44 | 145 | 0.601289 |
d0812e6d80d1d1dd7edd607673845ac239779985 | 2,329 | agda | Agda | Cubical/Data/Unit/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Data/Unit/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Data/Unit/Properties.agda | hyleIndex/cubical | ce5c2820ecb2e0fd8dce74fb0247856cdbf034c4 | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.Data.Unit.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Da... | 32.802817 | 100 | 0.686561 |
d0dbb310fe68f91c4388c5ab0880f9f78eac2aea | 460 | agda | Agda | error.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 29 | 2019-02-06T13:09:31.000Z | 2022-03-04T15:05:12.000Z | error.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 8 | 2018-07-09T22:53:38.000Z | 2022-03-22T03:43:34.000Z | error.agda | rfindler/ial | f3f0261904577e930bd7646934f756679a6cbba6 | [
"MIT"
] | 17 | 2018-12-03T22:38:15.000Z | 2021-11-28T20:13:21.000Z | -- a simple error monad
module error where
open import level
open import string
infixr 0 _≫=err_ _≫err_
data error-t{ℓ}(A : Set ℓ) : Set ℓ where
no-error : A → error-t A
yes-error : string → error-t A
_≫=err_ : ∀{ℓ ℓ'}{A : Set ℓ}{B : Set ℓ'} → error-t A → (A → error-t B) → error-t B
(no-error a) ≫=err f = f a
(... | 23 | 82 | 0.580435 |
d03138a23da3654205fedca1732295b242544a7d | 467 | agda | Agda | core/lib/types/Choice.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/Choice.agda | mikeshulman/HoTT-Agda | e7d663b63d89f380ab772ecb8d51c38c26952dbb | [
"MIT"
] | null | null | null | core/lib/types/Choice.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.types.Truncation
open import lib.types.Pi
module lib.types.Choice where
unchoose : ∀ {i j} {n : ℕ₋₂} {A : Type i} {B : A → Type j}
→ Trunc n (Π A B) → Π A (Trunc n ∘ B)
unchoose = Trunc-rec (Π-level λ _ → Trunc-level) (λ f → [_] ∘ f)
h... | 31.133333 | 77 | 0.582441 |
cbaa18ca5e472af05ae84c6e8db67fa9276c38bd | 181 | agda | Agda | test/Fail/Issue3338.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue3338.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue3338.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | postulate
R : Set → Set1
r : {X : Set} {{ _ : R X }} → X → Set
A : Set
a : A
instance
RI : R A
-- RI = {!!} -- uncommenting lets instance resolution succeed
foo : r a
| 15.083333 | 63 | 0.524862 |
20acf3535af8c94d9aa0185d4b06bb44f290fcb1 | 6,400 | agda | Agda | BasicIS4/Equipment/KripkeDyadicCanonical.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIS4/Equipment/KripkeDyadicCanonical.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIS4/Equipment/KripkeDyadicCanonical.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | -- Basic intuitionistic modal logic S4, without ∨, ⊥, or ◇.
-- Canonical model equipment for Kripke-style semantics.
module BasicIS4.Equipment.KripkeDyadicCanonical where
open import BasicIS4.Syntax.Common public
module Syntax
(_⊢_ : Cx² Ty Ty → Ty → Set)
(mono²⊢ : ∀ {A Π Π′} → Π ⊆² Π′ → Π ⊢ A → Π′ ⊢ A... | 25.498008 | 95 | 0.29125 |
18edd7f3f8de07c4efdcd52c84f3356c105cfafa | 3,091 | agda | Agda | OlderBasicILP/Direct/Translation.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | OlderBasicILP/Direct/Translation.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | OlderBasicILP/Direct/Translation.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module OlderBasicILP.Direct.Translation where
open import Common.Context public
-- import OlderBasicILP.Direct.Hilbert.Sequential as HS
import OlderBasicILP.Direct.Hilbert.Nested as HN
import OlderBasicILP.Direct.Gentzen as G
-- open HS using () renaming (_⊢×_ to HS⟨_⊢×_⟩ ; _⊢_ to HS⟨_⊢_⟩) public
open HN using () re... | 28.1 | 71 | 0.484309 |
23cd1fa90ad8819501191f3f8e0afa103fefa2c5 | 8,585 | agda | Agda | agda/PLRTree/Drop/Complete.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | 6 | 2015-05-21T12:50:35.000Z | 2021-08-24T22:11:15.000Z | agda/PLRTree/Drop/Complete.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | agda/PLRTree/Drop/Complete.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | open import Relation.Binary.Core
module PLRTree.Drop.Complete {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_) where
open import Data.Sum
open import PLRTree {A}
open import PLRTree.Complete {A}
open import PLRTree.Compound {A}
open import PLRTree.Drop _≤_ tot≤
open impor... | 68.134921 | 183 | 0.509726 |
dc9dc9dfdba90fecaee0970cb9b796d6b42d7e7d | 6,441 | agda | Agda | Cubical/Relation/Binary/Definitions.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Relation/Binary/Definitions.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | Cubical/Relation/Binary/Definitions.agda | kiana-S/univalent-foundations | 8bdb0766260489f9c89a14f4c0f2ad26e5190dec | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Binary.Definitions where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Logic hiding (_⇒_; _⇔_; ¬_)
open import Cubical.Foundations.HLevels
... | 26.615702 | 86 | 0.581121 |
18749005038c4224dd0b5dabb5fc0301239f4ae8 | 398 | agda | Agda | Dave/Logic/Bool.agda | DavidStahl97/formal-proofs | 05213fb6ab1f51f770f9858b61526ba950e06232 | [
"MIT"
] | null | null | null | Dave/Logic/Bool.agda | DavidStahl97/formal-proofs | 05213fb6ab1f51f770f9858b61526ba950e06232 | [
"MIT"
] | null | null | null | Dave/Logic/Bool.agda | DavidStahl97/formal-proofs | 05213fb6ab1f51f770f9858b61526ba950e06232 | [
"MIT"
] | null | null | null | module Dave.Logic.Bool where
data Bool : Set where
false : Bool
true : Bool
¬_ : Bool → Bool
¬ true = false
¬ false = true
_∧_ : Bool → Bool → Bool
a ∧ true = a
a ∧ false = false
if_then_else_ : {A : Set} → Bool → A → A → A
if false then a else b = b
i... | 18.952381 | 48 | 0.497487 |
df6c57d9c4a5497b18535f6543357d0c01433d32 | 2,269 | agda | Agda | src/regular-star.agda | shinji-kono/automaton-in-agda | eba0538f088f3d0c0fedb19c47c081954fbc69cb | [
"MIT"
] | null | null | null | src/regular-star.agda | shinji-kono/automaton-in-agda | eba0538f088f3d0c0fedb19c47c081954fbc69cb | [
"MIT"
] | null | null | null | src/regular-star.agda | shinji-kono/automaton-in-agda | eba0538f088f3d0c0fedb19c47c081954fbc69cb | [
"MIT"
] | null | null | null | module regular-star where
open import Level renaming ( suc to Suc ; zero to Zero )
open import Data.List
open import Data.Nat hiding ( _≟_ )
open import Data.Fin hiding ( _+_ )
open import Data.Empty
open import Data.Unit
open import Data.Product
-- open import Data.Maybe
open import Relation.Nullary
open import ... | 29.467532 | 121 | 0.641252 |
0ec54904ef9ae3e6f8039e3004035d13472975ae | 9,825 | agda | Agda | fracGC/Singleton.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 14 | 2015-08-18T21:40:15.000Z | 2021-05-05T01:07:57.000Z | fracGC/Singleton.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 4 | 2018-06-07T16:27:41.000Z | 2021-10-29T20:41:23.000Z | fracGC/Singleton.agda | JacquesCarette/pi-dual | 003835484facfde0b770bc2b3d781b42b76184c1 | [
"BSD-2-Clause"
] | 3 | 2016-05-29T01:56:33.000Z | 2019-09-10T09:47:13.000Z | {-# OPTIONS --without-K --safe #-}
-- Singleton type and its 'inverse'
module Singleton where
open import Data.Unit using (⊤; tt)
open import Data.Sum
open import Data.Product
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym; trans; subst; cong ; cong₂ ; inspect ; [_])
-- open import Level
-... | 30.799373 | 151 | 0.437557 |
18acd0243d181e49f889437b84f5cab28585fb6d | 152 | agda | Agda | Cubical/HITs/Torus.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/HITs/Torus.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/HITs/Torus.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-# OPTIONS --safe #-}
module Cubical.HITs.Torus where
open import Cubical.HITs.Torus.Base public
-- open import Cubical.HITs.Torus.Properties public
| 21.714286 | 51 | 0.763158 |
dce20c39a2ab73f91a5444012e8b71b23de87047 | 3,215 | agda | Agda | theorems/homotopy/SuspAdjointLoop.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | theorems/homotopy/SuspAdjointLoop.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | theorems/homotopy/SuspAdjointLoop.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.PtdAdjoint
module homotopy.SuspAdjointLoop {i} where
private
SuspFunctor : PtdFunctor i i
SuspFunctor = record {
obj = ⊙Susp;
arr = ⊙Susp-fmap;
id = ⊙Susp-fmap-idf;
comp = ⊙Susp-fmap-∘}
LoopFunctor : PtdFunctor i i
... | 27.956522 | 79 | 0.459098 |
180929a2edc3c6af1d200720aff6ad5b8ff80b54 | 16,601 | agda | Agda | core/lib/types/Sigma.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | core/lib/types/Sigma.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | core/lib/types/Sigma.agda | timjb/HoTT-Agda | 66f800adef943afdf08c17b8ecfba67340fead5e | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
module lib.types.Sigma where
-- pointed [Σ]
⊙Σ : ∀ {i j} (X : Ptd i) → (de⊙ X → Ptd j) → Ptd (lmax i j)
⊙Σ ⊙[ A , a₀ ] Y = ⊙[ Σ A (de⊙ ∘ Y) , (a₀ , pt (Y a₀)) ]
-- Cartesian product
_×_ : ∀ {i j} (A : Type i) (B : Type j) → Type (lmax i j)
A × B = Σ A (... | 34.730126 | 104 | 0.401301 |
df0edac7fe15b682d10f2c81ba01952a57ba4c0a | 65 | agda | Agda | agda/Cham/Inference.agda | riz0id/chemical-abstract-machine | 292023fc36fa67ca4a81cff9a875a325a79b9d6f | [
"BSD-3-Clause"
] | null | null | null | agda/Cham/Inference.agda | riz0id/chemical-abstract-machine | 292023fc36fa67ca4a81cff9a875a325a79b9d6f | [
"BSD-3-Clause"
] | null | null | null | agda/Cham/Inference.agda | riz0id/chemical-abstract-machine | 292023fc36fa67ca4a81cff9a875a325a79b9d6f | [
"BSD-3-Clause"
] | null | null | null | {-# OPTIONS --without-K --safe #-}
module Cham.Inference where
| 13 | 34 | 0.661538 |
4a8ada2856f2a51ee2af65e338f658d07c2f46e9 | 504 | agda | Agda | test/interaction/Issue3526-2.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue3526-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue3526-2.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --prop #-}
module Issue3526-2 where
open import Agda.Builtin.Equality
record Truth (P : Prop) : Set where
constructor [_]
field
truth : P
open Truth public
data ⊥' : Prop where
⊥ = Truth ⊥'
¬ : Set → Set
¬ A = A → ⊥
unique : {A : Set} (x y : ¬ A) → x ≡ y
unique x y = refl
⊥-elim : (A : Set) ... | 14 | 38 | 0.575397 |
20b11bf6c3192be0fbbf5256593cad4815ac6fd5 | 852 | agda | Agda | Setoids/Subset.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Setoids/Subset.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Setoids/Subset.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --safe --warning=error --without-K #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import LogicalFormulae
open import Sets.EquivalenceRelations
open import Setoids.Setoids
module Setoids.Subset {a b : _} {A : Set a} (S : Setoid {a} {b} A) where
open Setoid S
open Equivalence eq
subse... | 40.571429 | 105 | 0.659624 |
0e23678764864a5dac08faa2981e0a8ea4ea13ff | 1,468 | agda | Agda | Cubical/Algebra/Polynomials/UnivariateList/Polyn-nPoly.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/Polynomials/UnivariateList/Polyn-nPoly.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | Cubical/Algebra/Polynomials/UnivariateList/Polyn-nPoly.agda | thomas-lamiaux/cubical | 58c0b83bb0fed0dc683f3d29b1709effe51c1689 | [
"MIT"
] | null | null | null | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Polynomials.UnivariateList.Polyn-nPoly where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Data.Nat renaming (_+_ to _+n_; _·_ to _·n_)
open import Cubical.Data.Vec
open import Cubical.Da... | 40.777778 | 110 | 0.709809 |
d0064b1c52d105bbf7325b9022f70204022663bd | 4,568 | agda | Agda | Cubical/Data/FinSet/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 1 | 2022-03-05T00:29:41.000Z | 2022-03-05T00:29:41.000Z | Cubical/Data/FinSet/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | Cubical/Data/FinSet/Properties.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.Data.FinSet.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Function
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Univalence
o... | 29.856209 | 114 | 0.676226 |
c5a11a07833c6e96f2bc423c7d62f0a7b8a25a65 | 2,681 | agda | Agda | src/Generic/Property/Eq.agda | iblech/Generic | 380554b20e0991290d1864ddf81f0587ec1647ed | [
"MIT"
] | 30 | 2016-07-19T21:10:54.000Z | 2022-02-05T10:19:38.000Z | src/Generic/Property/Eq.agda | iblech/Generic | 380554b20e0991290d1864ddf81f0587ec1647ed | [
"MIT"
] | 9 | 2017-04-06T18:58:09.000Z | 2022-01-04T15:43:14.000Z | src/Generic/Property/Eq.agda | iblech/Generic | 380554b20e0991290d1864ddf81f0587ec1647ed | [
"MIT"
] | 4 | 2017-07-17T07:23:39.000Z | 2021-01-27T12:57:09.000Z | module Generic.Property.Eq where
open import Generic.Core
SemEq : ∀ {i β} {I : Set i} -> Desc I β -> Set
SemEq (var i) = ⊤
SemEq (π i q C) = ⊥
SemEq (D ⊛ E) = SemEq D × SemEq E
mutual
ExtendEq : ∀ {i β} {I : Set i} -> Desc I β -> Set β
ExtendEq (var i) = ⊤
ExtendEq (π i q C) = ExtendEqᵇ i C q
ExtendEq ... | 46.224138 | 95 | 0.419247 |
23307b665dfaacc542141a98fcc6c08a659a4b7c | 444 | agda | Agda | src/data/lib/prim/Agda/Builtin/String.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/String.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | src/data/lib/prim/Agda/Builtin/String.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null |
module Agda.Builtin.String where
open import Agda.Builtin.Bool
open import Agda.Builtin.List
open import Agda.Builtin.Char
postulate String : Set
{-# BUILTIN STRING String #-}
primitive
primStringToList : String → List Char
primStringFromList : List Char → String
primStringAppend : String → String → Strin... | 24.666667 | 47 | 0.736486 |
18010979c3a76485df33a30c3db24bd093d69ab8 | 1,296 | agda | Agda | Graph/Properties/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | 6 | 2020-04-07T17:58:13.000Z | 2022-02-05T06:53:22.000Z | Graph/Properties/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | Graph/Properties/Proofs.agda | Lolirofle/stuff-in-agda | 70f4fba849f2fd779c5aaa5af122ccb6a5b271ba | [
"MIT"
] | null | null | null | open import Type
module Graph.Properties.Proofs where
open import Data.Either.Proofs
open import Functional
open import Function.Equals
open import Lang.Instance
open import Logic
open import Logic.Propositional
open import Logic.Propositional.Theorems
import Lvl
open import Graph
open import Graph.Properties
op... | 39.272727 | 165 | 0.73071 |
d06d76352ac6af0df137cfb7d5c6a8f611b19ce4 | 551 | agda | Agda | lib/AocIO.agda | Zalastax/adventofcode2017 | 37956e581dc51bf78008d7dd902bb18d2ee481f6 | [
"MIT"
] | null | null | null | lib/AocIO.agda | Zalastax/adventofcode2017 | 37956e581dc51bf78008d7dd902bb18d2ee481f6 | [
"MIT"
] | null | null | null | lib/AocIO.agda | Zalastax/adventofcode2017 | 37956e581dc51bf78008d7dd902bb18d2ee481f6 | [
"MIT"
] | null | null | null | module AocIO where
open import IO.Primitive public
open import Data.String as String
open import Data.List as List
postulate
getLine : IO Costring
getArgs : IO (List String)
getProgName : IO String
{-# COMPILE GHC getLine = getLine #-}
{-# FOREIGN GHC import qualified Data.Text as Text #-}
{-# FOREIGN GHC im... | 32.411765 | 68 | 0.720508 |
20286fff7f1ef296a6ed47cc3778ce20a1cd2c3c | 1,199 | agda | Agda | Cubical/Data/FinInd.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 301 | 2018-10-17T18:00:24.000Z | 2022-03-24T02:10:47.000Z | Cubical/Data/FinInd.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 584 | 2018-10-15T09:49:02.000Z | 2022-03-30T12:09:17.000Z | Cubical/Data/FinInd.agda | FernandoLarrain/cubical | 9acdecfa6437ec455568be4e5ff04849cc2bc13b | [
"MIT"
] | 134 | 2018-11-16T06:11:03.000Z | 2022-03-23T16:22:13.000Z | {-
Definition of finitely indexed types
A type is finitely indexed if, for some `n`, there merely exists a
surjective function from `Fin n` to it. Note that a type doesn't need
to be a set in order for it to be finitely indexed. For example, the
circle is finitely indexed.
This definition is weaker than `isFinSet`.
... | 24.469388 | 75 | 0.722269 |
dfd189623a5c0576f77442754a644a79e7b9e8bb | 505 | agda | Agda | agda-stdlib/src/Data/Float.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Float.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Float.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Floating point numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Float where
------------------------------------------------------... | 31.5625 | 72 | 0.407921 |
2315c9106f2b405056dca3615b0e628628c78ace | 7,748 | agda | Agda | Cubical/HITs/Susp/Properties.agda | ecavallo/cubical | b1d105aeeab1ba9888394c6a919b99a476390b7b | [
"MIT"
] | null | null | null | Cubical/HITs/Susp/Properties.agda | ecavallo/cubical | b1d105aeeab1ba9888394c6a919b99a476390b7b | [
"MIT"
] | null | null | null | Cubical/HITs/Susp/Properties.agda | ecavallo/cubical | b1d105aeeab1ba9888394c6a919b99a476390b7b | [
"MIT"
] | null | null | null | {-# OPTIONS --safe #-}
module Cubical.HITs.Susp.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Path
open import Cubical.Foundations.Pointed
open import Cub... | 43.774011 | 89 | 0.57731 |
dfbfd8baed9bb721d0efca3774bcc792ba24a612 | 4,564 | agda | Agda | Cubical/Foundations/SIP.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | 1 | 2021-10-31T17:32:49.000Z | 2021-10-31T17:32:49.000Z | Cubical/Foundations/SIP.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | Cubical/Foundations/SIP.agda | guilhermehas/cubical | ce3120d3f8d692847b2744162bcd7a01f0b687eb | [
"MIT"
] | null | null | null | {-
In this file we apply the cubical machinery to Martin Hötzel-Escardó's
structure identity principle:
https://www.cs.bham.ac.uk/~mhe/HoTT-UF-in-Agda-Lecture-Notes/HoTT-UF-Agda.html#sns
-}
{-# OPTIONS --safe #-}
module Cubical.Foundations.SIP where
open import Cubical.Foundations.Prelude
open import Cubical.Founda... | 36.512 | 99 | 0.610649 |
cb074778afa666bde0170e5a17471343ac14cb2b | 3,270 | agda | Agda | src/data/lib/prim/Agda/Builtin/Cubical/HCompU.agda | banacorn/agda | 2a07bfdf2c1c4ae87f428809af0887aceb6632c0 | [
"MIT"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Cubical/HCompU.agda | banacorn/agda | 2a07bfdf2c1c4ae87f428809af0887aceb6632c0 | [
"MIT"
] | null | null | null | src/data/lib/prim/Agda/Builtin/Cubical/HCompU.agda | banacorn/agda | 2a07bfdf2c1c4ae87f428809af0887aceb6632c0 | [
"MIT"
] | 1 | 2021-04-18T13:34:07.000Z | 2021-04-18T13:34:07.000Z | {-# OPTIONS --erased-cubical --safe --no-sized-types --no-guardedness
--no-subtyping #-}
module Agda.Builtin.Cubical.HCompU where
open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMin to _∧_;
... | 40.875 | 171 | 0.384404 |
23434b998cc8a96bcc2e3df591683718c4a39cd8 | 3,392 | agda | Agda | Cubical/HITs/Colimit/Examples.agda | Rotsor/cubical | d55cd4834ca1f171f58b4a0c46b804ea6d18191f | [
"MIT"
] | null | null | null | Cubical/HITs/Colimit/Examples.agda | Rotsor/cubical | d55cd4834ca1f171f58b4a0c46b804ea6d18191f | [
"MIT"
] | null | null | null | Cubical/HITs/Colimit/Examples.agda | Rotsor/cubical | d55cd4834ca1f171f58b4a0c46b804ea6d18191f | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Colimit.Examples where
open import Cubical.Core.Glue
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.SumFin
open import Cubic... | 43.487179 | 104 | 0.576651 |
d04aa38ec38ea816b2c3262847d3827b023f0fa5 | 2,559 | agda | Agda | examples/outdated-and-incorrect/cbs/Path.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/outdated-and-incorrect/cbs/Path.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/outdated-and-incorrect/cbs/Path.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Path where
open import Basics hiding (_==_)
open import Proc
import Graph
private open module G = Graph Nat
data Node : Set where
node : Nat -> Node
stop : Node
_==_ : Node -> Node -> Bool
stop == stop = true
node zero == node zero = true
node (suc n) == node (suc m) = node n == no... | 20.804878 | 62 | 0.527941 |
dce10ae403b7b2e782498e896631ca4a4111ae49 | 489 | agda | Agda | test/interaction/Issue3095-fail.agda | alex-mckenna/agda | 78b62cd24bbd570271a7153e44ad280e52ef3e29 | [
"BSD-3-Clause"
] | 1 | 2016-03-17T01:45:59.000Z | 2016-03-17T01:45:59.000Z | test/interaction/Issue3095-fail.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | null | null | null | test/interaction/Issue3095-fail.agda | andersk/agda | 56928ff709dcb931cb9a48c4790e5ed3739e3032 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2018-05-28, issue #3095, fail on attempt to make hidden parent variable visible
data Nat : Set where
suc : {n : Nat} → Nat
data IsSuc : Nat → Set where
isSuc : ∀{n} → IsSuc (suc {n})
test : ∀{m} → IsSuc m → Set
test p = aux p
where
aux : ∀{n} → IsSuc n → Set
aux isSuc = {!.m!} -- Split on .m h... | 21.26087 | 91 | 0.603272 |
d0ee96ab8ae2f32f73f6a4a56b76e66e06c50392 | 1,159 | agda | Agda | src/Categories/Category/Instance/StrictGroupoids.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | src/Categories/Category/Instance/StrictGroupoids.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | null | null | null | src/Categories/Category/Instance/StrictGroupoids.agda | turion/agda-categories | ad0f94b6cf18d8a448b844b021aeda58e833d152 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.StrictGroupoids where
-- The 'strict' category of groupoids.
-- The difference here is that _≈_ is not |NaturalIsomorphism| but |_≡F_|
open import Level
open import Relation.Binary.PropositionalEquality using (refl)
open import Categories.Categor... | 31.324324 | 73 | 0.63503 |
4ac1eae2d07c0eab6556c1eac17ff2596960da2b | 2,515 | agda | Agda | LC/Reduction.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | 2 | 2020-08-25T07:34:40.000Z | 2020-08-25T14:05:01.000Z | LC/Reduction.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | null | null | null | LC/Reduction.agda | banacorn/bidirectional | 0c9a6e79c23192b28ddb07315b200a94ee900ca6 | [
"MIT"
] | null | null | null | module LC.Reduction where
open import LC.Base
open import LC.Subst
open import Data.Nat
open import Data.Nat.Properties
open import Relation.Nullary
-- β-reduction
infix 3 _β→_
data _β→_ : Term → Term → Set where
β-ƛ-∙ : ∀ {M N} → ((ƛ M) ∙ N) β→ (M [ N ])
β-ƛ : ∀ {M N} → M β→ N → ƛ M β→ ƛ N
β-∙-l : ∀ ... | 29.588235 | 79 | 0.438171 |
dc6ef7a1c631933beed92000c1544c40d5843d14 | 634 | agda | Agda | test/interaction/Issue734a.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue734a.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue734a.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue734a where
module M₁ (Z : Set₁) where
postulate
P : Set
Q : Set → Set
module M₂ (X Y : Set) where
module M₁′ = M₁ Set
open M₁′
p : P
p = {!!}
-- Previous and current agda2-goal-and-context:
-- Y : Set
-- X : Set
-- ---------
-- Goal: P
q : Q X
q = {!!}
-- Previous ... | 13.208333 | 49 | 0.474763 |
c5eb248ef0ce077c8bb33c1be48058bf71500831 | 217 | agda | Agda | test/interaction/Issue564.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue564.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue564.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | module Issue564 where
open import Agda.Primitive using (Level) renaming (lzero to zero)
postulate
A : Level → Set
module M ℓ where
postulate a : A ℓ
postulate
P : A zero → Set
open M zero
p : P a
p = {!!}
| 12.055556 | 65 | 0.668203 |
c5bbd51599da7b39add0b090611ab0144138b759 | 349 | agda | Agda | test/interaction/Issue2589.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/interaction/Issue2589.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/interaction/Issue2589.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
-- splitting on a 'with' argument should not expand the ellipsis
foo : Nat → Nat
foo m with 0
... | n = {!n!}
-- splitting on variable hidden by ellipsis should expand the ellipsis
bar : Nat → Nat
bar m with 0
... | n = {!m!}
-- test case with nested with
baz : Nat → Nat
baz m with m
..... | 18.368421 | 70 | 0.630372 |
d06600309078b58961a2bddacd8f091a17ccb058 | 239 | agda | Agda | HoTT/Equivalence/Empty.agda | michaelforney/hott | ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508 | [
"0BSD"
] | null | null | null | HoTT/Equivalence/Empty.agda | michaelforney/hott | ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508 | [
"0BSD"
] | null | null | null | HoTT/Equivalence/Empty.agda | michaelforney/hott | ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508 | [
"0BSD"
] | null | null | null | {-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Equivalence
module HoTT.Equivalence.Empty where
open variables
𝟎-equiv : {A : 𝒰 i} → ¬ A → 𝟎 {i} ≃ A
𝟎-equiv ¬a = 𝟎-rec , qinv→isequiv (𝟎-rec ∘ ¬a , 𝟎-ind , 𝟎-rec ∘ ¬a)
| 21.727273 | 67 | 0.631799 |
d01d571db09094efe8ff066e174a27752ae62e47 | 2,266 | agda | Agda | src/MLib/Algebra/PropertyCode.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | src/MLib/Algebra/PropertyCode.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | src/MLib/Algebra/PropertyCode.agda | bch29/agda-matrices | e26ae2e0aa7721cb89865aae78625a2f3fd2b574 | [
"MIT"
] | null | null | null | module MLib.Algebra.PropertyCode where
open import MLib.Prelude
open import MLib.Finite
open import MLib.Algebra.PropertyCode.RawStruct public
open import MLib.Algebra.PropertyCode.Core as Core public
using (Property; Properties; Code; IsSubcode; _∈ₚ_; _⇒ₚ_; ⟦_⟧P)
renaming (⇒ₚ-weaken to weaken)
open Core.PropKin... | 29.051282 | 94 | 0.645631 |
cb402aca562b3db4110afe310a1e4ae9d0fc4f2f | 589 | agda | Agda | benchmark/cwf/Chain.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | benchmark/cwf/Chain.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | benchmark/cwf/Chain.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Chain
{U : Set}(T : U -> Set)
(_==_ : {a b : U} -> T a -> T b -> Set)
(refl : {a : U}(x : T a) -> x == x)
(trans : {a b c : U}(x : T a)(y : T b)(z : T c) -> x == y -> y == z -> x == z)
where
infix 30 _∼_
infix 3 proof_
infixl 2 _≡_by_
infix 1 _qed
data _∼_ {a b : U}(x : T a)(y : T b) : Set where
p... | 23.56 | 80 | 0.410866 |
d02407c3b7af4d59ab91723a907584f745859858 | 560 | agda | Agda | test/Fail/Issue610-module-alias.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue610-module-alias.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue610-module-alias.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z | -- Andreas, 2016-02-11, bug reported by sanzhiyan
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
ack (set x) = M.out x
hah : set ⊤ ≡ set ... | 15.135135 | 80 | 0.603571 |
dfeefa1af3e66f5827393f529a82a468873ff2d8 | 2,735 | agda | Agda | Prelude.agda | hazelgrove/hazelnut-agda | a3640d7b0f76cdac193afd382694197729ed6d57 | [
"MIT"
] | null | null | null | Prelude.agda | hazelgrove/hazelnut-agda | a3640d7b0f76cdac193afd382694197729ed6d57 | [
"MIT"
] | null | null | null | Prelude.agda | hazelgrove/hazelnut-agda | a3640d7b0f76cdac193afd382694197729ed6d57 | [
"MIT"
] | null | null | null | module Prelude where
open import Agda.Primitive using (Level; lzero; lsuc) renaming (_⊔_ to lmax)
-- empty type
data ⊥ : Set where
-- from false, derive whatever
abort : ∀ {C : Set} → ⊥ → C
abort ()
-- unit
data ⊤ : Set where
<> : ⊤
-- sums
data _+_ (A B : Set) : Set where
Inl : A → A + ... | 27.079208 | 81 | 0.503839 |
dcc4fdee8e50180e22f376fc20568534841db841 | 1,486 | agda | Agda | src/Delay-monad/Sized.agda | nad/delay-monad | 495f9996673d0f1f34ce202902daaa6c39f8925e | [
"MIT"
] | null | null | null | src/Delay-monad/Sized.agda | nad/delay-monad | 495f9996673d0f1f34ce202902daaa6c39f8925e | [
"MIT"
] | null | null | null | src/Delay-monad/Sized.agda | nad/delay-monad | 495f9996673d0f1f34ce202902daaa6c39f8925e | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- The delay monad, defined coinductively, with a sized type parameter
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
module Delay-monad.Sized where
open import Equality.Propositional
open... | 24.360656 | 72 | 0.519515 |
18e948affb321af2fda685b7f446991e06a725a6 | 3,206 | agda | Agda | test/LibSucceed/Issue4312.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2016-05-20T13:58:52.000Z | 2016-05-20T13:58:52.000Z | test/LibSucceed/Issue4312.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/LibSucceed/Issue4312.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2021-04-18T13:34:07.000Z | 2021-04-18T13:34:07.000Z | {-# OPTIONS --without-K --safe #-}
open import Level
record Category (o ℓ e : Level) : Set (suc (o ⊔ ℓ ⊔ e)) where
eta-equality
infix 4 _≈_ _⇒_
infixr 9 _∘_
field
Obj : Set o
_⇒_ : Obj → Obj → Set ℓ
_≈_ : ∀ {A B} → (A ⇒ B) → (A ⇒ B) → Set e
_∘_ : ∀ {A B C} → (B ⇒ C) → (A ⇒ B) → (A ⇒ C)
C... | 29.412844 | 311 | 0.498129 |
4a55f09bdd1af018bea62646a338e27c696c9252 | 659 | agda | Agda | tests/covered/reflnat.agda | andrejtokarcik/agda-semantics | dc333ed142584cf52cc885644eed34b356967d8b | [
"MIT"
] | 3 | 2015-08-10T15:33:56.000Z | 2018-12-06T17:24:25.000Z | tests/covered/reflnat.agda | andrejtokarcik/agda-semantics | dc333ed142584cf52cc885644eed34b356967d8b | [
"MIT"
] | null | null | null | tests/covered/reflnat.agda | andrejtokarcik/agda-semantics | dc333ed142584cf52cc885644eed34b356967d8b | [
"MIT"
] | null | null | null | module reflnat where
data ℕ : Set where
Z : ℕ
S : ℕ -> ℕ
_+_ : ℕ -> ℕ -> ℕ
n + Z = n
n + S m = S (n + m)
infixr 10 _+_
infixr 20 _*_
_*_ : ℕ -> ℕ -> ℕ
n * Z = Z
n * S m = n * m + n
data Bool : Set where
tt : Bool
ff : Bool
data ⊤ : Set where
true : ⊤
data ⊥ : Set where
Atom : Bool -> Set
... | 10.983333 | 32 | 0.432473 |
18844cf563d0d89b213cb7833c285e63826dc5ae | 678 | agda | Agda | test/Fail/RecordConstructorsInErrorMessages.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/RecordConstructorsInErrorMessages.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/RecordConstructorsInErrorMessages.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- This file tests that record constructors are used in error
-- messages, if possible.
-- Andreas, 2016-07-20 Repaired this long disfunctional test case.
module RecordConstructorsInErrorMessages where
record R : Set₁ where
constructor con
field
{A} : Set
f : A → A
{B C} D {E} : Set... | 18.324324 | 66 | 0.547198 |
dffdcf717e22e73b03b14555c46927f47a63ed60 | 3,641 | agda | Agda | BasicIS4/Metatheory/Gentzen-TarskiOvergluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 29 | 2016-07-03T18:51:56.000Z | 2022-01-01T10:29:18.000Z | BasicIS4/Metatheory/Gentzen-TarskiOvergluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | 1 | 2018-06-10T09:11:22.000Z | 2018-06-10T09:11:22.000Z | BasicIS4/Metatheory/Gentzen-TarskiOvergluedGentzen.agda | mietek/hilbert-gentzen | fcd187db70f0a39b894fe44fad0107f61849405c | [
"X11"
] | null | null | null | module BasicIS4.Metatheory.Gentzen-TarskiOvergluedGentzen where
open import BasicIS4.Syntax.Gentzen public
open import BasicIS4.Semantics.TarskiOvergluedGentzen public
-- Internalisation of syntax as syntax representation in a particular model.
module _ {{_ : Model}} where
mutual
[_] : ∀ {A Γ} → Γ ⊢ A → Γ [⊢]... | 28.445313 | 81 | 0.439165 |
c58baf2e4f66e131d8759e724a44f686fe1fce5e | 2,531 | agda | Agda | examples/outdated-and-incorrect/Warshall.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | examples/outdated-and-incorrect/Warshall.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | examples/outdated-and-incorrect/Warshall.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z |
module Warshall
(X : Set)
((≤) : X -> X -> Prop)
-- and axioms...
where
id : {A:Set} -> A -> A
id x = x
(∘) : {A B C:Set} -> (B -> C) -> (A -> B) -> A -> C
f ∘ g = \x -> f (g x)
-- Natural numbers --------------------------------------------------------
data Nat : Set where
zero : Nat
suc : Nat -> N... | 20.917355 | 75 | 0.467404 |
dc491588b6da84ff68e257a3c8ee7d1859c1ac1b | 8,147 | agda | Agda | Cubical/Foundations/Prelude.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | Cubical/Foundations/Prelude.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | Cubical/Foundations/Prelude.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | {-
This file proves a variety of basic results about paths:
- refl, sym, cong and composition of paths. This is used to set up
equational reasoning.
- Transport, subst and functional extensionality
- J and its computation rule (up to a path)
- Σ-types and contractibility of singletons
- Converting PathP to and ... | 30.513109 | 115 | 0.465202 |
dfb0dd456cdba86282ec86cd097f024986e81d19 | 539 | agda | Agda | test/Fail/Issue691.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue691.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue691.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2012-09-07
-- {-# OPTIONS -v tc.polarity:10 -v tc.conv.irr:20 -v tc.conv.elim:25 -v tc.conv.term:10 #-}
module Issue691 where
open import Common.Equality
data Bool : Set where
true false : Bool
assert : (A : Set) → A → Bool → Bool
assert _ _ true = true
assert _ _ false = false
g : Bool -> Bool -> Bo... | 19.25 | 92 | 0.636364 |
20a60b2e57aea4ad74acca023799635586da693b | 1,381 | agda | Agda | test/Succeed/Issue892b.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue892b.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | test/Succeed/Issue892b.agda | redfish64/autonomic-agda | c0ae7d20728b15d7da4efff6ffadae6fe4590016 | [
"BSD-3-Clause"
] | null | null | null | -- {-# OPTIONS -v scope:20 #-}
module _ (X : Set) where
postulate
X₁ X₂ : Set
data D : Set where
d : D
module Q (x : D) where
module M1 (z : X₁) where
g = x
module M2 (y : D) (z : X₂) where
h = y
open M1 public
-- module Qd = Q d
-- This fails to apply g to d!
module QM2d = Q.M2 d d
... | 14.536842 | 40 | 0.581463 |
df86b08059bdd69fcab788dfb4a90c4a502abda4 | 2,068 | agda | Agda | test/Succeed/Issue1796rewrite.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue1796rewrite.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue1796rewrite.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-04-14 issue 1796 for rewrite
-- {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.size.solve:100 #-}
-- {-# OPTIONS -v tc.with.abstract:40 #-}
{-# OPTIONS --sized-types #-}
open import Common.Size
open import Common.Equality
data Either (A B : Set) : Set where
left : A → Either A B
right : ... | 28.328767 | 74 | 0.527563 |
c5825c66a10a1320262bb7d98e70f8f205f8bf25 | 450 | agda | Agda | test/Succeed/Issue4638-Cubical.agda | cagix/agda | cc026a6a97a3e517bb94bafa9d49233b067c7559 | [
"BSD-2-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue4638-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/Issue4638-Cubical.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --cubical --safe #-}
open import Agda.Builtin.Cubical.Path
open import Agda.Primitive
private
variable
a : Level
A B : Set a
Is-proposition : Set a → Set a
Is-proposition A = (x y : A) → x ≡ y
data ∥_∥ (A : Set a) : Set a where
∣_∣ : A → ∥ A ∥
@0 trivial : Is-proposition ∥ A ∥
re... | 21.428571 | 53 | 0.54 |
0e562ebc662e5ccd02c12a3c649a2dff37803af8 | 6,384 | agda | Agda | Cubical/Algebra/Group/EilenbergMacLane1.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/EilenbergMacLane1.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | Cubical/Algebra/Group/EilenbergMacLane1.agda | Schippmunk/cubical | c345dc0c49d3950dc57f53ca5f7099bb53a4dc3a | [
"MIT"
] | null | null | null | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.EilenbergMacLane1 where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.GroupoidLa... | 42 | 101 | 0.58255 |
df32481ec7391291f5ef19e7d2140ea00d19bb0a | 1,706 | agda | Agda | Definition/LogicalRelation/Properties/Universe.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 30 | 2017-05-20T03:05:21.000Z | 2022-03-30T18:01:07.000Z | Definition/LogicalRelation/Properties/Universe.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 4 | 2017-06-22T12:49:23.000Z | 2021-02-22T10:37:24.000Z | Definition/LogicalRelation/Properties/Universe.agda | fhlkfy/logrel-mltt | ea83fc4f618d1527d64ecac82d7d17e2f18ac391 | [
"MIT"
] | 8 | 2017-10-18T14:18:20.000Z | 2021-11-27T15:58:33.000Z | {-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Properties.Universe {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped hiding (_∷_)
open import Definition.Typed
open import Definition.LogicalRelation
open import Definitio... | 36.297872 | 87 | 0.564478 |
18ee8850dd3be541c6427a92ba88311a3e42ed04 | 24,693 | agda | Agda | SemiLinRE.agda | JoeyEremondi/agda-parikh | 1e28103ff7dd1d4f3351ef21397833aa4490b7ea | [
"BSD-3-Clause"
] | null | null | null | SemiLinRE.agda | JoeyEremondi/agda-parikh | 1e28103ff7dd1d4f3351ef21397833aa4490b7ea | [
"BSD-3-Clause"
] | null | null | null | SemiLinRE.agda | JoeyEremondi/agda-parikh | 1e28103ff7dd1d4f3351ef21397833aa4490b7ea | [
"BSD-3-Clause"
] | null | null | null | {-
Joseph Eremondi
Utrecht University Capita Selecta
UU# 4229924
July 22, 2015
-}
module SemiLinRE where
open import Data.Vec
open import Data.Nat
import Data.Fin as Fin
open import Data.List
import Data.List.All
open import Data.Bool
open import Data.Char
open import Data.Maybe
open import Data.Product
open impor... | 60.226829 | 590 | 0.553922 |
230581f6984d3aa2d3b109a078ec9fa2d7b8bb0f | 488 | agda | Agda | agda/TreeSort/Impl1.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | 6 | 2015-05-21T12:50:35.000Z | 2021-08-24T22:11:15.000Z | agda/TreeSort/Impl1.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | agda/TreeSort/Impl1.agda | bgbianchi/sorting | b8d428bccbdd1b13613e8f6ead6c81a8f9298399 | [
"MIT"
] | null | null | null | open import Relation.Binary.Core
module TreeSort.Impl1 {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_) where
open import BTree {A}
open import Data.List
open import Data.Sum
insert : A → BTree → BTree
insert x leaf = node x leaf leaf
insert x (node y l r)
with tot≤ x y
...... | 19.52 | 43 | 0.586066 |
0e640b3a95da81aef38c6c3894038523065ffc3a | 24,698 | agda | Agda | src/bijection.agda | shinji-kono/HyperReal-in-agda | 64d5f1ec0a6d81b7b9c45a289f669bbf32c9c891 | [
"MIT"
] | null | null | null | src/bijection.agda | shinji-kono/HyperReal-in-agda | 64d5f1ec0a6d81b7b9c45a289f669bbf32c9c891 | [
"MIT"
] | null | null | null | src/bijection.agda | shinji-kono/HyperReal-in-agda | 64d5f1ec0a6d81b7b9c45a289f669bbf32c9c891 | [
"MIT"
] | null | null | null | module bijection where
open import Level renaming ( zero to Zero ; suc to Suc )
open import Data.Nat
open import Data.Maybe
open import Data.List hiding ([_] ; sum )
open import Data.Nat.Properties
open import Relation.Nullary
open import Data.Empty
open import Data.Unit hiding ( _≤_ )
open import Relation.Binary.Cor... | 48.14425 | 159 | 0.422423 |
0e7fa4834c66420bdf98dc6475abc495765d65de | 67,509 | agda | Agda | agda-stdlib/src/Data/Nat/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 5 | 2020-10-07T12:07:53.000Z | 2020-10-10T21:41:32.000Z | agda-stdlib/src/Data/Nat/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Nat/Properties.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | 1 | 2021-11-04T06:54:45.000Z | 2021-11-04T06:54:45.000Z | ------------------------------------------------------------------------
-- The Agda standard library
--
-- A bunch of properties about natural number operations
------------------------------------------------------------------------
-- See README.Data.Nat for some examples showing how this module can be
-- used.
{-... | 29.713468 | 89 | 0.473981 |
c5942ce6c1238af1d4aab88608cc8b5b07af1e27 | 823 | agda | Agda | agda/Categories/Pushout.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | agda/Categories/Pushout.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | null | null | null | agda/Categories/Pushout.agda | oisdk/combinatorics-paper | 3c176d4690566d81611080e9378f5a178b39b851 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe #-}
open import Prelude hiding (A; B)
open import Categories
module Categories.Pushout {ℓ₁ ℓ₂} (C : Category ℓ₁ ℓ₂) where
open Category C
private
variable
A B : Ob
h₁ h₂ j : A ⟶ B
record Pushout (f : X ⟶ Y) (g : X ⟶ Z) : Type (ℓ₁ ℓ⊔ ℓ₂) where
field
{Q} : Ob
i₁ : Y ⟶... | 24.939394 | 65 | 0.476306 |
235a824b62084edce3febd84b8c52ad2634a5a3e | 316 | agda | Agda | test/Common/Size.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 4 | 2017-02-24T16:53:22.000Z | 2019-12-23T04:56:23.000Z | test/Common/Size.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 6 | 2017-02-24T19:27:31.000Z | 2017-02-24T19:38:17.000Z | test/Common/Size.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T11:39:14.000Z | 2022-03-12T11:39:14.000Z | ------------------------------------------------------------------------
-- From the Agda standard library
--
-- Sizes for Agda's sized types
------------------------------------------------------------------------
module Common.Size where
open import Agda.Builtin.Size public renaming (ω to ∞; SizeU to SizeUniv)
| 31.6 | 73 | 0.401899 |
cb61f43baa8e6c9169b9a890009372a7cc2bad7c | 2,912 | agda | Agda | tests/covered/l02.agda | andrejtokarcik/agda-semantics | dc333ed142584cf52cc885644eed34b356967d8b | [
"MIT"
] | 3 | 2015-08-10T15:33:56.000Z | 2018-12-06T17:24:25.000Z | tests/covered/l02.agda | andrejtokarcik/agda-semantics | dc333ed142584cf52cc885644eed34b356967d8b | [
"MIT"
] | null | null | null | tests/covered/l02.agda | andrejtokarcik/agda-semantics | dc333ed142584cf52cc885644eed34b356967d8b | [
"MIT"
] | null | null | null | {-
Computer Aided Formal Reasoning (G53CFR, G54CFR)
Thorsten Altenkirch
Lecture 2: A first taste of Agda
In this lecture we start to explore the Agda system, a functional
programming language based on Type Theory. We start with some
ordinary examples which we could have developed in Haskell as well.
-}
... | 24.266667 | 74 | 0.608516 |
182c65f5d4799af74661321cd765ad8654172fbf | 389 | agda | Agda | Cats/Category/Fun/Facts.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | 24 | 2017-11-03T15:18:57.000Z | 2021-08-06T05:00:46.000Z | Cats/Category/Fun/Facts.agda | JLimperg/cats | 1ad7b243acb622d46731e9ae7029408db6e561f1 | [
"MIT"
] | null | null | null | Cats/Category/Fun/Facts.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.Fun.Facts where
open import Cats.Category.Fun.Facts.Iso public using
( ≈→≅ ; ≅→≈ )
open import Cats.Category.Fun.Facts.Limit public using
( complete )
open import Cats.Category.Fun.Facts.Product public using
( hasBinaryProducts ; hasFiniteProducts )
open im... | 32.416667 | 57 | 0.745501 |
0e9fc926a00b48028df26550ca2280dec6c99377 | 867 | agda | Agda | out/CommGroup/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | out/CommGroup/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | out/CommGroup/Signature.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 4 | 2021-11-09T20:39:59.000Z | 2022-01-24T12:49:17.000Z | {-
This second-order signature was created from the following second-order syntax description:
syntax CommGroup | CG
type
* : 0-ary
term
unit : * | ε
add : * * -> * | _⊕_ l20
neg : * -> * | ⊖_ r40
theory
(εU⊕ᴸ) a |> add (unit, a) = a
(εU⊕ᴿ) a |> add (a, unit) = a
(⊕A) a b c |> add (add(a, b), ... | 18.847826 | 91 | 0.565167 |
230fad8b185bb731c0f6f1e6b64bb9932aaf5594 | 4,536 | agda | Agda | src/fot/FOTC/Program/ABP/CorrectnessProofI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 11 | 2015-09-03T20:53:42.000Z | 2021-09-12T16:09:54.000Z | src/fot/FOTC/Program/ABP/CorrectnessProofI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 2 | 2016-10-12T17:28:16.000Z | 2017-01-01T14:34:26.000Z | src/fot/FOTC/Program/ABP/CorrectnessProofI.agda | asr/fotc | 2fc9f2b81052a2e0822669f02036c5750371b72d | [
"MIT"
] | 3 | 2016-09-19T14:18:30.000Z | 2018-03-14T08:50:00.000Z | ------------------------------------------------------------------------------
-- The alternating bit protocol (ABP) is correct
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-... | 36.580645 | 80 | 0.491402 |
102bb4a31a9912be7855a6fdf7b97af781fbaae6 | 479 | agda | Agda | test/Succeed/Issue679u.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue679u.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue679u.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, Ulf, 2016-06-01, discussing issue #679
-- {-# OPTIONS -v tc.with.strip:20 #-}
postulate anything : {A : Set} → A
data Ty : Set where
_=>_ : (a b : Ty) → Ty
⟦_⟧ : Ty → Set
⟦ a => b ⟧ = ⟦ a ⟧ → ⟦ b ⟧
eq : (a : Ty) → ⟦ a ⟧ → ⟦ a ⟧ → Set
eq (a => b) f g = ∀ {x y : ⟦ a ⟧} → eq a x y → eq b (f x) (g y)
bad... | 23.95 | 63 | 0.482255 |
c57f5df53e1046f5683fe9744361ac39c74c318b | 586 | agda | Agda | test/Succeed/Issue366.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue366.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue366.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- 2010-11-21
-- testing correct implementation of eta for records with higher-order fields
module Issue366 where
data Bool : Set where
true false : Bool
record R (A : Set) : Set where
constructor r
field
unR : A
open R
foo : Bool
foo = unR (r (unR (r (λ (_ : Bool) → false))
true))
-- befor... | 19.533333 | 77 | 0.650171 |
4ad7613cf7acd003ff4067c2044b0183711d73d0 | 743 | agda | Agda | test/Succeed/Issue2196.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue2196.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue2196.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | -- Andreas, 2016-09-20, issue #2196 reported by mechvel
-- Test case by Ulf
-- {-# OPTIONS -v tc.lhs.dot:40 #-}
data _≡_ {a} {A : Set a} (x : A) : A → Set a where
refl : x ≡ x
record _×_ (A B : Set) : Set where
constructor _,_
field fst : A
snd : B
open _×_
EqP₁ : ∀ {A B} (p q : A × B) → Set
EqP₁ (x ,... | 24.766667 | 59 | 0.51144 |
101be0715035e0a991825b68b30bca259522c65a | 632 | agda | Agda | agda-stdlib/src/Data/Vec/Relation/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/Vec/Relation/Equality/DecSetoid.agda | DreamLinuxer/popl21-artifact | fb380f2e67dcb4a94f353dbaec91624fcb5b8933 | [
"MIT"
] | null | null | null | agda-stdlib/src/Data/Vec/Relation/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
--
-- This module is DEPRECATED. Please use
-- Data.Vec.Relation.Binary.Equality.DecSetoid directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open im... | 30.095238 | 72 | 0.583861 |
dc7c69bcae3831dc1293e632d8251f82d478492b | 464 | agda | Agda | test/interaction/Issue2407.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 2 | 2019-10-29T09:40:30.000Z | 2020-09-20T00:28:57.000Z | test/interaction/Issue2407.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 3 | 2018-11-14T15:31:44.000Z | 2019-04-01T19:39:26.000Z | test/interaction/Issue2407.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1 | 2015-09-15T14:36:15.000Z | 2015-09-15T14:36:15.000Z |
-- Jesper, 2017-01-24: if we allow a variable to be instantiated with a value
-- of a supertype, the resulting dot pattern won't be type-correct.
open import Common.Size
data D (i : Size) : (j : Size< ↑ i) → Set where
c : ∀ (j : Size< ↑ i) (k : Size< ↑ j)
→ D i j
→ D j k
→ D i k
split : ∀ i ... | 24.421053 | 77 | 0.549569 |
0e9a7e2cfc1e12c084cce2f6bfabd05ca6874a31 | 1,810 | agda | Agda | Streams/Relations.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | Streams/Relations.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | Streams/Relations.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | module Relations where
open import Level as Level using (zero)
open import Size
open import Function
open import Relation.Binary
open import Relation.Binary.PropositionalEquality as P
open ≡-Reasoning
RelTrans : Set → Set₁
RelTrans B = Rel B Level.zero → Rel B Level.zero
Monotone : ∀{B} → RelTrans B → Set₁
Monotone ... | 36.938776 | 76 | 0.683425 |
2378e3234f8a18c77063c5783478f910e6011553 | 90 | agda | Agda | test/interaction/SetInf.agda | asr/agda-kanso | aa10ae6a29dc79964fe9dec2de07b9df28b61ed5 | [
"MIT"
] | 1 | 2019-11-27T07:26:06.000Z | 2019-11-27T07:26:06.000Z | test/interaction/SetInf.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | test/interaction/SetInf.agda | np/agda-git-experiment | 20596e9dd9867166a64470dd24ea68925ff380ce | [
"MIT"
] | null | null | null | {-# OPTIONS --universe-polymorphism #-}
module SetInf where
id : ∀ {A} → A → A
id x = x
| 12.857143 | 39 | 0.588889 |
d0d6d5f8be903c1ab1c0a3477872d93064c0a7f3 | 7,371 | agda | Agda | src/Data/Context/Properties.agda | sstucki/f-omega-int-agda | ae648c9520895a8428a7ad80f47bb55ecf4d50ea | [
"MIT"
] | 12 | 2017-06-13T16:05:35.000Z | 2021-09-27T05:53:06.000Z | src/Data/Context/Properties.agda | sstucki/f-omega-int-agda | ae648c9520895a8428a7ad80f47bb55ecf4d50ea | [
"MIT"
] | 1 | 2021-05-14T08:09:40.000Z | 2021-05-14T08:54:39.000Z | src/Data/Context/Properties.agda | sstucki/f-omega-int-agda | ae648c9520895a8428a7ad80f47bb55ecf4d50ea | [
"MIT"
] | 2 | 2021-05-13T22:29:48.000Z | 2021-05-14T10:25:05.000Z | ------------------------------------------------------------------------
-- Propierties of abstract typing contexts
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module Data.Context.Properties where
open import Data.Fin using (Fin; zero; suc; lift; raise)... | 37.994845 | 78 | 0.521368 |
df08a5a68aa923693641cb02d52c6e56bf6f38f1 | 617 | agda | Agda | test/Fail/ShapeIrrelevantIndexNoBecauseOfRecursion.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/ShapeIrrelevantIndexNoBecauseOfRecursion.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/ShapeIrrelevantIndexNoBecauseOfRecursion.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --experimental-irrelevance #-}
module ShapeIrrelevantIndexNoBecauseOfRecursion where
data ⊥ : Set where
record ⊤ : Set where
constructor trivial
data Bool : Set where
true false : Bool
True : Bool → Set
True false = ⊥
True true = ⊤
data D : ..(b : Bool) → Set where
c : {b : Bool} → True b → D b
... | 20.566667 | 53 | 0.628849 |
dcce79f5b28d082ca607724f9b8a42bcf1c83003 | 4,105 | agda | Agda | LibraBFT/Concrete/Records.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Concrete/Records.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | LibraBFT/Concrete/Records.agda | cwjnkins/bft-consensus-agda | 71aa2168e4875ffdeece9ba7472ee3cee5fa9084 | [
"UPL-1.0"
] | null | null | null | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
{-# OPTIONS --allow-unsolved-metas #-}
open import Optics.All
open impor... | 40.643564 | 116 | 0.629963 |
c55a0708aada5a31f152bfde5fee09f5218517e3 | 5,959 | agda | Agda | src/plfa/part1/Equality.agda | abolotina/plfa.github.io | 75bef9bb35643160e2d2ab4221a3057f22eb3324 | [
"CC-BY-4.0"
] | null | null | null | src/plfa/part1/Equality.agda | abolotina/plfa.github.io | 75bef9bb35643160e2d2ab4221a3057f22eb3324 | [
"CC-BY-4.0"
] | null | null | null | src/plfa/part1/Equality.agda | abolotina/plfa.github.io | 75bef9bb35643160e2d2ab4221a3057f22eb3324 | [
"CC-BY-4.0"
] | null | null | null |
module Equality where
-- Equality
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
infix 4 _≡_
-- Equality is an equivalence relation
sym : ∀ {A : Set} {x y : A}
→ x ≡ y
-----
→ y ≡ x
sym {A} {x} {.x} refl = refl
trans : ∀ {A : Set} {x y z : A}
→ x ≡ y
→ y ≡ z
-----
→ x ≡ z
trans {A... | 16.691877 | 84 | 0.412821 |
0e2b477eeeea3c2689cbeaa9783f05a40bac8151 | 6,480 | agda | Agda | src/Model/Quantification.agda | JLimperg/msc-thesis-code | 104cddc6b65386c7e121c13db417aebfd4b7a863 | [
"MIT"
] | 5 | 2021-04-13T21:31:17.000Z | 2021-06-26T06:37:31.000Z | src/Model/Quantification.agda | JLimperg/msc-thesis-code | 104cddc6b65386c7e121c13db417aebfd4b7a863 | [
"MIT"
] | null | null | null | src/Model/Quantification.agda | JLimperg/msc-thesis-code | 104cddc6b65386c7e121c13db417aebfd4b7a863 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
module Model.Quantification where
open import Model.RGraph as RG using (RGraph)
open import Model.Size as MS using (_<_ ; ⟦_⟧Δ ; ⟦_⟧n ; ⟦_⟧σ)
open import Model.Type.Core
open import Source.Size.Substitution.Theory
open import Source.Size.Substitution.Universe as SS using (Sub⊢ᵤ)
open import... | 32.238806 | 82 | 0.439352 |
1821abad4bd1c8ec808cdd4a58700db91d725f37 | 3,038 | agda | Agda | Groups/FreeGroup/Word.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 4 | 2019-08-08T12:44:19.000Z | 2022-01-28T06:04:15.000Z | Groups/FreeGroup/Word.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 14 | 2019-01-06T21:11:59.000Z | 2020-04-11T11:03:39.000Z | Groups/FreeGroup/Word.agda | Smaug123/agdaproofs | 0f4230011039092f58f673abcad8fb0652e6b562 | [
"MIT"
] | 1 | 2021-11-29T13:23:07.000Z | 2021-11-29T13:23:07.000Z | {-# OPTIONS --safe --warning=error #-}
open import Setoids.Setoids
open import Groups.SymmetricGroups.Definition
open import Groups.FreeGroup.Definition
open import Decidable.Sets
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import LogicalFormulae
open import Boolean.Definition
module... | 52.37931 | 186 | 0.730744 |
4a5161698d4659779b09b67653f8b924c6f277e7 | 16,408 | agda | Agda | Math/Combinatorics/ListFunction/Properties.agda | rei1024/agda-combinatorics | 9fafa35c940ff7b893a80120f6a1f22b0a3917b7 | [
"MIT"
] | 3 | 2019-06-25T08:24:15.000Z | 2020-04-25T07:25:27.000Z | Math/Combinatorics/ListFunction/Properties.agda | rei1024/agda-combinatorics | 9fafa35c940ff7b893a80120f6a1f22b0a3917b7 | [
"MIT"
] | null | null | null | Math/Combinatorics/ListFunction/Properties.agda | rei1024/agda-combinatorics | 9fafa35c940ff7b893a80120f6a1f22b0a3917b7 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Properties of functions
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --exact-split #-}
module Math.Combinatorics.ListFunction.Properties where
-- agda-stdlib
open import Data.List hi... | 46.613636 | 135 | 0.56058 |
4afa5d704094e9b8569ba6138977517aa5465585 | 5,662 | agda | Agda | Cubical/HITs/SetQuotients/Properties.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | Cubical/HITs/SetQuotients/Properties.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | Cubical/HITs/SetQuotients/Properties.agda | scott-fleischman/cubical | 337ce3883449862c2d27380b36a2a7b599ef9f0d | [
"MIT"
] | null | null | null | {-
Set quotients:
-}
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.SetQuotients.Properties where
open import Cubical.HITs.SetQuotients.Base
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open impo... | 37.746667 | 142 | 0.536206 |
0e9b67207f7b2bccce6d43c696efcb23b9f508d6 | 801 | agda | Agda | Examples/Bool.agda | nad/pretty | b956803ba90b6c5f57bbbaab01bb18485d948492 | [
"MIT"
] | null | null | null | Examples/Bool.agda | nad/pretty | b956803ba90b6c5f57bbbaab01bb18485d948492 | [
"MIT"
] | null | null | null | Examples/Bool.agda | nad/pretty | b956803ba90b6c5f57bbbaab01bb18485d948492 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Booleans
------------------------------------------------------------------------
{-# OPTIONS --guardedness #-}
module Examples.Bool where
open import Codata.Musical.Notation
open import Data.Bool
open import Relation.Binary.PropositionalEqu... | 22.25 | 72 | 0.585518 |
185f44aa68e55f43c245bf6e23a39de449883e89 | 3,175 | agda | Agda | src/Compatibility.agda | nad/chi | 30966769b8cbd46aa490b6964a4aa0e67a7f9ab1 | [
"MIT"
] | 2 | 2020-05-21T22:58:07.000Z | 2020-10-20T16:27:00.000Z | src/Compatibility.agda | nad/chi | 30966769b8cbd46aa490b6964a4aa0e67a7f9ab1 | [
"MIT"
] | 1 | 2020-05-21T23:29:54.000Z | 2020-06-08T11:08:25.000Z | src/Compatibility.agda | nad/chi | 30966769b8cbd46aa490b6964a4aa0e67a7f9ab1 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------
-- Compatibility lemmas
------------------------------------------------------------------------
open import Atom
module Compatibility (atoms : χ-atoms) where
open import Bag-equivalence hiding (trans)
open import Equality.Propositional
open im... | 26.680672 | 72 | 0.444724 |
dc9f58ea72af0d970a51988f0af84af77501e11d | 10,751 | agda | Agda | lib/types/Pi.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | lib/types/Pi.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | lib/types/Pi.agda | sattlerc/HoTT-Agda | c8fb8da3354fc9e0c430ac14160161759b4c5b37 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Paths
module lib.types.Pi where
Π-level : ∀ {i j} {A : Type i} {B : A → Type j} {n : ℕ₋₂}
→ (((x : A) → has-level n (B x)) → has-level n (Π A B))
Π-level {n = ⟨-2⟩} p =
((λ x → fst (p x)) , (λ f → λ= (λ x → snd (p x) (f x))))
Π-level {n = S... | 36.320946 | 139 | 0.365733 |
c532222d2970f871d277845ba5ed5cf2a8f67890 | 5,222 | agda | Agda | SOAS/ContextMaps/CategoryOfRenamings.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 39 | 2021-11-09T20:39:55.000Z | 2022-03-19T17:33:12.000Z | SOAS/ContextMaps/CategoryOfRenamings.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 1 | 2021-11-21T12:19:32.000Z | 2021-11-21T12:19:32.000Z | SOAS/ContextMaps/CategoryOfRenamings.agda | JoeyEremondi/agda-soas | ff1a985a6be9b780d3ba2beff68e902394f0a9d8 | [
"MIT"
] | 4 | 2021-11-09T20:39:59.000Z | 2022-01-24T12:49:17.000Z |
-- The category of contexts and renamings
module SOAS.ContextMaps.CategoryOfRenamings {T : Set} where
open import SOAS.Common
open import SOAS.Context {T}
open import SOAS.Variable
open import SOAS.ContextMaps.Combinators (ℐ {T})
open import Categories.Functor.Bifunctor
open import Categories.Object.Initial
open imp... | 33.474359 | 85 | 0.540214 |
20182b23e108ba26098d869de55181c5232f1713 | 14,346 | agda | Agda | docs/fomega/mutual-term-level-recursion/FixN.agda | NinjaTrappeur/plutus | 23fd661817f2ab2f14c10e97b90166bf26d7fd4f | [
"MIT"
] | null | null | null | docs/fomega/mutual-term-level-recursion/FixN.agda | NinjaTrappeur/plutus | 23fd661817f2ab2f14c10e97b90166bf26d7fd4f | [
"MIT"
] | null | null | null | docs/fomega/mutual-term-level-recursion/FixN.agda | NinjaTrappeur/plutus | 23fd661817f2ab2f14c10e97b90166bf26d7fd4f | [
"MIT"
] | null | null | null | {-# OPTIONS --type-in-type #-}
{-# OPTIONS --no-termination-check #-}
-- In this post we'll consider how to define and generalize fixed-point combinators for families of
-- mutually recursive functions. Both in the lazy and strict settings.
module FixN where
open import Function
open import Relation.Binary.P... | 40.411268 | 117 | 0.55918 |
c595b2b8a2a89196e67ed2a761fba4904b804cb6 | 3,623 | agda | Agda | Categories/Bicategory/Helpers.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 98 | 2015-04-15T14:57:33.000Z | 2022-03-08T05:20:36.000Z | Categories/Bicategory/Helpers.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 19 | 2015-05-23T06:47:10.000Z | 2019-08-09T16:31:40.000Z | Categories/Bicategory/Helpers.agda | copumpkin/categories | 36f4181d751e2ecb54db219911d8c69afe8ba892 | [
"BSD-3-Clause"
] | 23 | 2015-02-05T13:03:09.000Z | 2021-11-11T13:50:56.000Z | {-# OPTIONS --universe-polymorphism #-}
module Categories.Bicategory.Helpers where
-- quite a bit of the code below is taken from Categories.2-Category
open import Data.Nat using (_+_)
open import Function using (flip)
open import Data.Product using (_,_; curry)
open import Categories.Category
open import Categories.... | 41.170455 | 120 | 0.557825 |
c51138e15fa1d5375f9b1ff941cf2033b8f10dec | 1,022 | agda | Agda | test/Fail/Issue970.agda | pthariensflame/agda | 222c4c64b2ccf8e0fc2498492731c15e8fef32d4 | [
"BSD-3-Clause"
] | 3 | 2015-03-28T14:51:03.000Z | 2015-12-07T20:14:00.000Z | test/Fail/Issue970.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue970.agda | Blaisorblade/Agda | 802a28aa8374f15fe9d011ceb80317fdb1ec0949 | [
"BSD-3-Clause"
] | 1 | 2019-03-05T20:02:38.000Z | 2019-03-05T20:02:38.000Z |
data Dec (A : Set) : Set where
yes : A → Dec A
no : Dec A
record ⊤ : Set where constructor tt
data _≡_ {A : Set}(x : A) : A → Set where
refl : x ≡ x
subst : ∀ {A}(P : A → Set){x y} → x ≡ y → P x → P y
subst P refl px = px
cong : ∀ {A B}(f : A → B){x y} → x ≡ y → f x ≡ f y
cong f refl = refl
postulate _≟_ :... | 21.744681 | 72 | 0.476517 |
2379e1251c1d1e1be575ac976b768729a68a606a | 1,951 | agda | Agda | Data/Nat/Order.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 6 | 2020-09-11T17:45:41.000Z | 2021-11-16T08:11:34.000Z | Data/Nat/Order.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | null | null | null | Data/Nat/Order.agda | oisdk/agda-playground | 97a3aab1282b2337c5f43e2cfa3fa969a94c11b7 | [
"MIT"
] | 1 | 2021-11-11T12:30:21.000Z | 2021-11-11T12:30:21.000Z | {-# OPTIONS --cubical --safe --postfix-projections #-}
module Data.Nat.Order where
open import Prelude
open import Data.Nat.Properties
open import Relation.Binary
<-trans : Transitive _<_
<-trans {zero} {suc y} {suc z} x<y y<z = tt
<-trans {suc x} {suc y} {suc z} x<y y<z = <-trans {x} {y} {z} x<y y<z
<-asym : Asymm... | 38.254902 | 132 | 0.651461 |
4a64e279e64489e5f4ab1c771659db3bde235eaf | 1,883 | agda | Agda | src/Control/Bug-Loop.agda | andreasabel/cubical | 914f655c7c0417754c2ffe494d3f6ea7a357b1c3 | [
"MIT"
] | null | null | null | src/Control/Bug-Loop.agda | andreasabel/cubical | 914f655c7c0417754c2ffe494d3f6ea7a357b1c3 | [
"MIT"
] | null | null | null | src/Control/Bug-Loop.agda | andreasabel/cubical | 914f655c7c0417754c2ffe494d3f6ea7a357b1c3 | [
"MIT"
] | null | null | null | {-# OPTIONS --copatterns #-}
{-# OPTIONS -v tc.constr.findInScope:15 #-}
-- One-place functors (decorations) on Set
module Control.Bug-Loop where
open import Function using (id; _∘_)
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Control.Functor
open IsFunctor {{...}}
record IsDeco... | 28.104478 | 93 | 0.589485 |
4a1badb9162f5d08724331487633a56c6540c3e7 | 158 | agda | Agda | test/Succeed/Issue204.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Succeed/Issue204.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Succeed/Issue204.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --universe-polymorphism #-}
module Issue204 where
open import Issue204.Dependency
postulate
ℓ : Level
r : R ℓ
d : D ℓ
open R r
open M d
| 11.285714 | 39 | 0.677215 |
0e954ccfad75428640cd94d3664ec3b4d36314c5 | 3,062 | agda | Agda | agda-stdlib-0.9/src/Data/Star/Decoration.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/Star/Decoration.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | agda-stdlib-0.9/src/Data/Star/Decoration.agda | qwe2/try-agda | 9d4c43b1609d3f085636376fdca73093481ab882 | [
"Apache-2.0"
] | null | null | null | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Decorated star-lists
------------------------------------------------------------------------
module Data.Star.Decoration where
open import Data.Star
open import Relation.Binary
open import Function
open import... | 33.282609 | 76 | 0.500327 |
189861b0384510ca3c80c7c7d6c82af5a8e9d0e8 | 3,080 | agda | Agda | src/Data/ByteString.agda | semenov-vladyslav/bytes-agda | 98a53f35fca27e3379cf851a9a6bdfe5bd8c9626 | [
"MIT"
] | null | null | null | src/Data/ByteString.agda | semenov-vladyslav/bytes-agda | 98a53f35fca27e3379cf851a9a6bdfe5bd8c9626 | [
"MIT"
] | null | null | null | src/Data/ByteString.agda | semenov-vladyslav/bytes-agda | 98a53f35fca27e3379cf851a9a6bdfe5bd8c9626 | [
"MIT"
] | null | null | null | {-# OPTIONS --without-K #-}
module Data.ByteString where
import Data.ByteString.Primitive as Prim
import Data.ByteString.Utf8 as Utf8
open import Data.Word8 using (Word8)
open import Data.Nat using (ℕ)
open import Data.Colist using (Colist)
open import Data.List using (List)
open import Data.String using (String)
op... | 29.333333 | 78 | 0.727922 |
d096e15e2f67090b5493f6f6ffec49dc2f8823d9 | 4,710 | agda | Agda | Streams/StreamEnc.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | Streams/StreamEnc.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | Streams/StreamEnc.agda | hbasold/Sandbox | 8fc7a6cd878f37f9595124ee8dea62258da28aa4 | [
"MIT"
] | null | null | null | module StreamEnc where
open import Data.Unit hiding (_≤_)
open import Data.Nat
open import Data.Product
open import Data.Sum
open import Relation.Binary.PropositionalEquality as P
open ≡-Reasoning
≤-step : ∀{k n} → k ≤ n → k ≤ suc n
≤-step z≤n = z≤n
≤-step (s≤s p) = s≤s (≤-step p)
pred-≤ : ∀{k n} → suc k ≤ n → k ≤ n... | 26.460674 | 73 | 0.395329 |
d0f3fcada2a1b2eb4693ccf9aeb5c9e83bdf41fe | 418 | agda | Agda | test/Fail/Issue1114.agda | mdimjasevic/agda | 8fb548356b275c7a1e79b768b64511ae937c738b | [
"BSD-3-Clause"
] | 1,989 | 2015-01-09T23:51:16.000Z | 2022-03-30T18:20:48.000Z | test/Fail/Issue1114.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 4,066 | 2015-01-10T11:24:51.000Z | 2022-03-31T21:14:49.000Z | test/Fail/Issue1114.agda | Seanpm2001-languages/agda | 9911f73061e21a87fad76c662463257afe02c861 | [
"BSD-2-Clause"
] | 371 | 2015-01-03T14:04:08.000Z | 2022-03-30T19:00:30.000Z | {-# OPTIONS --experimental-irrelevance #-}
-- Andreas, 2015-05-18 Irrelevant module parameters
-- should not be resurrected in module body.
postulate
A : Set
module M .(a : A) where
bad : (..(_ : A) -> Set) -> Set
bad f = f a
-- SHOULD FAIL: variable a is declared irrelevant,
-- so it cannot be used ... | 22 | 54 | 0.590909 |
c5801b130b04597d30f7f70bf1e73144cdd7e66b | 95 | agda | Agda | test/Fail/Issue1209-3.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue1209-3.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | test/Fail/Issue1209-3.agda | caryoscelus/agda | 98d6f195fe672e54ef0389b4deb62e04e3e98327 | [
"BSD-3-Clause"
] | null | null | null | -- This combination should not be allowed:
{-# OPTIONS --guardedness --sized-types --safe #-}
| 23.75 | 50 | 0.684211 |
20e8a7f9eba112b5bfc7bc9aeb7f1a919879c47e | 624 | agda | Agda | Base/Denotation/Notation.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 10 | 2015-03-04T06:09:20.000Z | 2019-07-19T07:06:59.000Z | Base/Denotation/Notation.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 6 | 2015-07-01T18:09:31.000Z | 2017-05-04T13:53:59.000Z | Base/Denotation/Notation.agda | inc-lc/ilc-agda | 39bb081c6f192bdb87bd58b4a89291686d2d7d03 | [
"MIT"
] | 1 | 2016-02-18T12:26:44.000Z | 2016-02-18T12:26:44.000Z | ------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Overloading ⟦_⟧ notation
--
-- This module defines a general mechanism for overloading the
-- ⟦_⟧ notation, using Agda’s instance arguments.
------------------------------------------------------------------------
... | 24 | 72 | 0.516026 |
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.