Search is not available for this dataset
text
string
meta
dict
{-# OPTIONS --without-K #-} module ConcretePermutation where import Level using (zero) open import Data.Nat using (ℕ; _+_; _*_) open import Data.Fin using (Fin) open import Data.Product using (proj₁; proj₂) open import Data.Vec using (tabulate) open import Algebra using (CommutativeSemiring) open import Algebra.Str...
{ "alphanum_fraction": 0.4944125326, "avg_line_length": 28.8403614458, "ext": "agda", "hexsha": "bd03bee84547d5105197abd1695fc4b68927909e", "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...
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-} open import Light.Library.Data.Natural as ℕ using (ℕ) open import Light.Package using (Package) module Light.Literals.Natural ⦃ package : Package record { ℕ } ⦄ where open import Light.Literals.Definition.Natural using (FromNatural) open...
{ "alphanum_fraction": 0.7686746988, "avg_line_length": 31.9230769231, "ext": "agda", "hexsha": "c64a6fbeaf948e945533aafb3f136067fdeb4b59", "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 -- -- Decorated star-lists ------------------------------------------------------------------------ {-# OPTIONS --with-K --safe #-} module Data.Star.Decoration where open import Data.Unit open import Function open i...
{ "alphanum_fraction": 0.4968777877, "avg_line_length": 35.03125, "ext": "agda", "hexsha": "24428a58436fb2b73321fd42dfaa1556f616c647", "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...
module Category.Fibration where open import Data.Product open import Category.Category open import Category.Subcategory open import Category.Funct
{ "alphanum_fraction": 0.8410596026, "avg_line_length": 15.1, "ext": "agda", "hexsha": "203583786b520bb9c613036013f4cc05853b4056", "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...
-- 2010-10-04 -- termination checker no longer counts stripping off a record constructor -- as decrease module Issue334 where data Unit : Set where unit : Unit record E : Set where inductive constructor mkE field fromE : E spam : Unit f : E -> Set f (mkE e unit) = f e -- the record pattern translati...
{ "alphanum_fraction": 0.6789838337, "avg_line_length": 18.8260869565, "ext": "agda", "hexsha": "9861e38da4f53cabe6bf8115f214c579f8bc6491", "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...
open import Relation.Binary.PropositionalEquality open import Data.Unit using (⊤ ; tt) open import Data.Product renaming (_×_ to _∧_ ; proj₁ to fst ; proj₂ to snd) open import Data.Sum renaming (_⊎_ to _∨_ ; inj₁ to left ; inj₂ to right) open import Data.Nat using (ℕ ; zero ; suc) open import Data.Product renaming (pro...
{ "alphanum_fraction": 0.522420252, "avg_line_length": 32.8694029851, "ext": "agda", "hexsha": "e812de867ec8ab087d9d8de304d7132d7e251a45", "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...
record R : Set₁ where X = Y -- should get error here field A : Set
{ "alphanum_fraction": 0.6164383562, "avg_line_length": 14.6, "ext": "agda", "hexsha": "4fa0bf378f74d4dbefc0b2f1175bdbc858bd54d3", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- Simple combinators working solely on and with functions ------------------------------------------------------------------------ -- The contents of this file can be accessed from `Function`. {-# OPTIONS --witho...
{ "alphanum_fraction": 0.5078947368, "avg_line_length": 24.9180327869, "ext": "agda", "hexsha": "cd77ee5d48b7773d130484d3ce50571949fd0d54", "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 Relation.Binary.Core module PLRTree.Insert {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import Data.Sum open import PLRTree {A} insert : A → PLRTree → PLRTree insert x leaf = node perfect x leaf leaf insert x (node perfect y l r) with tot≤ x...
{ "alphanum_fraction": 0.5626477541, "avg_line_length": 33.3947368421, "ext": "agda", "hexsha": "816020d8f10d47441a705fa093c5a9a9e530c624", "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 Common.Prelude open import Common.Equality infixr 5 _∷_ data Vec (A : Set) : Nat → Set where [] : Vec A zero _∷_ : ∀ {n} → A → Vec A n → Vec A (suc n) record Eq (A : Set) : Set where field _==_ : (x y : A) → Maybe (x ≡ y) open Eq {{...}} data Σ (A : Set) (B : A → Set) : Set where _,_ : (x ...
{ "alphanum_fraction": 0.519675203, "avg_line_length": 29.6481481481, "ext": "agda", "hexsha": "e099c6ebd303784b5c639810b8160d4b6e570e14", "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...
-- Quotient category {-# OPTIONS --safe #-} module Cubical.Categories.Constructions.Quotient where open import Cubical.Categories.Category.Base open import Cubical.Categories.Functor.Base open import Cubical.Categories.Limits.Terminal open import Cubical.Foundations.HLevels open import Cubical.Foundations.Prelude ope...
{ "alphanum_fraction": 0.4967695621, "avg_line_length": 33.5662650602, "ext": "agda", "hexsha": "82b0c2d8524c45d629af0cee654abf407263da27", "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.Foundations.Pointed.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Pointed.Base open import Cubical.Foundations.Function open import Cubical.Foundations.GroupoidLaws open import Cubical.Foundations.Isomorphism ...
{ "alphanum_fraction": 0.5325137496, "avg_line_length": 36.7976190476, "ext": "agda", "hexsha": "6cd19b915ea423117c132735a1879d8528d2e85b", "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 Definition.Typed.EqRelInstance where open import Definition.Untyped open import Definition.Typed open import Definition.Typed.Properties open import Definition.Typed.Weakening open import Definition.Typed.Properties open import Definition.Typed.Reduction open import Definition.Typed.Equa...
{ "alphanum_fraction": 0.4736323312, "avg_line_length": 45.0888888889, "ext": "agda", "hexsha": "1d8a07eba8b2e69f7fc305589a6001685beb4462", "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...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Abstract.Types open import LibraBFT.Abstract.Types...
{ "alphanum_fraction": 0.6428140704, "avg_line_length": 50.2525252525, "ext": "agda", "hexsha": "292920876b47a7cb25264c5352c144eb479d19ee", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Data.List.First.Properties {ℓ}{A : Set ℓ} where open import Data.Product open import Data.List open import Data.List.Any open import Relation.Binary.PropositionalEquality open import Function open import Data.Empty open import Data.List.First open import Data.List.Membership.Propositional first⟶∈ : ∀ {B : A → ...
{ "alphanum_fraction": 0.6400996264, "avg_line_length": 36.5, "ext": "agda", "hexsha": "cf04cce1e0d6821b487b102225c4fb2320e8e8c8", "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-28T17:38:05....
{-# OPTIONS --without-K --safe #-} open import Categories.Category module Categories.Category.Construction.Spans {o ℓ e} (𝒞 : Category o ℓ e) where open import Level open import Categories.Category.Diagram.Span 𝒞 open import Categories.Morphism.Reasoning 𝒞 open Category 𝒞 open HomReasoning open Equiv open Spa...
{ "alphanum_fraction": 0.6260273973, "avg_line_length": 18.7179487179, "ext": "agda", "hexsha": "f986671266897c40901ef01e1843bb536fbf231f", "lang": "Agda", "max_forks_count": 64, "max_forks_repo_forks_event_max_datetime": "2022-03-14T02:00:59.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-02...
{- Definition of join for ◇ and associated lemmas. -} module TemporalOps.Diamond.JoinLemmas where open import CategoryTheory.Categories open import CategoryTheory.Instances.Reactive open import CategoryTheory.Functor open import CategoryTheory.NatTrans open import CategoryTheory.Monad open import TemporalOps.Common o...
{ "alphanum_fraction": 0.448322374, "avg_line_length": 37.5379746835, "ext": "agda", "hexsha": "8d71ed018919d6e7f85f82fcc2c153126f1e6964", "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 --omega-in-omega --no-termination-check --overlapping-instances #-} module Light.Subtyping where open import Light.Level using (_⊔_ ; ++_) open import Light.Variable.Levels open import Light.Variable.Sets record DirectSubtyping (𝕒 : Set aℓ) (𝕓 : Set bℓ) : Set (aℓ ⊔ bℓ) where constructor #_ ...
{ "alphanum_fraction": 0.6025824964, "avg_line_length": 45.4565217391, "ext": "agda", "hexsha": "9206df919aa233c4d66cc2acae4ac5a75918f4d4", "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 Issue561 where open import Common.Char open import Common.Prelude primitive primIsDigit : Char → Bool postulate IO : Set → Set return : ∀ {A} → A → IO A {-# BUILTIN IO IO #-} main : IO Bool main = return true
{ "alphanum_fraction": 0.6740088106, "avg_line_length": 13.3529411765, "ext": "agda", "hexsha": "c501c0900987bfa92108700dcf553ea4d5c3af7f", "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 library.types.Types where open import library.Basics open import library.types.Empty public open import library.types.Unit public open import library.types.Bool public open import library.types.Nat public open import library.types.Int public open import library.types.TLevel public o...
{ "alphanum_fraction": 0.8253869969, "avg_line_length": 36.7045454545, "ext": "agda", "hexsha": "7cef038a31f13d10b2c1c20558ae23fc0d886e2c", "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...
record Unit : Set where constructor tt postulate C : Set c : C g : C f : Unit → C f tt = c record R : Set where constructor r g = c
{ "alphanum_fraction": 0.595890411, "avg_line_length": 8.1111111111, "ext": "agda", "hexsha": "34e1daa952f89f7e35b0049e5f65fd3c62d4e10f", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T...
-- A variant of code reported by Andreas Abel (who suggested that this -- way to trigger the bug might have been due to NAD). {-# OPTIONS --guardedness --sized-types #-} open import Agda.Builtin.Sigma open import Agda.Builtin.Size data ⊥ : Set where record Delay (A : Set) : Set where coinductive constructor ♯ ...
{ "alphanum_fraction": 0.6356932153, "avg_line_length": 21.1875, "ext": "agda", "hexsha": "7ca3fab3c3da3daf66884841040b11e5455068ba", "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:0...
test = forall _let_ → Set
{ "alphanum_fraction": 0.6923076923, "avg_line_length": 13, "ext": "agda", "hexsha": "24570870f4f790e442a3dd92743fa4dcbfe88e63", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08....
module SystemF.BigStep.Types where open import Prelude -- types are indexed by the number of open tvars infixl 10 _⇒_ data Type (n : ℕ) : Set where Unit : Type n ν : (i : Fin n) → Type n _⇒_ : Type n → Type n → Type n ∀' : Type (suc n) → Type n open import Data.Fin.Substitution open import Data.Vec mo...
{ "alphanum_fraction": 0.4499812664, "avg_line_length": 32.5487804878, "ext": "agda", "hexsha": "dcb5acf35308f7bcd79e254be15f06f9773adde2", "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...
record R (A : Set) : Set where constructor c₂ field f : A → A open module R′ (A : Set) (r : R A) = R {A = A} r renaming (f to f′) _ : (@0 A : Set) → R A → A → A _ = λ A → f′ {A = A}
{ "alphanum_fraction": 0.4639175258, "avg_line_length": 17.6363636364, "ext": "agda", "hexsha": "17f044e265ad41c67b1f4616f656d921dd5969ef", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Algebra.Magma.Properties where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Algebra open import Cubical.Algebra.Magma.Morphism open import Cubical.Algebra.Magma...
{ "alphanum_fraction": 0.7662116041, "avg_line_length": 29.3, "ext": "agda", "hexsha": "026e13ca1f05f51643b49a5b86adbb381c2498e1", "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...
module Numeral.Natural.Oper.Summation.Range where import Lvl open import Data.List open import Data.List.Functions open import Numeral.Natural open import Type _‥_ : ℕ → ℕ → List(ℕ) _ ‥ 𝟎 = ∅ 𝟎 ‥ 𝐒 b = 𝟎 ⊰ map 𝐒(𝟎 ‥ b) 𝐒 a ‥ 𝐒 b = map 𝐒(a ‥ b) ‥_ : ℕ → List(ℕ) ‥ b = 𝟎 ‥ b _‥₌_ : ℕ → ℕ → List(ℕ)...
{ "alphanum_fraction": 0.5524861878, "avg_line_length": 16.4545454545, "ext": "agda", "hexsha": "052e0d431aeee23990ef8451247e0da1fae561b5", "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 Dodo.Unary.Equality where -- Stdlib imports import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl) open import Level using (Level; _⊔_) open import Function using (_∘_) open import Relation.Unary using (Pred) -- # Definitions infix 4 _⊆₁'_ _⊆₁_ _⇔₁_ ...
{ "alphanum_fraction": 0.4535633386, "avg_line_length": 22.7738095238, "ext": "agda", "hexsha": "9dbb5bc235547a69f75a5ed064778825198ad2fb", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --cubical --safe --postfix-projections #-} module Data.Bool.Properties where open import Prelude open import Data.Bool open import Data.Unit.Properties T? : ∀ x → Dec (T x) T? x .does = x T? false .why = ofⁿ id T? true .why = ofʸ tt isPropT : ∀ x → isProp (T x) isPropT false = isProp⊥ isPropT true = i...
{ "alphanum_fraction": 0.6942675159, "avg_line_length": 25.12, "ext": "agda", "hexsha": "fd7e1d1806d3b77763ebef1094a1ae63c0da358d", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-05T14:05:30...
{-# OPTIONS --without-K #-} module P where open import Data.Empty open import Data.Unit open import Data.Sum open import Data.Product open import Relation.Binary.PropositionalEquality ------------------------------------------------------------------------------ -- For now, a groupoid is just a set G...
{ "alphanum_fraction": 0.4620030196, "avg_line_length": 20.4845360825, "ext": "agda", "hexsha": "c8bb82142c853b3d48b3c9e71bf6518c9e42305f", "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...
-- Basic intuitionistic logic of proofs, without ∨, ⊥, or +. -- Gentzen-style formalisation of syntax with context pairs. -- Normal forms and neutrals. module BasicILP.Syntax.DyadicGentzenNormalForm where open import BasicILP.Syntax.DyadicGentzen public -- Derivations. mutual -- Normal forms, or introductions. ...
{ "alphanum_fraction": 0.4260408781, "avg_line_length": 35.8967391304, "ext": "agda", "hexsha": "c05b48cd7c96633d14e39502e6ca0636da6c575c", "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 EquationalTheory where open import Library open import Syntax open import RenamingAndSubstitution -- Single collapsing substitution. sub1 : ∀{Γ σ τ} → Tm Γ σ → Tm (Γ , σ) τ → Tm Γ τ sub1 {Γ}{σ}{τ} u t = sub (subId , u) t -- Typed β-η-equality. data _≡βη_ {Γ : Cxt} : ∀{σ} → Tm Γ σ → Tm Γ σ → Set where -- ...
{ "alphanum_fraction": 0.412132753, "avg_line_length": 31.4188034188, "ext": "agda", "hexsha": "263fc8ecf44c872e82c79ad6ff9e0664e0ce5974", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2018-02-23T18:22:17.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-10T1...
open import Relation.Binary.Core module InsertSort.Impl2.Correctness.Order {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import Data.List open import Function using (_∘_) open import InsertSort.Impl2 _≤_ tot≤ open import List.Sorted _≤_ open import OList _≤_ open imp...
{ "alphanum_fraction": 0.6880165289, "avg_line_length": 26.8888888889, "ext": "agda", "hexsha": "5c5eb1adf544eaccaed903f1de698fd789748710", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --prop #-} open import Agda.Builtin.Nat data T : Nat → Prop where To : T zero Tn : ∀ n → T n ummm : ∀ n → T n → {! !} ummm n t = {! t !}
{ "alphanum_fraction": 0.4905660377, "avg_line_length": 14.4545454545, "ext": "agda", "hexsha": "650a037cd0f99fa634297ebc535d99bad7f06882", "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...
-- A variant of code reported by Andreas Abel. {-# OPTIONS --guardedness --sized-types #-} open import Common.Coinduction renaming (∞ to Delay) open import Common.Size open import Common.Product data ⊥ : Set where record Stream (A : Set) : Set where inductive constructor delay field force : Delay (A × Str...
{ "alphanum_fraction": 0.6382716049, "avg_line_length": 23.1428571429, "ext": "agda", "hexsha": "fbf2529caf66cd3a37c8e29c78b1428e1adc2d58", "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 Oscar.Prelude open import Oscar.Class open import Oscar.Class.IsPrecategory open import Oscar.Class.IsCategory open import Oscar.Class.HasEquivalence open import Oscar.Class.Reflexivity open import Oscar.Class.Symmetry open import Oscar.Class.Transextensionality open import Oscar.Class.Transassociativity o...
{ "alphanum_fraction": 0.7801857585, "avg_line_length": 31.4027777778, "ext": "agda", "hexsha": "3ab8115e5252a26b83382fbaf11a0c16caa3a3cd", "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 -- -- Floats ------------------------------------------------------------------------ module Data.Float where open import Data.Bool hiding (_≟_) open import Relation.Nullary.Decidable open import Relation.Nullary ope...
{ "alphanum_fraction": 0.6016949153, "avg_line_length": 25.0303030303, "ext": "agda", "hexsha": "87162bde7b67c0e260dd8ad2f9c8ccbb1f01742c", "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 Issue2447.Type-error where import Issue2447.M Rejected : Set Rejected = Set
{ "alphanum_fraction": 0.7882352941, "avg_line_length": 12.1428571429, "ext": "agda", "hexsha": "fbca91b19494673ce5339919637198b2f6106440", "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 --safe --warning=error --without-K #-} open import Groups.Homomorphisms.Definition open import Groups.Definition open import Setoids.Setoids open import Rings.Definition open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) module Rings.Homomorphisms.Definition where record RingHom {m n o p : _} {A...
{ "alphanum_fraction": 0.6183699871, "avg_line_length": 38.65, "ext": "agda", "hexsha": "e4bb44a362e1ccf19150471837f9ad5fba15ed60", "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...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Relation.Binary.Base where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Equiv open import Cubical.Foundat...
{ "alphanum_fraction": 0.5508279187, "avg_line_length": 33.3636363636, "ext": "agda", "hexsha": "b2e98004c8174b70a322ee8e4c597713e33b68e8", "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 Thesis.SIRelBigStep.Types where open import Data.Empty open import Data.Product open import Relation.Nullary open import Relation.Binary.PropositionalEquality open import Relation.Binary hiding (_⇒_) data Type : Set where _⇒_ : (σ τ : Type) → Type pair : (σ τ : Type) → Type nat : Type infixr 20 _⇒_ open...
{ "alphanum_fraction": 0.567788899, "avg_line_length": 37.2542372881, "ext": "agda", "hexsha": "cd464dcb127572be89b31bae44b356451ac42be5", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-02-18T12:26:44.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-18T1...
module MLib.Prelude where open import MLib.Prelude.FromStdlib public module Fin where open import MLib.Prelude.Fin public open Fin using (Fin; zero; suc) hiding (module Fin) public
{ "alphanum_fraction": 0.7891891892, "avg_line_length": 23.125, "ext": "agda", "hexsha": "b2a0e872289d45d72e86ef156b053f2d645a144b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
open import Agda.Builtin.Nat data Vec (A : Set) : Nat → Set where [] : Vec A 0 _∷_ : ∀ {n} → A → Vec A n → Vec A (suc n) infixr 5 _∷_ _++_ _++_ : ∀ {A m n} → Vec A m → Vec A n → Vec A (m + n) [] ++ ys = ys (x ∷ xs) ++ ys = x ∷ xs ++ ys T : ∀ {A n} → Vec A n → Set T [] = Nat T (x ∷ xs) = Vec Nat 0 foo : ...
{ "alphanum_fraction": 0.4196428571, "avg_line_length": 21.3333333333, "ext": "agda", "hexsha": "e142ead3221da25efb4883bdee2b837221c91c17", "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 HelloWorld where open import Common.IO open import Common.Unit main : IO Unit main = putStr "Hello World"
{ "alphanum_fraction": 0.7739130435, "avg_line_length": 14.375, "ext": "agda", "hexsha": "91635498ed30afd8cd14b790de7b1f6fc8e6832b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04...
open import Agda.Builtin.Equality data D (A : Set) : Set where {-# INJECTIVE D #-} test : {A₁ A₂ : Set} → D A₁ ≡ D A₂ → A₁ ≡ A₂ test refl = refl postulate f : Set → Set {-# INJECTIVE f #-} test₂ : {A₁ A₂ : Set} → f A₁ ≡ f A₂ → A₁ ≡ A₂ test₂ refl = refl
{ "alphanum_fraction": 0.5769230769, "avg_line_length": 15.2941176471, "ext": "agda", "hexsha": "d81e6b612bf280a399d9536a2498ee52da4f749a", "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...
module Avionics.Bool where open import Data.Bool using (Bool; true; false; _∧_; T) open import Data.Unit using (⊤; tt) open import Data.Product using (_×_; _,_) open import Relation.Binary.PropositionalEquality using (_≡_; refl; inspect; [_]) --open import Avionics.Product using (_×_; ⟨_,_⟩) --TODO: Replace with T⇔≡...
{ "alphanum_fraction": 0.5185185185, "avg_line_length": 30.9705882353, "ext": "agda", "hexsha": "4e96c41f120683694c7efdefa75ed0795efc33ef", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-09-20T00:36:09.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-20T...
{-# OPTIONS --universe-polymorphism #-} open import Level open import Categories.Category module Categories.Power.Functorial {o ℓ e : Level} (C : Category o ℓ e) where open import Relation.Binary.PropositionalEquality using (≡-irrelevance) open import Data.Unit using (⊤; tt) open import Function using () renaming (_∘_...
{ "alphanum_fraction": 0.5438436035, "avg_line_length": 45.7958115183, "ext": "agda", "hexsha": "74bd3108b09b0bdc7f2ac3e6451618d904f28474", "lang": "Agda", "max_forks_count": 23, "max_forks_repo_forks_event_max_datetime": "2021-11-11T13:50:56.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-05...
{-# OPTIONS --without-K --exact-split --allow-unsolved-metas #-} module 16-sets where import 15-number-theory open 15-number-theory public
{ "alphanum_fraction": 0.7375886525, "avg_line_length": 20.1428571429, "ext": "agda", "hexsha": "40246e32e45aa0e16e967e48d4c14c3ba2ed2fe9", "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.ConsoleInterface where open import examplesPaperJFP.NativeIOSafe open import examplesPaperJFP.BasicIO hiding (main) module _ where data ConsoleCommand : Set where getLine : ConsoleCommand putStrLn : String → ConsoleCommand ConsoleResponse : ConsoleCommand → Set ConsoleRespo...
{ "alphanum_fraction": 0.7752380952, "avg_line_length": 29.1666666667, "ext": "agda", "hexsha": "9c9fda60d0d4f9c255fce95352433d32c36ba81e", "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...
------------------------------------------------------------------------ -- A variant of the set quotients from Quotient ------------------------------------------------------------------------ {-# OPTIONS --erased-cubical --safe #-} -- Partly following the HoTT book. -- -- Unlike the HoTT book, but following the cub...
{ "alphanum_fraction": 0.4224935804, "avg_line_length": 38.9712023038, "ext": "agda", "hexsha": "e6cfe153615730aeb85469afd73816209b61b11a", "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 List.Sorted {A : Set}(_≤_ : A → A → Set) where open import Data.List data Sorted : List A → Set where nils : Sorted [] singls : (x : A) → Sorted [ x ] conss : {x y : A}{xs : List A} → x ≤ y → Sorted (y ∷ xs) → Sorted (x ∷ y...
{ "alphanum_fraction": 0.4048338369, "avg_line_length": 19.4705882353, "ext": "agda", "hexsha": "b68d745bb730bf741c6a26f9bbe238a387173d9b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.TypeQuotients where open import Cubical.HITs.TypeQuotients.Base public open import Cubical.HITs.TypeQuotients.Properties public
{ "alphanum_fraction": 0.8, "avg_line_length": 33.3333333333, "ext": "agda", "hexsha": "19b37df11c2a09096145088644e54b7e353e07b0", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "5...
{- Descriptor language for easily defining structures -} {-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-} module Cubical.Structures.Macro where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.E...
{ "alphanum_fraction": 0.7447474879, "avg_line_length": 43.7885714286, "ext": "agda", "hexsha": "a3d759af52a6c43a90fd265bc6f9506764041424", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------ -- Lists where all elements satisfy a given property ------------------------------------------------------------------------ module Data.List.All where open import Data.Function open import Data.List as List hiding (map; all) open import Data.L...
{ "alphanum_fraction": 0.5119047619, "avg_line_length": 33.6, "ext": "agda", "hexsha": "cad0e3d2a8a02b40a1a2339788ac29a433bd8f5a", "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-21T16:37:58....
open import Agda.Builtin.List open import Agda.Builtin.Reflection renaming (bindTC to _>>=_) open import Agda.Builtin.Bool open import Agda.Builtin.Equality open import Agda.Builtin.Nat open import Agda.Builtin.Sigma data Unit : Set where unit : Unit data Empty : Set where qq : ∀ {a} {A : Set a} → A → Term → TC _...
{ "alphanum_fraction": 0.4527836505, "avg_line_length": 25.1150442478, "ext": "agda", "hexsha": "1fa1c3e46933fac7d8bd17b5cedf32225c37bee2", "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 API.Theorems where open import Algebra open import Algebra.Theorems open import API open import Prelude open import Reasoning -- vertices [x] == vertex x vertices-vertex : ∀ {A} {x : A} -> vertices [ x ] ≡ vertex x vertices-vertex = +identity >> reflexivity -- edge x y == clique [x, y] edge-cliqu...
{ "alphanum_fraction": 0.6201058201, "avg_line_length": 36.3461538462, "ext": "agda", "hexsha": "520acc88c581f4874f9233e6bd2b65d3f09f8eed", "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 LC.Reduction where open import LC.Base open import LC.Subst open import Data.Nat open import Data.Nat.Properties open import Relation.Nullary -- β-reduction infix 3 _β→_ data _β→_ : Term → Term → Set where β-ƛ-∙ : ∀ {M N} → ((ƛ M) ∙ N) β→ (M [ N ]) β-ƛ : ∀ {M N} → M β→ N → ƛ M β→ ƛ N β-∙-l : ∀ ...
{ "alphanum_fraction": 0.4381709742, "avg_line_length": 29.5882352941, "ext": "agda", "hexsha": "4ac1eae2d07c0eab6556c1eac17ff2596960da2b", "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> -- -- This module contains definitions that are fundamental and/or used -- everywhere. module Core where open import Agda.Builtin.Equality public renaming (refl to ≡-refl) using (_≡_) open import Agda.Bu...
{ "alphanum_fraction": 0.5163511188, "avg_line_length": 20.9369369369, "ext": "agda", "hexsha": "7c102e8cfabc63a931abd4b95569682dcaa75022", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Oscar.Data.Term.AlphaConversion.internal {𝔣} (FunctionName : Set 𝔣) where open import Oscar.Data.Term FunctionName open import Oscar.Data.Equality open import Oscar.Data.Fin open import Oscar.Data.Vec open import Oscar.Function open import Oscar.Relation infixr 19 _◂_ _◂s_ mutual _◂_ : ∀ {m n} → m ⟨ Fi...
{ "alphanum_fraction": 0.5818014706, "avg_line_length": 35.6721311475, "ext": "agda", "hexsha": "0b29014f06d4c653c84758eb7bd93f58f45435b5", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --warning=error --safe --without-K #-} open import LogicalFormulae open import Numbers.Naturals.Definition module Numbers.Naturals.Addition where infix 15 _+N_ _+N_ : ℕ → ℕ → ℕ zero +N y = y succ x +N y = succ (x +N y) {-# BUILTIN NATPLUS _+N_ #-} addZeroRight : (x : ℕ) → (x +N zero) ≡ x addZeroRight ze...
{ "alphanum_fraction": 0.7035040431, "avg_line_length": 51.94, "ext": "agda", "hexsha": "f892dbcfab15c9dc18dcc760328dc51d4dd72ce0", "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 ProcessSyntax where open import Data.List open import Typing open import Syntax -- processes data Proc (Φ : TCtx) : Set where exp : (e : Expr Φ TUnit) → Proc Φ par : ∀ {Φ₁ Φ₂} → (sp : Split Φ Φ₁ Φ₂) → (P₁ : Proc Φ₁) → (P₂ : Proc Φ₂) → Proc Φ res : (s : SType) → (P : Proc (TChan...
{ "alphanum_fraction": 0.5644329897, "avg_line_length": 16.8695652174, "ext": "agda", "hexsha": "0340d5fa639aea8142c22b58c731f9292b40d667", "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...
------------------------------------------------------------------------------ -- Distributive laws on a binary operation: Task B ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-univers...
{ "alphanum_fraction": 0.4074175824, "avg_line_length": 33.0909090909, "ext": "agda", "hexsha": "30cde74d0802b99e9436da31bca028f19426b0d6", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...
module Sandbox.IndRec where -- Ornamental Algebras, Algebraic Ornaments, CONOR McBRIDE -- https://personal.cis.strath.ac.uk/conor.mcbride/pub/OAAO/Ornament.pdf -- A Finite Axiomtization of Inductive-Recursion definitions, Peter Dybjer, Anton Setzer -- http://www.cse.chalmers.se/~peterd/papers/Finite_IR.pdf open import...
{ "alphanum_fraction": 0.5313630881, "avg_line_length": 28.5862068966, "ext": "agda", "hexsha": "4fb1868c7608041e6e4b1ab79f59466587bfaa3c", "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 --safe #-} module Categories.Category.Finite where open import Level open import Data.Nat using (ℕ) open import Data.Fin open import Categories.Adjoint.Equivalence open import Categories.Category open import Categories.Functor open import Categories.Category.Finite.Fin -- definition of a fin...
{ "alphanum_fraction": 0.688466948, "avg_line_length": 29.0204081633, "ext": "agda", "hexsha": "6c9900f47a9f1b17a5414ffd4bf56a06b9cd9378", "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 Generic.Lib.Data.Maybe where open import Data.Maybe.Base using (Maybe; just; nothing; maybe; maybe′; from-just; fromMaybe) public open import Generic.Lib.Intro open import Generic.Lib.Category infixr 0 _?>_ instance MaybeMonad : ∀ {α} -> RawMonad {α} Maybe MaybeMonad = record { return = just ; _>...
{ "alphanum_fraction": 0.6601626016, "avg_line_length": 23.6538461538, "ext": "agda", "hexsha": "e2fb283e3894058dd0b03b3fc2082c5d9c65c98f", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-01-27T12:57:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-17T...
open import Type module Relator.Sets {ℓ ℓₑ ℓₛ} {E : Type{ℓₑ}} {S : Type{ℓₛ}} (_∈_ : E → S → Type{ℓ}) where open import Functional open import Logic.Propositional open import Logic.Predicate _∉_ : E → S → Type _∉_ = (¬_) ∘₂ (_∈_) _∋_ : S → E → Type _∋_ = swap(_∈_) _∌_ : S → E → Type _∌_ = (¬_) ∘₂ (_∋_) _⊆_ : S → S...
{ "alphanum_fraction": 0.4871794872, "avg_line_length": 17.8285714286, "ext": "agda", "hexsha": "d4a4951b497e6933fca4914a22846d57f4aa9722", "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 Issue804 where mutual {-# NO_TERMINATION_CHECK #-} Foo : Set Foo = Foo -- WAS: The pragma above doesn't apply to Foo. An informative error message -- could be helpful. -- NOW: The pragma does apply to Foo.
{ "alphanum_fraction": 0.6919642857, "avg_line_length": 16, "ext": "agda", "hexsha": "a8b48a2df240be37d6ab165a1155b53ccdb6f5d6", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-12T11:35:18.00...
------------------------------------------------------------------------ -- A type used to index a combined definition of strong and weak -- bisimilarity and expansion ------------------------------------------------------------------------ {-# OPTIONS --safe #-} module Delay-monad.Bisimilarity.Kind where open impor...
{ "alphanum_fraction": 0.5958677686, "avg_line_length": 29.512195122, "ext": "agda", "hexsha": "a8c5e999732a30ef11adbc768f237518eeccdc60", "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 --safe --experimental-lossy-unification #-} module Cubical.Algebra.CommRing.BinomialThm where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Data.Nat renaming ( _+_ to _+ℕ_ ; _·_ to _·ℕ_ ; _^_ to _^ℕ_ ; +-comm to +...
{ "alphanum_fraction": 0.5307957154, "avg_line_length": 39.3082706767, "ext": "agda", "hexsha": "3ed7696a919efc41b45aac439ea14fbc44a3efb5", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
postulate Bool : Set D : Bool → Set f : (a : Bool) → D a ⟦_⟧ : ∀ {a} → D a → Bool record State : Set where field bool : Bool open State {{...}} postulate guard : {S : Set} → ({{_ : S}} → Bool) → S test : State test = guard ⟦ f bool ⟧ -- doesn't work, used to work in agda 2.4
{ "alphanum_fraction": 0.5233333333, "avg_line_length": 16.6666666667, "ext": "agda", "hexsha": "507084a9a4a8429e83bf0ae87ace97cf134f1389", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K --safe #-} module Categories.Category.Unbundled where -- This is basically identical to Category, except that the -- Obj type is a parameter rather than a field. open import Level open import Function.Base using (flip) open import Relation.Binary using (Rel; IsEquivalence) record Category {o...
{ "alphanum_fraction": 0.5405017921, "avg_line_length": 37.7027027027, "ext": "agda", "hexsha": "8db4dbb7a5d5a729d9d02d49ca0e4c2c6d05cc34", "lang": "Agda", "max_forks_count": 64, "max_forks_repo_forks_event_max_datetime": "2022-03-14T02:00:59.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-02...
open import Agda.Builtin.Unit open import Agda.Builtin.Sigma open import Agda.Builtin.List open import Agda.Builtin.Equality open import Agda.Builtin.Reflection renaming (bindTC to infixl 4 _>>=_) macro quoteDef : Name → Term → TC ⊤ quoteDef f hole = (getDefinition f >>= quoteTC) >>= unify hole postulate A : S...
{ "alphanum_fraction": 0.595065312, "avg_line_length": 21.53125, "ext": "agda", "hexsha": "ef10eaca1ab6b97dab3cdb5fb1296c8e74cac119", "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":...
-- Andreas, 2012-09-17 documenting an internal error in InternalToAbstract.hs -- {-# OPTIONS -v syntax.reify.con:30 -v tc.with.type:30 #-} module NameFirstIfHidden where Total : (D : (A : Set) → A → Set)(A : Set) → Set Total D A = forall a → D A a data D (A : Set) : (a : A) → Set where c : Total D A postulate P : ...
{ "alphanum_fraction": 0.60041841, "avg_line_length": 28.1176470588, "ext": "agda", "hexsha": "f3a83046d8ae1ca1423ffd42b4df60d676c3993b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T...
{-# OPTIONS --safe --warning=error --without-K #-} open import Groups.Definition open import Setoids.Setoids open import Sets.EquivalenceRelations open import Groups.Homomorphisms.Definition open import Groups.Homomorphisms.Lemmas open import Groups.Subgroups.Definition open import Groups.Subgroups.Normal.Definition o...
{ "alphanum_fraction": 0.7688577586, "avg_line_length": 58, "ext": "agda", "hexsha": "f9dd404b2a0e77150c93456ca390df6cff5a6f7c", "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.00...
open import Categories open import Functors open import RMonads module RMonads.CatofRAdj {a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}{J : Fun C D} (M : RMonad J) where open import Library open import RAdjunctions open Fun open Cat record ObjAdj {e f} : Set ((a ⊔ b ⊔ c ⊔ d ⊔ lsuc e ⊔ lsuc f))...
{ "alphanum_fraction": 0.4455870867, "avg_line_length": 34.9181818182, "ext": "agda", "hexsha": "5bf2a7448adb57eed901b4b665ed52e931e0a917", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-11-04T21:33:13.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-04T...
{-# OPTIONS --universe-polymorphism #-} open import Categories.Category module Categories.Functor.Core where open import Level open import Categories.Support.EqReasoning record Functor {o ℓ e o′ ℓ′ e′} (C : Category o ℓ e) (D : Category o′ ℓ′ e′) : Set (o ⊔ ℓ ⊔ e ⊔ o′ ⊔ ℓ′ ⊔ e′) where eta-equality private modul...
{ "alphanum_fraction": 0.4489012905, "avg_line_length": 28.9595959596, "ext": "agda", "hexsha": "978b4dcfa52ba5ea3da143eb1c17c5dabb1923d0", "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 FunClause where f : {A : Set} → A → A f x = y where y = x z = x data List (A : Set) : Set where nil : List A cons : A → List A → List A snoc : {A : Set} → List A → A → List A snoc nil y = cons y nil snoc (cons x xs) y = cons x (snoc xs y)
{ "alphanum_fraction": 0.4577922078, "avg_line_length": 8.5555555556, "ext": "agda", "hexsha": "8c31638ca693c757831afb87f5d285e6469be542", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-01T16:38:14.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-01T1...
------------------------------------------------------------------------ -- Brandt and Henglein's subterm relation ------------------------------------------------------------------------ module RecursiveTypes.Subterm where open import Algebra open import Data.Fin using (Fin; zero; suc; lift) open import Data.Nat ope...
{ "alphanum_fraction": 0.3758508663, "avg_line_length": 41.0412698413, "ext": "agda", "hexsha": "3b87b4754f644efb711ebc79a1720ef32acbf912", "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 -v reify:80 #-} open import Common.Prelude open import Common.Reflection open import Common.Equality module Issue1345 (A : Set) where unquoteDecl idNat = define (vArg idNat) (funDef (pi (vArg (def (quote Nat) [])) (abs "" (def (quote Nat) []))) (clause (vArg (var "") ∷ []) (var 0 []) ∷ [])...
{ "alphanum_fraction": 0.6, "avg_line_length": 24, "ext": "agda", "hexsha": "c10a4393509a34b5df9e8f909b4b1d6e6570dd19", "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": "c0ae7d20728b...
------------------------------------------------------------------------------ -- Testing the erasing of the duplicate definitions required by a conjecture ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-...
{ "alphanum_fraction": 0.4024691358, "avg_line_length": 28.9285714286, "ext": "agda", "hexsha": "209ab067d8c79a74ad96f20fb29c66396b086f43", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-03T03:54:55.000Z", "max_forks_repo_forks_event_min_datetime": "2016-05-10T...
{-# OPTIONS --cubical --safe --postfix-projections #-} module Cardinality.Infinite.ManifestEnumerable where open import Prelude open import Data.List.Kleene open import Data.Fin import Data.Nat as ℕ open import Data.Nat using (_+_) open import Cubical.Data.Sigma.Properties open import Cubical.Foundations.Prelude usin...
{ "alphanum_fraction": 0.6052910053, "avg_line_length": 24.8684210526, "ext": "agda", "hexsha": "d2cd9196708f2358332b9c38c061b69b75271db5", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-05T...
{-# OPTIONS --rewriting #-} open import Agda.Primitive open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite variable ℓ ℓ' : Level A : Set ℓ B : Set ℓ' x y z : A sym : x ≡ y → y ≡ x sym refl = refl _∙_ : x ≡ y → y ≡ z → x ≡ z refl ∙ refl = refl leftId : (p : x ≡ y) → refl ∙ p ≡ p left...
{ "alphanum_fraction": 0.5036751838, "avg_line_length": 25.5089285714, "ext": "agda", "hexsha": "eb7498be611cf566e38ee38fca41ac8fec7c15ab", "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...
---------------------------------------------------------------------------- -- Well-founded induction on the relation _◁_ ---------------------------------------------------------------------------- {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymor...
{ "alphanum_fraction": 0.5055716054, "avg_line_length": 32.7432432432, "ext": "agda", "hexsha": "f7af352dafdcb3434d2e5cb1cb0a0cfe9706c09a", "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 --no-qualified-instances #-} module NoQualifiedInstances-ParameterizedImport where postulate T : Set open import NoQualifiedInstances.ParameterizedImport.A T as A postulate f : {{A.I}} → A.I test : A.I test = f
{ "alphanum_fraction": 0.7284482759, "avg_line_length": 15.4666666667, "ext": "agda", "hexsha": "21e726a409a09ebfed61ad609cf80db575785147", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 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 -} module LibraBFT.ImplShared.Util.Dijkstra.All where open import Dijkstra...
{ "alphanum_fraction": 0.7925531915, "avg_line_length": 34.1818181818, "ext": "agda", "hexsha": "6ccef438d4836931355b08045ea0c497d7c4b620", "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 lambda.system-d where open import Data.Nat open import Data.Fin hiding (lift) open import lambda.vec open import lambda.untyped infixr 21 _∧_ infixr 22 _⇒_ data type : Set where base : ℕ → type _⇒_ _∧_ : type → type → type context : ℕ → Set context = vec type in...
{ "alphanum_fraction": 0.5331658291, "avg_line_length": 32.0967741935, "ext": "agda", "hexsha": "afa42cf36eb729e74377e950d75417371cdc60cb", "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 README where ------------------------------------------------------------------------ -- The Agda "standard" library, version 0.2 -- -- Author: Nils Anders Danielsson, with contributions from -- Jean-Philippe Bernardy, Samuel Bronson, Liang-Ting Chen, Dan Doel, -- Patrik Jansson, Shin-Cheng Mu, and Ulf Norell -...
{ "alphanum_fraction": 0.6081311923, "avg_line_length": 34.0348837209, "ext": "agda", "hexsha": "25afe9794ab6ca522bd5779aba95e3ca09035671", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- Functors ------------------------------------------------------------------------ -- Note that currently the functor laws are not included here. module Category.Functor where open import Function open import L...
{ "alphanum_fraction": 0.4230769231, "avg_line_length": 23.6363636364, "ext": "agda", "hexsha": "3fc7676ebb5fb2e484a0cddb73bc78829188a480", "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...
------------------------------------------------------------------------------ -- Testing variable names clash ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} ...
{ "alphanum_fraction": 0.427769986, "avg_line_length": 26.4074074074, "ext": "agda", "hexsha": "655bd656dc4238f3435e01a727d0d63280ba0b9a", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-03T03:54:55.000Z", "max_forks_repo_forks_event_min_datetime": "2016-05-10T2...
-- Solver for Functor {-# OPTIONS --without-K --safe #-} open import Categories.Category open import Categories.Functor renaming (id to idF) module Experiment.Categories.Solver.Functor {o ℓ e o′ ℓ′ e′} {𝒞 : Category o ℓ e} {𝒟 : Category o′ ℓ′ e′} (F : Functor 𝒞 𝒟) where open import Level open import Relat...
{ "alphanum_fraction": 0.4565217391, "avg_line_length": 26.5567010309, "ext": "agda", "hexsha": "388284763c06517a6f81d1ffff6fee4b4c5e8fb8", "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 Thesis.LangChanges where open import Thesis.Changes open import Thesis.IntChanges open import Thesis.Types open import Thesis.Contexts open import Thesis.Environments open import Relation.Binary.PropositionalEquality Chτ : (τ : Type) → Set Chτ τ = ⟦ Δt τ ⟧Type ΔΓ : Context → Context ΔΓ ∅ = ∅ ΔΓ (τ • Γ) = Δt τ...
{ "alphanum_fraction": 0.6182166418, "avg_line_length": 37.592, "ext": "agda", "hexsha": "d3bad4009ccca3e55e00df8a9d973a186219947c", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-02-18T12:26:44.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-18T12:26:4...
{-# OPTIONS --cubical --guardedness --safe #-} module Data.PolyP.Universe where open import Prelude hiding (_⟨_⟩_) open import Data.Vec.Iterated open import Data.Fin.Indexed -------------------------------------------------------------------------------- -- -- The Universe of functors we're interested in. -- ------...
{ "alphanum_fraction": 0.4079754601, "avg_line_length": 25.0769230769, "ext": "agda", "hexsha": "8917daa12417924921f58144a0d67d9ce5db7656", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-11T...
------------------------------------------------------------------------------ -- The alternating bit protocol (ABP) is correct ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-...
{ "alphanum_fraction": 0.504857227, "avg_line_length": 38.6022727273, "ext": "agda", "hexsha": "66e4a31c586e40715be0fedd57a96b723267b78b", "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-19T1...
{-# OPTIONS --safe #-} module Cubical.Categories.Instances.Rings where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Algebra.Ring open import Cubical.Categories.Category open Category open RingHoms RingsCategory : ∀ {ℓ} → Category (ℓ-suc ℓ) ℓ ob RingsCategory ...
{ "alphanum_fraction": 0.7665562914, "avg_line_length": 26.2608695652, "ext": "agda", "hexsha": "f36e336bec572a6c269c787452220e9e92b789c9", "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...
-- Algorithmic equality. {-# OPTIONS --without-K --safe #-} module Definition.Conversion where open import Definition.Untyped open import Definition.Typed open import Tools.Nat open import Tools.Product import Tools.PropositionalEquality as PE infix 10 _⊢_~_↑_ infix 10 _⊢_~_↓_ infix 10 _⊢_[conv↑]_ infix 10 _⊢_[co...
{ "alphanum_fraction": 0.3575976231, "avg_line_length": 30.2051282051, "ext": "agda", "hexsha": "2d8b03698065950b4d9e15ef8ce4c2409732f126", "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 HoTT open import cohomology.Theory {- Ordinary cohomology groups of the n-torus Tⁿ = (S¹)ⁿ. - We have Cᵏ(Tⁿ) == C⁰(S⁰)^(n choose' k) where _choose'_ defined as below. - This argument could give Cᵏ((Sᵐ)ⁿ) with a little more work. -} module cohomology.Torus {i} (OT : OrdinaryT...
{ "alphanum_fraction": 0.5038244097, "avg_line_length": 34.1704545455, "ext": "agda", "hexsha": "ed1b50e21b6a8fd4cca392670cb6e0e46ea8fdb1", "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.TypeCheck where open import bool open import maybe open import Languages.ILL.TypeSyntax open import Languages.ILL.Syntax open import Utils.HaskellTypes open import Utils.HaskellFunctions open import Utils.Exception data StateT (s : Set) (m : Set → Set) (a : Set) : Set where stateT : (s → m (Pr...
{ "alphanum_fraction": 0.5727682377, "avg_line_length": 33.7901234568, "ext": "agda", "hexsha": "8eca4c7a89a2f7a8dbb763c1822a7f5193ec937a", "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 Examples.Resolution where open import Prelude open import Implicits.Syntax open import Implicits.Syntax.Type.Constructors open import Implicits.WellTyped open import Implicits.Substitutions open import Extensions.ListFirst open Rules unit = 0 -- simple implicit resolution by implication module ex₁ where r :...
{ "alphanum_fraction": 0.6605960265, "avg_line_length": 21.9636363636, "ext": "agda", "hexsha": "dc4fc2ff361b1829073002cfcc4a413a5ee3d311", "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 foldr-monoid-foldl where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; sym; trans; cong) open Eq.≡-Reasoning open import lists using (List; []; _∷_; [_]; [_,_]; [_,_,_]; foldr; IsMonoid) open IsMonoid open import foldl using (foldl) postulate -- 外延性の公理 extensionality : ∀ {A ...
{ "alphanum_fraction": 0.514175877, "avg_line_length": 26.3417721519, "ext": "agda", "hexsha": "e0e7bfe265eaefab7238e2c496186578f5b288bb", "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 Human.Empty where data Empty : Set where void : ∀ {P : Set} → Empty → P void ()
{ "alphanum_fraction": 0.6292134831, "avg_line_length": 12.7142857143, "ext": "agda", "hexsha": "a090a7abc08b6a64533178b760242aa36a0bf993", "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...