Search is not available for this dataset
text
string
meta
dict
open import Agda.Builtin.Nat using (Nat; suc; zero; _+_) module test where data _even : Nat → Set where ZERO : zero even STEP : ∀ x → x even → suc (suc x) even proof₁ : suc (suc (suc (suc zero))) even proof₁ = ?
{ "alphanum_fraction": 0.6380090498, "avg_line_length": 17, "ext": "agda", "hexsha": "010d1280b8b88c0b8fe2648c55cab5f1975221d0", "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": "0e7...
module Data.Char.Classifier where open import Data.Char.Classifier.Primitive public
{ "alphanum_fraction": 0.8470588235, "avg_line_length": 21.25, "ext": "agda", "hexsha": "eab6f10b262f4e6c10d86238e584b45dbde468a9", "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-10T06:12:54...
module Data.Option.Equiv.Id where import Lvl open import Data.Option open import Data.Option.Functions open import Data.Option.Equiv open import Relator.Equals open import Relator.Equals.Proofs.Equiv open import Structure.Function open import Structure.Function.Domain open import Type private variable ℓ : Lvl.Le...
{ "alphanum_fraction": 0.711409396, "avg_line_length": 31.6060606061, "ext": "agda", "hexsha": "5dca841df02d0a87fd2a9e90cce886ef41a7b00a", "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 --allow-unsolved-metas #-} open import Common.Size -- An abuse of sized types, but as you wish... data D (i : Size) : Set where c : (j : Size< i) (k : Size< j) (l : Size< k) (m : Size< l) → D m → D i c' : (j : Size< i) → D j → D i works : ∀ i → D i → Set works i (c j k l m d) = works j (c' k (c' l ...
{ "alphanum_fraction": 0.5451448041, "avg_line_length": 27.9523809524, "ext": "agda", "hexsha": "ce340f89790dccf13ac470c99a7de76e4a6d9c47", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-09-15T14:36:15.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-15T...
-- Andreas, 2011-04-07 module IrrelevantTelescope where data Wrap .(A : Set) : Set where wrap : A -> Wrap A -- cannot use A, because it is declared irrelevant
{ "alphanum_fraction": 0.6951219512, "avg_line_length": 20.5, "ext": "agda", "hexsha": "25a92dcab18c9bf253207b63139437886033a410", "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": "7...
-- Andreas, 2015-10-28 Issue 1407 -- (Issue 1023 raised its ugly head again!) {-# OPTIONS -v term.with.inline:30 #-} --KEEP! Triggered bug on agda-2.4.2.5. -- {-# OPTIONS -v term.with.inline:70 #-} -- {-# OPTIONS -v tc.with.display:30 #-} record _×_ (A B : Set) : Set where constructor pair field fst : A s...
{ "alphanum_fraction": 0.5746400606, "avg_line_length": 44.9886363636, "ext": "agda", "hexsha": "f654c0026511e28fa0e93ebabad317c1a03a3b4d", "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 Type module Graph.Walk.Properties {ℓ₁ ℓ₂} {V : Type{ℓ₁}} where open import Lang.Instance open import Logic import Lvl open import Graph{ℓ₁}{ℓ₂}(V) open import Graph.Walk{ℓ₁}{ℓ₂}{V} open import Relator.Equals.Proofs.Equiv open import Type.Properties.MereProposition module _ (_⟶_ : Graph) where -- `...
{ "alphanum_fraction": 0.6524793388, "avg_line_length": 46.5384615385, "ext": "agda", "hexsha": "5209e0a166b0ed2d50e16b59a00f569cf1b6608b", "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 --omega-in-omega --no-termination-check --overlapping-instances #-} module Light.Library.Arithmetic where open import Light.Level using (Setω ; Level) open import Light.Variable.Levels record Arithmetic (Operand : Set ℓ) : Setω where field _+_ _∗_ : Operand → Operand → Operand open Arithmetic ⦃ ......
{ "alphanum_fraction": 0.7242424242, "avg_line_length": 30, "ext": "agda", "hexsha": "3c0ade5268955b543cb84ff4898e93d41284f3c0", "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": "44b...
open import Formalization.PredicateLogic.Signature module Formalization.PredicateLogic.Classical.NaturalDeduction (𝔏 : Signature) where open Signature(𝔏) open import Data.ListSized import Lvl open import Formalization.PredicateLogic.Syntax(𝔏) open import Formalization.PredicateLogic.Syntax.Substitution(𝔏) op...
{ "alphanum_fraction": 0.4725226219, "avg_line_length": 38.7264957265, "ext": "agda", "hexsha": "371d71507bc997130f6f0cb2ca67135d3cdbd41a", "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 Tactic.Reflection where open import Prelude hiding (abs; _>>=_) renaming (_>>=′_ to _>>=_) open import Builtin.Reflection public open import Tactic.Reflection.DeBruijn public open import Tactic.Reflection.Telescope public open import Tactic.Reflection.Substitute public open import Tactic.Reflectio...
{ "alphanum_fraction": 0.5918880115, "avg_line_length": 28.7216494845, "ext": "agda", "hexsha": "06bc6616efb75aaf5db50b92ce6ae770c33fb09d", "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 unary numbers are LTC-PCF total natural numbers ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-uni...
{ "alphanum_fraction": 0.40625, "avg_line_length": 27.0769230769, "ext": "agda", "hexsha": "ab43265a5bedc3655bb8373af4c23fb12cd0391a", "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-19T14:18...
{-# OPTIONS --universe-polymorphism #-} module Issue204.Dependency where postulate Level : Set zero : Level suc : Level → Level {-# BUILTIN LEVEL Level #-} {-# BUILTIN LEVELZERO zero #-} {-# BUILTIN LEVELSUC suc #-} record R (ℓ : Level) : Set (suc ℓ) where data D (ℓ : Level) : Set (suc ℓ) where mod...
{ "alphanum_fraction": 0.6186440678, "avg_line_length": 18.6315789474, "ext": "agda", "hexsha": "630d4ec76b369c80d249d0b46c9ec82ed711eaed", "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...
-- Copyright: (c) 2016 Ertugrul Söylemez -- License: BSD3 -- Maintainer: Ertugrul Söylemez <esz@posteo.de> module Algebra.Category where open import Algebra.Category.Category public open import Algebra.Category.Groupoid public open import Algebra.Category.Semigroupoid public
{ "alphanum_fraction": 0.7978723404, "avg_line_length": 28.2, "ext": "agda", "hexsha": "3db7e2a811133b1f4c389a015dd8c88600a135f5", "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": "d...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Base.Types import LibraBFT.Impl.Consensus.Consensus...
{ "alphanum_fraction": 0.6524679639, "avg_line_length": 39.5680751174, "ext": "agda", "hexsha": "583c32639b0dcfbf0a42b44c534e4876b4be595b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 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 -} -- This module defines an intermediate (between an implementation and Ab...
{ "alphanum_fraction": 0.7317487267, "avg_line_length": 47.12, "ext": "agda", "hexsha": "fecb0865c082977b4673c41295633d581f9ca73a", "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": "...
------------------------------------------------------------------------ -- An implementation of tree sort, formally proved to return a -- permutation of the input ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality open import Prelude hidin...
{ "alphanum_fraction": 0.426183844, "avg_line_length": 32.4097222222, "ext": "agda", "hexsha": "fa4873e74f1054aa27156c2156262a31494d644d", "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 Type.Identity where import Lvl open import Type private variable ℓ : Lvl.Level private variable T : Type{ℓ} -- Identity type. -- Also called: Propositional equality. -- Two terms are identical/equal when their data representation are the same. data Id {T : Type{ℓ}} : T → T → Type{ℓ} where instance intr...
{ "alphanum_fraction": 0.6700111483, "avg_line_length": 37.375, "ext": "agda", "hexsha": "29e771d39f88ed66a011206d635ca9eac3a88909", "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 -- -- Convenient syntax for "equational reasoning" using a partial order ------------------------------------------------------------------------ -- Example uses: -- -- u≤x : u ≤ x -- u≤x = begin -- u ≈⟨ u...
{ "alphanum_fraction": 0.4156059768, "avg_line_length": 22.8734177215, "ext": "agda", "hexsha": "f358038ffea328364ff3cf880544c0ddafca464d", "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...
{- Homotopy colimits of graphs -} {-# OPTIONS --cubical --safe #-} module Cubical.HITs.Colimit.Base where open import Cubical.Core.Glue open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical....
{ "alphanum_fraction": 0.5379563454, "avg_line_length": 38.0661764706, "ext": "agda", "hexsha": "ed14d06b0da670d4fe415a4369e5093c5ee48d69", "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 Pos where import Prelude import Equiv import Datoid import Nat open Prelude open Equiv open Datoid abstract Pos : Set Pos = Nat.Nat one : Pos one = Nat.zero suc : Pos -> Pos suc = Nat.suc suc' : Nat.Nat -> Pos suc' n = n _+_ : Pos -> Pos -> Pos m +...
{ "alphanum_fraction": 0.5957854406, "avg_line_length": 18.3157894737, "ext": "agda", "hexsha": "b4c2069deb5eb561caf6563fcdb9ce2eb6125976", "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 Monad where open import Level open import Category import Functor import Nat import Adjoint open Category.Category open Functor.Functor open Nat.Export open Nat.Nat open Adjoint.Export record Monad {c₀ c₁ ℓ} (C : Category c₀ c₁ ℓ) : Set (suc (c₀ ⊔ c₁ ⊔ ℓ)) where field MFunctor : Functor.Functor C C ...
{ "alphanum_fraction": 0.5880272109, "avg_line_length": 54.0441176471, "ext": "agda", "hexsha": "e3ba8cfe30f93225df27dfb6db5251c55766be2b", "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 char where open import bool open import nat open import eq open import product open import product-thms ---------------------------------------------------------------------- -- datatypes ---------------------------------------------------------------------- postulate char : Set {-# BUILTIN CHAR char #-} ...
{ "alphanum_fraction": 0.454601227, "avg_line_length": 23.9705882353, "ext": "agda", "hexsha": "bef728992c592b6b77facb14e4678ce4cafddf5b", "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 #-} -- https://personal.cis.strath.ac.uk/conor.mcbride/pub/DepRep/DepRep.pdf module Experiment.Outrageous.#03 where open import Experiment.Outrageous.#02 data U : Set El : U → Set data U where :Zero: :𝟏: :𝟐: :ℕ: : U :Π: :Σ: : (S : U) → (El S → U) → U El :Zero: = Zero El :𝟏: ...
{ "alphanum_fraction": 0.4710485133, "avg_line_length": 18.2571428571, "ext": "agda", "hexsha": "b61b6818de36c3364af8fa2bfb0235ed0df98f4d", "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...
------------------------------------------------------------------------------ -- Fairness of the ABP channels ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} ...
{ "alphanum_fraction": 0.4987555998, "avg_line_length": 32.4032258065, "ext": "agda", "hexsha": "239dcf7d73c8cf246072308325a5d39e97027195", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...
{-# OPTIONS --without-K --safe #-} module Math.NumberTheory.Fibonacci.Nat where -- agda-stdlib open import Data.Nat open import Data.Nat.Properties -- agda-misc open import Math.NumberTheory.Fibonacci.Generic +-0-commutativeMonoid 0 1 renaming ( fibRec≈fib to fibRec≡fib ; fib[2+n]≈fib[1+n]∙fib[n] to fib[2+n]≡f...
{ "alphanum_fraction": 0.6652173913, "avg_line_length": 27.0588235294, "ext": "agda", "hexsha": "d4637c1bcd6735d3bca15281f19774a9b397ba59", "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 #-} open import Base open import Homotopy.PushoutDef open import Homotopy.VanKampen.Guide module Homotopy.VanKampen.SplitCode {i} (d : pushout-diag i) (l : legend i (pushout-diag.C d)) (a₁ : pushout-diag.A d) where open pushout-diag d open legend l open import Homotopy.Truncation o...
{ "alphanum_fraction": 0.4499697786, "avg_line_length": 41.9331797235, "ext": "agda", "hexsha": "f2dd1ca0c3be7a01e26e905fb6eaf42e31eff17d", "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 Oscar.Prelude open import Oscar.Class.IsEquivalence module Oscar.Class.Setoid where record Setoid 𝔬 ℓ : Ø ↑̂ (𝔬 ∙̂ ℓ) where constructor ∁ field {Object} : Ø 𝔬 ObjectEquivalence : Object → Object → Ø ℓ ⦃ `IsEquivalence ⦄ : IsEquivalence ObjectEquivalence
{ "alphanum_fraction": 0.7087719298, "avg_line_length": 21.9230769231, "ext": "agda", "hexsha": "64ad08d09ac011f3739e12f7ef7092e50ee66055", "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 Issue4267.B where open import Issue4267.A0 postulate X : Set -- Crucial for bug: omitting signature of ra, -- letting Agda infer its type. ra = record {A = X}
{ "alphanum_fraction": 0.7134502924, "avg_line_length": 15.5454545455, "ext": "agda", "hexsha": "c8f0f529a7afc099fd1f246452eda535cf146ee8", "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.elims.SuspSmash open import homotopy.elims.CofPushoutSection -- Σ(X∧Y) ≃ X * Y module homotopy.SuspSmash {i j} (X : Ptd i) (Y : Ptd j) where private {- path lemmas -} private reduce-x : ∀ {i} {A : Type i} {x y z : A} (p : x == y) (q : z == y...
{ "alphanum_fraction": 0.4173249796, "avg_line_length": 33.3727272727, "ext": "agda", "hexsha": "bc789bba780c38588b77707d5abe8bc061db7805", "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 MJ.Types import MJ.Classtable.Core as Core module MJ.Syntax.Erase {c}(Ct : Core.Classtable c) where open import Prelude hiding (erase) open import Data.Maybe as Maybe using (Maybe; just; nothing) open import Data.Maybe.All as MayAll open import Data.Vec as Vec hiding (_∈_) open import Data.Star as Star op...
{ "alphanum_fraction": 0.7059409227, "avg_line_length": 40.1733333333, "ext": "agda", "hexsha": "fef6c4928d99b5c62493a8c759fae6f2426e1a2e", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use Data.Vec.Recursive.Categorical -- instead. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Product.N...
{ "alphanum_fraction": 0.5440613027, "avg_line_length": 29, "ext": "agda", "hexsha": "8eccfc9ccb0dda594fef41a74a1812c198f1dadd", "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-04T06:54:45.00...
{-# OPTIONS --safe #-} {- A typeclass for converting between type disciplines #-} module CF.Transform.Compile.ToJVM where open import Level open import Function open import Data.Product as P open import Data.List as L open import Data.List.Properties as LP open import Data.List.Membership.Propositional open import Da...
{ "alphanum_fraction": 0.5951532431, "avg_line_length": 28.06, "ext": "agda", "hexsha": "3d4f37abb4010a392a951db94d99f6d572433c24", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-28T17:37:15.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-28T17:37:15...
------------------------------------------------------------------------------ -- Arithmetic properties used by the McCarthy 91 function ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-...
{ "alphanum_fraction": 0.4889717304, "avg_line_length": 30.0841121495, "ext": "agda", "hexsha": "00dd8bab4c26ba465e87022aca8a275bf6987657", "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...
{- This second-order signature was created from the following second-order syntax description: syntax CTLC | ΛC type N : 0-ary _↣_ : 2-ary | r30 ¬_ : 1-ary | r30 term app : α ↣ β α -> β | _$_ l20 lam : α.β -> α ↣ β | ƛ_ r10 throw : α ¬ α -> β callcc : ¬ α.α -> α theory (ƛβ) b : α...
{ "alphanum_fraction": 0.5407969639, "avg_line_length": 19.8867924528, "ext": "agda", "hexsha": "d5e083a5fb66f3048f61e64b90b310f072f5ad64", "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...
open import DeBruijn infix 8 _* _* : ∀ {n} → Term n → Term n (# x) * = # x (ƛ M) * = ƛ M * ((ƛ M) · N) * = M * [ N * ] (L · N) * = L * · N *
{ "alphanum_fraction": 0.325, "avg_line_length": 14.5454545455, "ext": "agda", "hexsha": "69cc855453bdea0440411b5bef3835c02cfe06bb", "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 #-} open import lib.Basics open import lib.NType2 open import lib.PathFunctor open import lib.PathGroupoid open import lib.types.Bool open import lib.types.IteratedSuspension open import lib.types.LoopSpace open import lib.types.Nat open import lib.types.Paths open import lib.types.Pi open imp...
{ "alphanum_fraction": 0.5198151768, "avg_line_length": 33.1, "ext": "agda", "hexsha": "1a7a8510aedc9237aa5a4907dcac17c749ab89f8", "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": "9...
-- Jesper, 2019-05-28: test case for #3812 {-# OPTIONS --rewriting #-} open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite record Box (A : Set) : Set where constructor box field unbox : A open Box postulate A : Set r s : Box A rew₂ : r .unbox ≡ s .unbox {-# REWRITE rew₂ #-} Box-...
{ "alphanum_fraction": 0.6235955056, "avg_line_length": 17.2258064516, "ext": "agda", "hexsha": "07ea9142460890232c71be15f09869cbc3f5c63a", "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.HSpace open import homotopy.PushoutComm using (flip; Pushout-comm) module homotopy.HopfConstruction {i} (A : Type i) (c : is-connected 0 A) (hA : HSpaceStructure A) where open HSpaceStructure hA open ConnectedHSpace A c hA {- Using the fact that [μ...
{ "alphanum_fraction": 0.5673027334, "avg_line_length": 27.3098591549, "ext": "agda", "hexsha": "5f9c988a180c714d4eec79ea8e7cdcc86a039d48", "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 WarningOnImport.Impo where B = Set A = B {-# WARNING_ON_USAGE A "Deprecated: Use B instead" #-} {-# WARNING_ON_IMPORT "Deprecated: Use Impossible instead" #-}
{ "alphanum_fraction": 0.7202380952, "avg_line_length": 21, "ext": "agda", "hexsha": "03927ba96a43a877c174398651aff853ca361d67", "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....
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Base.Types open import LibraBFT.Impl.Consensus.Persisten...
{ "alphanum_fraction": 0.75, "avg_line_length": 36.5925925926, "ext": "agda", "hexsha": "0ccf38583d06f6e5817cb860485ade502b4d773d", "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 #-} open import HoTT open import cohomology.Exactness open import cohomology.Theory module cohomology.Sn {i} (OT : OrdinaryTheory i) where open OrdinaryTheory OT C-Sphere-≠ : (n : ℤ) (m : ℕ) → (n ≠ ℕ-to-ℤ m) → C n (⊙Sphere m) == LiftUnit-Group C-Sphere-≠ n O neq = C-dimension n neq C-Spher...
{ "alphanum_fraction": 0.5977175464, "avg_line_length": 29.2083333333, "ext": "agda", "hexsha": "959fd34d113a96bc9a441570b5d3892f05724609", "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 -- -- An inductive definition of the heterogeneous sublist relation -- This is a generalisation of what is commonly known as Order -- Preserving Embeddings (OPE). -------------------------------------------------------...
{ "alphanum_fraction": 0.5086247086, "avg_line_length": 33, "ext": "agda", "hexsha": "ed6b8b7d4924d7efc701a0258da98442d873bfc9", "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": "0de...
open import Relation.Binary.Core module PLRTree.Drop.Complete {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import Data.Sum open import PLRTree {A} open import PLRTree.Complete {A} open import PLRTree.Compound {A} open import PLRTree.Drop _≤_ tot≤ open impor...
{ "alphanum_fraction": 0.5097262667, "avg_line_length": 68.1349206349, "ext": "agda", "hexsha": "23cd1fa90ad8819501191f3f8e0afa103fefa2c5", "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.Equivalence.Base where open import Cubical.Foundations.Prelude open import Cubical.Categories.Category open import Cubical.Categories.Functor open import Cubical.Categories.NaturalTransformation open Precategory open Functor private vari...
{ "alphanum_fraction": 0.6740467405, "avg_line_length": 25.40625, "ext": "agda", "hexsha": "a5177b6a1272c429e7ecacc78e825832c060e4b4", "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"...
-- Let-definitions cannot pattern match (or be recursive). Use where for that. module NotAValidLetBinding where data N : Set where z : N s : N -> N bad = let pred : N -> N pred z = z pred (s n) = n in pred (s (s z))
{ "alphanum_fraction": 0.5634920635, "avg_line_length": 21, "ext": "agda", "hexsha": "2d6f52f2d7fcf71b661c53fac7f4a902c0ae8436", "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....
{-# OPTIONS --without-K --safe #-} open import Categories.Category module Categories.Diagram.Equalizer.Properties {o ℓ e} (C : Category o ℓ e) where open import Categories.Diagram.Equalizer C open import Categories.Morphism C open import Categories.Morphism.Reasoning C private module C = Category C open C va...
{ "alphanum_fraction": 0.4851244687, "avg_line_length": 27, "ext": "agda", "hexsha": "301c2131654ace3b2c9bb83fea497455df3fbb01", "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": "8f3...
-- Andreas, 2011-10-02 module IrrelevantLet where postulate A : Set test : (.A → A) → .A → A test = λ f a → let .b : A b = f a in f a
{ "alphanum_fraction": 0.4593023256, "avg_line_length": 14.3333333333, "ext": "agda", "hexsha": "768623e898e07f11bb4882e599543313eb95eee4", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
data Size : Set where ↑ : Size → Size ↑ () data N : Size → Set where suc : ∀{i} (a : N i) → N (↑ i) data Val : ∀{i} (t : N i) → Set where val : ∀{i} (n : N i) → Val (suc n) record R (j : Size) : Set where field num : N j data W {j} (ft : R j) : Set where immed : (v : Val (R.num ft)) → W ft postulate E :...
{ "alphanum_fraction": 0.594438007, "avg_line_length": 23.3243243243, "ext": "agda", "hexsha": "eb521bb97c885b561f2937a67ce51afd8f32d212", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03...
{-# OPTIONS --sized-types #-} open import Relation.Binary.Core module BubbleSort {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import Data.List open import Data.Product open import Data.Sum open import Size open import SList swap* : {ι : Size} → A → SList A {ι} → SL...
{ "alphanum_fraction": 0.5378486056, "avg_line_length": 25.1, "ext": "agda", "hexsha": "5f8e9230e5be6545495b78a0d8de3ac81ff006a5", "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...
module Issue2649-2 where open import Issue2649-1 open module M (A : Set) (a : A) = MyModule A a public
{ "alphanum_fraction": 0.7047619048, "avg_line_length": 17.5, "ext": "agda", "hexsha": "942bb4115c66220c941f8efc3466b2e2b313acb8", "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...
open import Data.String using (String) open import Data.List using (List; []; _∷_) open import Data.Nat using (ℕ) open import Data.Product open import Data.Bool open import Data.Maybe open import Data.Vec as V using (Vec; []; _∷_) open import Data.Fin as F using (Fin; zero; suc) open import Reflection using (TC) open ...
{ "alphanum_fraction": 0.5885212189, "avg_line_length": 29.7166666667, "ext": "agda", "hexsha": "be364f9fc19351dc30e2254aa0beba8879a4f7fd", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import stash.modalities.gbm.GbmUtil open import stash.modalities.GbmCodes module stash.modalities.Gbm {ℓ} (M : Modality ℓ) {A : Type ℓ} {B : Type ℓ} (Q : A → B → Type ℓ) (H : BM-Relation M Q) where open Modality M import stash.modalities.gb...
{ "alphanum_fraction": 0.4213162493, "avg_line_length": 34.0674603175, "ext": "agda", "hexsha": "83637e6d363689b57f5f4e1211b5ed42ddd62025", "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...
------------------------------------------------------------------------ -- Traditional non-dependent lenses with erased lens laws ------------------------------------------------------------------------ -- At the time of writing there are counterparts in this file of more -- or less everything in Lens.Non-dependent.T...
{ "alphanum_fraction": 0.374027919, "avg_line_length": 45.8180673591, "ext": "agda", "hexsha": "a2e2f54a7ca6551f9518511ad6b32ec84834ee07", "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...
------------------------------------------------------------------------------ -- LTC-PCF terms properties ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# ...
{ "alphanum_fraction": 0.409455843, "avg_line_length": 29.5, "ext": "agda", "hexsha": "cb42725ccb89e4e1ee0f6e590e1610bcc6f8d9bb", "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-19T14:18:30.0...
{-# OPTIONS --safe #-} module README where -- Formalization for "Decidability of Conversion for Setoid Type Theory" -- Git repository: https://github.com/CoqHott/logrel-mltt/ ------------------ -- INTRODUCTION -- ------------------ -- A minimal library necessary for formalization: -- The empty type and its elimin...
{ "alphanum_fraction": 0.8130502955, "avg_line_length": 31.2867924528, "ext": "agda", "hexsha": "abc12859b4a0ff21ac2d004ace82d6f5f3033bb9", "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...
open import Data.Nat using (suc) open import Substitution using (rename-subst-commute; subst-commute) open import DeBruijn infix 3 _—→_ data _—→_ : ∀ {n} → Term n → Term n → Set where —→-ξₗ : ∀ {n} {M M′ N : Term n} → M —→ M′ --------------- → M · N —→ M′ · N —→-ξᵣ : ∀ {n} {M N N′ : Term n} ...
{ "alphanum_fraction": 0.3076502732, "avg_line_length": 21.0344827586, "ext": "agda", "hexsha": "ff41060106ec9473ece7d8ffc241235a73bdf59c", "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...
------------------------------------------------------------------------ -- Instantiates the ring solver with two copies of the same ring ------------------------------------------------------------------------ open import Algebra.RingSolver.AlmostCommutativeRing module Algebra.RingSolver.Simple (r : AlmostCommutativ...
{ "alphanum_fraction": 0.5538116592, "avg_line_length": 37.1666666667, "ext": "agda", "hexsha": "faa5ed3d88c6bfb8f43693ed5fa072de8ebe2447", "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 --omega-in-omega --no-termination-check --overlapping-instances #-} module Light.Literals where module Definition where module Natural where open import Light.Literals.Definition.Natural public module Negative where open import Light.Literals.Definition.Negative public module Natural where op...
{ "alphanum_fraction": 0.8091286307, "avg_line_length": 40.1666666667, "ext": "agda", "hexsha": "058c0effaeecb12834432f9b9fc1c10a4a58873f", "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 Eq.LogicalTheory where open import Prelude open import T open import DynTheory open import SubstTheory open import Contexts open import Eq.Defs open import Eq.KleeneTheoryEarly -- Closed equivalence is contained in open closed-logical-imp-open : ∀{A} → LogicalEq A ⊆ OLogicalEq [] A closed-logical-imp-open {A} ...
{ "alphanum_fraction": 0.5736185056, "avg_line_length": 51.8761904762, "ext": "agda", "hexsha": "7bed748c6f1b5e70aecb36cc4a6062eba0b723bf", "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-26T...
-- Pattern matching on a datatype in Prop is disallowed {-# OPTIONS --enable-prop #-} open import Agda.Builtin.Bool data TestProp : Prop where p₁ p₂ : TestProp toBool : TestProp → Bool toBool p₁ = true toBool p₂ = false
{ "alphanum_fraction": 0.7168141593, "avg_line_length": 17.3846153846, "ext": "agda", "hexsha": "abc91d589482672bf7d083f35bf70ddbdf7f0525", "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...
{-# OPTIONS --safe #-} module Cubical.Algebra.DirectSum.DirectSumFun.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Data.Nat renaming (_+_ to _+n_ ; _·_ to _·n_) open import Cubical.Data.Nat.Order open import Cubical.Data.Sigma open import Cubical...
{ "alphanum_fraction": 0.5278725825, "avg_line_length": 32.1585365854, "ext": "agda", "hexsha": "91e8792d78781273fa9348ed0bfc04e17e3cf59c", "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 #-} module Issue2487-2 where import Issue2487.A
{ "alphanum_fraction": 0.7058823529, "avg_line_length": 13.6, "ext": "agda", "hexsha": "d4cef607b47b622f56a61f159942e18e61a7e017", "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 --erased-cubical --safe #-} module MakeTracks where open import Data.Fin using (Fin; #_; toℕ) open import Data.List using (List; _∷_; []; map; concat; _++_; replicate; zip; length; take; drop) open import Data.Nat using (_*_; ℕ; suc; _+_) open import Data.Nat.Show using (show) open i...
{ "alphanum_fraction": 0.6976573939, "avg_line_length": 41.3939393939, "ext": "agda", "hexsha": "a784e465919cd683e135f2bfb7b6de751fa744ce", "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...
{-# OPTIONS --allow-unsolved-metas #-} module Oscar.Data.Term.ThickAndThin {𝔣} (FunctionName : Set 𝔣) where open import Oscar.Class.ThickAndThin open import Oscar.Data.Term FunctionName import Oscar.Data.Term.ThickAndThin.internal FunctionName as ⋆ instance ThickAndThinTerm : ThickAndThin Term ThickAndThin.thin Thi...
{ "alphanum_fraction": 0.774624374, "avg_line_length": 38.6451612903, "ext": "agda", "hexsha": "c07acf64b752530a4e6f5a82d374a12c2075644d", "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 dynamics-core module focus-formation where -- every ε is an evaluation context -- trivially, here, since we don't -- include any of the premises in red brackets about finality focus-formation : ∀{d d' ε} → d == ε ⟦ d' ⟧ → ε evalctx focus-formation (FHPlus1 sub) = ECPlus1 (focus-formation sub) foc...
{ "alphanum_fraction": 0.733213966, "avg_line_length": 50.7727272727, "ext": "agda", "hexsha": "086263b71a49012699652154d457073d8d205964", "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...
{- This file describes properties of computable relations. -} open import bool open import level open import eq open import product open import product-thms module bool-relations {ℓ : level}{A : Set ℓ} (_≤A_ : A → A → 𝔹) where reflexive : Set (ℓ) reflexive = ∀ {a : A} → a ≤A a ≡ tt transitive : Set (ℓ) transitive ...
{ "alphanum_fraction": 0.5913272011, "avg_line_length": 23.78125, "ext": "agda", "hexsha": "809e02d6d7c82ba45c34726dc99bc872feae2f7e", "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 #-} open import lib.Basics open import lib.types.Truncation open import lib.types.Groupoid open import lib.types.PathSet module lib.types.FundamentalGroupoid {i} (A : Type i) where fundamental-groupoid : Groupoid fundamental-groupoid = record { El = A ; Arr = _=₀_ {A = A} ; Ar...
{ "alphanum_fraction": 0.5699481865, "avg_line_length": 22.2692307692, "ext": "agda", "hexsha": "105f8c2c9617253bab2eb82db3d3e97aa504b00b", "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 module Vars (A : Set) where variable x : A -- Was -- An internal error has occurred. Please report this as a bug. -- Location of the error: src/full/Agda/TypeChecking/Reduce/Fast.hs:148 -- Should be -- Cannot use generalized v...
{ "alphanum_fraction": 0.6946386946, "avg_line_length": 19.5, "ext": "agda", "hexsha": "749b082e5c6b66299b47493a748c142ec396e355", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0...
module Data.Logic where open import Haskell.Prelude renaming (zero to Z; suc to S) open import Relation.Nullary.Decidable open import Data.Nat.DivMod open import Data.Nat.Properties open import Agda.Primitive {-# FOREIGN AGDA2HS import Data.Nat #-} ---- Equational reasoning useEq : {x y : Bool} -> x ≡ y -> .(IsTrue ...
{ "alphanum_fraction": 0.5446782038, "avg_line_length": 32.3846153846, "ext": "agda", "hexsha": "5ae40e07a4745d6a99fb7d9839ced46611106718", "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 Languages.ILL.Intermediate where open import Utils.HaskellTypes open import Utils.HaskellFunctions open import Languages.ILL.TypeSyntax {-# IMPORT Languages.ILL.Intermediate #-} data IPattern : Set where PTriv : IPattern PVar : String → IPattern PTensor : IPattern → IPattern → IPattern {-# COMPILED_DATA...
{ "alphanum_fraction": 0.6106870229, "avg_line_length": 39.3, "ext": "agda", "hexsha": "7dc737bf7e9f0b9def5bdae1cf5abd0eaa78e81b", "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...
open import Level using (0ℓ) open import Function using (_$_; _∘_) open import Relation.Nullary using (yes; no) open import Relation.Nullary.Decidable using (False; True) open import Relation.Nullary.Negation using (contradiction) open import Relation.Binary using (Reflexive; Transitive; Trans; Antisymmetric; Asymme...
{ "alphanum_fraction": 0.4911284599, "avg_line_length": 34.3658536585, "ext": "agda", "hexsha": "f02bbd5b21f95b45c4ffddff9ec5a8428e99c40f", "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 localInstances where open import Agda.Builtin.Nat renaming (Nat to ℕ) open import Agda.Builtin.Bool open import Common.String open import Common.List record Eq (A : Set) : Set where field eq : A → A → Bool strlen : String → ℕ strlen s = length (stringToList s) if_then_else_ : {A : Set} → Bool → A → A → A i...
{ "alphanum_fraction": 0.6727941176, "avg_line_length": 22.2040816327, "ext": "agda", "hexsha": "5e30dffe3d22c976fbfe64a3774035b0d76a95b2", "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 --rewriting #-} open import lib.Base open import lib.PathGroupoid module lib.PathFunctor where {- Nondependent stuff -} module _ {i j} {A : Type i} {B : Type j} (f : A → B) where !-ap : {x y : A} (p : x == y) → ! (ap f p) == ap f (! p) !-ap idp = idp ap-! : {x y : A} (p : x == y) ...
{ "alphanum_fraction": 0.4177043855, "avg_line_length": 32.8355555556, "ext": "agda", "hexsha": "706aed2a78bb78c3862f1b323478546f5708b44c", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --rewriting #-} open import Agda.Builtin.Bool open import Agda.Builtin.Nat open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite record R : Set where constructor mkR field f : Nat data Box : Set → Set₁ where box : (A : Set) → Box A data D (A : Set) : Set₁ where c : Box ...
{ "alphanum_fraction": 0.6036960986, "avg_line_length": 18.037037037, "ext": "agda", "hexsha": "2a7cc5863ea29042821e153da13f3e5ddd97a278", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03...
{-# OPTIONS -v tc.unquote:30 #-} open import Common.Prelude open import Common.Reflection open import Agda.Builtin.Sigma data Box : Bool → Set where box : (b : Bool) → Box b works : (b : Bool) → Box b → Bool works b (box .b) = unquote (give (var 0 [])) works₂ : (b : Bool) → Box b → Bool unquoteDef works₂ = defineF...
{ "alphanum_fraction": 0.6195652174, "avg_line_length": 32.4705882353, "ext": "agda", "hexsha": "4edf2deeace410c7209de474d29bc0e248b886bc", "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 Level open import Ordinals module Topology {n : Level } (O : Ordinals {n}) where open import zf open import logic open _∧_ open _∨_ open Bool import OD open import Relation.Nullary open import Data.Empty open import Relation.Binary.Core open import Relation.Binary.PropositionalEquality import BAlgbra...
{ "alphanum_fraction": 0.5475143727, "avg_line_length": 26.8818181818, "ext": "agda", "hexsha": "d6ac8fa25ba7d5552dd799121fa8a9a9f6252a64", "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 -- -- Lists where all elements satisfy a given property ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.List.Relation.Unary.All where open impo...
{ "alphanum_fraction": 0.495687091, "avg_line_length": 30.703196347, "ext": "agda", "hexsha": "36d1f59755b4ed900f3566d67748c0a799c0a4ac", "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-04T06...
{-# OPTIONS --without-K #-} {-- Make a version of this file with plain PI and ℕ as a model Make another version with PI+NEG+FRAC (meadow style) and ℚ as a model Keep extending; add imaginary numbers and try ℂ as a model then add square roots and try algebraic numbers as a model An orthogonal direction is to try ...
{ "alphanum_fraction": 0.4243626624, "avg_line_length": 31.5688935282, "ext": "agda", "hexsha": "d0074e91f192fa2aa94f767c685f34c49a4b8b0d", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2019-09-10T09:47:13.000Z", "max_forks_repo_forks_event_min_datetime": "2016-05-29T...
module is-free where open import lib open import cedille-types open import ctxt-types open import syntax-util open import general-util are-free-e = 𝔹 check-erased = tt skip-erased = ff are-free-in-t : Set → Set₁ are-free-in-t T = ∀{A} → are-free-e → trie A → T → 𝔹 are-free-in-term : are-free-in-t term are-free-i...
{ "alphanum_fraction": 0.6541903987, "avg_line_length": 48.7268722467, "ext": "agda", "hexsha": "b573ec5d16a289b8cebc2ccc2e12130c2a0f721d", "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 AEff open import EffectAnnotations open import Types hiding (``) open import Relation.Binary.PropositionalEquality hiding ([_] ; Extensionality) --open ≡-Reasoning module Renamings where -- SET OF RENAMINGS BETWEEN CONTEXTS Ren : Ctx → Ctx → Set Ren Γ Γ' = {X : VType} → X ∈ Γ → X ∈ Γ' -- IDENTITY, COM...
{ "alphanum_fraction": 0.5474231269, "avg_line_length": 25.3736263736, "ext": "agda", "hexsha": "9f3a5fc28393c8eb2a7c91fbef4c1c0402e4fc83", "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 Numeral.Natural.Oper.Proofs.Multiplication where open import Logic.Propositional open import Numeral.Natural open import Numeral.Natural.Oper open import Numeral.Natural.Oper.Proofs open import Numeral.Natural.Oper.Proofs.Order open import Numeral.Natural.Relation open import Numeral.Natural.Relation.Order open...
{ "alphanum_fraction": 0.4906903466, "avg_line_length": 54.546875, "ext": "agda", "hexsha": "106bbf45d16dfafa4673b19f5eb8aefff1ec2dbd", "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 --warning=error #-} open import Sets.EquivalenceRelations open import Setoids.Setoids open import Groups.FreeGroup.Definition open import Groups.Homomorphisms.Definition open import Groups.Definition open import Decidable.Sets open import Numbers.Naturals.Order open import LogicalFormulae open impor...
{ "alphanum_fraction": 0.6697534188, "avg_line_length": 62.75, "ext": "agda", "hexsha": "202e7da9127667a1b6afa1b17c681bbd575da1da", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-29T13:23:07...
module _ where postulate A : Set _,_ : A → A → A module M where module Mx (x : A) where module M where module My (y : A) where f : A f = x , y postulate a b c : A module M′ = M module Ma = M′.Mx.M a module Mab = Ma.My b g : A g = Mab.f -- Original bug report -- record I (A :...
{ "alphanum_fraction": 0.4885496183, "avg_line_length": 13.6458333333, "ext": "agda", "hexsha": "e9c1e2d314ce6be5d4be390e5e52b6ac23068049", "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 Base module Spaces.LoopSpaceDecidableWedgeCircles {i} (A : Set i) (eq : has-dec-eq A) where open import Spaces.WedgeCircles A renaming (wedge-circles to WA; base to baseWA) open import Algebra.FreeGroup A renaming (freegroup to FA) open import Algebra.FreeGroupProps A open i...
{ "alphanum_fraction": 0.5916561315, "avg_line_length": 37.4121621622, "ext": "agda", "hexsha": "84ec70c51627ca3046776733d47086aad89c1f1b", "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...
{-# OPTIONS --without-K --exact-split --safe #-} module Fragment.Equational.Theory.Bundles where open import Fragment.Algebra.Signature open import Fragment.Equational.Theory.Base open import Fragment.Equational.Theory.Combinators open import Data.Nat using (ℕ) module _ where data MagmaOp : ℕ → Set where • :...
{ "alphanum_fraction": 0.5897945659, "avg_line_length": 23.9523809524, "ext": "agda", "hexsha": "de3694eff24782578045ed3d674031cae5119c5b", "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 --cubical --no-import-sorts --safe #-} module Cubical.Relation.Unary where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Un...
{ "alphanum_fraction": 0.5062865679, "avg_line_length": 23.6264705882, "ext": "agda", "hexsha": "ff3e84eb9e5a29161c3fdc1befac247d54c0610a", "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 --warning=error #-} open import Boolean.Definition open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import LogicalFormulae open import Logic.PropositionalLogic open import Functions.Definition open import Numbers.Naturals.Order open import Vectors module Logic.PropositionalLogicExamp...
{ "alphanum_fraction": 0.6506889475, "avg_line_length": 82.1927710843, "ext": "agda", "hexsha": "323e714f5dc2107b7c1fb468a8e732fe70489241", "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 --type-in-type --guardedness #-} module IO.Exts where import IO.Primitive as Prim open import Class.Monad open import Class.Functor open import Data.List open import Data.Nat using (ℕ) open import Data.String open import Data.Sum open import Data.Unit open import Function open import IO using (IO; run; re...
{ "alphanum_fraction": 0.7194623027, "avg_line_length": 26.734375, "ext": "agda", "hexsha": "72116caedcb03a2f85b8d0377b6536fc45798234", "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:1...
{-# OPTIONS --no-qualified-instances #-} open import Data.List open import Relation.Unary open import Relation.Ternary.Core open import Relation.Ternary.Structures open import Relation.Ternary.Structures.Syntax import JVM.Printer.Printer as Printer import JVM.Model as Model module JVM.Syntax.Bytecode.Printer {ℓ T} ...
{ "alphanum_fraction": 0.6040744021, "avg_line_length": 33.2058823529, "ext": "agda", "hexsha": "27c3d95380e65fc26b7c8a3c0ec13ef12763988e", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-28T17:37:15.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-28T...
-- Discrete category over a type A -- A must be an h-groupoid for the homs to be sets {-# OPTIONS --safe #-} module Cubical.Categories.Instances.Discrete where open import Cubical.Categories.Category.Base open import Cubical.Categories.Functor.Base open import Cubical.Foundations.GroupoidLaws open import Cubical.Foun...
{ "alphanum_fraction": 0.6104986877, "avg_line_length": 34.0178571429, "ext": "agda", "hexsha": "8fff2527cb891245511bb02b9b9e9c8fed84c862", "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 -- -- A categorical view of Colist ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --sized-types #-} module Codata.Colist.Categorical where open import Codata....
{ "alphanum_fraction": 0.5330261137, "avg_line_length": 27.125, "ext": "agda", "hexsha": "d20ae27f768682d339315edaace2b65ffeb3f75d", "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-04T06:54:4...
-- Fixed on AIM XIV 2011-09-09 AA, UN -- {-# OPTIONS -v tc.lhs.unify:50 #-} module Issue292 where data ⊥ : Set where infix 3 ¬_ ¬_ : Set → Set ¬ P = P → ⊥ infix 4 _≅_ data _≅_ {A : Set} (x : A) : ∀ {B : Set} → B → Set where refl : x ≅ x record Σ (A : Set) (B : A → Set) : Set where constructor _,_ field ...
{ "alphanum_fraction": 0.582278481, "avg_line_length": 17.5555555556, "ext": "agda", "hexsha": "2ef0cc10a98e74390a5fa8f801b220633c38c2ed", "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-12T1...
{-# OPTIONS --universe-polymorphism #-} module Categories.Bicategory.Helpers where -- quite a bit of the code below is taken from Categories.2-Category open import Data.Nat using (_+_) open import Function using (flip) open import Data.Product using (_,_; curry) open import Categories.Category open import Categories....
{ "alphanum_fraction": 0.5578250069, "avg_line_length": 41.1704545455, "ext": "agda", "hexsha": "c595b2b8a2a89196e67ed2a761fba4904b804cb6", "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...
-- Andreas, 2015-08-11, issue reported by Martin Stone Davis -- {-# OPTIONS -v impossible:10 -v interaction.give:20 #-} open import Data.AVL using (Tree; empty) open import Data.Vec using (Vec) open import Data.String using (String) open import Relation.Binary using (StrictTotalOrder) open import Data.Nat.Properties ...
{ "alphanum_fraction": 0.7485380117, "avg_line_length": 37.1739130435, "ext": "agda", "hexsha": "0089be73fb0dd9e1eea983090ff17d6e60b33f6f", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Base.Types import LibraBFT.Impl.Consensus.Network ...
{ "alphanum_fraction": 0.7123585727, "avg_line_length": 33.7941176471, "ext": "agda", "hexsha": "0db681b5d1b4ce0eab43f4b06b10ebf58d9f3dcf", "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 DivMod where -- From examples/simple-lib open import Lib.Vec open import Lib.Nat open import Lib.Id open import Lib.Logic open import Lib.Fin -- Certified implementation of division and modulo module Direct where data DivMod : Nat -> Nat -> Set where dm : forall {b} q (r : Fin b) -> DivMod (toNat r + q...
{ "alphanum_fraction": 0.5758957655, "avg_line_length": 30.396039604, "ext": "agda", "hexsha": "fa60f64646419a5aa865920524f3e50af2872fdf", "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-12T1...
{-# OPTIONS -v 2 #-} module Leftovers.Junk where open import Data.Bool open import Relation.Binary.PropositionalEquality id : ∀ {X : Set} → X → X id x = x the : ∀ X → X → X the X = id {X} badEq : let f = the (Bool -> Bool -> Bool) (λ x → λ {true → false ; false → true}) in f true ≡ f false badEq = {!!} -- ref...
{ "alphanum_fraction": 0.5790598291, "avg_line_length": 18.72, "ext": "agda", "hexsha": "d8c00a0d706b45b52b36e49a21dbfd3922e7ee27", "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": "...
module Integer.Difference.Properties where open import Data.Product as Σ open import Data.Product.Relation.Pointwise.NonDependent open import Data.Unit open import Equality open import Integer.Difference open import Natural as ℕ using (ℕ; zero; suc) open import Quotient as / open import Relation.Binary open import Syn...
{ "alphanum_fraction": 0.5899280576, "avg_line_length": 24.9487179487, "ext": "agda", "hexsha": "236350e5e7da8d87a297770766f564b57f3997a9", "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 #-} open import Base open import Homotopy.PullbackDef -- We only consider the universal property internally to a fixed -- universe [Set i]. If we don’t, we would have to consider an universe -- polymorphic [P] and I don’t want to quantify over universe polymorphic things module Homotopy.Pullba...
{ "alphanum_fraction": 0.5836933045, "avg_line_length": 37.7959183673, "ext": "agda", "hexsha": "e23ccd2152a53abc3f7ab1217f1fd46416a88b25", "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...
{-# OPTIONS --cubical --safe #-} module BCK where open import Prelude hiding (B; C) infixl 4 _$$_ data BCK : Type where _$$_ : BCK → BCK → BCK B C K : BCK open import Data.List stack : BCK → Maybe BCK stack xs = go xs [] where go : BCK → List BCK → Maybe BCK go (f $$ x) xs = go f (x ∷ xs) go B (f ∷ g ∷...
{ "alphanum_fraction": 0.528340081, "avg_line_length": 20.5833333333, "ext": "agda", "hexsha": "3178f22185ab1c2035e1a7dd129a26bbfe224bfb", "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-11T1...