Search is not available for this dataset
text
string
meta
dict
module Natural where open import Equality open import Cubical.Data.Nat.Properties public open import Data.Empty open import Data.Nat as ℕ public hiding (_+_; _*_; _^_) open import Data.Nat.Properties public hiding (+-assoc; +-suc) open import Data.Unit open import Function open import Syntax instance ℕ-plus-syntax ...
{ "alphanum_fraction": 0.5494296578, "avg_line_length": 26.3, "ext": "agda", "hexsha": "c0ef3ecc382b2247538959f708d59fea07ca8fc2", "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": "6...
{-# OPTIONS --universe-polymorphism #-} module Issue286 where open import Common.Level data Bool : Set where true false : Bool {-# BUILTIN BOOL Bool #-} {-# BUILTIN TRUE true #-} {-# BUILTIN FALSE false #-} data _≡_ {ℓ : Level} {A : Set ℓ} : A → A → Set ℓ where refl : {a : A} → a ≡ a {-# BUILTIN EQUALITY ...
{ "alphanum_fraction": 0.5851619645, "avg_line_length": 20.3617021277, "ext": "agda", "hexsha": "03b5f493d6768cb91346a6c499d81ad58c483516", "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 -v5 #-} module Debug where postulate Foo : Set
{ "alphanum_fraction": 0.6557377049, "avg_line_length": 10.1666666667, "ext": "agda", "hexsha": "6f4c71765fe80e3b655a6c23112ecb3644b2f565", "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-exact-split --safe #-} module Cubical.Data.Queue.Base where open import Cubical.Foundations.Everything open import Cubical.Foundations.SIP open import Cubical.Structures.Queue open import Cubical.Data.Unit open import Cubical.Data.Sum open import Cubical.Data.List open import Cubical.Data....
{ "alphanum_fraction": 0.5548271752, "avg_line_length": 29.4385964912, "ext": "agda", "hexsha": "0734a03fa53a37a5a990a76eee837c1eacdaa763", "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 Oscar.Prelude open import Oscar.Class.IsPrecategory open import Oscar.Class.Surjection open import Oscar.Class.Smap open import Oscar.Class.Surjtranscommutativity open import Oscar.Class.Surjextensionality open import Oscar.Class.Transitivity module Oscar.Class.IsPrefunctor where module _ {𝔬₁} {𝔒₁ : ...
{ "alphanum_fraction": 0.6618049225, "avg_line_length": 35.3870967742, "ext": "agda", "hexsha": "480e15d73875f9b89e3db055d8a9114b92344c9c", "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 #-} module README where ------------------------------------------------------------------------ -- Chapter 2: Programming and Proving in Cubical Agda ------------------------------------------------------------------------ -- 2.1: Basic Functional Programming in Agda import Snippets.Bool using...
{ "alphanum_fraction": 0.6128815081, "avg_line_length": 15.3920552677, "ext": "agda", "hexsha": "f3bdc3bfa8ea1970b07f0f9477856dd52b54a2a8", "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...
{-# OPTIONS --copatterns #-} record U : Set where coinductive field out : U u : {A : Set} → U u = {!!} record Wrap (A : Set) : Set where field wrapped : A wrap : ∀{A}{a : A} → Wrap A wrap = {!!}
{ "alphanum_fraction": 0.5238095238, "avg_line_length": 12.3529411765, "ext": "agda", "hexsha": "30e789da2d83487646d351ab3774903f20b53b9c", "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...
{- Copyright (c) 2017 Diego Pedraza. This is Free/Libre Open Source Software, released under the MIT License. For the full copyright and license information, please view the LICENSE file that was distributed with this source code. -} module R2 where open import Data.List using (List; _∷_; _++_; [_]; [])...
{ "alphanum_fraction": 0.4290147401, "avg_line_length": 32.225, "ext": "agda", "hexsha": "5acd9e505de31ab89114175458b6ef1104de696e", "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 --safe #-} module Cubical.Algebra.NatSolver.Solver where open import Cubical.Foundations.Prelude open import Cubical.Data.FinData open import Cubical.Data.Nat open import Cubical.Data.Nat.Order using (zero-≤) open import Cubical.Data.Vec.Base open import Cubical.Algebra.NatSolver.NatExpression open import...
{ "alphanum_fraction": 0.4879910213, "avg_line_length": 35.9274193548, "ext": "agda", "hexsha": "fa15aab9a4ef8f3c82f09891d49bec32af8b079d", "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 Nat open import Prelude open import Hazelnut-core module Hazelnut-deterministic where -- theorem 2 -- the same action applied to the same type makes the same resultant -- type. actdet1 : {t t' t'' : τ̂} {α : action} → (t + α +> t') → (t + α +> t'') → (t' == t'')...
{ "alphanum_fraction": 0.6315000268, "avg_line_length": 43.5268065268, "ext": "agda", "hexsha": "f0a4e4db5235e6fc3be40f1e7a847a10e38e7ac4", "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 Text.Greek.SBLGNT-Query where open import Data.Bool open import Data.Nat hiding (_≟_) open import Data.List open import Data.Maybe open import Data.Product hiding (map) open import Function open import Relation.Binary.PropositionalEquality open import Text.Greek.Bible open import Text.Greek.Script open import T...
{ "alphanum_fraction": 0.7116022099, "avg_line_length": 28.28125, "ext": "agda", "hexsha": "de00ecd1cf1786dfc9d1d81caf8d5f59851ab41e", "lang": "Agda", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2017-06-11T11:25:09.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-27T22:34...
{-# OPTIONS --without-K #-} open import Type using (Type₀; Type_) open import Type.Identities open import Function.NP using (Π; _∘_; const) open import Function.Extensionality using (FunExt) open import Data.One using (0₁) open import Data.Two.Base using (0₂; 1₂) open import Data.Product.NP using (_,_; fst) open import...
{ "alphanum_fraction": 0.513221737, "avg_line_length": 40.6108374384, "ext": "agda", "hexsha": "8b6a80e358e539d8c29a3a17d275872bec7707db", "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...
open import FRP.JS.Bool using ( Bool ; true ; false ; not ; _∨_ ) open import FRP.JS.True using ( True ) open import FRP.JS.Maybe using ( Maybe ; just ; nothing ) open import FRP.JS.Primitive using ( ℤ ; String ) module FRP.JS.Float where infixr 4 _≤_ _<_ _≟_ _≠_ infixl 6 _+_ _-_ infixl 7 _*_ _/_ _/?_ open import FR...
{ "alphanum_fraction": 0.5589485891, "avg_line_length": 30.0813953488, "ext": "agda", "hexsha": "1b54de3c75a99b560f2685b2469e75acf8c92b87", "lang": "Agda", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:38.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-07T...
------------------------------------------------------------------------ -- The Agda standard library -- -- Some Vec-related properties ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Vec.Properties where open import Algebra.FunctionProperties o...
{ "alphanum_fraction": 0.4662379421, "avg_line_length": 39.9256756757, "ext": "agda", "hexsha": "835b7c1e17f0444d424c41b25c4da8eae586d585", "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...
-- ASR (2016-12-23). UHC and GHC have different behaviours. This test -- only is disabled for the UHC backend. -- Issue #1856: UHC prints doubles with lower precision than GHC -- -- For example, printing √2 -- -- GHC (8.0.1): 1.4142135623730951 -- UHC (1.1.9.5): 1.414213562373095 module _ where open import Common....
{ "alphanum_fraction": 0.6731707317, "avg_line_length": 22.7777777778, "ext": "agda", "hexsha": "b4200b4b025e00f81906e739e951f3a8e6462c03", "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...
data A : Set₁ → Set where C : (S : Set₁) → A S
{ "alphanum_fraction": 0.5, "avg_line_length": 12.5, "ext": "agda", "hexsha": "91df63311b8a124a7121aa4e247bc44172c85f11", "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.000Z", ...
{- 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 Libr...
{ "alphanum_fraction": 0.5969136687, "avg_line_length": 58.7949438202, "ext": "agda", "hexsha": "68a847c3bef2db36b95418745a8d5eadaf1f4e69", "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 Type open import Structure.Relator open import Structure.Setoid renaming (_≡_ to _≡ₑ_) module Structure.Sets.ZFC.Classical {ℓₛ ℓₗ ℓₑ} {S : Type{ℓₛ}} ⦃ equiv : Equiv{ℓₑ}(S) ⦄ (_∈_ : S → S → Type{ℓₗ}) ⦃ [∈]-binaryRelator : BinaryRelator(_∈_) ⦄ where open import Data.Either as Either using () open import Fun...
{ "alphanum_fraction": 0.6248191027, "avg_line_length": 52.6476190476, "ext": "agda", "hexsha": "1daec78cc4875922e4f3782aed83abc252804464", "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...
------------------------------------------------------------------------------ -- Division program ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS ...
{ "alphanum_fraction": 0.5279560037, "avg_line_length": 35.1935483871, "ext": "agda", "hexsha": "962d0ef64f2c94e6517f1038790f7b630d9e439d", "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 #-} module Data.ByteString.Primitive.Lazy where open import Data.Word8.Primitive using (Word8) open import Agda.Builtin.Nat using (Nat) open import Data.Colist using (Colist) open import Agda.Builtin.String using (String) open import Agda.Builtin.Bool using (Bool) open import Agda.Builtin.IO u...
{ "alphanum_fraction": 0.7233348859, "avg_line_length": 35.1967213115, "ext": "agda", "hexsha": "3f77ec7cd273778aefa036d3c629888da37899a7", "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 Oscar.Data.Permutation.Properties where open import Data.Permutation.Properties public open import Data.Nat open import Oscar.Data.Vec renaming (delete to deleteV) open import Oscar.Data.Vec.Properties open import Oscar.Data.Permutation ∈-enum : ∀ {n m} (i : Inj n m) → i ∈ enum n m ∈-enum {zero} [] = here ∈-...
{ "alphanum_fraction": 0.645295587, "avg_line_length": 35.3235294118, "ext": "agda", "hexsha": "990b68eb38ae35571a2acea530e242d11477ac21", "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 SubstTheory where open import Prelude open import T -- I originally used postulated extensional equality to reason about -- identical substitutions. As it turns out, it's actually somewhat -- cleaner to appeal to a proof that using identically performing subst -- functions produce the same outputs. ---- (Lots...
{ "alphanum_fraction": 0.526761235, "avg_line_length": 42.8010204082, "ext": "agda", "hexsha": "636d3ad446ba8f304765d9dd4ea7a197328d3250", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-05-04T22:37:18.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-26T1...
------------------------------------------------------------------------ -- The Agda standard library -- -- Half adjoint equivalences ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Function.HalfAdjointEquivalence where open import Function open impo...
{ "alphanum_fraction": 0.4577039275, "avg_line_length": 40.649122807, "ext": "agda", "hexsha": "268d03d46acecaac6be6e0f7cdf1688fb687e7c5", "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 #-} open import Agda.Builtin.Cubical.Path open import Agda.Primitive open import Agda.Primitive.Cubical open import Agda.Builtin.Bool variable a p : Level A : Set a P : A → Set p x y : A refl : x ≡ x refl {x = x} = λ _ → x data Interval : Set where left ...
{ "alphanum_fraction": 0.6253968254, "avg_line_length": 18.5294117647, "ext": "agda", "hexsha": "20c425a205cc3557297aa94a7e5871f6f23bb428", "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 --sized-types #-} module SList.Order {A : Set}(_≤_ : A → A → Set) where open import List.Sorted _≤_ open import Size open import SList data _*≤_ : {ι : Size} → A → SList A {ι} → Set where genx : {ι : Size}{b : A} → (_*≤_) {↑ ι} b snil gecx : {ι : Size}{b x : A}{xs : SList A {ι}} ...
{ "alphanum_fraction": 0.3716814159, "avg_line_length": 27.12, "ext": "agda", "hexsha": "f1aab2fd78ddcd60d189b7079ad13e2aa3dac2f9", "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 --copatterns #-} module examplesPaperJFP.IOGraphicsLib where open import Data.Bool.Base open import Data.Char.Base open import Data.Nat.Base hiding (_⊓_; _+_; _*_) open import Data.List.Base hiding (_++_) open import Data.Integer.Base hiding (suc) open import Data.String.Base open import Data.Maybe.Base ...
{ "alphanum_fraction": 0.7004883342, "avg_line_length": 33.5090909091, "ext": "agda", "hexsha": "1c148f38a445faa847242d5840150a73f56122d8", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-01T...
{-# OPTIONS --cubical --safe #-} module Cubical.HITs.Modulo.Base where open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Prelude open import Cubical.Data.Empty open import Cubical.Data.Fin open import Cubical.D...
{ "alphanum_fraction": 0.6850665352, "avg_line_length": 32.7258064516, "ext": "agda", "hexsha": "c7005a40756f7e74078344257c0754bdd5a9c75a", "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 list container ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Container.List {c⁺} (eq : ∀ {a p} → Equality-with-J a p c⁺) where open Derived-defi...
{ "alphanum_fraction": 0.4558823529, "avg_line_length": 35.900621118, "ext": "agda", "hexsha": "1cce8fbcfcd7886656ecbfaeb3542f4d79abdaf8", "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 --erased-cubical --safe #-} module Music where open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _≤_; _≤?_) open import Data.Integer using (ℤ; +_) open import Data.List using (List; foldr; []; _∷_; reverse; sum; map) open import Data.Product using (_×_; _,_) open import Data.Sum using (_⊎_; i...
{ "alphanum_fraction": 0.6486296557, "avg_line_length": 38.7210884354, "ext": "agda", "hexsha": "1bb126fd6ce8091e8c456c512e09f41199cf2a78", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-11-10T04:04:40.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-12T...
module tests.String where open import Prelude.IO open import Prelude.List open import Prelude.String open import Prelude.Unit testString : String testString = "To boldly go where no man gone before" printList : forall {A} -> (A -> IO Unit) -> List A -> IO Unit printList p [] = return unit printList p (x :: xs) = ...
{ "alphanum_fraction": 0.6859813084, "avg_line_length": 21.4, "ext": "agda", "hexsha": "a8c28d976605b9e3aaaa0bc23b91e43cdba41c50", "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 --safe --without-K #-} open import Relation.Binary module Data.List.Membership.Setoid.Trans {a p} (S : Setoid a p) where open Setoid S open import Data.List.Membership.Setoid (S) open import Data.List.Any ≈-trans-∈ : ∀ {x y xs} → x ≈ y → y ∈ xs → x ∈ xs ≈-trans-∈ x≈y (here px) = here (trans x≈y px) ≈-trans...
{ "alphanum_fraction": 0.6318681319, "avg_line_length": 30.3333333333, "ext": "agda", "hexsha": "de639efbf196032e0098f0d6ce4d50443309115c", "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-coverage-check #-} -- {-# OPTIONS -v tc.lhs:40 #-} module FlexibleFunArity where open import Common.Equality data Bool : Set where true false : Bool data Maybe (A : Set) : Set where nothing : Maybe A just : A → Maybe A Case : {A : Set} → Maybe A → Set → Set → Set Case nothing B C = B Case (...
{ "alphanum_fraction": 0.6249232658, "avg_line_length": 15.2242990654, "ext": "agda", "hexsha": "1bb0ce1b708d94069f5c7cec134dff49c00b7cd8", "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...
-- Andreas, 2019-02-23, issue #3578. -- Preserve types as much as possible during pattern matching. -- New unifier (from Agda 2.5.1) was normalizing too much. -- {-# OPTIONS -v tc.lhs.unify:45 #-} data Nat : Set where zero : Nat postulate MustNotBeNamed : Set A = MustNotBeNamed data P : Nat → Set where z : A...
{ "alphanum_fraction": 0.5833333333, "avg_line_length": 17.0769230769, "ext": "agda", "hexsha": "0d534d19fb062533309239df92afd9066cdfbef6", "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.SetTruncation where open import Cubical.HITs.SetTruncation.Base public open import Cubical.HITs.SetTruncation.Properties public
{ "alphanum_fraction": 0.8, "avg_line_length": 33.3333333333, "ext": "agda", "hexsha": "5343e69e67152ec77c2ac5146e86bbd8fcc9dc3c", "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-22T02:02:01....
-- Testing termination using subpatterns module TerminationSubpattern where -- a list with two different conses data EOList (A : Set) : Set where Nil : EOList A ECons : A -> EOList A -> EOList A OCons : A -> EOList A -> EOList A butLastWithDefault : {A : Set} -> A -> EOList A -> A butLastWithDefault a Ni...
{ "alphanum_fraction": 0.70794193, "avg_line_length": 34.4411764706, "ext": "agda", "hexsha": "f2821954b56df4317b81baa3cc02395d52646e84", "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-03T...
module Lemmachine.Runner where {-# IMPORT Lemmachine.FFI #-} open import Lemmachine.Resource open import Lemmachine.Resource.Configure open import Lemmachine.Request open import Lemmachine.Response open import Lemmachine.Utils open import Lemmachine.Resolve open import Data.Unit open import Data.Nat open import Data.St...
{ "alphanum_fraction": 0.6678719008, "avg_line_length": 21.7528089888, "ext": "agda", "hexsha": "11503fdaabb83cd141e8a17de7cbc45c924661a2", "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...
module Common.MAlonzo where open import Common.Prelude hiding (putStrLn) open import Common.Coinduction {-# IMPORT Data.Text.IO #-} postulate putStrLn : ∞ String → IO Unit {-# COMPILED putStrLn Data.Text.IO.putStrLn #-} main = putStrLn (♯ "This is a dummy main routine.") mainPrint : String → _ mainPrint s = pu...
{ "alphanum_fraction": 0.7096774194, "avg_line_length": 19.1904761905, "ext": "agda", "hexsha": "c26b550db68489c7e44fd06ef09e38ebbd485f00", "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...
import cedille-options open import general-util open import lib module process-cmd (options : cedille-options.options) {mF : Set → Set} {{_ : monad mF}} (progress-update : string → 𝔹 → mF ⊤) where --open import cedille-find open import cedille-types open import classify options {mF} open import constants ope...
{ "alphanum_fraction": 0.6521180084, "avg_line_length": 51.0912408759, "ext": "agda", "hexsha": "8970e99c97a36fed79fe5c68a6b1dd21fa0ff5fd", "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...
------------------------------------------------------------------------------ -- All the distributive laws modules ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism...
{ "alphanum_fraction": 0.6487068966, "avg_line_length": 35.6923076923, "ext": "agda", "hexsha": "c062d29acf11537288936d399d444f23efd08c46", "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 --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module FOT.FOTC.Program.McCarthy91.WF-Relation.Induction.NonAcc.TerminationCheckIssue where data ℕ : Set where zero : ℕ succ : ℕ → ℕ {-# BU...
{ "alphanum_fraction": 0.5634824667, "avg_line_length": 22.9722222222, "ext": "agda", "hexsha": "41288fc9e1b077fc458a78de43f0972e387be303", "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...
-- Andreas, 2016-12-20, issue #2349 {-# OPTIONS --show-implicit #-} open import Agda.Primitive open import Agda.Builtin.Equality data D {{a}} (A : Set a) : Set a where c : {{a : A}} (b : A) → D A test : ∀ ℓ (A : Set ℓ) (x : D A) (a : A) → x ≡ c {{ℓ}} {{a = a}} a test ℓ A x a = refl -- ERROR: -- x != c {{a}} of t...
{ "alphanum_fraction": 0.5291576674, "avg_line_length": 23.15, "ext": "agda", "hexsha": "089fe6c381eb28661e6f9f4bdb46a416a67faa4b", "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:38...
-- Andreas, 2012-09-15 -- Positive effects of making Agda recognize constant functions. -- Arguments to constant functions are ignored in definitional equality. {-# OPTIONS --copatterns #-} module NonvariantPolarity where open import Common.Equality data ⊥ : Set where record ⊤ : Set where constructor trivial data ...
{ "alphanum_fraction": 0.6690647482, "avg_line_length": 20.1774193548, "ext": "agda", "hexsha": "1b7c45ea99bb885839a4b038f70dd7df056384ed", "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...
{- This file contains: - Pushout-products of two maps; - The connectivity of pushout-product maps. -} {-# OPTIONS --safe #-} module Cubical.HITs.Pushout.PushoutProduct where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Equiv.Properties open import ...
{ "alphanum_fraction": 0.5389182058, "avg_line_length": 28.0740740741, "ext": "agda", "hexsha": "edc5db256855f898f1006c5b0061f9ea6abe90a2", "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 SystemF.SmallStep where open import Prelude open import Data.Sum open import Data.Product open import Data.Vec hiding ([_]) open import SystemF.WellTyped open import SystemF.Substitutions open import SystemF.Substitutions.Lemmas infixl 4 _≻_ -- irreducible System F terms data Value {ν n} : Term ν n → Set wh...
{ "alphanum_fraction": 0.5205057046, "avg_line_length": 39.5487804878, "ext": "agda", "hexsha": "eb682c5d3c3ef78e64fab9845e716ac6f717624e", "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 of non-empty lists ------------------------------------------------------------------------ module Data.List.NonEmpty.Properties where open import Algebra open import Category.Monad open import Data.Function open import Data.Produc...
{ "alphanum_fraction": 0.4951974386, "avg_line_length": 39.0416666667, "ext": "agda", "hexsha": "34e71ff7cba8b9fd9c21a994893a0797bd296db7", "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...
module Thesis.SIRelBigStep.DLang where open import Thesis.SIRelBigStep.DSyntax public open import Thesis.SIRelBigStep.DOpSem public open import Thesis.SIRelBigStep.DLangDerive public
{ "alphanum_fraction": 0.8695652174, "avg_line_length": 30.6666666667, "ext": "agda", "hexsha": "d41baf5638d55995a7bbeeb1b880ef8280de6c91", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- Universes ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Universe where open import Data.Product open import Level --------------------...
{ "alphanum_fraction": 0.3618677043, "avg_line_length": 24.4761904762, "ext": "agda", "hexsha": "ff250fdf76dcddd3373a9424db17cdb58293bbba", "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...
------------------------------------------------------------------------------ -- First-order logic theorems ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-...
{ "alphanum_fraction": 0.4221256684, "avg_line_length": 27.4495412844, "ext": "agda", "hexsha": "4654c5c0aabb153bb23ffe8f91ea69a59caf2f71", "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...
open import Logic open import Structure.Setoid open import Structure.Operator.Ring open import Structure.OrderedField open import Type module Structure.OrderedField.AbsoluteValue {ℓ ℓₗ ℓₑ} {F : Type{ℓ}} ⦃ equiv : Equiv{ℓₑ}(F) ⦄ (_+_ _⋅_ : F → F → F) (_≤_ : F → F → Stmt{ℓₗ}) ⦃ ring : Ring(_+_)(_⋅_) ⦄ -- TOD...
{ "alphanum_fraction": 0.5411330049, "avg_line_length": 42.7368421053, "ext": "agda", "hexsha": "28b53fbd7c3d06957aa2c695d62fdeccc01d1975", "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 (∃; ∃-syntax; _×_; _,_) open import DeBruijn open import Parallel open import Beta par-diamond : ∀ {n} {M N N′ : Term n} → M ⇉ N → M ⇉ N′ ----------------------- → ∃[ L ] (N ⇉ L × N′ ⇉ L) par-diamond (⇉-c {x = x}) ⇉-c = # x , ⇉-c , ⇉-c par-diamond (⇉-ƛ p1) (⇉-ƛ p2) ...
{ "alphanum_fraction": 0.4041159963, "avg_line_length": 27.7662337662, "ext": "agda", "hexsha": "0bfa2ec4e3695485ad828b1e8527b60af9027404", "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...
------------------------------------------------------------------------------ -- Mendelson's substitution ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# ...
{ "alphanum_fraction": 0.4640672783, "avg_line_length": 34.4210526316, "ext": "agda", "hexsha": "9c192fd154f9a075b76810416a8de6d9e9600b5c", "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...
------------------------------------------------------------------------ -- Code related to the delay monad -- -- Nils Anders Danielsson ------------------------------------------------------------------------ {-# OPTIONS --cubical --sized-types #-} module README where -- The concept referred to as the delay monad h...
{ "alphanum_fraction": 0.7127272727, "avg_line_length": 24.6268656716, "ext": "agda", "hexsha": "cc399a67a8af104a11aab06d01639b0824491f5a", "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 file contains: - Definition of type quotients (i.e. non-truncated quotients) -} {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.TypeQuotients.Base where open import Cubical.Core.Primitives -- Type quotients as a higher inductive type: data _/ₜ_ {ℓ ℓ'} (A : Type ℓ) (R : A → A → Type ℓ...
{ "alphanum_fraction": 0.6028368794, "avg_line_length": 23.5, "ext": "agda", "hexsha": "9d364f13e04dfae750907c8a3ecc8bab4b220fb9", "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...
------------------------------------------------------------------------ -- Code related to the abstract "Type Theory with Weak J" by Thorsten -- Altenkirch, Paolo Capriotti, Thierry Coquand, Nils Anders -- Danielsson, Simon Huber and Nicolai Kraus -- -- The code is written by Nils Anders Danielsson -------------------...
{ "alphanum_fraction": 0.6186335404, "avg_line_length": 35, "ext": "agda", "hexsha": "feaf9b5b01bce858a0e7475879325c0244123adc", "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...
open import Data.Nat open import Data.Fin using (Fin; #_; suc; zero) open import Data.List as List hiding (null) open import Data.List.Membership.Propositional open import Data.List.Relation.Unary.Any open import Data.List.Relation.Unary.All open import Data.Integer hiding (suc) open import Data.Product hiding (map) op...
{ "alphanum_fraction": 0.5875956023, "avg_line_length": 38.5622119816, "ext": "agda", "hexsha": "bf2e092ff3b685ff337a1d183acfcc540971c64e", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-28T17:38:05.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-28T...
module Misc.PosBinary where -- Positive Binary Numbers open import Data.Nat open import Data.List open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym) open import Induction.WellFounded open import Induction.Nat using (<-well-founded) data Bin+ : Set where [] : Bin+ 1∷_ : Bin+ → Bin+ 2∷_ ...
{ "alphanum_fraction": 0.5226628895, "avg_line_length": 28.24, "ext": "agda", "hexsha": "ce3ece786399470079de66c00a77ccfc61e0ba85", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-05-30T05:50:50.000Z", "max_forks_repo_forks_event_min_datetime": "2015-05-30T05:50:50...
module Tactic.Nat.Simpl where open import Prelude hiding (abs) open import Builtin.Reflection open import Tactic.Reflection.Quote open import Tactic.Reflection open import Tactic.Nat.Reflect open import Tactic.Nat.NF open import Tactic.Nat.Exp open import Tactic.Nat.Auto open import Tactic.Nat.Auto.Lemmas open impor...
{ "alphanum_fraction": 0.5691452397, "avg_line_length": 33.4651162791, "ext": "agda", "hexsha": "52bb8cbc2ea2f680d81c432d70a3a430807e28a9", "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 Celeste where open import Data.Nat using (ℕ; _⊔_; zero) open import Data.String using (String) open import Data.Vec using (Vec) open import Data.Unsigned using (Unsigned) open import Data.Signed using (Signed) open import Data.Float using (Float) private variable word-size : ℕ mutual data Type : ℕ → S...
{ "alphanum_fraction": 0.6437886067, "avg_line_length": 29.14, "ext": "agda", "hexsha": "3131f70ec47ffca1b404a2229fce54616c1a9d7b", "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 parser equivalence proof language is sound ------------------------------------------------------------------------ module TotalParserCombinators.Congruence.Sound where open import Category.Monad open import Codata.Musical.Notation open i...
{ "alphanum_fraction": 0.3893384441, "avg_line_length": 58.4564315353, "ext": "agda", "hexsha": "c5f61abd5a97d2d055a50889f55cd0d0e0ae41c3", "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 _ where open import Agda.Builtin.Equality open import Agda.Builtin.Nat variable f : Nat → Nat -- Drops the argument to f! foo : (n : Nat) → f n ≡ n → f (f n) ≡ n foo n eq rewrite eq = eq
{ "alphanum_fraction": 0.65, "avg_line_length": 15.3846153846, "ext": "agda", "hexsha": "9819dd62aab248de20f0066925f60ae362273a75", "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:...
{-# OPTIONS --without-K #-} module algebra.monoid.mset where open import level open import algebra.monoid.core open import algebra.monoid.morphism open import algebra.semigroup open import equality.core open import hott.level module _ {i}(M : Set i) ⦃ mM : IsMonoid M ⦄ where open IsMonoid ⦃ ... ⦄ record IsMSet {...
{ "alphanum_fraction": 0.5449620802, "avg_line_length": 28.84375, "ext": "agda", "hexsha": "97305d6516481f38aa08516de724071355e9bfd8", "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-02T12:17...
-- Andreas, 2013-10-27 {-# OPTIONS --copatterns #-} module Issue907a where import Common.Level open import Common.Prelude open import Common.Product data Vec (A : Set) : Nat → Set where [] : Vec A zero test : ∀ {A} → Σ Nat λ n → Vec A n proj₁ test = zero proj₂ test = []
{ "alphanum_fraction": 0.6582733813, "avg_line_length": 16.3529411765, "ext": "agda", "hexsha": "651b7fd483965f17720f7e593551b9dff879ff98", "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 homotopy.SuspAdjointLoop open import cohomology.WithCoefficients module cohomology.SuspAdjointLoopIso where module SuspAdjointLoopIso {i j} (X : Ptd i) (Y : Ptd j) where module ΣAΩ = SuspAdjointLoop X (⊙Ω Y) GSΣ = →Ω-group-structure (⊙Susp X) Y GSΩ = →Ω...
{ "alphanum_fraction": 0.5021786492, "avg_line_length": 37.4693877551, "ext": "agda", "hexsha": "b35fccdbda6307c87512714a3a241170ac2235a1", "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 second-order equational theory was created from the following second-order syntax description: syntax Unit | U type 𝟙 : 0-ary term unit : 𝟙 theory (𝟙η) u : 𝟙 |> u = unit -} module Unit.Equality where open import SOAS.Common open import SOAS.Context open import SOAS.Variable open import SOAS.Fami...
{ "alphanum_fraction": 0.7105263158, "avg_line_length": 18.1363636364, "ext": "agda", "hexsha": "71c0b94c154a1ac3e17689db096bef9b1534d96a", "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...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.CoHSpace open import cohomology.Theory module cohomology.CoHSpace {i} (CT : CohomologyTheory i) (n : ℤ) {X : Ptd i} (CHSS : CoHSpaceStructure X) where open CohomologyTheory CT open CoHSpaceStructure CHSS open import cohomology.Wedge CT n...
{ "alphanum_fraction": 0.588474026, "avg_line_length": 32.4210526316, "ext": "agda", "hexsha": "b11449a91cd799e6c2f9841477a05c14ccf0f950", "lang": "Agda", "max_forks_count": 50, "max_forks_repo_forks_event_max_datetime": "2022-02-14T03:03:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-10T...
{-# OPTIONS --without-K #-} --open import HoTT open import homotopy.3x3.PushoutPushout open import homotopy.3x3.Transpose import homotopy.3x3.To as To import homotopy.3x3.From as From open import homotopy.3x3.Common module homotopy.3x3.ToFrom {i} (d : Span^2 {i}) where open Span^2 d open M d hiding (Pushout^2) open ...
{ "alphanum_fraction": 0.5354969574, "avg_line_length": 41.0833333333, "ext": "agda", "hexsha": "37b7ddc91dcd3155516f58f98b67a45444a61ae3", "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 SubstantiveDischargeIsConsistent where open import HasNegation open import HasSubstantiveDischarge record SubstantiveDischargeIsConsistent (+ : Set) (- : Set) ⦃ _ : HasNegation (-) ⦄ ⦃ _ : HasSubstantiveDischarge (+) (-) ⦄ : Set₁ where field ≽-consistent : {+ : +} → { - : - } → + ≽ - → + ⋡ ~ - open Su...
{ "alphanum_fraction": 0.6824324324, "avg_line_length": 29.6, "ext": "agda", "hexsha": "f5f9b77f0fbdd85dcab8c00348a2767f98502bad", "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...
------------------------------------------------------------------------ -- Closure properties for h-levels ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} -- Partly based on Voevodsky's work on so-called univalent -- foundations. open import Equality modu...
{ "alphanum_fraction": 0.5049990386, "avg_line_length": 34.1422319475, "ext": "agda", "hexsha": "bdc3ce21717fa026124c87240070d5afdeebdf69", "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 Coinduction using ( ∞ ; ♭ ; ♯_ ) open import Data.Bool using ( Bool ; true ; false ) open import Data.Empty using ( ⊥ ; ⊥-elim ) open import Data.Unit using ( ⊤ ; tt ) open import System.IO.Transducers.Lazy using ( _⇒_ ; inp ; out ; done ; choice ) renaming ( ⟦_⟧ to ⟦_⟧' ; _⟫_ to _⟫'_ ; _[&]_ to _[&...
{ "alphanum_fraction": 0.5262417994, "avg_line_length": 28.8378378378, "ext": "agda", "hexsha": "aca561faa819f1b2986bcad84c7acd125bb341b4", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:40:23.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-10T...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import stash.modalities.gbm.GbmUtil module stash.modalities.gbm.PullbackSplit where -- L --> B K = A ×_D C / (f,h) d₁ = A -> D <- C -- | |g L = B ×_A K / (g,left) d₂ = B -> A <- K -- v v d =...
{ "alphanum_fraction": 0.3967332481, "avg_line_length": 68.2080536913, "ext": "agda", "hexsha": "b1a4068d69c5ae46db6b7164fd08ee8fa5b5e5e3", "lang": "Agda", "max_forks_count": 50, "max_forks_repo_forks_event_max_datetime": "2022-02-14T03:03:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-10...
{- Closure properties of FinSet under several type constructors. -} {-# OPTIONS --safe #-} module Cubical.Data.FinSet.Constructors where open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical.HITs.PropositionalTruncation renaming (r...
{ "alphanum_fraction": 0.5826439007, "avg_line_length": 28.8375634518, "ext": "agda", "hexsha": "7221a9b014332cdf3c83b634b1595168480b2e3a", "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 --safe #-} module Data.Sigma.Unique where open import Data.Sigma.Base open import Level open import Path ∃! : ∀ {a b} {A : Type a} → (A → Type b) → Type (a ℓ⊔ b) ∃! B = ∃ x × B x × (∀ {y} → B y → x ≡ y) infixr 4.5 ∃!-syntax ∃!-syntax : ∀ {a b} {A : Type a} (B : A → Type b) → Type (a ℓ⊔ b) ∃!-s...
{ "alphanum_fraction": 0.5148247978, "avg_line_length": 21.8235294118, "ext": "agda", "hexsha": "9b19d398f147fb29b1912945bb88bcc9334e149d", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- An inductive definition of the heterogeneous prefix relation ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.List.Relation.Binary.Prefix.H...
{ "alphanum_fraction": 0.5052169138, "avg_line_length": 33.7222222222, "ext": "agda", "hexsha": "ba86166a74245cb13c2ea1ee43d398bb89ee698e", "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 Structure.Category.Action where open import Structure.Category.Functor
{ "alphanum_fraction": 0.85, "avg_line_length": 16, "ext": "agda", "hexsha": "42709e97b0683ca0e53ebb4b2234ebdb87b0e673", "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": "70f4fba849f...
{-# OPTIONS --without-K #-} open import lib.Basics open import lib.types.Coproduct open import lib.types.Sigma open import lib.types.Pi open import lib.types.Fin open import lib.types.Nat open import lib.types.Empty open import lib.NType2 open import lib.Equivalence2 open import Util.Misc open import Util.Coproducts ...
{ "alphanum_fraction": 0.485025955, "avg_line_length": 42.6875, "ext": "agda", "hexsha": "37d6df2051c5d675f298cca96fd7566d0a2fc91e", "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 --without-K --type-in-type #-} module UnbiasedCategory where open import Agda.Builtin.Equality module TypedLists where data TypedList (index : Set) (type : index -> index -> Set) : index -> index -> Set where empty : {a : index} -> TypedList index type a a fby : {a b c : index} -> type a b -> T...
{ "alphanum_fraction": 0.5623549272, "avg_line_length": 33.609929078, "ext": "agda", "hexsha": "f32da00eaceddce85b12a126ed5cffcb4ee12166", "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 L.Data.Bool.Properties where open import L.Data.Bool.Core open import L.Base.Id.Core open import L.Base.Coproduct.Core !∃tt∧!∃ff : (x : Bool) → (x ≡ ff) + (x ≡ tt) !∃tt∧!∃ff = if (λ b → (b ≡ ff) + (b ≡ tt)) (inr refl) (inl refl)
{ "alphanum_fraction": 0.6092436975, "avg_line_length": 26.4444444444, "ext": "agda", "hexsha": "83a761ee76bd8660d8fc72399a8852a8f4d7b539", "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 Tools.Fin where open import Tools.Nat open import Tools.Nullary open import Tools.PropositionalEquality open import Data.Fin.Properties using (suc-injective) open import Data.Fin public using (Fin) renaming (zero to x0 ; suc to _+1) -- Decidability of equality _≟ⱽ_ : {n ...
{ "alphanum_fraction": 0.6384297521, "avg_line_length": 23.0476190476, "ext": "agda", "hexsha": "5dd499f7481c8b25ddec89886babd5341e1f15fb", "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...
{- - Automatically generate UARel and DUARel instances -} {-# OPTIONS --no-exact-split --safe #-} module Cubical.Displayed.Auto where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Function open import Cubical.Foundations.Isomorphism open import Cubica...
{ "alphanum_fraction": 0.5698778833, "avg_line_length": 34.0153846154, "ext": "agda", "hexsha": "37e648d84cbeb35a844257e856739eb9f113640d", "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 --safe #-} module Diatonic where open import Data.Bool using (Bool; false; true; if_then_else_; _∧_) open import Data.Empty using (⊥) open import Data.Fin using (Fin; toℕ; #_; _≟_) renaming (zero to fz; suc to fs) open import Data.Integer using (ℤ; +_; -[1+_]...
{ "alphanum_fraction": 0.548828125, "avg_line_length": 32.3855421687, "ext": "agda", "hexsha": "9fbc27d28ae4fdc540d078da56f509932c16c4a2", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-11-10T04:04:40.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-12T1...
module MJSF.Examples.DynamicDispatch where open import Prelude open import Data.Star open import Data.Bool open import Data.List open import Data.Integer open import Data.List.Membership.Propositional open import Data.List.Relation.Unary.Any open import Data.List.Relation.Unary.All hiding (lookup) open import Data.Pro...
{ "alphanum_fraction": 0.4830335935, "avg_line_length": 25.188034188, "ext": "agda", "hexsha": "4949fa5ce1426383069fe3b5b9d5b6370d164fad", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-28T17:38:05.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-28T1...
-- Andreas, 2016-12-31, issue #2374 -- Use hiding info to disambiguate overloaded projections. -- {-# OPTIONS -v tc.lhs.split:40 #-} postulate A B : Set module M where record R : Set₂ where field F : Set₁ module Order1 where open M.R open M.R {{...}} test : M.R F test = Set inst : M.R F {...
{ "alphanum_fraction": 0.5455621302, "avg_line_length": 13.8524590164, "ext": "agda", "hexsha": "4caf8c7d3f2a1f2f825f8fe0ee137c3cf4d8d6ae", "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 -- -- This module is DEPRECATED. Please use -- Data.Vec.Relation.Binary.Equality.Setoid directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open impor...
{ "alphanum_fraction": 0.5707317073, "avg_line_length": 29.2857142857, "ext": "agda", "hexsha": "56d85f6de78180ae4c96abb7f0daf1175e674d62", "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 #-} --open import HoTT open import homotopy.3x3.PushoutPushout open import homotopy.3x3.Transpose import homotopy.3x3.To as To import homotopy.3x3.From as From open import homotopy.3x3.Common module homotopy.3x3.ToFrom3 {i} (d : Span^2 {i}) where open Span^2 d open M d hiding (Pushout^2) open...
{ "alphanum_fraction": 0.4012542034, "avg_line_length": 58.8395721925, "ext": "agda", "hexsha": "f52aefb7f696051ca2ec0272071a2cba8f5f5e56", "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 calculus.properties where open import utility open import Esterel.Lang open import Esterel.Lang.Binding open import Esterel.Lang.Properties open import Esterel.Lang.CanFunction using (Canθₛ ; Canθₛₕ ; [S]-env) open import Esterel.Environment as Env using (Env ; Θ ; _←_ ; sig ; []env ; module SigMap ; modul...
{ "alphanum_fraction": 0.5442192717, "avg_line_length": 40.246875, "ext": "agda", "hexsha": "430a8b1e1ba17530fd658d47bb058d9e5e96723f", "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-15T20:0...
------------------------------------------------------------------------ -- Groupoids ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Groupoid {reflexive} (eq : ∀ {a p} → Equality-with-J a p reflexive) where open import Prelud...
{ "alphanum_fraction": 0.3525208104, "avg_line_length": 33.598944591, "ext": "agda", "hexsha": "e3c81f6477a5f6ab533722f713d64db7dbf3e0ab", "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 connecting left-scaling and right-scaling ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Relation.Binary -- The properties ar...
{ "alphanum_fraction": 0.4961119751, "avg_line_length": 29.2272727273, "ext": "agda", "hexsha": "23b812dc48ae78297e7bf67af06a6317079c5277", "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 --safe #-} module Categories.Category.Complete where open import Level open import Categories.Category open import Categories.Category.Construction.Cones open import Categories.Functor open import Categories.Diagram.Cone.Properties open import Categories.Diagram.Limit using (Limit) Complete ...
{ "alphanum_fraction": 0.6576032226, "avg_line_length": 34.2413793103, "ext": "agda", "hexsha": "dd23aafc715b8a0021b7e73a419fa446b745314c", "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 --without-K --rewriting #-} open import HoTT open import homotopy.EilenbergMacLane open import homotopy.EilenbergMacLane1 open import homotopy.EilenbergMacLaneFunctor open import homotopy.SmashFmapConn open import homotopy.IterSuspSmash open import cohomology.CupProduct.OnEM.InLowDegrees2 module cohomolog...
{ "alphanum_fraction": 0.4459716068, "avg_line_length": 34.3447204969, "ext": "agda", "hexsha": "2402f7b85e7b784e737f6d522d063e786acbf8e0", "lang": "Agda", "max_forks_count": 50, "max_forks_repo_forks_event_max_datetime": "2022-02-14T03:03:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-10...
open import Level using (_⊔_) open import Function using (_$_) open import Algebra using (CommutativeRing) module AKS.Modular.Equivalence {c ℓ} (R : CommutativeRing c ℓ) where open CommutativeRing R using (0#; 1#; _+_; _*_; -_; _-_) renaming (Carrier to C) open CommutativeRing R using (+-cong; +-congˡ; +-congʳ; +-i...
{ "alphanum_fraction": 0.4345132743, "avg_line_length": 50.7865168539, "ext": "agda", "hexsha": "37f9ba530bd3701fc2bc101df3843a8e2cb411fc", "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 --prop --rewriting --confluence-check #-} open import Agda.Primitive open import Agda.Builtin.Equality open import Agda.Builtin.Nat renaming (Nat to ℕ; _+_ to _+ℕ_) infix 4 _≐_ data _≐_ {ℓ} {A : Set ℓ} (x : A) : A → Prop ℓ where refl : x ≐ x {-# BUILTIN REWRITE _≐_ #-} variable ℓ : Level A B C : S...
{ "alphanum_fraction": 0.4976651101, "avg_line_length": 19.4675324675, "ext": "agda", "hexsha": "f4b10aea4e908f0d7ed45bb493f4f8e3d4b5cc1b", "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...
open import Nat open import Prelude open import core module judgemental-inconsistency where data incon : τ̇ → τ̇ → Set where ICNumArr1 : {t1 t2 : τ̇} → incon num (t1 ==> t2) ICNumArr2 : {t1 t2 : τ̇} → incon (t1 ==> t2) num ICArr1 : {t1 t2 t3 t4 : τ̇} → incon t1 t3 → incon (t...
{ "alphanum_fraction": 0.5773322422, "avg_line_length": 52, "ext": "agda", "hexsha": "ba4b6c5221a88d0dae69a700aa1fd4621b2014a8", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-07-03T03:45:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-03T03:45:07.00...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import stash.modalities.Orthogonality module stash.modalities.NullifyFamily where module _ {ℓ} {I : Type ℓ} (X : I → Type ℓ) (A : Type ℓ) where private data #NullifyAll : Type ℓ where #inj : A → #NullifyAll #apex : (i : I) →...
{ "alphanum_fraction": 0.5220640569, "avg_line_length": 35.125, "ext": "agda", "hexsha": "a85415252cc2284c367bccdc0ce8cdad41d5ba85", "lang": "Agda", "max_forks_count": 50, "max_forks_repo_forks_event_max_datetime": "2022-02-14T03:03:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-10T01:48:...
open import Data.Bool using ( Bool ; true ; false ; if_then_else_ ) open import Data.Empty using ( ⊥-elim ) open import Data.Product using ( _×_ ; _,_ ) open import Data.Sum using ( inj₁ ; inj₂ ) open import Relation.Unary using ( _∈_ ; _∉_ ) open import Web.Semantic.DL.Concept using ( neg ) open import Web.Semantic.DL...
{ "alphanum_fraction": 0.5978901644, "avg_line_length": 44.1506849315, "ext": "agda", "hexsha": "eb8b9b160385c818871b89890f895d9d22805127", "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-03T...
module examplesPaperJFP.CatTerm where open import examplesPaperJFP.BasicIO hiding (main) open import examplesPaperJFP.Console hiding (main) open import examplesPaperJFP.NativeIOSafe cat : IO ConsoleInterface Unit force cat = exec′ getLine λ{ nothing → return unit ; (just line) → delay ( exec′ (putStrLn l...
{ "alphanum_fraction": 0.7016574586, "avg_line_length": 30.1666666667, "ext": "agda", "hexsha": "6748914ae783edfa4fa13228a41fc7bd06c7d8ce", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-01T...
open import Prelude open import Nat open import core open import contexts open import disjointness -- this module contains lemmas and properties about the holes-disjoint -- judgement that double check that it acts as we would expect module holes-disjoint-checks where -- these lemmas are all structurally recursive ...
{ "alphanum_fraction": 0.6472537449, "avg_line_length": 65.3709198813, "ext": "agda", "hexsha": "e9453934af922fdd6f54af6ad23e49496b1c7ac4", "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 Categories.Agda.ISetoids.Cocomplete.Helpers where open import Level open import Relation.Binary using (Setoid; module Setoid; Preorder; module Preorder; Rel; _=[_]⇒_) open import Data.Product using (Σ; _,_; Σ-syntax) -- import Relation.Binary.EqReasoning as EqReasoning o...
{ "alphanum_fraction": 0.5730616302, "avg_line_length": 32.9836065574, "ext": "agda", "hexsha": "2ca32b5c7cadb09db79b3ee8f4135fc94b1d9053", "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...
{-# OPTIONS --without-K #-} open import HoTT open import homotopy.JoinComm open import homotopy.JoinAssocCubical module homotopy.JoinSusp where module _ {i} {A : Type i} where private module Into = JoinRec {A = Bool} {B = A} {D = Suspension A} (if_then north else south) (λ _ → south...
{ "alphanum_fraction": 0.47703516, "avg_line_length": 30.9509803922, "ext": "agda", "hexsha": "8e3bfb0f7e3aeb2f64445ff8b15663532df04c4a", "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_hexs...
{-# OPTIONS --safe --warning=error --without-K --guardedness #-} open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Setoids.Setoids open import Rings.Definition open import Rings.Orders.Partial.Definition open import Rings.Orders.Total.Definition open import Groups.Definition open import Groups.Lem...
{ "alphanum_fraction": 0.6799215906, "avg_line_length": 97.5683060109, "ext": "agda", "hexsha": "153cd5ac28a3b1f5b83bf39fb2f2064318d59dbe", "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 #-} open import Categories.Category module Categories.Morphism.Duality {o ℓ e} (C : Category o ℓ e) where open Category C import Categories.Morphism as M private module Op = M op open M C open import Categories.Morphism.Properties C private variable A B X Y : Obj f g h :...
{ "alphanum_fraction": 0.5855940131, "avg_line_length": 17.2419354839, "ext": "agda", "hexsha": "ec9d0fad5f5945cd013aa422160d252919a9ccb3", "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...