Search is not available for this dataset
text
string
meta
dict
module Data.Fin.Subset.Cardinality where open import Data.Fin.Subset _∖_ : ∀ {n} → Subset n → Subset n → Subset n _∖_ {n} a b = a ∩ ∁ b
{ "alphanum_fraction": 0.6180555556, "avg_line_length": 20.5714285714, "ext": "agda", "hexsha": "8fd27d365414e403aeba8325d7f090e07df63f07", "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...
------------------------------------------------------------------------------ -- Properties related with lists ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-}...
{ "alphanum_fraction": 0.4891681826, "avg_line_length": 37.0981595092, "ext": "agda", "hexsha": "562c86d8191452126c2973401973875b76465dbf", "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...
module Issue3188.Issue3188a where postulate String : Set {-# BUILTIN STRING String #-}
{ "alphanum_fraction": 0.7613636364, "avg_line_length": 17.6, "ext": "agda", "hexsha": "33963200bfb5712ba4931b8a41344ce9716b1c6a", "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...
{-# OPTIONS --without-K --safe #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Substitution.Reducibility {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.Untyped open import Definition.Untyped.Properties open import Definition.Typed open import Definition.Lo...
{ "alphanum_fraction": 0.5006599208, "avg_line_length": 33.9253731343, "ext": "agda", "hexsha": "a9c36a3cd8abe864094347be1a83df7672f1ab6d", "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 --safe #-} module Cubical.HITs.DunceCap where open import Cubical.HITs.DunceCap.Base public open import Cubical.HITs.DunceCap.Properties public
{ "alphanum_fraction": 0.7795698925, "avg_line_length": 26.5714285714, "ext": "agda", "hexsha": "8efd882a7c00e8342321be846950a3e3b076da13", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-22T02:02:01.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-22T...
{-# OPTIONS --without-K --safe #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Substitution.Introductions.Snd {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.Untyped as U hiding (wk) open import Definition.Untyped.Properties open import Definition.Typed ope...
{ "alphanum_fraction": 0.4149855908, "avg_line_length": 49.0326086957, "ext": "agda", "hexsha": "65d1cb5936f25692ab6cebcb257ff6f20d646a46", "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 --universe-polymorphism #-} module Issue333 where open import Common.Level data Σ a b (A : Set a) (B : A → Set b) : Set (a ⊔ b) where _,_ : (x : A) → B x → Σ a b A B P : ∀ a b (A : Set a) (B : Set b) → Set (a ⊔ b) P a b A B = Σ a b A (λ _ → B) postulate A B : Set foo : Σ lzero lzero A λ (y : A) →...
{ "alphanum_fraction": 0.5240174672, "avg_line_length": 20.8181818182, "ext": "agda", "hexsha": "dc59f927a824f6ace91198525199a1459ab1b264", "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 --rewriting #-} open import Common.Prelude open import Common.Equality {-# BUILTIN REWRITE _≡_ #-} postulate f : Bool → Bool boolTrivial : ∀ (b c : Bool) → f b ≡ c {-# REWRITE boolTrivial #-} -- Should trigger an error that c is not bound on the lhs.
{ "alphanum_fraction": 0.6544117647, "avg_line_length": 18.1333333333, "ext": "agda", "hexsha": "48501a2e4afd8739e2bfdecdb4a282ed1b9c9fe0", "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 L.Base.Nat where -- Reexport definitions open import L.Base.Nat.Core public -- Functions on Nats pred : Nat → Nat pred = ind (λ _ → Nat) zero (λ x _ → x) infixl 6 _+_ infixl 7 _*_ _+_ : Nat → Nat → Nat zero + y = y succ x + y = succ (x + y) {-# BUILTIN NATPLUS _+_ #-} _*_ : Nat → Nat → Nat zero * y = z...
{ "alphanum_fraction": 0.5835543767, "avg_line_length": 15.7083333333, "ext": "agda", "hexsha": "abd25bb12d24e2d1a8764649984bdba47e730053", "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 #-} module sets.nat.solver where open import decidable open import equality open import function.core hiding (const) open import sets.nat.core open import sets.nat.properties open import sets.nat.ordering open import sets.fin.core hiding (_≟_) open import sets.vec.core open import sets.vec...
{ "alphanum_fraction": 0.5120934112, "avg_line_length": 31.0086206897, "ext": "agda", "hexsha": "330252dc868d52c520a7b23322f0f6d21105b54b", "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...
{- This module defines the basic opens of the Zariski lattice and proves that they're a basis of the lattice. It also contains the construction of the structure presheaf and a proof of the sheaf property on basic opens, using the theory developed in the module PreSheafFromUniversalProp and its toSheaf.lemma. ...
{ "alphanum_fraction": 0.5867431758, "avg_line_length": 40.8925438596, "ext": "agda", "hexsha": "93df73cade1af8fc31aa2bc4f4a6ce77efa00674", "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 --erased-cubical #-} open import Agda.Builtin.Cubical.Path -- Higher constructors must be erased when --erased-cubical is used. data ∥_∥ (A : Set) : Set where ∣_∣ : A → ∥ A ∥ trivial : (x y : ∥ A ∥) → x ≡ y
{ "alphanum_fraction": 0.5956521739, "avg_line_length": 23, "ext": "agda", "hexsha": "fd00f8150e5f6ad2a145714a5efc7e9049219010", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-18T13:34:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-18T13:34:07.00...
------------------------------------------------------------------------ -- Lemmas related to application of substitutions ------------------------------------------------------------------------ -- The record below allows the application operation to be -- "heterogeneous", applying substitutions containing one kind o...
{ "alphanum_fraction": 0.3970966279, "avg_line_length": 39.9577039275, "ext": "agda", "hexsha": "411320c8e95a335abf466a9d4bc5ea54ad79d20b", "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 Abstract where data Bool : Set where true false : Bool not : Bool → Bool not true = false not false = true abstract Answer : Set Answer = Bool yes : Answer yes = true no : Answer no = false contradict : Answer → Answer contradict x = not x counter-contradict : Answer → Answer counter-c...
{ "alphanum_fraction": 0.6882661996, "avg_line_length": 15.8611111111, "ext": "agda", "hexsha": "1ffc265ef4ad255db51db3f99cc56cee129d81ec", "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...
------------------------------------------------------------------------ -- Excluded middle ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Excluded-middle {e⁺} (eq : ∀ {a p} → Equality-with-J a p e⁺) where open Derived-defini...
{ "alphanum_fraction": 0.6027542373, "avg_line_length": 27.7647058824, "ext": "agda", "hexsha": "0d166e0f0ddb588e9b399d8d17ede26c6cd81472", "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...
------------------------------------------------------------------------------ -- Lists examples ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --...
{ "alphanum_fraction": 0.4155313351, "avg_line_length": 30.5833333333, "ext": "agda", "hexsha": "790fcc3121ec15315e7f0de68914869eaa4d569f", "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 --cubical --no-import-sorts #-} open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc) import Cubical.Algebra.Semigroup as Std open import MorePropAlgebra.Bundles module MorePropAlgebra.Properties.Semigroup {ℓ} (assumptions : Semigroup {ℓ}) where open Semigroup assumptions re...
{ "alphanum_fraction": 0.7807757167, "avg_line_length": 37.0625, "ext": "agda", "hexsha": "bcfa66c769259c2745556546a8b8c2b17694ec92", "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":...
------------------------------------------------------------------------ -- The Agda standard library -- -- Lexicographic ordering of lists ------------------------------------------------------------------------ -- The definition of lexicographic ordering used here is suitable if -- the argument order is a (non-stric...
{ "alphanum_fraction": 0.6077942323, "avg_line_length": 34.6756756757, "ext": "agda", "hexsha": "7e76485f30a69c24062f76f8be70a6cf6c1c2b2d", "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...
------------------------------------------------------------------------ -- Some definitions related to and properties of the Maybe type ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Maybe {reflexive} (eq : ∀ {a p} → Equality...
{ "alphanum_fraction": 0.556231003, "avg_line_length": 32.3294797688, "ext": "agda", "hexsha": "72a18c1ac19ff37992932d860afb45d17bcc30f0", "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 --without-K --safe #-} open import Level module Categories.Category.Instance.SimplicialSet.Properties (o ℓ : Level) where open import Function using (_$_) open import Data.Empty.Polymorphic using (⊥; ⊥-elim) open import Data.Nat using (ℕ) open import Data.Fin using (Fin) open import Data.Product using (...
{ "alphanum_fraction": 0.5531950485, "avg_line_length": 30.9740932642, "ext": "agda", "hexsha": "ba5127780c0645192fad5623ae0f3abf47f12227", "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 PLRTree.Equality.Correctness {A : Set} where open import BTree.Equality {A} open import PLRTree {A} open import PLRTree.Equality {A} renaming (_≃_ to _≃'_) lemma-≃'-≃ : {l r : PLRTree} → l ≃' r → forget l ≃ forget r lemma-≃'-≃ ≃lf = ≃lf lemma-≃'-≃ (≃nd x x' l≃'r l'≃'r' l≃'l') = ≃nd x x' (lemma-≃'-≃ l≃'r) (lem...
{ "alphanum_fraction": 0.5690140845, "avg_line_length": 35.5, "ext": "agda", "hexsha": "67fc9cbffbad4be918fb6019ad0038cae8c9a270", "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": "b...
-- Andreas, 2019-07-15, issue #3901, requested by msuperdock -- -- Allow function spaces {A} → B and {{A}} → B. postulate A B : Set foo : {{A}} → B bar : {A} → B -- Original feature request: open import Agda.Builtin.Unit using (⊤; tt) data ⊥ : Set where data Nat : Set where zero : Nat suc : Nat → Nat...
{ "alphanum_fraction": 0.5499207607, "avg_line_length": 18.5588235294, "ext": "agda", "hexsha": "24ce98700ee5257f9dec3229083b29ad6bd96f4a", "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...
-- Jesper, 2018-11-23: Unsolved metas are turned into postulates -- when --allow-unsolved-metas is enabled, but there was no internal -- representation of postulated sorts. module Issue3256 where open import Issue3256.B -- WAS: -- An internal error has occurred. Please report this as a bug. -- Location of the error:...
{ "alphanum_fraction": 0.7624309392, "avg_line_length": 30.1666666667, "ext": "agda", "hexsha": "ca97d042c76a59dd304d9f6d3a0054b7ed37d574", "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 --universe-polymorphism #-} module Categories.Graphs where open import Categories.Category hiding (module Heterogeneous) open import Data.Product open import Level open import Relation.Binary renaming (_⇒_ to _⊆_) open import Relation.Binary.PropositionalEquality using () renaming (_≡_ to _≣_; refl...
{ "alphanum_fraction": 0.5285140562, "avg_line_length": 31.125, "ext": "agda", "hexsha": "2ddbefe20db34b71c3ac3ae6951b0bf4f06c3ed7", "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-05T13:03:...
{-# OPTIONS --cubical-compatible #-} module WithoutK1 where -- Equality defined with one index. data _≡_ {A : Set} (x : A) : A → Set where refl : x ≡ x K : {A : Set} (P : {x : A} → x ≡ x → Set) → (∀ x → P (refl {x = x})) → ∀ {x} (x≡x : x ≡ x) → P x≡x K P p refl = p _
{ "alphanum_fraction": 0.4822695035, "avg_line_length": 20.1428571429, "ext": "agda", "hexsha": "f04d31a8574a91f1fb3fffa78090d2f42c501e02", "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...
postulate U V W X Y Z : Set u : U v : V w : W x : X y : Y z : Z module Top (u : U) where module A (v : V) where module M (w : W) where module O (x : X) where postulate O : X postulate O : X module B (y : Y) where open A public module Test0 where module C = Top.B u y modu...
{ "alphanum_fraction": 0.5158184319, "avg_line_length": 16.9069767442, "ext": "agda", "hexsha": "425a65592fee4edb4fd0d986025ae7c9f5a61d65", "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...
-- WARNING: This file was generated automatically by Vehicle -- and should not be modified manually! -- Metadata -- - Agda version: 2.6.2 -- - AISEC version: 0.1.0.1 -- - Time generated: ??? {-# OPTIONS --allow-exec #-} open import Vehicle open import Vehicle.Data.Tensor open import Data.Rational as ℚ using (ℚ) op...
{ "alphanum_fraction": 0.6842818428, "avg_line_length": 28.3846153846, "ext": "agda", "hexsha": "d2572d721719354278bbd8d0e3bf12d022391ad7", "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.Kleene.Relation.Unary.All where open import Data.List.Kleene.Base open import Relation.Unary open import Relation.Nullary open import Level using (_⊔_) open import Function mutual record All⁺ {a p} {A : Set a} (P : Pred A p) (xs : A ⁺) : Set (a ⊔ p) where constructor P⟨_&_⟩ inductive f...
{ "alphanum_fraction": 0.5223596575, "avg_line_length": 28.4054054054, "ext": "agda", "hexsha": "18e96ad59586e3e8040cd85b580ac8a3e4a0ed28", "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.List using (List; _∷_; []) open import Data.Product using (_×_; _,_; Σ) open import Data.Unit using (⊤; tt) open import Relation.Binary.PropositionalEquality using (_≡_) module SystemT where {- de Bruijn indices are represented as proofs that an element is in a list -} data _∈_ {A : Se...
{ "alphanum_fraction": 0.4865171371, "avg_line_length": 32, "ext": "agda", "hexsha": "26efbd3e203e7bcb6784114f0f06b1fb8615b8fd", "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": "785...
{-# OPTIONS --universe-polymorphism #-} open import Categories.Category open import Categories.Object.BinaryProducts open import Categories.Object.Exponentiating module Categories.Object.Exponentiating.Functor {o ℓ e} (C : Category o ℓ e) (binary : BinaryProducts C) (Σ : Category.Obj C) (exponentiating...
{ "alphanum_fraction": 0.4825986079, "avg_line_length": 29.1216216216, "ext": "agda", "hexsha": "822b26e09155a31eab2ff87d62b1d7dd7146dc22", "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...
-- Module shadowing using generated modules for records and datatypes module Issue260c where record R : Set where module R where
{ "alphanum_fraction": 0.8076923077, "avg_line_length": 21.6666666667, "ext": "agda", "hexsha": "421592933c4dbfff688ac8af389c9db06edcf61d", "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...
open import Structure.Setoid open import Structure.Category open import Type module Structure.Category.Monad.ExtensionSystem {ℓₒ ℓₘ ℓₑ} {cat : CategoryObject{ℓₒ}{ℓₘ}{ℓₑ}} where import Data.Tuple as Tuple import Function.Equals open Function.Equals.Dependent open import Functional.Dependent usin...
{ "alphanum_fraction": 0.5346803734, "avg_line_length": 50.0769230769, "ext": "agda", "hexsha": "7ecf1db84546053f3afa63104c753758eaac47d1", "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 #-} open import Level open import Categories.Category open import Categories.Monad module Categories.Monad.Idempotent {o ℓ e} {C : Category o ℓ e} (M : Monad C) where open import Categories.NaturalTransformation open import Categories.NaturalTransformation.Equivalence open import Categ...
{ "alphanum_fraction": 0.7196819085, "avg_line_length": 23.9523809524, "ext": "agda", "hexsha": "a3425405e6325b53442e9d52132ea8493fb9b307", "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...
{- Formal verification of authenticated append-only skiplists in Agda, version 1.0. Copyright (c) 2021 Victor C Miraldo and 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 Data.Unit.NonEta open import Data.E...
{ "alphanum_fraction": 0.5411637264, "avg_line_length": 42.6534653465, "ext": "agda", "hexsha": "d7ea480a5df721e1faeee7a788164c66ba49fc61", "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 for SDE. module SDE-Example where open import Size import Level open import Function open import Relation.Binary open import Relation.Binary.PropositionalEquality as P hiding ([_]) open ≡-Reasoning open import Data.Product as Prod renaming (Σ to ⨿) open import Data.Nat as Nat open import Data.Sum as Su...
{ "alphanum_fraction": 0.4849770837, "avg_line_length": 25.7248908297, "ext": "agda", "hexsha": "9007d8330e47152c049f9e9e35103ec71c7125a7", "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...
-- Basic intuitionistic modal logic S4, without ∨, ⊥, or ◇. -- Tarski-style semantics with contexts as concrete worlds, and glueing for α, ▻, and □. -- Gentzen-style syntax. module BasicIS4.Semantics.TarskiOvergluedGentzen where open import BasicIS4.Syntax.Common public open import Common.Semantics public -- Intuit...
{ "alphanum_fraction": 0.3656281662, "avg_line_length": 30.2528735632, "ext": "agda", "hexsha": "18292a25e75ea67dc06ee6bd4f88251132ab9b26", "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 --without-K --safe #-} module Cubical.Relation.Binary.Converse where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Data.Prod hiding (map) open import Cubical.HITs.PropositionalTruncation open import Cu...
{ "alphanum_fraction": 0.6384103701, "avg_line_length": 29.6111111111, "ext": "agda", "hexsha": "011d781c7eabf7d092c18853cbad8d2185c0a097", "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 4-the-natural-numbers where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong; sym) open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; step-≡; _∎) open import Data.Nat using (ℕ; zero; suc; _+_; _*_; ⌊_/2⌋) -- 4) --sum-to-n : ℕ → ℕ --sum-to-n n = sum (upTo (suc n)) open import Data.Nat.Pr...
{ "alphanum_fraction": 0.4291695743, "avg_line_length": 28.66, "ext": "agda", "hexsha": "9b276b8075b006d417158ae81780b45aebad533e", "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": "...
-- Source: https://raw.githubusercontent.com/gallais/potpourri/master/agda/poc/dimensions/dimensions.agda -- Author: Original by gallais, modified for test suite by P. Hausmann -- (Later edited by others.) {-# OPTIONS --guardedness #-} module dimensions where open import Data.Nat as ℕ using (ℕ; NonZero) open imp...
{ "alphanum_fraction": 0.4593944539, "avg_line_length": 26.2750929368, "ext": "agda", "hexsha": "d2f7ac410aa10fea3446f37fa0178e5a09fd1fed", "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 --experimental-irrelevance #-} -- {-# OPTIONS -v tc.univ:100 -v tc.meta:100 #-} -- {-# OPTIONS -v tc.rec:100 #-} -- Andreas, 2011-04-27 universe levels can be made irrelevant -- Ulf 2011-10-03. No they can't. How is that even consistent? -- Andreas, 2011-10-03. Yes, they can! -- .(i : Level)(A : Set i) ...
{ "alphanum_fraction": 0.5754132231, "avg_line_length": 26.8888888889, "ext": "agda", "hexsha": "d4c399bdc4c4461a980c9d41df3a008d4aa7c122", "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...
{-# OPTIONS --copatterns --sized-types #-} 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 open import Data.List using (List; module List; []; _∷_; _++_; length) open import Data.Nat using...
{ "alphanum_fraction": 0.5460702473, "avg_line_length": 29.6682242991, "ext": "agda", "hexsha": "0e905285b1628b873b394f7585c4df4e70aaaff8", "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 instances where open import lib public renaming (return to returnᵢₒ; _>>_ to _>>ᵢₒ_; _>>=_ to _>>=ᵢₒ_) open import functions public record functor {ℓ ℓ'} (F : Set ℓ → Set ℓ') : Set (lsuc (ℓ ⊔ ℓ')) where infixl 2 _<$>_ _<$_ field fmap : ∀ {A B : Set ℓ} → (A → B) → F A → F B {-functor-identity-law : ...
{ "alphanum_fraction": 0.452195122, "avg_line_length": 29.7101449275, "ext": "agda", "hexsha": "26c16a04f46f50783cd32051ae309b17e8a2e0ce", "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 --without-K --safe #-} open import Relation.Binary using (Rel; Setoid; IsEquivalence) module Structures {a ℓ} {A : Set a} -- The underlying set (_≈_ : Rel A ℓ) -- The underlying equality relation where open import Algebra.Core open import Level using (_⊔_) open import Data.Product using (_,_; pr...
{ "alphanum_fraction": 0.5393043002, "avg_line_length": 34.4433962264, "ext": "agda", "hexsha": "028035c812d37bce9544bbcfe492ac7e86eef750", "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...
------------------------------------------------------------------------ -- Code related to the paper "Logical properties of a modality for -- erasure" -- -- Nils Anders Danielsson ------------------------------------------------------------------------ -- Note that the code does not follow the paper exactly. For inst...
{ "alphanum_fraction": 0.6443072071, "avg_line_length": 26.7504393673, "ext": "agda", "hexsha": "55aa1eaa97d7cc2e771ea1fb5c2c7eb88ebc2b65", "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 Prelude.Nat where open import Prelude.Bool data Nat : Set where Z : Nat S : Nat -> Nat {-# BUILTIN NATURAL Nat #-} infixl 30 _+_ _+_ : Nat -> Nat -> Nat Z + m = m S n + m = S (n + m) {-# BUILTIN NATPLUS _+_ #-} _*_ : Nat -> Nat -> Nat Z * m = Z S n * m = (n * m) + m {-# BUILTIN NATTIMES _*_ #-} ...
{ "alphanum_fraction": 0.4765395894, "avg_line_length": 15.1555555556, "ext": "agda", "hexsha": "943ae290a83b17a53b60723a9caeb04ca91bbbbb", "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 --warning=error --safe --without-K #-} open import LogicalFormulae open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Functions.Definition open import Setoids.Setoids open import Setoids.Subset open import Graphs.Definition open import Sets.FinSet.Definition open import Sets.FinSet.Lemm...
{ "alphanum_fraction": 0.7100424328, "avg_line_length": 48.7586206897, "ext": "agda", "hexsha": "ab6bb90441421228a1089b1a7ec059e882402852", "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 --without-K --safe #-} module Data.Fin.Indexed where open import Data.Fin.Indexed.Base public
{ "alphanum_fraction": 0.7222222222, "avg_line_length": 18, "ext": "agda", "hexsha": "f1a52ed81e59378f4d84835b88f19007217f5ab6", "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-11T12:30:21.00...
{-# OPTIONS --copatterns #-} open import Common.Nat open import Common.IO open import Common.Unit record Test : Set where field a b c : Nat f : Test -> Nat f r = a + b + c where open Test r open Test r1 : Test a r1 = 100 b r1 = 120 c r1 = 140 r2 : Test c r2 = 400 a r2 = 200 b r2 = 300 g : Nat g = f r1 + ...
{ "alphanum_fraction": 0.6058394161, "avg_line_length": 11.7428571429, "ext": "agda", "hexsha": "f7c5477214332af6d2e09298c85efdc030ae344d", "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...
------------------------------------------------------------------------ -- Lists parameterised on things in Set₁ ------------------------------------------------------------------------ -- I want universe polymorphism. module Data.List1 where open import Data.List as List using (List; []; _∷_) open import Data.Nat ...
{ "alphanum_fraction": 0.4512605042, "avg_line_length": 26.4444444444, "ext": "agda", "hexsha": "fc9cc736987648593f784b068738d0d2a8bd6b3c", "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 --without-K --safe #-} module Categories.Category.Extensive where -- https://ncatlab.org/nlab/show/extensive+category open import Level open import Categories.Category.Core open import Categories.Diagram.Pullback open import Categories.Category.Cocartesian open import Categories.Object.Coproduct open im...
{ "alphanum_fraction": 0.6244041945, "avg_line_length": 23.3111111111, "ext": "agda", "hexsha": "d8c2c3eecf439e893d67a8c09f668ef3235ab517", "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 --exact-split --safe #-} module Fragment.Equational.Structures where import Fragment.Equational.Theory.Laws as L open import Fragment.Equational.Theory open import Fragment.Equational.Theory.Bundles open import Fragment.Equational.Model open import Fragment.Algebra.Algebra open import Level ...
{ "alphanum_fraction": 0.5453580902, "avg_line_length": 33.3628318584, "ext": "agda", "hexsha": "64f3a1c66f0abcc31b4697f326f06fda8a9bd375", "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 --without-K --safe #-} module Util.HoTT.Equiv where open import Util.HoTT.Equiv.Core public open import Relation.Binary using (Setoid ; IsEquivalence) open import Util.Data.Product using (map₂) open import Util.HoTT.HLevel.Core using (IsContr ; IsProp) open import Util.HoTT.Section open import Util.HoTT....
{ "alphanum_fraction": 0.5352560463, "avg_line_length": 25.9793510324, "ext": "agda", "hexsha": "c8544899496a5115bfc1693fd941bf5df61a6299", "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...
------------------------------------------------------------------------ -- INCREMENTAL λ-CALCULUS -- -- Postulate extensionality of functions. -- -- Justification on Agda mailing list: -- http://permalink.gmane.org/gmane.comp.lang.agda/2343 ------------------------------------------------------------------------ modu...
{ "alphanum_fraction": 0.493006993, "avg_line_length": 30.6428571429, "ext": "agda", "hexsha": "56069262c6c6cc86afd689294d1cd50213f696e5", "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-18T1...
{-# OPTIONS --cubical --no-import-sorts --safe #-} open import Cubical.Core.Everything open import Cubical.Algebra.Group module Cubical.Algebra.Group.Construct.Opposite {ℓ} (G : Group ℓ) where open import Cubical.Foundations.Prelude open import Cubical.Data.Prod using (_,_) open Group G import Cubical.Algebra.Mono...
{ "alphanum_fraction": 0.7316770186, "avg_line_length": 23.6764705882, "ext": "agda", "hexsha": "39a83afcba2dcdff06467b325c8b02fd87f4f6f7", "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 Issue2224 where -- This is a placeholder to ensure that the test case is run. -- The file of interest is `Issue2224.sh`, and the associated file -- Issue2224WrongExtension.agda.tex
{ "alphanum_fraction": 0.7765957447, "avg_line_length": 37.6, "ext": "agda", "hexsha": "46c7bb293296600151b19ac80231808c0e1408fd", "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...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Algebra.RingSolver.IntAsRawRing where open import Cubical.Data.Nat hiding (_+_; _·_) open import Cubical.Data.Int open import Cubical.Data.Int.Base renaming (Int to ℤ) public open import Cubical.Foundations.Prelude open import Cubical.Algebra.RingSolve...
{ "alphanum_fraction": 0.7125506073, "avg_line_length": 30.875, "ext": "agda", "hexsha": "92d5c91c25161f0216c9d47df3e532b42e57e2db", "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": ...
open import Type -- The relation (_⟶_) should be interpreted as "a term reduces/rewritten to another term". -- Also called: Abstract reduction system, abstract rewriting system, rewriting system. module ReductionSystem {ℓ₁ ℓ₂} {Term : Type{ℓ₁}} (_⟶_ : Term → Term → Type{ℓ₂}) where open import Functional open import G...
{ "alphanum_fraction": 0.6741674909, "avg_line_length": 44.6029411765, "ext": "agda", "hexsha": "6c609177f06d66f8efc3ae60ea294457d23b4c94", "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, 2016-07-01 issue #2078 -- Holes in postponed type-checking problems cannot be worked on. -- {-# OPTIONS -v interaction:30 #-} -- {-# OPTIONS -v tc.term.exlam:30 -v tc:5 #-} test : Set → Set test A = (λ{ B → {!B!}}) A -- splitting on B gives -- No type nor action available for hole ?0
{ "alphanum_fraction": 0.6333333333, "avg_line_length": 25, "ext": "agda", "hexsha": "ffc996c8e2785fa1cbb4fef1568a9acad16f41ac", "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:08....
module Issue475 where data Box (A : Set) : Set where box : A → Box A postulate T : {A : Set} → A → Set unbox : {A : Set} → Box A → A data BoxT {A : Set}(b : Box A) : Set where boxT : T (unbox b) → BoxT b -- Can't be projection-like since we've already used it in BoxT unbox (box x) = x postulate A : Set ...
{ "alphanum_fraction": 0.5890052356, "avg_line_length": 15.9166666667, "ext": "agda", "hexsha": "73721c7fe576b506cda6a0777ebdb06a88e7202f", "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...
{- 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 Haskell.Modules.RWS open import LibraBFT.ImplShared.Consensus.Typ...
{ "alphanum_fraction": 0.6624343257, "avg_line_length": 38.0666666667, "ext": "agda", "hexsha": "0bf316a6aa6d83c6f0357c1cafd373325ebb80a0", "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 #-} -- The category of Cats is Monoidal module Categories.Category.Monoidal.Instance.StrictCats where open import Level open import Data.Product using (Σ; _×_; _,_; proj₁; proj₂; uncurry) open import Relation.Binary.PropositionalEquality as ≡ using (_≡_; refl; cong₂; sym; module ≡-Re...
{ "alphanum_fraction": 0.6078787879, "avg_line_length": 35.1063829787, "ext": "agda", "hexsha": "367511754563ec9c403a496b57ef44096870a8b5", "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 Inductive.Examples.List where open import Inductive open import Tuple hiding (_++_) open import Data.Fin open import Data.Product hiding (map) open import Data.List hiding (List; map; foldr; _++_) open import Data.Vec hiding (map; foldr; _++_) List : Set → Set List A = Inductive (([] , []) ∷ (((A ∷ []) , ([] ...
{ "alphanum_fraction": 0.5390428212, "avg_line_length": 28.3571428571, "ext": "agda", "hexsha": "6df063436cdecda97b1a4fa91484753c5b33d1d1", "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 #-} module function.isomorphism.remove where open import sum open import equality open import function.isomorphism.core open import function.isomorphism.utils open import function.isomorphism.properties open import function.overloading open import sets.empty _minus_ : ∀ {i}(A : Set i) → A → S...
{ "alphanum_fraction": 0.6046128501, "avg_line_length": 25.2916666667, "ext": "agda", "hexsha": "c97647aa98cc953177d791b80bff8b1ceaeedcf9", "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...
{-# OPTIONS --without-K #-} module container.w where open import container.w.core public open import container.w.algebra public open import container.w.fibration public
{ "alphanum_fraction": 0.783625731, "avg_line_length": 24.4285714286, "ext": "agda", "hexsha": "4a0e322637153a8f4f828d2ae40e289bd109572d", "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-02T1...
module Issue604 where f : (y : Set1) → (x : Set) → Set1 f x = ?
{ "alphanum_fraction": 0.5384615385, "avg_line_length": 13, "ext": "agda", "hexsha": "cb3fb57e1ea5451fd77b8e545d923fe2595aaa45", "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:08....
open import Nat open import Prelude open import contexts open import dynamics-core open import lemmas-matching open import synth-unicity module elaboration-unicity where mutual elaboration-unicity-synth : {Γ : tctx} {e : hexp} {τ1 τ2 : htyp} {d1 d2 : ihexp} {Δ1 Δ2 : hctx} → Γ ⊢ e ⇒ τ1...
{ "alphanum_fraction": 0.6192221543, "avg_line_length": 54.5666666667, "ext": "agda", "hexsha": "98d3c91e3b85986163cd296a59c2abcb2dc1a3a6", "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...
-- Should fail with S i != i module Issue216 where open import Common.Level Foo : {i : Level} → Set i Foo {i} = (R : Set i) → R
{ "alphanum_fraction": 0.6106870229, "avg_line_length": 14.5555555556, "ext": "agda", "hexsha": "df43bde3501cf4582ae0edb2d98581adf0873da0", "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 relations where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong) open import Data.Nat using (ℕ; zero; suc; _+_) open import Data.Nat.Properties using (+-comm; +-identityʳ) data _≤_ : ℕ → ℕ → Set where z≤n : ∀ {n : ℕ} → zero ≤ n s≤s : ∀ {m n : ℕ} → m ≤ n → suc m ≤ suc n in...
{ "alphanum_fraction": 0.5806451613, "avg_line_length": 21.1363636364, "ext": "agda", "hexsha": "99c017d4ec32c8b881ed28606522a50595fc16df", "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 Crash where data N : Set where zero : N suc : N -> N data B : Set where true : B false : B F : B -> Set F true = N F false = B not : B -> B not true = false not false = true h : ((x : F _) -> F (not x)) -> N h g = g zero
{ "alphanum_fraction": 0.5162601626, "avg_line_length": 10.6956521739, "ext": "agda", "hexsha": "f41b8f2144fabf509520244da080ef3f720a6b20", "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 #-} open import HoTT open import lib.cubical.elims.SuspSmash module homotopy.SuspProduct where module SuspProduct {i} {j} (X : Ptd i) (Y : Ptd j) where private {- into -} into-glue : fst (X ⊙× Y) → winl (north _) == winr (winr (north _)) into-glue (x , y) = ap winl (σlo...
{ "alphanum_fraction": 0.422548466, "avg_line_length": 39.5018587361, "ext": "agda", "hexsha": "a2fe040b83e432f0bb30b382ca7f2f085e1c5f81", "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...
-- Adapted from an example reported by John Leon -- It seems that the change reported in the issue was caused by the -- commit 344296cf06cedd13736e50bb53e63217d9f19ecf. -- Using `C-c C-,` in the first goal, master and 2.4.2.5 have different -- behaviours. In master, the type of `a` is not normalised -- Goal: n ≡ n +...
{ "alphanum_fraction": 0.468211527, "avg_line_length": 23.0547945205, "ext": "agda", "hexsha": "def55c08e107c886623f05820186bc7799d76f4a", "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...
{- Interactive Programming with Dependent Types Ulf Norell ICFP 2013, Boston -} module ICFP where open import ICFPPrelude data Type : Set where nat : Type _⇒_ : (a b : Type) → Type infixr 7 _⇒_ data Raw : Set where var : (n : Nat) → Raw app : (e₁ e₂ : Raw) →...
{ "alphanum_fraction": 0.5460152973, "avg_line_length": 30.9389312977, "ext": "agda", "hexsha": "5d4db149a686a11cded68740dc03c2e212201365", "lang": "Agda", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2021-07-30T05:37:45.000Z", "max_forks_repo_forks_event_min_datetime": "2017-02-18...
------------------------------------------------------------------------ -- INCREMENTAL λ-CALCULUS -- -- Simply-typed changes with the Nehemiah plugin. ------------------------------------------------------------------------ module Nehemiah.Change.Type where open import Nehemiah.Syntax.Type import Parametric.Change....
{ "alphanum_fraction": 0.5504201681, "avg_line_length": 26.4444444444, "ext": "agda", "hexsha": "84d79480bde8a579c38d9d46d2143166380f7d62", "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...
module Class.Functor where open import Category.Functor using () renaming (RawFunctor to Functor) public open Functor {{...}} public
{ "alphanum_fraction": 0.762962963, "avg_line_length": 22.5, "ext": "agda", "hexsha": "577ec28f2c92044f77b32d467385ef9be88304c8", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-10-20T10:46:20.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-27T23:12:48.0...
-- Andreas, 2019-06-18, LAIM 2019, issue #3855: -- Successful tests for the erasure (@0) modality. module _ where open import Agda.Builtin.Bool open import Agda.Builtin.Nat open import Agda.Builtin.Equality open import Agda.Builtin.Coinduction open import Common.IO module WhereInErasedDeclaration where @0 n : Na...
{ "alphanum_fraction": 0.5718113612, "avg_line_length": 20.9662921348, "ext": "agda", "hexsha": "a19764406c331675c9e58b0335dbcfb8042fedb3", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-01T18:30:09.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-01T...
module PiQ.Interp where open import Data.Empty open import Data.Unit hiding (_≟_) open import Data.Sum open import Data.Product open import Data.Maybe open import Data.Nat hiding (_≟_) open import Data.List as L hiding (_∷_) open import Relation.Binary.Core open import Relation.Binary open import Relation.Nullary open ...
{ "alphanum_fraction": 0.3874511264, "avg_line_length": 47.5309734513, "ext": "agda", "hexsha": "ca2bc2be07b7de04ed22b447c5aa4452e8823538", "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...
import cedille-options module interactive-cmds (options : cedille-options.options) where open import functions open import cedille-types open import conversion open import constants open import ctxt open import general-util open import spans options {Id} open import subst open import syntax-util open import type-util...
{ "alphanum_fraction": 0.4951240282, "avg_line_length": 50.0729023384, "ext": "agda", "hexsha": "aba190da8c349bf0e1574380f16defa3f1070dab", "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 -- -- This module is DEPRECATED. Please use -- Data.List.Relation.Binary.Permutation.Propositional directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} ...
{ "alphanum_fraction": 0.6032258065, "avg_line_length": 34.4444444444, "ext": "agda", "hexsha": "2d559b8973be856e207a3fad708eba4470e85abe", "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...
open import Agda.Primitive open import Agda.Builtin.Equality renaming (_≡_ to _==_) --(( If I want to rename the built-in equality )) module AlgebraFormalization where -- Here is an attempt to translate (part of) the Coq formalization. I did not translate the definition of the free algebra, the proof, and the part...
{ "alphanum_fraction": 0.5912869017, "avg_line_length": 37.7189189189, "ext": "agda", "hexsha": "072e502468e44918a54b125abf6d7354f620e59b", "lang": "Agda", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-05-24T02:51:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-16T...
module 100-natural where open import 010-false-true open import 020-equivalence record Natural {N : Set} (zero : N) (suc : N -> N) (_==_ : N -> N -> Set) : Set1 where -- axioms field equiv : Equivalence _==_ sucn!=zero : ∀ {r} -> suc r == zero -> False sucinjective : ∀ {r s} -> suc r == suc...
{ "alphanum_fraction": 0.5150300601, "avg_line_length": 22.6818181818, "ext": "agda", "hexsha": "5cd1349b216d6f83e1ce26ac5874b4f8768495f9", "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 Formalization.LambdaCalculus.Semantics.Reduction where import Lvl open import Data open import Formalization.LambdaCalculus open import Formalization.LambdaCalculus.SyntaxTransformation open import Numeral.Natural open import Numeral.Finite open import Relator.ReflexiveTransitiveClosure open import Syntax....
{ "alphanum_fraction": 0.6968325792, "avg_line_length": 42.0952380952, "ext": "agda", "hexsha": "cd714a7f756de2219e5b6de7b847d8af13d7ed54", "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.Queue.Base where open import Cubical.Data.Queue.1List public open import Cubical.Data.Queue.Truncated2List public open import Cubical.Data.Queue.Untruncated2List public
{ "alphanum_fraction": 0.7945736434, "avg_line_length": 36.8571428571, "ext": "agda", "hexsha": "946da9559ae96d21272068e349bd63c76bc2dbad", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-22T02:02:01.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-22T...
module dynamic where open import LSsyntax open import static open import Relation.Nullary open import Data.Nat using (ℕ ; _+_) open import Data.Fin using (Fin; toℕ) open import Data.Vec using (Vec ; lookup; _∷_; []) open import Data.Product open import Relation.Binary.PropositionalEquality open import Relation.Nullar...
{ "alphanum_fraction": 0.547544573, "avg_line_length": 42.6266666667, "ext": "agda", "hexsha": "cbe41c3079c861fae9c1b24233f3916940c34ee6", "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...
module Numeral.Natural.Sequence where import Lvl open import Data open import Data.Either as Either using (_‖_) open import Data.Tuple as Tuple using (_⨯_ ; _,_) import Data.Tuple.Raise as Tuple open import Functional open import Numeral.Natural open import Numeral.Natural.Oper open import Numeral.Natural.Op...
{ "alphanum_fraction": 0.6111979981, "avg_line_length": 32.6224489796, "ext": "agda", "hexsha": "0d80a72c3e331c3d1ecefcfb36b263056abfbb00", "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 Utils.Exception where {-# IMPORT Utils.Exception #-} open import Utils.HaskellTypes data Either (A : Set) (B : Set) : Set where Left : A → Either A B Right : B → Either A B {-# COMPILED_DATA Either Either Left Right #-} right : ∀{X A : Set} → A → Either X A right x = Right x error : ∀{X A : Set} → X → ...
{ "alphanum_fraction": 0.5426262626, "avg_line_length": 41.9491525424, "ext": "agda", "hexsha": "3b875765450adb0794e47fb5e268b3758fc4a8b1", "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 --safe #-} module Cubical.Categories.Category.Base where open import Cubical.Core.Glue open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv private variable ℓ ℓ' : Level -- Precategories record Precatego...
{ "alphanum_fraction": 0.5451263538, "avg_line_length": 27.1568627451, "ext": "agda", "hexsha": "2c0716503b0566234eb8567dce98c6634ff11a93", "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...
-- Partly based on code due to Andrea Vezzosi. open import Common.Prelude data D : Set where run-time : Bool → D @0 compile-time : Bool → D f : D → @0 D → Bool f (run-time x) _ = x f (compile-time x) (run-time y) = x f (compile-time x) (compile-time y) = y main : IO Unit main = p...
{ "alphanum_fraction": 0.5728395062, "avg_line_length": 22.5, "ext": "agda", "hexsha": "101e4eb4864a0eb2ce871bbddf11a1d3c40f4460", "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": "c...
module Structure.Type.Identity where import Lvl open import Lang.Instance open import Logic.Propositional open import Logic open import Structure.Relator.Properties open import Structure.Setoid open import Type open import Type.Properties.MereProposition open import Type.Size module _ {ℓ ℓₑ ℓₚ} {T : Type{ℓ}} (_≡...
{ "alphanum_fraction": 0.6524568095, "avg_line_length": 52.4352941176, "ext": "agda", "hexsha": "28150225c8508885240b2007b894874ff77670e6", "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 PLRTree.Complete.Correctness.Base {A : Set} where open import BTree.Complete.Base {A} open import BTree.Complete.Alternative.Correctness {A} renaming (lemma-complete'-complete to lemma-complete''-complete) open import Function using (_∘_) open import PLRTree {A} open import PLRTree.Complete {A} renaming (Compl...
{ "alphanum_fraction": 0.7316076294, "avg_line_length": 52.4285714286, "ext": "agda", "hexsha": "cb00f04e827e78a43534a84b9f16a48412cbf8fa", "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 Example where open import Logic.Identity open import Base open import Category open import Product open import Terminal open import Unique import Iso infixr 30 _─→_ infixr 90 _∘_ data Name : Set where Zero : Name One : Name Half : Name data Obj : Set1 where obj : Name -> Obj mutual _─→'_ : Name ...
{ "alphanum_fraction": 0.514483355, "avg_line_length": 23.13, "ext": "agda", "hexsha": "6041b5e93060977d6d4bcf80e4b4633eeceb14b8", "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-12T11:35:18....
{-# OPTIONS --experimental-irrelevance #-} module ShapeIrrelevantParameterNoBecauseOfRecursion where data ⊥ : Set where record ⊤ : Set where data Bool : Set where true false : Bool True : Bool → Set True false = ⊥ True true = ⊤ data D ..(b : Bool) : Set where c : True b → D b -- should fail fromD : {b : Bool...
{ "alphanum_fraction": 0.6183035714, "avg_line_length": 17.2307692308, "ext": "agda", "hexsha": "5336f9f3cffa8e312e6af3044afe7665ac098a15", "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...
{-# OPTIONS --allow-unsolved-metas #-} module Thesis.ANormalUntyped where open import Agda.Primitive open import Data.Empty open import Data.Unit using (⊤) open import Data.Product open import Data.Nat import Data.Integer.Base as I open I using (ℤ) open import Data.Integer.Base using (ℤ) open import Relation.Binary.Pr...
{ "alphanum_fraction": 0.5151429179, "avg_line_length": 36.9083769634, "ext": "agda", "hexsha": "ae0b754df96b180ca5fbdc5ef21fa56f8937f3a4", "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...
----------------------------------------------------------------------------- -- Existential elimination ----------------------------------------------------------------------------- {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPT...
{ "alphanum_fraction": 0.4593900482, "avg_line_length": 28.5779816514, "ext": "agda", "hexsha": "032d4de150f454c79483c1ccc5d9d3941476805c", "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 --show-implicit #-} module _ where postulate R : Set module ModuleB where module NotRecordB (r : R) where postulate notfieldB : Set open module NotRecBI {{r : R}} = NotRecordB r public record RecordB : Set₁ where field fieldB : Set open module RecBI {{r : RecordB}} = RecordB r...
{ "alphanum_fraction": 0.6524701874, "avg_line_length": 15.4473684211, "ext": "agda", "hexsha": "9145c5c39e94a61ce2ea233c62e324ef6bdf46e7", "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 #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Substitution.Reduction {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.LogicalRelation.Properties open import Definition.LogicalRelation.Substitution open import Definition.Untyp...
{ "alphanum_fraction": 0.3814547474, "avg_line_length": 37.5208333333, "ext": "agda", "hexsha": "37a13111faf1d338e7616a0c89196be4f8597ccc", "lang": "Agda", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-11-27T15:58:33.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-18T...
{-# OPTIONS --no-termination-check #-} module PragmasApplyOnlyToCurrentModule where import Imports.NonTerminating
{ "alphanum_fraction": 0.8103448276, "avg_line_length": 19.3333333333, "ext": "agda", "hexsha": "94c05e2d585beaba717a1becb9b31fd2da58c074", "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 --cubical --no-import-sorts --safe #-} module Cubical.HITs.2GroupoidTruncation where open import Cubical.HITs.2GroupoidTruncation.Base public open import Cubical.HITs.2GroupoidTruncation.Properties public
{ "alphanum_fraction": 0.8165137615, "avg_line_length": 36.3333333333, "ext": "agda", "hexsha": "b7d6fcfb081159bf4bb5bff2c94c13235c5e17ed", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-22T02:02:01.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-22T...
{-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-} module Cubical.Structures.Queue where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Functions.FunExtEquiv open import Cubical.Foundations.Equiv open import ...
{ "alphanum_fraction": 0.6965550941, "avg_line_length": 35.2844827586, "ext": "agda", "hexsha": "6d788420b95edd6c8e80174107fce6f98b841455", "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 --safe #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Substitution.Introductions.Castlemmas {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.Untyped open import Definition.Untyped.Properties open import Definition.Typed open import Definition.Ty...
{ "alphanum_fraction": 0.3688053197, "avg_line_length": 68.3778801843, "ext": "agda", "hexsha": "978b5fe43714c1cf58d73296650fbce4f0ad753c", "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...
------------------------------------------------------------------------ -- Universe levels ------------------------------------------------------------------------ module Imports.Level where open import Agda.Primitive using (Level; _⊔_) renaming (lzero to zero; lsuc to suc)
{ "alphanum_fraction": 0.3584229391, "avg_line_length": 31, "ext": "agda", "hexsha": "f8c031d278568f6aad2bc3efc9fac02b675c5653", "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:08....