Search is not available for this dataset
text
string
meta
dict
-- Product of type-many categories {-# OPTIONS --safe #-} module Cubical.Categories.Constructions.Product where open import Cubical.Categories.Category.Base open import Cubical.Categories.Functor.Base open import Cubical.Foundations.HLevels open import Cubical.Foundations.Prelude private variable ℓA ℓC ℓC' : L...
{ "alphanum_fraction": 0.6346381969, "avg_line_length": 32.4230769231, "ext": "agda", "hexsha": "e249fe2ae5b9e24de8ec0967f0be7352d9bf1166", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Categories.Category.Properties where open import Cubical.Core.Glue open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Categories.Category.Base hiding (isSetHom) open Precategory private variable ...
{ "alphanum_fraction": 0.4817477876, "avg_line_length": 38.4680851064, "ext": "agda", "hexsha": "d4d0575f79cde2f25fca3dc344337e0a4a1acef0", "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 Assume where postulate assume : ∀ {a} {A : Set a} → A
{ "alphanum_fraction": 0.619047619, "avg_line_length": 15.75, "ext": "agda", "hexsha": "b0d4d04597451d66353e10086de07da48775b108", "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": "a...
{-# OPTIONS --sized-types #-} module BinTree where open import Data.Nat open import Data.List open import Data.List.Properties open import Size data Bin {T : Set} {i : Size} : Set where Leaf : Bin {T} {i} Node : T → Bin {T} {i} → Bin {T} {i} → Bin {T} {i} data Rose {T : Set} {i : Size} : Set where Empty : Rose...
{ "alphanum_fraction": 0.6091954023, "avg_line_length": 29, "ext": "agda", "hexsha": "496f0d257fc2caddbbaf53313ffd0fcbcebbac80", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-12-13T04:50:46.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-13T04:50:46.00...
{-# OPTIONS --without-K --safe #-} open import Algebra.Structures.Bundles.Field module Algebra.Structures.Field.Utils {k ℓ} (K : Field k ℓ) where open Field K hiding (zero) open import Data.Fin import Data.Nat as Nat private K' : Set k K' = Carrier δ : ∀ {n p} -> Fin n -> Fin p -> K' δ zero zero = 1# δ (s...
{ "alphanum_fraction": 0.5712560386, "avg_line_length": 23, "ext": "agda", "hexsha": "725bba59b62dbd23240415edcd113cefc38a1016", "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": "d87...
module Data.Num.Bij where open import Data.List hiding ([_]) open import Relation.Binary open import Relation.Binary.PropositionalEquality as PropEq using (_≡_; _≢_) import Level -------------------------------------------------------------------------------- -- Bijective Numeration -- -- A numeral system which h...
{ "alphanum_fraction": 0.4555281038, "avg_line_length": 26.325203252, "ext": "agda", "hexsha": "3fe37079ecc72a0ddfb7963fbe463b555f8c60a6", "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-30T0...
{-# OPTIONS --without-K #-} module NTypes.HedbergsTheorem where open import GroupoidStructure open import NTypes open import NTypes.Negation open import PathOperations open import Transport open import Types stable : ∀ {a} → Set a → Set a stable A = ¬ ¬ A → A dec : ∀ {a} → Set a → Set a dec A = A ⊎ ¬ A dec→stable :...
{ "alphanum_fraction": 0.4627403846, "avg_line_length": 26.8387096774, "ext": "agda", "hexsha": "f8e064b61a7a6443ec3b1de45f5652126a692a4a", "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 --experimental-lossy-unification #-} module Cubical.Algebra.Polynomials.Multivariate.EquivCarac.AB-An[X]Bn[X] where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.HLevels open import Cubical.D...
{ "alphanum_fraction": 0.4672774869, "avg_line_length": 39.381443299, "ext": "agda", "hexsha": "de02b8254c9ada7abb07ee07888f0534b79ec075", "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 Imports.Issue5357-D where A : Set₁ A = Set₁
{ "alphanum_fraction": 0.7450980392, "avg_line_length": 12.75, "ext": "agda", "hexsha": "405b997861ebbc555d6a9d2740c409d9087238bc", "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 --rewriting #-} data _≅_ {ℓ} {A : Set ℓ} (x : A) : {B : Set ℓ} → B → Set where refl : x ≅ x {-# BUILTIN REWRITE _≅_ #-}
{ "alphanum_fraction": 0.4852941176, "avg_line_length": 19.4285714286, "ext": "agda", "hexsha": "d373c456256e2c897bb123c24017c6e4a328f91f", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
-- Andreas, 2011-04-07 module IrrelevantTelescopeRecord where record Wrap .(A : Set) : Set where field out : A -- cannot use A, because it is declared irrelevant
{ "alphanum_fraction": 0.7117647059, "avg_line_length": 18.8888888889, "ext": "agda", "hexsha": "c8d39c5297308aff9c83399da668b9ee9bd2c29d", "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...
{-# BUILTIN STRING String #-} record ⊤ : Set where constructor tt data Bool : Set where true false : Bool nonEmpty : String → Set nonEmpty "" = Bool nonEmpty _ = ⊤ foo : ∀ s → nonEmpty s → Bool foo "" true = true foo "" false = false foo s p = false
{ "alphanum_fraction": 0.6188679245, "avg_line_length": 15.5882352941, "ext": "agda", "hexsha": "1bebe3370622d3d32b5b65ba3d1c0c23d7e9a1e1", "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.Functor.Representable where open import Level open import Categories.Category open import Categories.Agda open import Categories.Functor using (Functor) open import Categories.Functor.Hom open import Categories.NaturalIsomorphism record Representable {o ℓ e} ...
{ "alphanum_fraction": 0.7371323529, "avg_line_length": 28.6315789474, "ext": "agda", "hexsha": "c98e44c16176f83f3e0374f28b4362be570b2f02", "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...
-- Define the integers as a HIT by identifying +0 and -0 {-# OPTIONS --cubical --safe #-} module Cubical.HITs.Ints.QuoInt.Base where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Transport open import Cubical.Foundatio...
{ "alphanum_fraction": 0.5412782956, "avg_line_length": 24.8950276243, "ext": "agda", "hexsha": "ddf68dbf6b748a48a8cbe3eb820f239614a745c7", "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 examplesPaperJFP.exampleFinFun where open import examplesPaperJFP.finn open import Data.Nat toℕ : ∀ {n} → Fin n → ℕ toℕ zero = 0 toℕ (suc n) = suc (toℕ n) mutual _+e_ : ∀ {n m} → Even n → Even m → Even (n + m) 0p +e p = p sucp p +e q = sucp (p +o q) _+o_ : ∀ {n m} → Od...
{ "alphanum_fraction": 0.5064267352, "avg_line_length": 21.6111111111, "ext": "agda", "hexsha": "0addd7142d7627cf261d0c576f42c94abd85bdbf", "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...
module Singleton where open import Data.List using (List ; [] ; _∷_) open import Data.List.All using (All ; [] ; _∷_) open import Membership using (_∈_; _⊆_ ; _∷_ ; []) [_]ˡ : ∀{a}{A : Set a} → A → List A [ a ]ˡ = a ∷ [] [_]ᵃ : ∀{a p} {A : Set a} {P : A → Set p} {x : A} → P x → All P (x ∷ []) [ p ]ᵃ = p ∷ [] ...
{ "alphanum_fraction": 0.4393203883, "avg_line_length": 22.8888888889, "ext": "agda", "hexsha": "2e01160c069c86937ad3a6cd271a5119ced83604", "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...
-- Coalgebraic strength over an endofunctor module SOAS.Coalgebraic.Strength {T : Set} where open import SOAS.Common open import SOAS.Context open import SOAS.Variable open import SOAS.Families.Core {T} open import SOAS.Abstract.Hom {T} import SOAS.Abstract.Coalgebra {T} as →□ ; open →□.Sorted open import SOAS.Coalg...
{ "alphanum_fraction": 0.4826551034, "avg_line_length": 35.6904761905, "ext": "agda", "hexsha": "dcb907ecd92c2056250e5f430ae2cee52b44204e", "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 --safe #-} open import Categories.Category module Categories.Functor.Core where open import Level private variable o ℓ e o′ ℓ′ e′ : Level record Functor (C : Category o ℓ e) (D : Category o′ ℓ′ e′) : Set (o ⊔ ℓ ⊔ e ⊔ o′ ⊔ ℓ′ ⊔ e′) where eta-equality private module C = Category C ...
{ "alphanum_fraction": 0.4673097535, "avg_line_length": 23.9230769231, "ext": "agda", "hexsha": "361098fcb579588cd835d2ac13d65e6e614474c2", "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 #-} open import Bundles module Properties.ConstructiveField {ℓ ℓ'} (F : ConstructiveField {ℓ} {ℓ'}) where open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero) private variable ℓ'' : Level open import Cubical.Foundations.Everything renaming...
{ "alphanum_fraction": 0.4946236559, "avg_line_length": 47.0344827586, "ext": "agda", "hexsha": "9be9ac540dc52e2a1f978121027930c9dba34b59", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K #-} module sets.bool where open import sets.empty using (⊥) open import sets.unit using (⊤) open import decidable using (Dec; yes; no) open import equality.core using (_≡_; refl) open import level using (Level) infixr 6 _∧_ infixr 5 _∨_ _xor_ infix 0 if_then_else_ data ...
{ "alphanum_fraction": 0.6061643836, "avg_line_length": 18.6382978723, "ext": "agda", "hexsha": "9a1b5459e2707c54360ea125a1f026ea3d839391", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-05-04T19:31:00.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-02T...
open import Relation.Binary.Core module BBHeap.Everything {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) (trans≤ : Transitive _≤_) where open import BBHeap.Complete.Base _≤_ open import BBHeap.Drop _≤_ tot≤ trans≤ open import BBHeap.DropLast _≤_ open import BBHe...
{ "alphanum_fraction": 0.6506849315, "avg_line_length": 29.2, "ext": "agda", "hexsha": "9132c3e5841473fa666f0353fd2dcd0640881da7", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- List-related properties ------------------------------------------------------------------------ -- Note that the lemmas below could be generalised to work with other -- equalities than _≡_. {-# OPTIONS --witho...
{ "alphanum_fraction": 0.50012791, "avg_line_length": 36.8426013195, "ext": "agda", "hexsha": "121515af7fd8dd0ff65a48c72007fa6d08d43022", "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 --cubical --safe #-} module Cardinality.Finite.ManifestEnumerable.Isomorphism where open import Prelude import Cardinality.Finite.ManifestEnumerable.Container as ℒ import Cardinality.Finite.ManifestEnumerable.Inductive as 𝕃 open import Container.List.Isomorphism open import Data.Fin open import HITs.Pr...
{ "alphanum_fraction": 0.7124105012, "avg_line_length": 36.4347826087, "ext": "agda", "hexsha": "91690f030368a555c223818fee2bfda559ec8da5", "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 Tree : Set where leaf : Tree _∣_ : Tree → Tree → Tree {-# FOREIGN GHC data Tree = Leaf | Tree :| Tree #-} {-# COMPILE GHC Tree = data Tree (Leaf | (:|)) #-}
{ "alphanum_fraction": 0.5562130178, "avg_line_length": 18.7777777778, "ext": "agda", "hexsha": "a9bc5374ef5d850eb89356a4bec17382c3bb4cc3", "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 -- -- Finite sets ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Fin where open import Relation.Nullary.Decidable.Core open import Data.Nat.Ba...
{ "alphanum_fraction": 0.4275274056, "avg_line_length": 25.65625, "ext": "agda", "hexsha": "ec7a28d4de8104c4d4a8bc08678e57561ede01e6", "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...
{-# OPTIONS --without-K --safe #-} module Definition.Conversion.Universe where open import Definition.Untyped hiding (_∷_) open import Definition.Typed open import Definition.Typed.Properties open import Definition.Typed.RedSteps open import Definition.Conversion open import Definition.Conversion.Reduction open impor...
{ "alphanum_fraction": 0.6721479959, "avg_line_length": 27.8, "ext": "agda", "hexsha": "16a79440cb32cbacdfb969a37bff39588e7391db", "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-18T14:18:20....
------------------------------------------------------------------------ -- Morphisms between algebraic structures ------------------------------------------------------------------------ module Algebra.Morphism where open import Relation.Binary open import Algebra open import Algebra.FunctionProperties open import D...
{ "alphanum_fraction": 0.5040431267, "avg_line_length": 30.9166666667, "ext": "agda", "hexsha": "77dd6f2b583c6aa0000af2a592fad38d68d12173", "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 --type-in-type #-} -- yes, there will be some cheating in this lecture module Lec3Done where open import Lec1Done open import Lec2Done postulate extensionality : {S : Set}{T : S -> Set} {f g : (x : S) -> T x} -> ((x : S) -> f x == g x) -> f == g...
{ "alphanum_fraction": 0.3548817061, "avg_line_length": 35.8685258964, "ext": "agda", "hexsha": "52b8d95462a20ebd0b6b67ac8e30023cde93173e", "lang": "Agda", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-09-21T15:58:10.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-13T...
{-# OPTIONS --safe --experimental-lossy-unification #-} module Cubical.Algebra.CommAlgebra.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Equiv.HalfAdjoint...
{ "alphanum_fraction": 0.6892117171, "avg_line_length": 36.8333333333, "ext": "agda", "hexsha": "cfa46fbc1557b2702a658311c433326e6995d932", "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 Krivine (Atom Const : Set) where open import Data.Nat open import Data.Sum open import Data.Vec as Vec using (Vec; _∷_; []) data Type : Set where atom : Atom → Type _⇒_ : Type → Type → Type Basis : ℕ → Set Basis = Vec Type data Var : ∀ {n} → Basis n → Type → Set where vzero : ∀ {n} {Γ : Basis n} {τ}...
{ "alphanum_fraction": 0.4793190416, "avg_line_length": 61, "ext": "agda", "hexsha": "a99c87ea36792756e94ba739caefb9d2ddc57840", "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": "46b...
{-# OPTIONS --safe --warning=error --without-K #-} open import Sets.EquivalenceRelations open import Functions.Definition open import Agda.Primitive using (Level; lzero; lsuc; _⊔_; Setω) open import Setoids.Setoids open import Groups.Definition open import LogicalFormulae open import Orders.WellFounded.Definition open...
{ "alphanum_fraction": 0.6363636364, "avg_line_length": 57.64, "ext": "agda", "hexsha": "2cb88e4a68c2519792f7bb427aabc8a08170e640", "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...
open import Data.Product using ( _,_ ) open import Web.Semantic.DL.ABox using ( ε ) open import Web.Semantic.DL.Category.Object using ( Object ; _,_ ) open import Web.Semantic.DL.Signature using ( Signature ) open import Web.Semantic.DL.TBox using ( TBox ) open import Web.Semantic.Util using ( False ; False∈Fin ) modu...
{ "alphanum_fraction": 0.7146118721, "avg_line_length": 36.5, "ext": "agda", "hexsha": "8c621225dd64201ce4480842b012a669a18ca454", "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-03T14:52:09....
-- Andreas, 2016-07-29 issue #707, comment of 2012-10-31 data Bool : Set where true false : Bool mutual data D : Bool → Set where c d : D ? fixIx : (b : Bool) → D b → D b fixIx true c = c fixIx false d = d -- Works, but maybe questionable. -- The _ is duplicated into two different internal metas.
{ "alphanum_fraction": 0.6392405063, "avg_line_length": 19.75, "ext": "agda", "hexsha": "ffeb53704ea1b20562e9a7d642daf40e8b9b551b", "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 --safe #-} module TypeTheory.HoTT.Relation.Nullary.Negation.Properties where -- agda-stdlib open import Axiom.Extensionality.Propositional open import Level renaming (zero to lzero) open import Relation.Nullary -- agda-misc open import TypeTheory.HoTT.Base open import TypeTheory.HoTT.Data.Emp...
{ "alphanum_fraction": 0.7323943662, "avg_line_length": 23.6666666667, "ext": "agda", "hexsha": "af96a46989378a0724d90d0b44697ca172afbe9f", "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 Function.Inverse where open import Data.Tuple as Tuple using (_⨯_ ; _,_) import Lvl open import Logic open import Logic.Propositional open import Logic.Predicate open import Functional open import Function.Equals open import Function.Equals.Proofs open import Function.Inverseₗ open import Function.Inverseᵣ...
{ "alphanum_fraction": 0.6150875386, "avg_line_length": 32.0991735537, "ext": "agda", "hexsha": "a946bc744a0e6ff254349135ab7ba308453da77d", "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 Luau.Value where open import Luau.Addr using (Addr) open import Luau.Syntax using (Block; Expr; nil; addr; function⟨_⟩_end) open import Luau.Var using (Var) data Value : Set where nil : Value addr : Addr → Value val : Value → Expr val nil = nil val (addr a) = addr a
{ "alphanum_fraction": 0.6996466431, "avg_line_length": 17.6875, "ext": "agda", "hexsha": "855e663e23be4087d908af15dd0a8823b483b52a", "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 --cubical --no-import-sorts --safe #-} module Cubical.Relation.Binary.Raw.Construct.Constant where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels using (hProp) open import Cubical.Relation.Binary.Raw ------------------------------------...
{ "alphanum_fraction": 0.5998583569, "avg_line_length": 30.0425531915, "ext": "agda", "hexsha": "baa85a4d64338997dd7c5602e408093c621cddbc", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --allow-unsolved-metas #-} module MGU-revised where --open import Agda.Builtin.Nat using () renaming (Nat to ℕ) open import Agda.Primitive open import Agda.Builtin.Equality open import Prelude.Product using (Σ; _,_; fst; snd; _×_; curry; uncurry) open import Prelude.Equality using (eqReasoningStep; _∎; sy...
{ "alphanum_fraction": 0.5218143838, "avg_line_length": 41.2684729064, "ext": "agda", "hexsha": "910136dd0223b4b1a556b4c95ed340b4505ec67f", "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 Prelude open import Nat open import core open import contexts open import weakening open import exchange open import lemmas-disjointness open import binders-disjoint-checks module lemmas-subst-ta where -- this is what makes the binders-unique assumption below good enough: it -- tells us that we can pic...
{ "alphanum_fraction": 0.5623312331, "avg_line_length": 68.3692307692, "ext": "agda", "hexsha": "c4753d7ac204b2d7920f39e299550d336cea2eed", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-09-13T18:20:02.000Z", "max_forks_repo_forks_event_min_datetime": "2019-09-13T...
open import OutsideIn.Prelude open import OutsideIn.X module OutsideIn(x : X) where open X (x) public open import OutsideIn.Prelude public open import Data.Vec public hiding ([_]) import OutsideIn.Constraints as C import OutsideIn.TypeSchema as TS import OutsideIn.Expressions as E import OutsideIn.Enviro...
{ "alphanum_fraction": 0.7426900585, "avg_line_length": 27, "ext": "agda", "hexsha": "2a66259659304bf675bc9388b1277cbbdb85194c", "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": "fc1...
{-# OPTIONS --cubical --postfix-projections --safe #-} module Karatsuba where open import Prelude open import Data.List open import Data.List.Syntax open import TreeFold open import Data.Integer import Data.Nat as ℕ open import Literals.Number open import Data.Integer.Literals Diff : Type a → Type a Diff A = Li...
{ "alphanum_fraction": 0.437994723, "avg_line_length": 24.9342105263, "ext": "agda", "hexsha": "b40f22d25ead8c103a190dd21f7a09c52683d459", "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...
open import Level using (Level; suc; zero; _⊔_) open import Algebra.Structures open import Algebra.FunctionProperties as FunctionProperties using (Op₁; Op₂) open import Relation.Binary -- Definition of an ordered monoid, which adds the law that ∙ must -- preserve the partial order ≤ (or, equivalently, that an ordering...
{ "alphanum_fraction": 0.6480055983, "avg_line_length": 36.641025641, "ext": "agda", "hexsha": "aacdd6b1e7e0b1e6ca0ae64e74421f76faa97cb3", "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 Tools where import PolyDepPrelude -- import Sigma -- import And open PolyDepPrelude using(Datoid; Bool; true; false; _&&_; Nat; True; Taut; unit) liftAnd : (a : Bool)(b : Bool)(ta : True a)(tb : True b) -> True (a && b) liftAnd (true) (true) ta tb = unit liftAnd (true) (false) ta () -- empty liftAnd (fa...
{ "alphanum_fraction": 0.4682170543, "avg_line_length": 30.1, "ext": "agda", "hexsha": "f851daae74007e47915c25b1a5148fbf3367c8d7", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0...
{-# OPTIONS --without-K #-} module Leftovers.TraverseTerm where open import Data.List -- We only need the writer monad, but as far as I can tell -- it's not in the Agda stdlib open import Category.Monad.State open import Reflection using (Term ; Meta ; Name ; Arg) import Leftovers.Everywhere open import Relation.Bin...
{ "alphanum_fraction": 0.6606018195, "avg_line_length": 27.4807692308, "ext": "agda", "hexsha": "03a10492932a1594f61de8f3ed029dae8fdcd9ea", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K --safe #-} open import Categories.Category using (Category) open import Categories.Category.Monoidal using (Monoidal) open import Categories.Category.Monoidal.Closed using (Closed) module Categories.Category.Monoidal.Closed.IsClosed.L {o ℓ e} {C : Category o ℓ e} {M : Monoidal C} (Cl : Close...
{ "alphanum_fraction": 0.4179873217, "avg_line_length": 53.7021276596, "ext": "agda", "hexsha": "38fc06798144a2be7529dfa347509dcbc1cc5592", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- Andreas, 2011-10-02 module IrrelevantLambdasDoNotNeedDotsAlways where bla : ((.Set → Set1) → Set1) -> Set1 bla f = f (λ x → Set) -- here, the lambda does not need a dot, like in (λ .x → Set) -- because the dot from the function space can be taken over
{ "alphanum_fraction": 0.6875, "avg_line_length": 32, "ext": "agda", "hexsha": "d4213223ffe6fd359f856f7778f453635f4061c2", "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": "70c8a575c...
open import Data.Empty using ( ⊥ ) open import Data.Nat using ( ℕ ; zero ; suc ; _+_ ; _≤_ ; z≤n ; s≤s ) open import Relation.Binary.PropositionalEquality using ( _≡_ ; refl ; sym ; cong ) open import Relation.Binary.PropositionalEquality.TrustMe using ( trustMe ) open import Relation.Nullary using ( ¬_ ) module FRP.L...
{ "alphanum_fraction": 0.564665127, "avg_line_length": 27.4920634921, "ext": "agda", "hexsha": "00d816bb840fc7b7b056ad7e2983b71a097f6f39", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-01T0...
open import Coinduction using ( ♭ ) open import Data.Empty using ( ⊥-elim ) open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ ) open import System.IO.Transducers.Lazy using ( _⇒_ ; inp ; out ; done ; ⟦_⟧ ; _≃_ ; out' ; out* ; _⟫_ ;_[&]_ ; unit₁ ; unit₂ ; assoc ; assoc⁻¹ ; swap'' ; swap' ; swap ) open import System...
{ "alphanum_fraction": 0.4574555404, "avg_line_length": 42.83203125, "ext": "agda", "hexsha": "44960cebb2e6d605f7766408eae6c45c87563f87", "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...
{-# OPTIONS --cubical --no-import-sorts #-} open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero) module Number.Inclusions where open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc) open import Cubical.Relation.Nullary.Base -- ¬_ open import Cubical.Relatio...
{ "alphanum_fraction": 0.5580808081, "avg_line_length": 39.6, "ext": "agda", "hexsha": "f1835b3e835511e273626e707ff37c8a5bf88ad2", "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": "1...
{-# OPTIONS --safe #-} module Cubical.Algebra.CommAlgebra.Kernel where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Algebra.CommRing.Base open import Cubical.Algebra.CommRing.Ideal using (Ideal→CommIdeal) open import Cubical.Algebra.Ring.Kernel using () renaming (k...
{ "alphanum_fraction": 0.7788732394, "avg_line_length": 32.2727272727, "ext": "agda", "hexsha": "41d8e9af969fbdb0eda589a66a99977f41e52837", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Prelude.Ord.Reasoning where open import Prelude.Equality open import Prelude.Ord open import Prelude.Function module _ {a} {A : Set a} {{OrdA : Ord/Laws A}} where private lt/leq-trans : ∀ {x y z : A} → x < y → y ≤ z → x < z lt/leq-trans x<y y≤z = case leq-to-lteq {A = A} y≤z of λ where ...
{ "alphanum_fraction": 0.5282929149, "avg_line_length": 33.380952381, "ext": "agda", "hexsha": "379c23c8e15be16bab00e7019fc1a0665cbdab36", "lang": "Agda", "max_forks_count": 24, "max_forks_repo_forks_event_max_datetime": "2021-04-22T06:10:41.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-12T...
module ModuleInfix where open import Data.List using (List; _∷_; []) open import Data.Bool using (Bool; true; false) module Sort(A : Set)(_≤_ : A → A → Bool)(_⊝_ : A → A → A)(zero : A) where infix 1 _≤_ infix 2 _⊝_ insert : A → List A → List A insert x [] = x ∷ [] insert x (y ∷ ys) with zero ≤ (y ⊝ x) i...
{ "alphanum_fraction": 0.5384615385, "avg_line_length": 24.7, "ext": "agda", "hexsha": "0ea6ffe55196230d4ca832575f7bbc308561ea25", "lang": "Agda", "max_forks_count": 304, "max_forks_repo_forks_event_max_datetime": "2022-03-28T11:35:02.000Z", "max_forks_repo_forks_event_min_datetime": "2018-07-16T18:24:5...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020 Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} module Optics.All where open import Optics.Functorial public open import Op...
{ "alphanum_fraction": 0.7842565598, "avg_line_length": 38.1111111111, "ext": "agda", "hexsha": "a6c555559d03d8adbd290a887b0f9c69f9e45c50", "lang": "Agda", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2022-02-18T01:04:32.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-16T...
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; subst; cong) open import Syntax import Renaming -- Substitutions module Substitution where module _ {𝕊 : Signature} where open Expression 𝕊 open Renaming open Equality infix 5 _∥_→ˢ_ -- the set of substitutions...
{ "alphanum_fraction": 0.4369281952, "avg_line_length": 34.8502415459, "ext": "agda", "hexsha": "8e72bf3666e1b497ce1603f4abb26c47fd6e99a7", "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 #-} -- -- This module defines/proves some basic functions/theorem using only -- the induction principle of the equality types the way they are done -- in the HoTT book. The functions defined/theorems proved in this -- module is often exposed in a better way from the main equality -- module, th...
{ "alphanum_fraction": 0.5759717314, "avg_line_length": 28.3, "ext": "agda", "hexsha": "840e6ae7a9eca9122c521aa240006e4c816ece17", "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": "8...
{-# OPTIONS --without-K --exact-split #-} module rational-numbers where import integers open integers public -------------------------------------------------------------------------------- {- We introduce the type of non-zero integers. -} ℤ\0 : UU lzero ℤ\0 = Σ ℤ (λ k → ¬ (Id zero-ℤ k)) int-ℤ\0 : ℤ\0 → ℤ int-ℤ\0...
{ "alphanum_fraction": 0.4654699576, "avg_line_length": 30.3863636364, "ext": "agda", "hexsha": "f093bcada185b0b0763c10dbaff2d2f28569c3d4", "lang": "Agda", "max_forks_count": 30, "max_forks_repo_forks_event_max_datetime": "2022-03-16T00:33:50.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-26...
-- Christian Sattler, 2013-12-31 -- Testing eta-expansion of bound record metavars, as implemented by Andreas. module Issue376-2 where {- A simple example. -} module example-0 {A B : Set} where record Prod : Set where constructor _,_ field fst : A snd : B module _ (F : (Prod → Set) → Set) wher...
{ "alphanum_fraction": 0.5501792115, "avg_line_length": 27.2195121951, "ext": "agda", "hexsha": "d4178d87d9e4986b9286af2d65830dc11c69519d", "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 _ where module M where data D : Set where c : D private pattern c′ = c open M x : D x = c′
{ "alphanum_fraction": 0.5517241379, "avg_line_length": 7.25, "ext": "agda", "hexsha": "81ccc717c7ccefa83c780132fbb85211a26e4bb5", "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 Nat open import Prelude open import dynamics-core module lemmas-progress-checks where -- boxed values don't have an instruction transition boxedval-not-trans : ∀{d d'} → d boxedval → d →> d' → ⊥ boxedval-not-trans (BVVal VNum) () boxedval-not-trans (BVVal VLam) () boxedval-not-trans (BVArrCast x ...
{ "alphanum_fraction": 0.6899402264, "avg_line_length": 62.4047619048, "ext": "agda", "hexsha": "9caf1adb193f244e8d49d4b1ade8b2233f4b9ebd", "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 Structure.Category.Functor where open import Functional using (_on₂_) open import Lang.Instance import Lvl open import Logic.Predicate open import Structure.Category open import Structure.Function open import Structure.Function.Multi import Structure.Relator.Names as Names open import Structure.Setoid...
{ "alphanum_fraction": 0.6642494561, "avg_line_length": 40.5588235294, "ext": "agda", "hexsha": "31be1320022b8c0c497e2391167f5d0e5264c62b", "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...
-- exercises-03-wednesday.agda open import mylib {- Part 1 : Recursion via patterns Define the following functions using pattern matching and structural recursion on the natural numbers. -} -- Define a function even that determines wether its input is even. even : ℕ → Bool {- even zero = true even (suc n)...
{ "alphanum_fraction": 0.6350851221, "avg_line_length": 25.7333333333, "ext": "agda", "hexsha": "a7a3c3a9c1b06c80d0a1aeafe824e6786ecf33d8", "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...
{- Agda file from the exercise session(s). -} {-# OPTIONS --without-K #-} open import Agda.Primitive {- Two inductive implementations of the Martin-Löf identity type aka equality type aka identification type aka path type. -} data _≡_ {A : Set} (a : A) : A → Set where refl : a ≡ a i...
{ "alphanum_fraction": 0.4974641676, "avg_line_length": 24.781420765, "ext": "agda", "hexsha": "9fc55a7140fc88c34132227b51fafd1d5690c867", "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 par-swap.dpg-pot where open import Data.Empty open import Data.Product open import Data.Sum open import Data.Bool open import Data.List using ([] ; [_] ; _∷_ ; List ; _++_) open import Relation.Binary.PropositionalEquality using (_≡_ ; refl ; sym) open import Data.Maybe using () open import Data.List.Any usin...
{ "alphanum_fraction": 0.5636694817, "avg_line_length": 32.8206521739, "ext": "agda", "hexsha": "103a873656a066d756994221ed57155022748f09", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-04-15T20:02:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-15T...
module Pi.NoRepeat where open import Data.Empty open import Data.Unit open import Data.Sum open import Data.Product open import Relation.Binary.PropositionalEquality open import Pi.Syntax open import Pi.Opsem open import Pi.AuxLemmas import RevNoRepeat -- Forward deterministic deterministic : ∀ {st st₁ st₂} → st ↦ st₁...
{ "alphanum_fraction": 0.4781416603, "avg_line_length": 66.3131313131, "ext": "agda", "hexsha": "0fd416dd4835797291f184fbf25a6681a43c8d0c", "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 examplesPaperJFP.BasicIO where open import Data.Maybe hiding ( _>>=_ ) open import Data.Sum renaming (inj₁ to left; inj₂ to right; [_,_]′ to either) open import Function open import examplesPaperJFP.NativeIOSafe open import examplesPaperJFP.triangleRightOperator module _ where -- for indentation record IOI...
{ "alphanum_fraction": 0.5038839979, "avg_line_length": 30.171875, "ext": "agda", "hexsha": "df81469c4ebaf5ff47d733345f6b7d09f7d03506", "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-01T15:0...
module _ where data Nat : Set where zero : Nat suc : Nat → Nat data L : Nat → Set where nil : L zero cons : ∀ n → L n → L (suc n) pattern one = cons .zero nil
{ "alphanum_fraction": 0.5813953488, "avg_line_length": 13.2307692308, "ext": "agda", "hexsha": "faadab36c7e0483d08213a6ef93ad348e5c51ce1", "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 -- -- Integer division ------------------------------------------------------------------------ module Data.Nat.DM where open import Data.Fin as Fin using (Fin; toℕ) import Data.Fin.Properties as FinP open import Dat...
{ "alphanum_fraction": 0.4636083644, "avg_line_length": 34.6573033708, "ext": "agda", "hexsha": "ea73779e00ce8a31d3024fed9d1b932a82707134", "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-30T...
{-# OPTIONS --without-K #-} {- Our goal in this file is to observe some structure possessed by the universes of types, reflexive graphs, type families, and so on. Somewhat more precisely, we develop an imperfect structure of internal model of type theory, with enough ingredients to get some type theoretic dev...
{ "alphanum_fraction": 0.5832308827, "avg_line_length": 36.3125, "ext": "agda", "hexsha": "223fbfdcba334d12f3a82c758436fd12c121b6f2", "lang": "Agda", "max_forks_count": 30, "max_forks_repo_forks_event_max_datetime": "2022-03-16T00:33:50.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-26T09:08...
-- An ATP local hint can be only a postulate, function or a data -- constructor. -- This error is detected by Syntax.Translation.ConcreteToAbstract. module ATPBadLocalHint3 where postulate D : Set _≡_ : D → D → Set zero : D succ : D → D data N : D → Set where zN : N zero sN : ∀ {n} → N...
{ "alphanum_fraction": 0.5804988662, "avg_line_length": 19.1739130435, "ext": "agda", "hexsha": "52d244cbeca51f2af18ff7086cd58ba2c1bce9ca", "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...
------------------------------------------------------------------------ -- The reader monad transformer ------------------------------------------------------------------------ -- The interface is based on that used by the "mtl" package on -- Hackage. {-# OPTIONS --without-K --safe #-} open import Equality module ...
{ "alphanum_fraction": 0.5733464309, "avg_line_length": 30.2376237624, "ext": "agda", "hexsha": "6095dd129257091271cd76e8e5d36e2b1014b2f7", "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 Agda.Builtin.Equality open import Agda.Primitive record R a : Set (lsuc a) where field P : {A : Set a} → A → A → Set a r : ∀ ℓ → R ℓ R.P (r _) = _≡_ postulate cong : ∀ {a b} {A : Set a} {B : Set b} {x y : A} (f : A → B) → R.P (r a) x y → R.P (r b) (f x) (f y) magic : ∀ {a} {A : Set a...
{ "alphanum_fraction": 0.4826057299, "avg_line_length": 27.1481481481, "ext": "agda", "hexsha": "2025ad04931cf9f85ca11af138615d8c51347e8e", "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 Categories.2-Category.Categories where open import Level open import Data.Product open import Categories.Category open import Categories.2-Category open import Categories.Functor using (module Functor) renaming (id to idF; _∘_ to _∘F_) open import Categories.Functor.Constant open import Categories.FunctorCateg...
{ "alphanum_fraction": 0.4943181818, "avg_line_length": 58.6666666667, "ext": "agda", "hexsha": "cf3bc5cb5e3497645ad09ea5dc8c604fad020c47", "lang": "Agda", "max_forks_count": 23, "max_forks_repo_forks_event_max_datetime": "2021-11-11T13:50:56.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-05...
module Data.Num where open import Data.List using (List; []; _∷_; foldr) open import Data.Nat open ≤-Reasoning open import Data.Nat.Etc open import Data.Nat.DivMod open import Data.Nat.DivMod.Properties using (div-mono) open import Data.Nat.Properties using (m≤m+n; n≤m+n;_+-mono_; pred-mono; ∸-mono; ≰⇒>; n∸n≡0; +-∸-...
{ "alphanum_fraction": 0.4854095145, "avg_line_length": 30.3197026022, "ext": "agda", "hexsha": "35d0191060b48fa96dc95ee2edbe1eb7c418e202", "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-30T...
-- Various small test cases that failed at some point or another -- during the development of the parameter refinement feature. module _ where open import Agda.Primitive open import Agda.Builtin.Nat hiding (_<_) open import Agda.Builtin.Bool open import Agda.Builtin.Equality open import Agda.Builtin.List [_≡_] : ∀ {...
{ "alphanum_fraction": 0.4792380137, "avg_line_length": 20.6725663717, "ext": "agda", "hexsha": "e07ba9618b8c89d71f16948bd9277f9ce9a9493e", "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...
------------------------------------------------------------------------ -- Indexed applicative functors ------------------------------------------------------------------------ -- Note that currently the applicative functor laws are not included -- here. module Category.Applicative.Indexed where open import Data.Fu...
{ "alphanum_fraction": 0.4567788899, "avg_line_length": 25.5581395349, "ext": "agda", "hexsha": "ba21606725126670a2d8eacc4992bda2531c2a5c", "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...
-- Andreas, 2017-08-24, issue #2253 -- -- Better error message for matching on abstract constructor. -- {-# OPTIONS -v tc.lhs.split:30 #-} -- {-# OPTIONS -v tc.lhs:30 #-} -- {-# OPTIONS -v tc.lhs.flex:60 #-} abstract data B : Set where x : B data C : Set where c : B → C f : C → C f (c x) = c x -- WAS: -- -...
{ "alphanum_fraction": 0.6135957066, "avg_line_length": 18.6333333333, "ext": "agda", "hexsha": "7ca4cdca84232603cd1af2addb20962547ef88a8", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K --safe #-} -- Actually, we're cheating (for expediency); this is -- Symmetric Rig, not just Rig. open import Categories.Category module Categories.Category.RigCategory {o ℓ e} (C : Category o ℓ e) where open import Level open import Data.Fin renaming (zero to 0F; suc to sucF) open import Data....
{ "alphanum_fraction": 0.4030680729, "avg_line_length": 30.4970760234, "ext": "agda", "hexsha": "b8137caf1b7655ea21a8cc00819fe741c519de25", "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 Cubical.Algebra.CommRing.QuotientRing where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Structure open import Cubical.Foundations.Powerset open import Cubical.Data.Nat open import Cubical.Data.FinData open import Cubical.HITs.SetQuotients using ([_]; squash/;...
{ "alphanum_fraction": 0.6390101892, "avg_line_length": 31.5862068966, "ext": "agda", "hexsha": "36cd1e4be24cf407b66ed0cab5290d2f018e9bb3", "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 Data.Binary.Increment where open import Data.Binary.Definition open import Strict inc : 𝔹 → 𝔹 inc 0ᵇ = 1ᵇ 0ᵇ inc (1ᵇ xs) = 2ᵇ xs inc (2ᵇ xs) = 1ᵇ inc xs
{ "alphanum_fraction": 0.6600985222, "avg_line_length": 16.9166666667, "ext": "agda", "hexsha": "f812d86bb25592d723e9995158fc15278e6aa8a8", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-11T...
module Agda.Builtin.Strict where open import Agda.Builtin.Equality primitive primForce : ∀ {a b} {A : Set a} {B : A → Set b} (x : A) → (∀ x → B x) → B x primForceLemma : ∀ {a b} {A : Set a} {B : A → Set b} (x : A) (f : ∀ x → B x) → primForce x f ≡ f x
{ "alphanum_fraction": 0.5340909091, "avg_line_length": 29.3333333333, "ext": "agda", "hexsha": "6b299de70265e6168af574376204fe26902266b8", "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 -- -- Pointwise lifting of binary relations to sigma types ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Product.Relation.Binary.Pointwise.Dep...
{ "alphanum_fraction": 0.5572279712, "avg_line_length": 30.9611650485, "ext": "agda", "hexsha": "95bda87ed8be9eed2fb37e55e17b951a89877010", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
open import Mockingbird.Forest using (Forest) module Mockingbird.Forest.Extensionality {b ℓ} (forest : Forest {b} {ℓ}) where open import Algebra using (RightCongruent) open import Relation.Binary using (Rel; IsEquivalence; Setoid) open import Level using (_⊔_) open Forest forest -- TODO: if the arguments to the pre...
{ "alphanum_fraction": 0.6532999165, "avg_line_length": 27.8372093023, "ext": "agda", "hexsha": "f083a16eb484e1c6f5f98b7bcb056260aa09c85d", "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...
-- 2012-02-13 Andreas: testing correct polarity of data types -- sized types are the only source of subtyping, I think... -- {-# OPTIONS -v tc.polarity.set:10 #-} -- {-# OPTIONS -v tc.size.solve:20 #-} {-# OPTIONS --show-implicit #-} {-# OPTIONS --sized-types #-} module DataPolarity where open import Common.Size dat...
{ "alphanum_fraction": 0.5443338075, "avg_line_length": 25.7195121951, "ext": "agda", "hexsha": "ce8a34414eeaeaff36a3faeb1ee230abbfb7e433", "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.Basics open import lib.types.Bool open import lib.types.FunctionSeq open import lib.types.Pointed open import lib.types.Suspension.Core open import lib.types.Suspension.Iterated open import lib.types.Suspension.Trunc open import lib.types.TLevel open import lib.t...
{ "alphanum_fraction": 0.4891398784, "avg_line_length": 42.8563829787, "ext": "agda", "hexsha": "1cf1eeb474ab642b7bbe0caf050eee112b3ccf39", "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 --no-sized-types --no-guardedness #-} module Agda.Builtin.TrustMe where open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Erase private postulate unsafePrimTrustMe : ∀ {a} {A : Set a} {x y : A} → x ≡ y primTrustMe : ∀ {a} {A : Set a} {x y : A} → x ≡ y primTrustMe = primEraseEquali...
{ "alphanum_fraction": 0.7034313725, "avg_line_length": 27.2, "ext": "agda", "hexsha": "5a91830b27439ff2e50b33912b7bbe70627a8608", "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-01T18:30:09....
{-# OPTIONS --safe #-} module Cubical.Data.NatPlusOne.MoreNats.AssocNat.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Data.Nat open import Cubical.Data.NatPlusOne...
{ "alphanum_fraction": 0.5886681383, "avg_line_length": 33.975, "ext": "agda", "hexsha": "5bc7841216a3313a440cedf09b9b7e51536c68a5", "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 UnsolvedMetas where foo = ?
{ "alphanum_fraction": 0.7105263158, "avg_line_length": 6.3333333333, "ext": "agda", "hexsha": "569538f2e5952bcb807b29c49bef8533f3aa70a0", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use Data.List.Relation.Unary.Any -- directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.List.Any w...
{ "alphanum_fraction": 0.4438502674, "avg_line_length": 28.7692307692, "ext": "agda", "hexsha": "796e12266213f3dbec92f1eeb732c500f51108ff", "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 TypeTheory.Nat.AnotherMono.Structure where open import Level renaming (zero to lzero; suc to lsuc) open import Data.Empty using (⊥) open import Data.Product using (Σ; _×_; _,_) open import Relation.Binary using (Rel) open import Relation.Binary.PropositionalEquality open import Relation.Nullary using (¬_) reco...
{ "alphanum_fraction": 0.4968905473, "avg_line_length": 21.1578947368, "ext": "agda", "hexsha": "1d3f9c06705a8cdfcd32c04fe78d0186e20c4f79", "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 Main where import univ import cwf import help import proofs
{ "alphanum_fraction": 0.8, "avg_line_length": 7.7777777778, "ext": "agda", "hexsha": "9d26fcfc838730e74abc40b17549f2c877ca2972", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- Unary relations ------------------------------------------------------------------------ module Relation.Unary where open import Data.Empty open import Function open import Data.Unit hiding (setoid) open import...
{ "alphanum_fraction": 0.4257762654, "avg_line_length": 23.2772277228, "ext": "agda", "hexsha": "03aa8e3fb48c5468326ef3ac5d9e9759de2bd571", "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...
------------------------------------------------------------------------ -- Lenses defined in terms of a getter, equivalences between the -- getter's "preimages", and a coherence property ------------------------------------------------------------------------ {-# OPTIONS --cubical --safe #-} import Equality.Path as ...
{ "alphanum_fraction": 0.3994531593, "avg_line_length": 45.099909991, "ext": "agda", "hexsha": "52b5be80acaa58d7fb5d59315704c0cad9aecee2", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --cubical --safe #-} module Cubical.HITs.Join where open import Cubical.HITs.Join.Base public -- open import Cubical.HITs.Join.Properties public
{ "alphanum_fraction": 0.7547169811, "avg_line_length": 22.7142857143, "ext": "agda", "hexsha": "b949fcec822897a448cc4088e950f86d332be833", "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...
-- imports open import Data.Nat as ℕ using (ℕ; suc; zero; _+_; _∸_) open import Data.Vec as Vec using (Vec; _∷_; []; tabulate; foldr) open import Data.Fin as Fin using (Fin; suc; zero) open import Function using (_∘_; const; id) open import Data.List as List using (List; _∷_; []) open import Data.Maybe...
{ "alphanum_fraction": 0.5342541436, "avg_line_length": 38.5106382979, "ext": "agda", "hexsha": "aa17f521e88209f8484cf153212f8f1c7e1d13bb", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
-- Andreas, 2020-09-28, issue #4950 -- Ranges for missing definitions should not include -- non-missing definitions. A B C : Set₁ -- only B should be highlighted A = Set C = Set -- The following names are declared but not accompanied by a -- definition: B -- Error range was: -- line,3-13 -- The error range should...
{ "alphanum_fraction": 0.6974789916, "avg_line_length": 19.8333333333, "ext": "agda", "hexsha": "a347f7b85e58149a67f9b38b7c016d39d952b756", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K --safe #-} module Dodo.Binary.Filter where -- Stdlib imports import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; _≢_; refl; subst; cong; cong₂) renaming (sym to ≡-sym; trans to ≡-trans) open import Level using (Level; _⊔_) open import Data.Empty using (⊥) open import Data.Pr...
{ "alphanum_fraction": 0.5556399957, "avg_line_length": 34.6278195489, "ext": "agda", "hexsha": "938cb4b2047bbac767736ce033785aaebb9227aa", "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 DeadCodePatSyn.Lib typeOf : {A : Set} → A → Set typeOf {A} _ = A -- Check that pattern synonyms count when computing dead code f : typeOf not-hidden → Set₁ f not-hidden = Set
{ "alphanum_fraction": 0.7038834951, "avg_line_length": 17.1666666667, "ext": "agda", "hexsha": "278ec2dbbb848e0810fad9923028f5a5c5532677", "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 Hide where record 𝔹ottom : Set₁ where field ⊥ : Set open 𝔹ottom ⦃ … ⦄ public 𝔹ottomPrelude : 𝔹ottom 𝔹ottomPrelude = record { ⊥ = P.⊥ } where open import Prelude.Empty as P instance instance𝔹ottom : 𝔹ottom instance𝔹ottom = 𝔹ottomPrelude
{ "alphanum_fraction": 0.7215686275, "avg_line_length": 17, "ext": "agda", "hexsha": "ce675e13b7f1b55f6a108b7119ba274b1b143484", "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": "52e...
module All where import Prelude import Star import Nat import List import Vec import Elem import Fin import Modal import Lambda import Span import MapTm import Examples
{ "alphanum_fraction": 0.8352941176, "avg_line_length": 11.3333333333, "ext": "agda", "hexsha": "3d8d371cf1d54491a427382446c87e8a97f8dc11", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
-- Andreas, 2020-12-15, re PR #5020 -- Test error message "Must not specify multiple frontends" -- See respective .flags file -- Expected error: -- Must not specify multiple frontends (--interaction, --interaction-json)
{ "alphanum_fraction": 0.7297297297, "avg_line_length": 27.75, "ext": "agda", "hexsha": "0eeb700e339592853af4c1c387fd6ae464451274", "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:...