Search is not available for this dataset
text
string
meta
dict
module sn-calculus-compatconf.split where open import sn-calculus-compatconf.base open import sn-calculus open import utility renaming (_U̬_ to _∪_) open import context-properties using (unwrap-rho ; wrap-rho ; ->E-view ; plugc ; unplugc) open import Esterel.Lang open import Esterel.Lang.Properties open import Est...
{ "alphanum_fraction": 0.6205983797, "avg_line_length": 40.2161290323, "ext": "agda", "hexsha": "9dac96078cd71e1f5222160f040f694937f00fac", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-04-15T20:02:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-15T...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.PtdMapSequence open import homotopy.CofiberSequence open import groups.Exactness open import groups.ExactSequence open import groups.HomSequence open import cohomology.Theory module cohomology.Sigma {i} (CT : CohomologyTheory i) (n : ℤ) (...
{ "alphanum_fraction": 0.5897332255, "avg_line_length": 32.5526315789, "ext": "agda", "hexsha": "65dcd106269cd877ab6c65f96d32c54c279cec6b", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-12-26T21:31:57.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-26T...
module _ where open import Agda.Builtin.Unit open import Agda.Builtin.Reflection data D (B : Set) {{b : B}} : Set where c : D B postulate B : Set instance b : B T : D B → Set macro this : Term → Term → TC ⊤ this thing hole = unify hole thing test₁ : _ test₁ = c {_} {{b}} test₂ : D B test₂ = c {_} {{b...
{ "alphanum_fraction": 0.5905292479, "avg_line_length": 13.2962962963, "ext": "agda", "hexsha": "6e32356150a87128bed1aba5092d19086dad12cc", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
-- {-# OPTIONS -v tc:10 -v tc.inj:100 #-} -- 2013-02-18 reported by rotsor module Issue796o where data U : Set where a b : U data A : Set where data B : Set where abstract A' B' : Set A' = A B' = B -- fails if changed to A. Should always fail. [_] : U → Set [_] a = A' [_] b = B' f : ∀ u → [ u ] → U f u...
{ "alphanum_fraction": 0.5391061453, "avg_line_length": 12.7857142857, "ext": "agda", "hexsha": "ba53afa8676d47beaa6e42162e742c7b728e38a6", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K --safe #-} module Categories.Functor.Instance.01-Truncation where -- (0,1)-trucation of categories as a functor from Cats to Posets. -- -- This is the right-adjoint of the inclusion functor from Posets to -- Cats (see Categories.Functor.Adjoint.Instance.01-Truncation) open import Level using ...
{ "alphanum_fraction": 0.5905011219, "avg_line_length": 35.6533333333, "ext": "agda", "hexsha": "2e4ce3f711a092e43e091916c9e26d5df2610cea", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
module Oscar.Level where open import Agda.Primitive public using () renaming (Level to Ł̂; lzero to Ø̂; lsuc to ↑̂_; _⊔_ to _+̂_) open import Agda.Primitive public using () renaming (Level to Ł̂; lzero to lzero; lsuc to lsuc; _⊔_ to _⊔_) 𝑶 : ∀ a → Set (lsuc a) 𝑶 a = Set a open import Agda.Primitive publi...
{ "alphanum_fraction": 0.5734693878, "avg_line_length": 18.1481481481, "ext": "agda", "hexsha": "bae9b7d4f051c7dd962a1b5df1a281b9ff04b8ef", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module pushdown where open import Level renaming ( suc to succ ; zero to Zero ) open import Data.Nat open import Data.List open import Data.Maybe -- open import Data.Bool using ( Bool ; true ; false ) open import Relation.Binary.PropositionalEquality hiding ( [_] ) open import Relation.Nullary using (¬_; Dec; yes; no...
{ "alphanum_fraction": 0.5033967391, "avg_line_length": 32.9552238806, "ext": "agda", "hexsha": "2a0f807b61e516436d2c122d1645e2846643dc81", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- Compiled things must have a Haskell type given by a COMPILED_TYPE pragma module CompiledMustHaveHaskellType where postulate N : Set foo : N -- It is necessary add something like -- {-# COMPILED_TYPE N Int #-} {-# COMPILED foo bar #-}
{ "alphanum_fraction": 0.7183673469, "avg_line_length": 18.8461538462, "ext": "agda", "hexsha": "ecdd2baa76ca58c28f22809db4f6a7635d7433c5", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-12T...
module FFI.IO where open import Agda.Builtin.IO using (IO) open import Agda.Builtin.Unit using (⊤) open import Agda.Builtin.String using (String) open import FFI.Data.HaskellString using (HaskellString; pack ; unpack) infixl 1 _>>=_ infixl 1 _>>_ postulate return : ∀ {a} {A : Set a} → A → IO A _>>=_ : ∀ {a b} ...
{ "alphanum_fraction": 0.6010526316, "avg_line_length": 27.1428571429, "ext": "agda", "hexsha": "825a788f861707fd246883475caf76cd331b75a6", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------ -- The Agda standard library -- -- Properties satisfied by posets ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Relation.Binary module Relation.Binary.Properties.Poset ...
{ "alphanum_fraction": 0.6168549088, "avg_line_length": 29.5128205128, "ext": "agda", "hexsha": "37d43470a0ea791917cfb8da8d4d86a3745d12f0", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------------ -- The division result is correct ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-...
{ "alphanum_fraction": 0.4680851064, "avg_line_length": 35.1149425287, "ext": "agda", "hexsha": "e3a2f9f81adbb40af148d9de12fa5f52fbd9d718", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...
{-# OPTIONS --safe --warning=error --without-K #-} open import Setoids.Setoids open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Groups.Definition module Groups.Abelian.Definition where record AbelianGroup {a} {b} {A : Set a} {S : Setoid {a} {b} A} {_·_ : A → A → A} (G : Group S _·_) : Set (lsuc...
{ "alphanum_fraction": 0.6305418719, "avg_line_length": 31.2307692308, "ext": "agda", "hexsha": "fd8657e7bdf36f4b0607b6baacbaad737b5300f7", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-29T...
{-# OPTIONS --allow-unsolved-metas #-} -- The option is supplied to force a real error to pass the regression test. module StronglyRigidOccurrence where data Nat : Set where zero : Nat suc : Nat -> Nat data _≡_ {A : Set}(a : A) : A -> Set where refl : a ≡ a test : let X : Nat; X = _ in X ≡ suc X test = refl -...
{ "alphanum_fraction": 0.6538461538, "avg_line_length": 24.2666666667, "ext": "agda", "hexsha": "5846283d41d3cf63c68d7d0a34476ac0f28ea132", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------ -- The Agda standard library -- -- Universal lifting of predicates over Vectors ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Vec.Functional.Relation.Unary.All where open...
{ "alphanum_fraction": 0.4652631579, "avg_line_length": 27.9411764706, "ext": "agda", "hexsha": "7c6e418a6dd9374fffb258ceeb590f1b94dd0446", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
{-# OPTIONS --prop --rewriting #-} open import Calf.CostMonoid open import Data.Nat using (ℕ) open import Examples.Sorting.Comparable module Examples.Sorting.Core (costMonoid : CostMonoid) (fromℕ : ℕ → CostMonoid.ℂ costMonoid) (M : Comparable costMonoid fromℕ) where open Comparable M open import Calf costMono...
{ "alphanum_fraction": 0.5797619048, "avg_line_length": 34.7107438017, "ext": "agda", "hexsha": "b073858fa7aefb0a897527af816969e93edd42ef", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-01-29T08:12:01.000Z", "max_forks_repo_forks_event_min_datetime": "2021-10-06T...
{-# OPTIONS --safe #-} module Definition.Typed.Consequences.Canonicity where open import Definition.Untyped open import Definition.Typed open import Definition.Typed.Weakening open import Definition.Typed.Properties open import Definition.Typed.EqRelInstance open import Definition.LogicalRelation open import Definit...
{ "alphanum_fraction": 0.6488783141, "avg_line_length": 49.4453781513, "ext": "agda", "hexsha": "2c50f32f42156781b4be9a3c743621713b4310b4", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-02-15T19:42:19.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-26T...
{-# OPTIONS --cubical --safe #-} module Data.Binary.PerformanceTests.Addition where open import Prelude open import Data.Binary.Definition open import Data.Binary.Addition using (_+_) sum-r : 𝔹 → ℕ → 𝔹 sum-r′ : 𝔹 → ℕ → 𝔹 sum-r′ x zero = x sum-r′ x (suc n) = x + sum-r (2ᵇ x) n sum-r x zero = x sum-r x (su...
{ "alphanum_fraction": 0.6018641811, "avg_line_length": 19.2564102564, "ext": "agda", "hexsha": "57fcbe3f103e275f9ee8be49c174fd3aba8becb6", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-11T...
module Issue2469 where open import Agda.Builtin.Nat open import Agda.Builtin.Unit open import Agda.Builtin.IO renaming (IO to BIO) open import Agda.Builtin.String open import Agda.Builtin.IO open import Common.IO open import Common.Prelude open import Common.Sum open import Common.Product data F : Nat → Set where ...
{ "alphanum_fraction": 0.6279949559, "avg_line_length": 24.78125, "ext": "agda", "hexsha": "1bd3eeda7decb54c99cbbd619e4ec44aa961abc4", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:...
{-# OPTIONS --type-in-type #-} -- enables cheating -- 2:10 : why -- https://www.youtube.com/watch?v=2LxtHeZlaVw module HC-Lec3 where open import HC-Lec1 open import HC-Lec2 postulate -- equal inputs go to equal outputs -- (whereas structural equality would require equal implement...
{ "alphanum_fraction": 0.3687315634, "avg_line_length": 34.8765432099, "ext": "agda", "hexsha": "fa099dcf6133e2ac5aeab17ce35a6dfe33bee938", "lang": "Agda", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-09-21T15:58:10.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-13T...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Prelude open import LibraBFT.Lemmas open import Lib...
{ "alphanum_fraction": 0.7179002128, "avg_line_length": 46.9888888889, "ext": "agda", "hexsha": "0c46acddf18b2f39ff2d1518aaabe6aacc133613", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
data ⊤ : Set where tt : ⊤ f : ⊤ → ⊤ f tt = tt foo : ⊤ → ⊤ foo t with f t ... | x with f t ... | y with f t ... | z = {!z!}
{ "alphanum_fraction": 0.3858267717, "avg_line_length": 10.5833333333, "ext": "agda", "hexsha": "bc3f7dee65cd7f9267b7239244ce712f753d6135", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
module InequalityReasoningExercise where open import EqualityAux infix 4 _≤_ data _≤_ : ℕ → ℕ → Set where z≤n : ∀ {n : ℕ} -------- → zero ≤ n s≤s : ∀ {m n : ℕ} → m ≤ n ------------- → suc m ≤ suc n ≤-refl : ∀ {n : ℕ} ----- → n ≤ n ≤-refl {zero} = z≤n ≤-refl {suc n} = s≤s ≤-refl ...
{ "alphanum_fraction": 0.320066335, "avg_line_length": 14.2440944882, "ext": "agda", "hexsha": "f11e62291cbeb2f22c0272e648fa915f263de5c6", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
------------------------------------------------------------------------------ -- Terminating mirror function ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {...
{ "alphanum_fraction": 0.4576271186, "avg_line_length": 37.3666666667, "ext": "agda", "hexsha": "65073adbf7abbff98760e25ac743949cdde05ef4", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...
{-# OPTIONS --without-K --safe #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Application {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.Untyped open import Definition.Untyped.Properties open import Definition.Typed open import Definition.Typed.Weakening ...
{ "alphanum_fraction": 0.4220817407, "avg_line_length": 47.9014084507, "ext": "agda", "hexsha": "e836e4e8dda3c8f4bd704993a8c43bf2d779fa42", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Base.Types open import LibraBFT.Concrete.System.Paramete...
{ "alphanum_fraction": 0.6720599842, "avg_line_length": 44.8495575221, "ext": "agda", "hexsha": "7348f674adf728b4ee2e736ff8d039f43a4b7904", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
open import Data.Product using ( _×_ ; _,_ ; proj₁ ; proj₂ ) open import FRP.LTL.RSet.Core using ( RSet ; ⟦_⟧ ) open import FRP.LTL.RSet.Globally using ( [_] ) open import FRP.LTL.RSet.Causal using ( _⊵_ ; arr ) open import FRP.LTL.RSet.Stateless using ( _⇒_ ) module FRP.LTL.RSet.Product where infixr 2 _∧_ -- Conjun...
{ "alphanum_fraction": 0.5282199711, "avg_line_length": 27.64, "ext": "agda", "hexsha": "d896e0ab82f7b6fd5b9ed12c63a27e85b090dbe5", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-01T07:33:00...
{-# OPTIONS --without-K #-} open import HoTT.Base open import HoTT.Identity.Sigma module HoTT.Pi.Transport where transport-→ : ∀ {i j k} {X : 𝒰 i} (A : X → 𝒰 j) (B : X → 𝒰 k) {x₁ x₂ : X} (p : x₁ == x₂) (f : A x₁ → B x₁) → transport (λ x → A x → B x) p f == transport B p ∘ f ∘ transport ...
{ "alphanum_fraction": 0.4593241552, "avg_line_length": 36.3181818182, "ext": "agda", "hexsha": "2a3d921552444f63759389c1c19e1595ad21ec22", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --no-unicode #-} -- turn off automatic unicode insertion module 02-agda-start where ------------------------------------------------------------------------------------------------------- -- ADDITIONAL RESOURCES | ------------------------- -- допълнителни ресурси: -- https://github.com/pigworker/CS410-17 ...
{ "alphanum_fraction": 0.6202939514, "avg_line_length": 36.4742268041, "ext": "agda", "hexsha": "e13f991bfb21ca15c77babcf013b0b828015f168", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K --rewriting #-} open import Prelude module Syntax where data Con : (n : ℕ) → Set Ctx : Set Ctx = Σ ℕ Con data Ty : Ctx → Set data Tm : {Γ : Ctx} (A : Ty Γ) → Set data Sub : Ctx → Ctx → Set 𝔻 : (n : ℕ) → Con n dangling : {n : ℕ} (Γ : Con n) → Sub ...
{ "alphanum_fraction": 0.403567447, "avg_line_length": 25.6285714286, "ext": "agda", "hexsha": "fa494f1e6994bed9fc0eae055c58b89458475623", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --cubical --safe #-} module Algebra.Construct.Dyck where open import Prelude open import Algebra open import Data.Nat using (_+_) import Data.Nat.Properties as ℕ open import Agda.Builtin.Nat using (_-_) record Bal : Type₀ where constructor _⟩⟨_ field left : ℕ right : ℕ open Bal public infix...
{ "alphanum_fraction": 0.5257266956, "avg_line_length": 39.3815789474, "ext": "agda", "hexsha": "d8916e2d48f93890913d7d9ce4c7674bb1c6bbf6", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-05T...
module Structure.Operator.Monoid.Invertible where open import Functional import Lvl open import Logic.Propositional open import Logic.Predicate open import Structure.Setoid open import Type private variable ℓ ℓₗ ℓₑ : Lvl.Level private variable T : Type{ℓ} private variable _⨞_ : T → T → Type{ℓₗ} module _ ⦃ equiv...
{ "alphanum_fraction": 0.6102106969, "avg_line_length": 36.2941176471, "ext": "agda", "hexsha": "69a829a4c90a00441d13803cdf9df9d86916275d", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module map-compose where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong) open Eq.≡-Reasoning open import Function using (_∘_) open import lists using (List; []; _∷_; map) postulate -- 外延性の公理 extensionality : ∀ {A B : Set} {f g : A → B} → (∀ (x : A) → f x ≡ g x) -------...
{ "alphanum_fraction": 0.4913093859, "avg_line_length": 24.6571428571, "ext": "agda", "hexsha": "0b9e1c7cd0cfa68166517c4b05dbad6e50bd2a9f", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --guardedness #-} module induction-ex where open import Relation.Binary.PropositionalEquality open import Size open import Data.Bool data List (A : Set ) : Set where [] : List A _∷_ : A → List A → List A data Nat : Set where zero : Nat suc : Nat → Nat add : Nat → Nat → Nat add zero x ...
{ "alphanum_fraction": 0.4756871036, "avg_line_length": 23.8487394958, "ext": "agda", "hexsha": "642cb2e4fd7d09c03cde983f883b92b86b6cc24d", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- An ATP hint must be used with functions. -- This error is detected by Syntax.Translation.ConcreteToAbstract. module ATPBadHint1 where data Bool : Set where false true : Bool {-# ATP hint false #-}
{ "alphanum_fraction": 0.7330097087, "avg_line_length": 18.7272727273, "ext": "agda", "hexsha": "4a981f17bae682b8c200a5dccd1671de008fe0f9", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T...
{- Given a type A with a UARel and a family B over A, a SubstRel on B is a family of functions a ≅ a' → B a ≃ B a' path-equal to transport in that family. Any SubstRel gives rise to a DUARel in which b and b' are related over p when the transport of b along p is equial to b'. -} {-# OPTIONS --safe #-} module ...
{ "alphanum_fraction": 0.5815353738, "avg_line_length": 32.6721311475, "ext": "agda", "hexsha": "df13e37661abe85b7f6fd33121a789f47279c4fa", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- Andreas, 2018-10-15, issue #3262 reported by Guillaume Brunerie -- -- Missing with clauses should be reported close to problem location -- not just at the type signature of the function which has this problem. data T : Set where a b c : T f : T → Set f a = ? f b = ? f c with c | c ... | _ = ? -- Should trigger ...
{ "alphanum_fraction": 0.6692708333, "avg_line_length": 22.5882352941, "ext": "agda", "hexsha": "9c7e91aaf1e70e032c82e4fda53e2f1e1a1021cd", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --allow-unsolved-metas #-} postulate Nat : Set Fin : Nat → Set Foo : (n : Nat) → Fin n → Set Bar : ∀ {n m} → Foo n m → Set variable n : Nat m : Fin _ k : Foo _ m l : Foo n m open import Agda.Builtin.Equality postulate goal-type-error : Bar k foo : Bar _ foo = goal-type-error _ _
{ "alphanum_fraction": 0.5873015873, "avg_line_length": 14.3181818182, "ext": "agda", "hexsha": "651dec7e6c5f0bff8fac0b2aa7a73bedb86c63b2", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- Andreas, 2017-07-11, issue #2639 reported by nad -- -- Unsolvable size constraints were added to the constraint set -- each time the size solver ran. This lead to exponentially -- many size constraints. -- {-# OPTIONS -v tc.size.solve:40 #-} module Issue2639 (A : Set) where open import Agda.Builtin.Nat open impo...
{ "alphanum_fraction": 0.6162018592, "avg_line_length": 22.1470588235, "ext": "agda", "hexsha": "7ae6d2754ea0f7a7c4e5ac4727866142a6307b45", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T...
-- Andreas, 2012-04-18 module Issue611 where data Nat : Set where zero : Nat suc : Nat -> Nat data Bool : Set where true false : Bool T : Bool -> Set T true = {x : Bool} -> Nat T false = {x : Bool} -> Bool data D (b : Bool) : Set where c : T b -> D b d : D false d = c {_} true
{ "alphanum_fraction": 0.5699658703, "avg_line_length": 14.65, "ext": "agda", "hexsha": "10e83154aa11cc8089b50c3dbcd06c356926c33b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:...
module Data.Finitary.Permutation where open import Data.Nat open import Data.Fin open import Relation.Binary.PropositionalEquality as P using (_≡_; _≢_) open import Function.Inverse as Inv using (Inverse) import Function.Equality as F open import Function.LeftInverse using (_LeftInverseOf_) open import Data.Finitary o...
{ "alphanum_fraction": 0.5456, "avg_line_length": 41.6666666667, "ext": "agda", "hexsha": "36b8802cc2e0436d5cb67c5b0083ed861b9286e6", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
{- This second-order signature was created from the following second-order syntax description: syntax STLC | Λ type N : 0-ary _↣_ : 2-ary | r30 term app : α ↣ β α -> β | _$_ l20 lam : α.β -> α ↣ β | ƛ_ r10 theory (ƛβ) b : α.β a : α |> app (lam(x.b[x]), a) = b[a] (ƛη) f : α ↣ β |> lam (x. ap...
{ "alphanum_fraction": 0.5786864932, "avg_line_length": 17.9333333333, "ext": "agda", "hexsha": "c23fac95f99721d2968ebd2a2a63d35701e5d422", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2022-01-24T12:49:17.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-09T...
f : {A B : Set} → (@0 A → B) → A → B f g x = g x
{ "alphanum_fraction": 0.3265306122, "avg_line_length": 16.3333333333, "ext": "agda", "hexsha": "33aa2e3adce8fdeb4aff8c74432a717bf28b3d4e", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
-- Andreas, 2017-04-13, issue #2494, reported by identicalsnowflake -- Consecutive hidden record fields confused the implicit argument insertion -- due to lack of names in NamedArg. -- {-# OPTIONS -v tc.lhs:30 #-} -- {-# OPTIONS -v tc.term.args:100 #-} postulate Red Blue : Set record Colors : Set where field ...
{ "alphanum_fraction": 0.6551724138, "avg_line_length": 22.5555555556, "ext": "agda", "hexsha": "b00d5c38b78682380839816e3e6bacd19b8b4e4b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
------------------------------------------------------------------------ -- The Agda standard library -- -- Metavariables used in the reflection machinery ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Reflection.Meta where import Data.Nat.Propertie...
{ "alphanum_fraction": 0.6362672322, "avg_line_length": 26.9428571429, "ext": "agda", "hexsha": "46fe960e290f9c8afaeaa35f7c4c22dd2b0b0d4b", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
module Thesis.SIRelBigStep.SemEquiv where open import Data.Nat open import Data.Product open import Relation.Binary.PropositionalEquality open import Thesis.SIRelBigStep.Syntax public open import Thesis.SIRelBigStep.OpSem open import Thesis.SIRelBigStep.DenSem ⟦_⟧Val : ∀ {τ} → Val τ → ⟦ τ ⟧Type ⟦_⟧Env : ∀ {Γ} → ⟦ Γ ...
{ "alphanum_fraction": 0.5919603524, "avg_line_length": 34.2641509434, "ext": "agda", "hexsha": "064149d637e90631ddec02d70989c01173305b56", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-02-18T12:26:44.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-18T...
------------------------------------------------------------------------ -- Applicative functors ------------------------------------------------------------------------ -- Note that currently the applicative functor laws are not included -- here. module Category.Applicative where open import Data.Unit open import C...
{ "alphanum_fraction": 0.5514705882, "avg_line_length": 30.2222222222, "ext": "agda", "hexsha": "2cb19715484833b3c53bbeedcb7cd5ed04c0fd19", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:54:10.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T...
{-# OPTIONS --safe #-} module Cubical.Algebra.CommAlgebra.FreeCommAlgebra where open import Cubical.Algebra.CommAlgebra.FreeCommAlgebra.Base public open import Cubical.Algebra.CommAlgebra.FreeCommAlgebra.Properties public
{ "alphanum_fraction": 0.8392857143, "avg_line_length": 32, "ext": "agda", "hexsha": "ac7f45ffea21d057651bc613d40a1025911ab7a5", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "58c...
{-# OPTIONS --cubical --safe #-} module Cubical.Data.Prod.Properties where open import Cubical.Core.Everything open import Cubical.Data.Prod.Base open import Cubical.Data.Sigma open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Fo...
{ "alphanum_fraction": 0.5955603682, "avg_line_length": 29.7903225806, "ext": "agda", "hexsha": "e49d01ec6b269e7abc560680ab6b00ddb30435fb", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------ -- The Agda standard library -- -- Example use case for a trie: a wee generic lexer ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --sized-types #-} module README.Data.Trie.NonDependent wh...
{ "alphanum_fraction": 0.5812404607, "avg_line_length": 32.6108597285, "ext": "agda", "hexsha": "66f1a24e9db3e4c364b401f77687a337e789200d", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
{-# OPTIONS --without-K --exact-split --safe #-} open import Fragment.Equational.Theory module Fragment.Equational.FreeExtension.Properties (Θ : Theory) where open import Fragment.Algebra.Algebra (Σ Θ) using (Algebra) open import Fragment.Algebra.Homomorphism (Σ Θ) open import Fragment.Algebra.Free (Σ Θ) open import...
{ "alphanum_fraction": 0.5220379147, "avg_line_length": 30.3597122302, "ext": "agda", "hexsha": "191befb735309b0da163eeddb581260db0f6a5bc", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-06-16T08:04:31.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-15T...
{-# OPTIONS --rewriting #-} postulate _↦_ : {A : Set} → A → A → Set idr : {A : Set} {a : A} → a ↦ a {-# BUILTIN REWRITE _↦_ #-} record _×_ (A B : Set) : Set where constructor _,_ field fst : A snd : B postulate A B C : Set g : A → B → C f : A × B → C f (x , y) = g x y postulate D : Set P ...
{ "alphanum_fraction": 0.4565701559, "avg_line_length": 14.03125, "ext": "agda", "hexsha": "55b15b775473d0b0595359be33047a8417887550", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T20:02...
{-# OPTIONS --universe-polymorphism #-} open import Categories.Category module Categories.Object.Coproduct {o ℓ e} (C : Category o ℓ e) where open Category C open import Level open import Categories.Opposite import Categories.Object.Product as ProductObject module Op× = ProductObject op -- Borrowed from Dan Doel'...
{ "alphanum_fraction": 0.5116198404, "avg_line_length": 32.7613636364, "ext": "agda", "hexsha": "a9789ee687fc392c2052d1346d9dffa21400250e", "lang": "Agda", "max_forks_count": 23, "max_forks_repo_forks_event_max_datetime": "2021-11-11T13:50:56.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-05...
open import Agda.Builtin.Equality open import Agda.Builtin.Nat record NoEta : Set where no-eta-equality constructor _,_ field fst : Nat snd : Nat open NoEta data ⊥ : Set where soft-fail : (a : NoEta) (x : Nat) → (fst a , x) ≡ a → ⊥ soft-fail a x () -- Should be yellow (not sure if empty) loop : ⊥ l...
{ "alphanum_fraction": 0.6296296296, "avg_line_length": 17.55, "ext": "agda", "hexsha": "415d45d36f74e528ddeb205985bc1ca2626cd259", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:...
module NotStrictlyPositive where data False : Set where data Not (A : Set) : Set where not : (A -> False) -> Not A data Neg (A : Set) : Set where neg : Not A -> Neg A data Bad : Set where bad : Neg Bad -> Bad
{ "alphanum_fraction": 0.6153846154, "avg_line_length": 14.7333333333, "ext": "agda", "hexsha": "414684629c5acb4cf8d942d5eba8253fe8da358c", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
------------------------------------------------------------------------ -- Some properties that hold for Erased do not hold for every -- topological modality ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Erased.Counterexamples...
{ "alphanum_fraction": 0.5046382189, "avg_line_length": 33, "ext": "agda", "hexsha": "9d8afd8bf4825284dd54108b0532232e7f9d9fc4", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "402...
module Base.Prelude.Bool where open import Data.Bool using (Bool; true; false; if_then_else_) renaming (_∧_ to _∧ᵖ_; _∨_ to _∨ᵖ_; not to notᵖ) open import Base.Free using (Free; pure; _>>=_) 𝔹 : (Shape : Set) → (Shape → Set) → Set 𝔹 _ _ = Bool True : ∀ {S P} → Free S P (𝔹 S P) True = pure true False : ∀ {S P} → ...
{ "alphanum_fraction": 0.5552282769, "avg_line_length": 29.5217391304, "ext": "agda", "hexsha": "919909b9210aa214a2a14eb23fc703ca87ec6f47", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-05-14T07:48:41.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-08T...
data D (A : Set) : Set where c₁ : D A _ : (@0 A : Set) → D A _ = λ A → c₁ {A = A} _ : (@0 A : Set) → D A _ = λ A → D.c₁ {A = A} record R (A : Set) : Set where constructor c₂ field f : A → A g : A → A g x = f (f x) open R public _ : (@0 A : Set) → (A → A) → R A _ = λ A → c₂ {A = A} _ : (@0 A : Set) ...
{ "alphanum_fraction": 0.3717948718, "avg_line_length": 15.9183673469, "ext": "agda", "hexsha": "e64b9837aca90d454b7fb7e0e2c60bb4e56eefd1", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K #-} module function.isomorphism.lift where open import level open import equality open import function.isomorphism.core -- lifting is an isomorphism lift-iso : ∀ {i} j (X : Set i) → X ≅ ↑ j X lift-iso j X = iso lift lower (λ _ → refl) (λ _ → refl)
{ "alphanum_fraction": 0.6824817518, "avg_line_length": 24.9090909091, "ext": "agda", "hexsha": "6d43eab330d76b4058c0375cc009292014b757f0", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-05-04T19:31:00.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-02T...
{- Inductive eliminators to establish properties of all finite sets directly -} {-# OPTIONS --safe #-} module Cubical.Data.FinSet.Induction where open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv renaming (_∙ₑ_ to _⋆_) open import Cubical.Foundatio...
{ "alphanum_fraction": 0.5779014308, "avg_line_length": 28.3759398496, "ext": "agda", "hexsha": "e240fad93c95fd7a5d9b5c4780b2ce63b21b37b0", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Data.List.Combinatorics where import Lvl open import Data open import Data.List open import Data.List.Functions open Data.List.Functions.LongOper open import Data.Tuple as Tuple using (_⨯_ ; _,_) open import Data.Tuple.Raiseᵣ as Tuple₊ using (_^_) import Data.Tuple.Raiseᵣ.Functions as Tuple₊ op...
{ "alphanum_fraction": 0.526336074, "avg_line_length": 52.5945945946, "ext": "agda", "hexsha": "9477d58d0657829d43fb0218570075f54eb2b980", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --rewriting #-} module _ where open import Agda.Builtin.Bool open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite data D (A : Set) : Set₁ where c₁ : D A c₂ : Set → D A f : {A : Set} → D A → Set f c₁ = Bool f (c₂ X) = X postulate rew : (A : Set) → c₁ {A} ≡ c₂ A -- This rewri...
{ "alphanum_fraction": 0.6757624398, "avg_line_length": 23.0740740741, "ext": "agda", "hexsha": "e884dc3fdee84a5fe7ac2ffa204bc93ce689025b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
module Tactic.Reflection.Quote where open import Prelude open import Builtin.Reflection open import Builtin.Float open import Tactic.Reflection.Quote.Class public open import Tactic.Deriving.Quotable open import Container.Traversable --- Instances --- private QuoteLit : {A : Set} → (A → Literal) → Quotable A ` ...
{ "alphanum_fraction": 0.6823156682, "avg_line_length": 38.5777777778, "ext": "agda", "hexsha": "45f08e4f99a4d2a3214a0b5cc2b560bbc98ef869", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- This combination should not be allowed: {-# OPTIONS --safe --guardedness --sized-types #-} -- note that `--safe` turns off `--guardedness` and `--sized-types`, -- hence `--guardedness --sized-types --safe` works, but does not -- mean the above combination
{ "alphanum_fraction": 0.6781609195, "avg_line_length": 32.625, "ext": "agda", "hexsha": "e5aaa41652df202f5f427aa977e180a51af81435", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04...
open import Data.Product using ( ∃ ; _×_ ) open import FRP.LTL.RSet.Core using ( RSet ; _[_,_⟩ ) open import FRP.LTL.Time using ( _≤_ ) module FRP.LTL.RSet.Until where infixr 2 _U_ _U_ : RSet → RSet → RSet (A U B) t = ∃ λ u → (t ≤ u) × (A [ t , u ⟩) × B u
{ "alphanum_fraction": 0.5961538462, "avg_line_length": 21.6666666667, "ext": "agda", "hexsha": "2e07aa388942b496fb4f19d56850f4e3228f1c7c", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-01T...
open import Data.Product using ( proj₁ ; proj₂ ) open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ ) open import Relation.Binary.PropositionalEquality using ( refl ) open import Web.Semantic.DL.ABox.Interp using ( ⌊_⌋ ; ind ; _*_ ) open import Web.Semantic.DL.ABox.Interp.Morphism using ( _,_ ) open import Web.Semantic.DL....
{ "alphanum_fraction": 0.5134615385, "avg_line_length": 46.301369863, "ext": "agda", "hexsha": "23eab2a3262d9a65b242eabef28b2b667eeea423", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:40:03.000Z", "max_forks_repo_forks_event_min_datetime": "2017-12-03T1...
{-# OPTIONS --allow-unsolved-metas #-} module ExtractDependent where open import Agda.Builtin.Nat open import Agda.Builtin.Bool open import Agda.Builtin.String apply : (A : Set) -> (B : A -> Set) -> ((x : A) -> B x) -> (a : A) -> B a apply A B f a = f a applySameName : (A : Set) -> (A : Set) -> (B : A ->...
{ "alphanum_fraction": 0.4823066841, "avg_line_length": 31.7916666667, "ext": "agda", "hexsha": "0dbc17d8be3077d445ac130cd7e0b82ea1b23fb5", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-01-31T08:40:41.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-31T...
module FizzBuzz where {-# IMPORT Data.Word #-} {-# IMPORT FizzBuzz #-} open import Data.Nat open import IO.Primitive open import Foreign.Haskell postulate ℕ′ : Set zero′ : ℕ′ suc′ : ℕ′ → ℕ′ {-# COMPILED_TYPE ℕ′ Data.Word.Word32 #-} {-# COMPILED zero′ 0 #-} {-# COMPILED suc′ succ #-} fromℕ : ℕ → ℕ′ fromℕ zer...
{ "alphanum_fraction": 0.646090535, "avg_line_length": 16.7586206897, "ext": "agda", "hexsha": "b214c48136d8e17c5d31b07d42fd7cfde5054bd1", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
-- -- Inspired by a blog post written by Arnaud Bailly -- https://abailly.github.io/posts/dependently-typed-date.html -- {-# OPTIONS --without-K #-} module Date where open import Data.Nat using (ℕ; zero; suc; _≡ᵇ_; _<_; _≤_; z≤n; s≤s; _≤?_; _<?_) open import Data.Nat.DivMod using (_%_) open import Data.Bool using (B...
{ "alphanum_fraction": 0.5305909376, "avg_line_length": 31.0974025974, "ext": "agda", "hexsha": "82f0a57744c402218811e80dfd7ca389c2ab678a", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-} module Cubical.Data.InfNat.Base where open import Cubical.Data.Nat as ℕ using (ℕ) open import Cubical.Core.Primitives data ℕ+∞ : Type₀ where ∞ : ℕ+∞ fin : ℕ → ℕ+∞ suc : ℕ+∞ → ℕ+∞ suc ∞ = ∞ suc (fin n) = fin (ℕ.suc n) zero : ℕ+∞ zero = fin ℕ.ze...
{ "alphanum_fraction": 0.4501246883, "avg_line_length": 21.6756756757, "ext": "agda", "hexsha": "e152f6f8a2c6c2aabe1a040afe6302e7a820a943", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module MissingTypeSignatureInMutual where data Nat : Set where zero : Nat suc : Nat -> Nat mutual pred zero = zero pred (suc n) = n
{ "alphanum_fraction": 0.6554054054, "avg_line_length": 12.3333333333, "ext": "agda", "hexsha": "0207caca9915b226a5bb425dad0be424c2d4c55a", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
------------------------------------------------------------------------ -- "Basic" infinite grammars ------------------------------------------------------------------------ -- For a larger and possibly more convenient, but equivalent, grammar -- interface, see Grammar.Infinite. {-# OPTIONS --guardedness #-} module...
{ "alphanum_fraction": 0.4616383447, "avg_line_length": 35.9290060852, "ext": "agda", "hexsha": "6c2c278965736a29a6569880c6314a4af1d77829", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
open import Mockingbird.Forest using (Forest) -- The Forest Without a Name module Mockingbird.Problems.Chapter16 {b ℓ} (forest : Forest {b} {ℓ}) where open import Data.Product using (_×_; _,_; ∃-syntax) open import Data.Sum using (_⊎_; inj₁; inj₂) open import Function using (_$_; _⇔_; Equivalence) open import Relatio...
{ "alphanum_fraction": 0.5869676757, "avg_line_length": 36.0925925926, "ext": "agda", "hexsha": "dcd747dceedd66ca4526fc84dc327dc7d89bcc3d", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Effect where open import Data.List open import Data.List.All open import Data.List.Any open import Level open import Relation.Binary.PropositionalEquality hiding ([_]) open import Function open import Category.Monad open import Data.Product open import EffectUtil open import Membership-equality hiding (_⊆_; set...
{ "alphanum_fraction": 0.5240697919, "avg_line_length": 39.3140495868, "ext": "agda", "hexsha": "506683638b448eaa7db2639625f20acdf257c007", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- Andreas, 2021-05-07, issue #5358 reported by ecavallo -- Do not expand clauses with tactics attached to the target type! open import Agda.Builtin.Unit open import Agda.Builtin.Bool open import Agda.Builtin.Reflection renaming (bindTC to _>>=_) defaultTo : {A : Set} (x : A) → Term → TC ⊤ defaultTo x goal = do `x ...
{ "alphanum_fraction": 0.6850533808, "avg_line_length": 22.9387755102, "ext": "agda", "hexsha": "87e12e49101e8a965038b59afb623ba9372375c1", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
-- Errors should precede warnings in info buffer -- Reported by nad 2018-11-27 module Issue3416 where A : Set A = A B : Set B = Set
{ "alphanum_fraction": 0.7014925373, "avg_line_length": 13.4, "ext": "agda", "hexsha": "45386b4f27083b3c2a68979d3496b48711590969", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0...
module ModuleMacro where record ⊤ : Set where module M where module N where postulate A : Set B : Set module O = M module P = M module Q = P module R (x : ⊤) = N using (A) module S = N renaming ( A to A' ; B to B' ) y : ⊤ y = record {O} C : ⊤ ...
{ "alphanum_fraction": 0.4540389972, "avg_line_length": 6.1896551724, "ext": "agda", "hexsha": "3b827bb55c0f1dff9c234869bfc33061f70373bb", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-01T16:38:14.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-01T1...
------------------------------------------------------------------------ -- The Agda standard library -- -- Properties of operations on the Colist type ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --sized-types #-} module Codata.Colist.Properties where open ...
{ "alphanum_fraction": 0.5186267348, "avg_line_length": 40.9880239521, "ext": "agda", "hexsha": "f2c67525ee6ecda567b9b4fe7b4ce0415ce68d23", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
module Cats.Category.Constructions.Epi where open import Level open import Cats.Category.Base module Build {lo la l≈} (Cat : Category lo la l≈) where private open module Cat = Category Cat open Cat.≈-Reasoning IsEpi : ∀ {A B} → A ⇒ B → Set (lo ⊔ la ⊔ l≈) IsEpi {A} {B} f = ∀ {C} {g h : B ⇒ C} → g ∘ f ≈ h ∘...
{ "alphanum_fraction": 0.6042296073, "avg_line_length": 22.0666666667, "ext": "agda", "hexsha": "1ec8f02d230f320306ad828c4785110dfc2c0f9b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------ -- A library for working with dependently typed syntax -- Nils Anders Danielsson ------------------------------------------------------------------------ -- This library is leaning heavily on two of Conor McBride's papers: -- -- * Type-Preserving...
{ "alphanum_fraction": 0.7296056186, "avg_line_length": 29.380952381, "ext": "agda", "hexsha": "1ab7ef005ad76d30967e51bf2afc5d0b7ba32ca6", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
------------------------------------------------------------------------ -- The Agda standard library -- -- Properties that are related to pointwise lifting of binary -- relations to sigma types and make use of heterogeneous equality ------------------------------------------------------------------------ {-# OPTIONS ...
{ "alphanum_fraction": 0.5705483672, "avg_line_length": 37.7441860465, "ext": "agda", "hexsha": "4e29b027677b5dc8bab1aa81f9239654bd5b83c7", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --rewriting --confluence-check #-} open import Agda.Builtin.Bool open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite variable A : Set postulate f : (A → A) → Bool f-id : f {A} (λ x → x) ≡ true f-const : (c : A) → f (λ x → c) ≡ false {-# REWRITE f-id #-} ...
{ "alphanum_fraction": 0.5843023256, "avg_line_length": 21.5, "ext": "agda", "hexsha": "33530c19c903f7f07fcafc28f8acd4ce6dea6c08", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0...
module ShouldBePi where data One : Set where one : One err1 : One err1 = \x -> x err2 : One err2 = one one err3 : One err3 x = x
{ "alphanum_fraction": 0.6204379562, "avg_line_length": 8.5625, "ext": "agda", "hexsha": "bda49c9947ffe2233a40c6e38802f87817769e53", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04...
module Numeral.Natural.Oper.Modulo.Proofs.Algorithm where import Lvl open import Logic open import Numeral.Natural open import Numeral.Natural.Oper open import Numeral.Natural.Oper.Modulo open import Numeral.Natural.Oper.Proofs open import Numeral.Natural.Oper.Proofs.Order open import Numeral.Natural.Relation open imp...
{ "alphanum_fraction": 0.5196989819, "avg_line_length": 54.4337349398, "ext": "agda", "hexsha": "0dbb6bb5aefee298f23f4b438814dc9404f7e283", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K --safe #-} module Categories.Adjoint.Relative where -- Relative Adjoints, in their biased, level-restricted version -- In other words, this uses the Hom-Setoid equivalent variant -- of the adjoint formulation because relative adjoints don't -- have a natural unit/counit formulation. -- W...
{ "alphanum_fraction": 0.5387568556, "avg_line_length": 39.0714285714, "ext": "agda", "hexsha": "ab924da1e3b24c115ed8d89b9f41534d9325c27b", "lang": "Agda", "max_forks_count": 64, "max_forks_repo_forks_event_max_datetime": "2022-03-14T02:00:59.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-02...
{-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Setoids.Setoids open import Functions.Definition open import Sets.EquivalenceRelations open import Rings.Definition module Rings.Divisible.Definition {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring ...
{ "alphanum_fraction": 0.6554487179, "avg_line_length": 31.2, "ext": "agda", "hexsha": "3447436857ce4dbfc13a814955593c1da6b90190", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-29T13:23:07....
module Scratch.Subset where open import Level renaming (zero to lzero; suc to lsuc) open import Relation.Unary using (Pred; Satisfiable) renaming (Decidable to Dec₁) open import Relation.Binary renaming (Decidable to Dec₂) open import Relation.Binary.PropositionalEquality as Eq using (_≡_ ; _≢_; refl; cong; sym; trans...
{ "alphanum_fraction": 0.3130289933, "avg_line_length": 50.9449541284, "ext": "agda", "hexsha": "a804d9a866b0628521dd94d1eb4d8fc3fb033864", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K --safe #-} module Definition.Typed.Consequences.Inversion where open import Definition.Untyped open import Definition.Typed open import Definition.Typed.Properties open import Definition.Typed.Consequences.Syntactic open import Definition.Typed.Consequences.Substitution open import Tools.Pro...
{ "alphanum_fraction": 0.5441941075, "avg_line_length": 36.6349206349, "ext": "agda", "hexsha": "b4cbcaa7f7e6c9498ce5256d7d4c29cfe655797b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------------ -- Totality properties for Tree ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} ...
{ "alphanum_fraction": 0.4711375212, "avg_line_length": 30.2051282051, "ext": "agda", "hexsha": "2a8b360553313e49672d3773307419a397b7dc0c", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...
------------------------------------------------------------------------ -- A universe for stream programs ------------------------------------------------------------------------ module Stream.Programs where open import Codata.Musical.Notation renaming (∞ to ∞_) import Stream as S open S using (Stream; _≈_; _≺_; hea...
{ "alphanum_fraction": 0.4172304917, "avg_line_length": 28.4230769231, "ext": "agda", "hexsha": "56f304b28f53403ae724d5af6cc5cd09dbd842a6", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{- Examples by Twan van Laarhoven -} {-# OPTIONS --rewriting #-} module _ where open import Agda.Builtin.Equality {-# BUILTIN REWRITE _≡_ #-} const : ∀ {a b} {A : Set a} {B : Set b} → A → B → A const x _ = x _∘_ : ∀ {a b c} {A : Set a} {B : A → Set b} {C : {x : A} → B x → Set c} → (f : ∀ {x} (y : B x) → C y) (g...
{ "alphanum_fraction": 0.4600903614, "avg_line_length": 31.619047619, "ext": "agda", "hexsha": "2ee549468110be39c995b1a121777a1bbda0d23d", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T2...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.PtdAdjoint module homotopy.SuspAdjointLoopLadder where import homotopy.SuspAdjointLoop as A step : ∀ {i} {X Y Z : Ptd i} (f : Y ⊙→ Z) → CommSquareEquiv ((f ⊙∘_) :> ((⊙Susp X ⊙→ Y) → (⊙Susp X ⊙→ Z))) (⊙Ω-fmap f ⊙∘_)...
{ "alphanum_fraction": 0.4791208791, "avg_line_length": 28.4375, "ext": "agda", "hexsha": "711c1a7981d648d01192866e5ddb973358741d3c", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
{-# OPTIONS --rewriting --without-K #-} open import Agda.Primitive open import Prelude open import GSeTT.Syntax open import GSeTT.Rules open import GSeTT.CwF-structure open import GSeTT.Uniqueness-Derivations {- Typed syntax for type theory for globular sets -} module GSeTT.Typed-Syntax where Ctx : Set₁ Ctx = Σ P...
{ "alphanum_fraction": 0.4993261456, "avg_line_length": 32.2608695652, "ext": "agda", "hexsha": "067a652df04367267bc7303c5c5d3faa62df2f68", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module Issue15 where infix 7 _≡_ infixr 5 _∧_ infix 5 ∃ infixr 4 _∨_ data _∨_ (A B : Set) : Set where inj₁ : A → A ∨ B inj₂ : B → A ∨ B da...
{ "alphanum_fraction": 0.4625098658, "avg_line_length": 21.1166666667, "ext": "agda", "hexsha": "17b82cac96d153aa452bd030caba0d3afbf7a868", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-03T03:54:55.000Z", "max_forks_repo_forks_event_min_datetime": "2016-05-10T...
module Category.Comma where open import Level open import Data.Product open import Category.Core open import Relation.Binary as B using () open import Relation.Binary.Indexed open import Relation.Binary.Indexed.Extra open import Relation.Binary.PropositionalEquality as PropEq using (_≡_; refl) _/_ : ∀ {𝒸 ℓ} → (C : ...
{ "alphanum_fraction": 0.6021772673, "avg_line_length": 41.964028777, "ext": "agda", "hexsha": "6ebd03b637f27e8728ccd7a114d7aa5ecd64cdd9", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --cubical --no-import-sorts #-} module Utils where -- thing that currently do not belong anywhere and do not have many dependencies open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero) private variable ℓ ℓ' ℓ'' : Level open import Cubical.Foundations.Everything renam...
{ "alphanum_fraction": 0.5353276353, "avg_line_length": 34.4117647059, "ext": "agda", "hexsha": "04fac9552d42599d28b21558390cccad1403351d", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --allow-unsolved-metas #-} module _ where open import Agda.Builtin.Nat open import Agda.Builtin.List open import Agda.Builtin.Unit open import Agda.Builtin.Sigma _×_ : Set → Set → Set A × B = Σ A λ _ → B data Vec (A : Set) : Nat → Set where [] : Vec A 0 _∷_ : ∀ {n} → A → Vec A n → Vec A (suc n) dat...
{ "alphanum_fraction": 0.5271493213, "avg_line_length": 26.2574257426, "ext": "agda", "hexsha": "945e574caf43c6f4e75042d7cdca1d8b6feaffb4", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
postulate A : Set record R : Set where field a : A b : A b = a open R test : A test = b
{ "alphanum_fraction": 0.5294117647, "avg_line_length": 7.8461538462, "ext": "agda", "hexsha": "f068ff656d78817cd0ab5e2985d0ecd8a610dfb7", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03...
module IsFormula where open import Formula data IsFormula : Formula → Set where ⟨_⟩ : (φ : Formula) → IsFormula φ
{ "alphanum_fraction": 0.7, "avg_line_length": 13.3333333333, "ext": "agda", "hexsha": "c79a2641e82bcc87f26ecec553b3a629d36939fe", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "5...
module LC.Parallel where open import LC.Base open import LC.Subst open import LC.Reduction open import Data.Nat open import Relation.Binary.Construct.Closure.ReflexiveTransitive -- parallel β-reduction infix 3 _β⇒_ data _β⇒_ : Term → Term → Set where β-var : {n : ℕ} → var n β⇒ var n β-ƛ : ∀ {M M'} → (M⇒M' :...
{ "alphanum_fraction": 0.4322878229, "avg_line_length": 39.8529411765, "ext": "agda", "hexsha": "85a5c1ca43c0c411d67b949faa9c974fc68ccb20", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------------ -- Conversion functions i, j and k. ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism ...
{ "alphanum_fraction": 0.3586040915, "avg_line_length": 22.4594594595, "ext": "agda", "hexsha": "a236e49035f2c0b2adbc159511b989ee167c106d", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...