Search is not available for this dataset
text
string
meta
dict
{-# OPTIONS --safe #-} module Cubical.Data.FinData.Order where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function import Cubical.Data.Empty as ⊥ open import Cubical.Data.Nat using (ℕ) open import Cubical.Data.Nat.Order open import Cubical.Data.Bool.Base open import Cubical.Relation.Nulla...
{ "alphanum_fraction": 0.6796208531, "avg_line_length": 23.4444444444, "ext": "agda", "hexsha": "08aa61c5785ffa475ec997794dd70030c569aad6", "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...
------------------------------------------------------------------------ -- Equivalence of declarative and canonical kinding of Fω with -- interval kinds ------------------------------------------------------------------------ {-# OPTIONS --safe --without-K #-} module FOmegaInt.Kinding.Canonical.Equivalence where op...
{ "alphanum_fraction": 0.4527256183, "avg_line_length": 45.9657794677, "ext": "agda", "hexsha": "8b92a9abd738adc9212e8f429c20ede9ff547d08", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-05-14T10:25:05.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-13T...
module Prelude where open import Data.Unit using (⊤) public open import Data.Empty using (⊥) public open import Function using (id; const; flip) public open import Data.Sum using (_⊎_; inj₁; inj₂) public open import Data.Product using (Σ; proj₁; proj₂; _,_; _×_) public open import Data.Maybe using (Maybe; nothing; jus...
{ "alphanum_fraction": 0.6338194718, "avg_line_length": 29.8470588235, "ext": "agda", "hexsha": "fe5041048c58bdbd19c815a0cb88fb6cf9ec36e8", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
open import AEff open import EffectAnnotations open import Types hiding (``) open import Relation.Binary.PropositionalEquality hiding ([_] ; Extensionality) module Renamings where -- SET OF RENAMINGS BETWEEN CONTEXTS data Ren : Ctx → Ctx → Set where ⟨_,_⟩ : {Γ Γ' : Ctx} {X : VType} → Ren Γ Γ' → ...
{ "alphanum_fraction": 0.4203007519, "avg_line_length": 21.6847826087, "ext": "agda", "hexsha": "c07cc60140111d67162f82791b5cb797b3da16ee", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --rewriting --without-K #-} open import Agda.Primitive open import Prelude open import GSeTT.Syntax {- Typing Rules and basic syntactic properties for the type theory for globular sets -} module GSeTT.Rules where {- Well-formedness statements ≡ inference rules -} data _⊢C : Pre-Ctx → Set₁ data _⊢T_ ...
{ "alphanum_fraction": 0.4229064039, "avg_line_length": 37.247706422, "ext": "agda", "hexsha": "1dc933b43e2ab6d8fcd7f4f35c22045a194272d9", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --without-K #-} module common-utilities where open import common lift-≟-1 : ∀ {ℓ ℓ′} {A : Set ℓ} {B : Set ℓ′} → (f : A → B) → {x : A} → {y : A} → Maybe (x ≡ y) → Maybe (f x ≡ f y) lift-≟-1 f (just refl) = just refl lift-≟-1 f nothing = nothing lift-≟-1-refl : ∀ {ℓ ℓ′} {A : Set ℓ} {B : Set ℓ′} f {x} p → p ...
{ "alphanum_fraction": 0.4218923933, "avg_line_length": 103.6538461538, "ext": "agda", "hexsha": "e3798c180fdd2f790531275b514d3c2ba80bd6cf", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-07-17T18:53:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-17...
------------------------------------------------------------------------ -- The Agda standard library -- -- Types and functions which are used to keep track of height -- invariants in AVL Trees ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.AVL....
{ "alphanum_fraction": 0.4667194929, "avg_line_length": 21.7586206897, "ext": "agda", "hexsha": "5e7516e0ac1cea734740ded9386701173ad014bb", "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 Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; subst; cong) open import Syntax import Renaming import Substitution module Instantiation where module _ {𝕊 : Signature} where open Expression 𝕊 open Substitution open Renaming open Equality -- the set of instant...
{ "alphanum_fraction": 0.3972440521, "avg_line_length": 36.1439688716, "ext": "agda", "hexsha": "3b3ec17f5423c024b13824bbf52e6f85576acc54", "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...
-- Construction of the four functions SST, SK, SK⃗, and αₖ from -- "Extending Homotopy Type Theory with Strict Equality" by Thorsten -- Altenkirch, Paolo Capriotti, Nicolai Kraus (2016) -- (https://arxiv.org/abs/1604.03799). {-# OPTIONS --cubical-compatible --two-level --rewriting #-} open import Agda.Primitive open ...
{ "alphanum_fraction": 0.4745327959, "avg_line_length": 30.1546961326, "ext": "agda", "hexsha": "92a627179e5c997e988c03180b241fa27c5ae197", "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.Primitive using (lzero; lsuc; _⊔_) open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong; subst) import SecondOrder.Arity import SecondOrder.Signature import SecondOrder.Metavariable import SecondOrder.VRenaming import SecondOrder.MRenaming import SecondOrder.Term import SecondOrder...
{ "alphanum_fraction": 0.4575728846, "avg_line_length": 35.1583333333, "ext": "agda", "hexsha": "b6e90250138fa75343820750302a95e5c74f01ec", "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...
-- Example by Sandro Stucki on the Agda mailing list. -- If higher-dimensional unification fails and --without-K is not -- enabled, we should still apply injectivity. open import Agda.Builtin.Nat postulate Fin : Nat → Set data Indexed : Nat → Nat → Set where con : ∀ m {n} (i : Fin n) → Indexed (m + n) (m + suc n...
{ "alphanum_fraction": 0.622556391, "avg_line_length": 30.2272727273, "ext": "agda", "hexsha": "49bf6833de05ee2fa8efb8f364911b8e2c971bf3", "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 -- -- A categorical view of Maybe ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Maybe.Categorical where open import Data.Maybe.Base open impo...
{ "alphanum_fraction": 0.5194479297, "avg_line_length": 24.90625, "ext": "agda", "hexsha": "9e963f58ea364f723528efb6ae9fbf7414eb33ec", "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 _ where record ⊤ : Set where constructor tt f : {{u : ⊤}} → ⊤ f = _ foo : (x : ⊤) → ⊤ foo x = f
{ "alphanum_fraction": 0.4770642202, "avg_line_length": 9.0833333333, "ext": "agda", "hexsha": "ba2ef0796157d196ae919bf23e48e49002e2fb3b", "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-05T2...
postulate A : Set P : A → Set record ΣAP : Set where no-eta-equality field fst : A snd : P fst open ΣAP test : (x : ΣAP) → P (fst x) test x = snd {!!}
{ "alphanum_fraction": 0.5411764706, "avg_line_length": 11.3333333333, "ext": "agda", "hexsha": "9607f6c75b60899e27a00c8207bef09c49593206", "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 #-} module Cubical.Algebra.Group.Instances.Unit where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Structure open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical.Data.Unit open impor...
{ "alphanum_fraction": 0.7073901465, "avg_line_length": 33.010989011, "ext": "agda", "hexsha": "e0a237cf5abf359524f1482bc8fbac588573c6af", "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...
-- Reported by matteo.acerbi, AIMXX, 2014-10-21 -- The following is accepted. {-# OPTIONS --guardedness #-} {-# OPTIONS --cubical-compatible #-} -- {-# OPTIONS -v term:30 #-} record X : Set where coinductive constructor ↑_ field ↓_ : X open X record Y (x1 x2 : X) : Set where coinductive field ...
{ "alphanum_fraction": 0.6009070295, "avg_line_length": 16.9615384615, "ext": "agda", "hexsha": "0d24f2c1b67ead5335fe1aac5220d03568dc27ae", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module _ where open import Agda.Builtin.List open import Agda.Builtin.Reflection open import Agda.Builtin.Unit record Id (A : Set) : Set where field id : A → A open Id {{...}} postulate T : {A : Set} → A → Set cong : ∀ {A B : Set} (f : A → B) {x} → T x → T (f x) X : Set lem : (x : X) → T x instance...
{ "alphanum_fraction": 0.5700575816, "avg_line_length": 16.28125, "ext": "agda", "hexsha": "0031e5b1bcb5acc43b694026414220ca2d462b47", "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:...
{- OPTIONS --without-K -} module Base where open import Agda.Primitive public using (lzero) renaming (Level to ULevel; lsuc to lsucc; _⊔_ to lmax) Type : (i : ULevel) → Set (lsucc i) Type i = Set i Type₀ = Type lzero Type0 = Type lzero Type₁ = Type (lsucc lzero) Type1 = Type (lsucc lzero) {- Naturals -} data ℕ...
{ "alphanum_fraction": 0.5412459985, "avg_line_length": 26.5424836601, "ext": "agda", "hexsha": "7b66bae95454cba30bb630c8bc0474e45cdffb91", "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 #-} open import Cubical.Core.Everything open import Cubical.Relation.Binary.Raw module Cubical.Relation.Binary.Reasoning.StrictPartialOrder {a ℓ} {A : Type a} (S : StrictPartialOrder A ℓ) where open StrictPartialOrder S import Cubical.Relation.Binary.Raw.Construct.Str...
{ "alphanum_fraction": 0.6882716049, "avg_line_length": 30.8571428571, "ext": "agda", "hexsha": "38d01f8a3d08504ce80b05fa6eaee101a70ec1d0", "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-exec #-} module ExecAgda where open import Agda.Builtin.Equality open import Agda.Builtin.List open import Agda.Builtin.Nat open import Agda.Builtin.Unit open import Agda.Builtin.Sigma open import Agda.Builtin.String open import Agda.Builtin.Reflection renaming (bindTC to _>>=_) open import Agda.B...
{ "alphanum_fraction": 0.6945392491, "avg_line_length": 27.9047619048, "ext": "agda", "hexsha": "5ba187c9542ac041df1cc93c3f4ff5f04ecc7061", "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 Issue623.B where S : Set S = S
{ "alphanum_fraction": 0.6666666667, "avg_line_length": 7.8, "ext": "agda", "hexsha": "b3b5df767fa1b2d5b5bddd745ca37031d329bd60", "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 Options-in-right-order where data Unit : Set where unit : Unit postulate IO : Set → Set {-# COMPILED_TYPE IO IO #-} {-# BUILTIN IO IO #-} postulate return : {A : Set} → A → IO A {-# COMPILED return (\_ -> return) #-} main = return unit
{ "alphanum_fraction": 0.6156862745, "avg_line_length": 14.1666666667, "ext": "agda", "hexsha": "3c22218906118f340e2299d5cd9559a7f4d63bd8", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-12T...
module Numeral.Natural.Combinatorics.Proofs where open import Functional import Lvl open import Logic open import Logic.Propositional open import Numeral.Natural open import Numeral.Natural.Combinatorics open import Numeral.Natural.Oper open import Numeral.Natural.Oper.Proofs open import Numeral.Natural.Oper.Proo...
{ "alphanum_fraction": 0.4684929109, "avg_line_length": 47.2148760331, "ext": "agda", "hexsha": "24a1edddf0939af1ea60eedf5985dff0f9aac1ae", "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...
------------------------------------------------------------------------ -- Parallel substitutions (defined as functions) ------------------------------------------------------------------------ open import Data.Universe.Indexed module deBruijn.Substitution.Function.Basics {i u e} {Uni : IndexedUniverse i u e} wher...
{ "alphanum_fraction": 0.4266357846, "avg_line_length": 33.2115384615, "ext": "agda", "hexsha": "3ff52182765ffc8be9c56c840cb7280ab9a45856", "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...
{- Type system of the language. -} module Syntax.Types where -- Abstract syntax of types for the language. data Type : Set where -- Unit type Unit : Type -- Product type _&_ : Type -> Type -> Type -- Sum type _+_ : Type -> Type -> Type -- Function type _=>_ : Type -> Type -> ...
{ "alphanum_fraction": 0.5689277899, "avg_line_length": 20.7727272727, "ext": "agda", "hexsha": "624e711fb414a1e4dfaae95b14744fad7f1fd1bd", "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, 2019-10-21, issue #4142, reported and test case by Jason Hu -- When the record-expression-to-copattern-translation is revisited -- after positivity checking, the defCopatternLHS flag needs to be -- updated as well! -- {-# OPTIONS -v tc.cc.record:20 #-} -- {-# OPTIONS -v tc.conv:30 #-} open import Agda.Bu...
{ "alphanum_fraction": 0.6957364341, "avg_line_length": 24, "ext": "agda", "hexsha": "dc072c78f0fa5072ca7c198acc3a1275acd55486", "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 Setoid where open import Logic.Base record Setoid : Set1 where field A : Set _==_ : A -> A -> Prop refl : {x : A} -> x == x sym : {x y : A} -> x == y -> y == x trans : {x y z : A} -> x == y -> y == z -> x == z module Set-Ar where !_! : (S : Setoid) -> Set ! S ! = Setoid....
{ "alphanum_fraction": 0.514604811, "avg_line_length": 32.3333333333, "ext": "agda", "hexsha": "f835de72097c1829d74c8bcda7f9fc3257cdf589", "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...
-- Term matching. module Tactic.Reflection.Match where open import Prelude open import Builtin.Reflection open import Tactic.Reflection.Equality open import Control.Monad.Zero open import Control.Monad.State open import Container.Traversable private M : Nat → Set → Set M n = StateT (Vec (Maybe Term) n) Maybe ...
{ "alphanum_fraction": 0.5770705521, "avg_line_length": 33.0126582278, "ext": "agda", "hexsha": "60ec7600b3a96927ebdce1a20e9ba540a8ace2ca", "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-12...
module _ where open import Common.Bool private unused = true used = true private module Private where not-in-scope = true in-scope = used -- History: -- -- * Ulf, 2015-20-12 c823aa9a0e84816d3e36ea86e04e9f9caa536c4a -- [ deadcode ] local private things are not in scope at top-level -- but i...
{ "alphanum_fraction": 0.7103559871, "avg_line_length": 23.7692307692, "ext": "agda", "hexsha": "b51624dbf5fc733a6ed3efab651dea5e7da14e76", "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 Issue857 where -- From the Agda mailing list, 2013-05-24, question raised by Martin Escardo. -- 2013-05-24 reported by Martin Escardo, test case by Andrea Vezzosi {- The crucial point is that λ() is not equal to λ(), so e.g. the ones appearing in the body of main-closed-ground' don't match the ones in its own ...
{ "alphanum_fraction": 0.7069857697, "avg_line_length": 27.6071428571, "ext": "agda", "hexsha": "9d29d0baaaddeb6a4bc5a8047223490440acc17c", "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 stream container ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Container.Stream {c⁺} (eq : ∀ {a p} → Equality-with-J a p c⁺) where open Derived-...
{ "alphanum_fraction": 0.438952164, "avg_line_length": 30.4861111111, "ext": "agda", "hexsha": "de144c4c3054409f2f898fc06609d6ec9b141bbc", "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...
---------------------------------------------------------------------------------- -- Types for parse trees ---------------------------------------------------------------------------------- module huffman-types where open import lib open import parse-tree posinfo = string character = string character-bar-3 = string...
{ "alphanum_fraction": 0.6600756034, "avg_line_length": 34.5628140704, "ext": "agda", "hexsha": "1577bfdc15e147f8b561c7fb8544f9ea0902e8f8", "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...
{- Functions building UARels and DUARels on propositions / propositional families -} {-# OPTIONS --no-exact-split --safe #-} module Cubical.Displayed.Prop where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Function open import Cubical.Foundations.HLe...
{ "alphanum_fraction": 0.6156626506, "avg_line_length": 31.320754717, "ext": "agda", "hexsha": "d57a0d5e2a2c41c5d261b253951b29800140847b", "lang": "Agda", "max_forks_count": 134, "max_forks_repo_forks_event_max_datetime": "2022-03-23T16:22:13.000Z", "max_forks_repo_forks_event_min_datetime": "2018-11-16...
open import Relation.Binary using (Setoid) module Data.Vec.Any.Membership {a ℓ} (S : Setoid a ℓ) where open import Level using (_⊔_) open Setoid S renaming (Carrier to A; refl to ≈-refl; trans to ≈-trans ) open import Relation.Nullary open import Relation.Binary open import Data.Fin open import Data.Nat as...
{ "alphanum_fraction": 0.534647171, "avg_line_length": 30.25, "ext": "agda", "hexsha": "c0079c6d30d8a29a4d8ca3df8be94de33aa3f3d8", "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...
module CTL.Modalities.AU where open import CTL.Modalities.AN open import FStream.Core open import Library data _AU'_ {ℓ₁ ℓ₂} {C : Container ℓ₁} (props₁ props₂ : FStream' C (Set ℓ₂)) : Set (ℓ₁ ⊔ ℓ₂) where finallyA : head props₁ → props₁ AU' props₂ _untilA_ : head props₂ → AN'ₛ props₁ AU' AN'ₛ props₂ → props₁...
{ "alphanum_fraction": 0.5898089172, "avg_line_length": 30.1923076923, "ext": "agda", "hexsha": "0762d37c54f0319af70c4e784686105972fc2dfe", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-12-13T15:56:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-13T...
{-# OPTIONS --cubical-compatible #-} module Common.List where open import Agda.Builtin.List public open import Common.Nat infixr 5 _++_ _++_ : ∀ {a} {A : Set a} → List A → List A → List A [] ++ ys = ys (x ∷ xs) ++ ys = x ∷ (xs ++ ys) map : ∀ {a b} {A : Set a} {B : Set b} → (A → B) → List A → List B map _ [] ...
{ "alphanum_fraction": 0.5076586433, "avg_line_length": 22.85, "ext": "agda", "hexsha": "66b402208f3b1cb52be52550a6831598c50acaa4", "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 --exact-split --cubical #-} -- This is unfortunate, but Arch doesn't have the cubical stuff -- in the stdlib package it comes with (and cabal on Arch is -- significantly worse). open import Agda.Builtin.Cubical.Id open import Agda.Builtin.Cubical.Path -- Other builtins open import Agda.Builtin...
{ "alphanum_fraction": 0.6219068413, "avg_line_length": 48.2105263158, "ext": "agda", "hexsha": "6b5a0aae2ee2790fe585cc2e07b6659390ae7232", "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, 2012-09-13 respect irrelevance at meta-var creation -- {-# OPTIONS -v tc.conv.irr:20 #-} module Issue168-irrelevant where data Nat : Set where zero : Nat suc : Nat → Nat module Id .(A : Set) where id : Nat → Nat id zero = zero id (suc xs) = suc (id xs) open Id Nat postulate P : Nat → Set...
{ "alphanum_fraction": 0.614973262, "avg_line_length": 17.8095238095, "ext": "agda", "hexsha": "40fe307803443ca25c3eaa1de90af6ec19a0e27b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03...
{-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} -- We can use a propositional equality parametrized on Set instead of -- using two "different" equalities on D and M. module LogicalFramework.SetE...
{ "alphanum_fraction": 0.4688958009, "avg_line_length": 24.7307692308, "ext": "agda", "hexsha": "1126e2c20fa17217dfd892fb5ad2bdb5037a2d7b", "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 L.Base.Coproduct.Properties where -- There are no properties yet.
{ "alphanum_fraction": 0.7837837838, "avg_line_length": 18.5, "ext": "agda", "hexsha": "eedb29dc3a3996588516ef960b84933026a09ff6", "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...
postulate I : Set U : I → Set El : ∀ {i} → U i → Set infixr 4 _,_ record Σ (A : Set) (B : A → Set) : Set where constructor _,_ field proj₁ : A proj₂ : B proj₁ open Σ ∃ : ∀ {A : Set} → (A → Set) → Set ∃ = Σ _ mutual infixl 5 _▻_ data Ctxt : Set where _▻_ : (Γ : Ctxt) → Type Γ → Ctxt ...
{ "alphanum_fraction": 0.4513715711, "avg_line_length": 15.7254901961, "ext": "agda", "hexsha": "eedd92e6e2602dca7130495e9e8ca912aef72c5e", "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...
{- FP Lunch, Nottingham July 27, 2007 Conor McBride -} module Binary where data Bit : Set where O : Bit I : Bit infixl 80 _<<_ data Pos : Set where <<I : Pos _<<_ : Pos -> Bit -> Pos bsuc : Pos -> Pos bsuc <<I = <<I << O bsuc (n << O) = n << I bsuc (n << I) = bsuc n << O data Peano : Pos -...
{ "alphanum_fraction": 0.4389044944, "avg_line_length": 16.367816092, "ext": "agda", "hexsha": "91f279aca8a193febe6f9c30042dd91ac92acbb8", "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...
-- Sets represented by unary predicates (Like restricted comprehension) -- Similiar to BoolSet, but instead using the builtin constructive logic with levels. module Sets.PredicateSet where import Lvl open import Data hiding (Empty) open import Data.Boolean open import Data.Boolean.Stmt open import Functional open...
{ "alphanum_fraction": 0.5178530026, "avg_line_length": 35.3524590164, "ext": "agda", "hexsha": "0f8cf1e8dacd16565ef2b813df68d96d06b215a8", "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 Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero) module Number.Structures where private variable ℓ ℓ' : Level open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc) open import Cubical.Relation.Nullary.B...
{ "alphanum_fraction": 0.4782731643, "avg_line_length": 42.2669322709, "ext": "agda", "hexsha": "226a9c8a8579c9ddab26adf4cff388bc0a4ee083", "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 Chapter3.Formalization where -- Sets and n-types -- ---------------- open import Data.Unit open import Data.Empty open import Data.Nat open import Data.Sum open import Relation.Nullary using (¬_) open import Data.Bool open import Data.Product open import Basics open import Relation...
{ "alphanum_fraction": 0.5192598187, "avg_line_length": 31.3372781065, "ext": "agda", "hexsha": "39115d30831d7d1ea9dba4096d9dd27b3937a031", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --rewriting #-} open import Agda.Builtin.Bool open import Agda.Builtin.Equality {-# BUILTIN REWRITE _≡_ #-} data D (A : Set) : Set where c c' : D A postulate rew : c {Bool} ≡ c' {Bool} {-# REWRITE rew #-}
{ "alphanum_fraction": 0.6233183857, "avg_line_length": 17.1538461538, "ext": "agda", "hexsha": "39aa050e2aee60fa568df23914c3818d193f3bae", "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 Relation.Binary.PropositionalEquality record Group : Set₁ where field X : Set _·_ : X → X → X e : X i : X → X assoc : (x y z : X) → (x · y) · z ≡ x · (y · z) unit-l : (x : X) → e · x ≡ x unit-r : (x : X) → x · e ≡ x inv-l : (x : X) → i x · x ≡ e inv-r : (x : X) → x ...
{ "alphanum_fraction": 0.4291938998, "avg_line_length": 27, "ext": "agda", "hexsha": "f3a80c6c1581d4108374eceeb3b08536c9096c49", "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": "9a0...
{-# OPTIONS --safe #-} module Cubical.Algebra.Direct-Sum.Properties where open import Cubical.Foundations.Prelude open import Cubical.Algebra.Group open import Cubical.Algebra.AbGroup open import Cubical.Algebra.Direct-Sum.Base private variable ℓ ℓ' : Level module _ (Idx : Type ℓ) (P : Idx → Type ℓ') (AGP : (r :...
{ "alphanum_fraction": 0.424556213, "avg_line_length": 47.4385964912, "ext": "agda", "hexsha": "68beece6538f4db7a118a959f54728fe86281000", "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 Structure.Setoid.Uniqueness.Proofs where import Lvl open import Functional open import Logic.Propositional open import Logic.Predicate open import Structure.Setoid.Uniqueness open import Structure.Setoid open import Structure.Function.Domain open import Structure.Relator.Properties open import Syntax.Trans...
{ "alphanum_fraction": 0.6646216769, "avg_line_length": 37.6153846154, "ext": "agda", "hexsha": "333061a284c9ae9b32f4cbc4a5cac4ca9c75ba50", "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 lib.Basics open import lib.types.Coproduct open import lib.types.Pointed open import lib.types.Pushout open import lib.types.PushoutFlattening open import lib.types.Span open import lib.types.Unit -- Wedge of two pointed types is defined as a particular case of pushout module ...
{ "alphanum_fraction": 0.550794415, "avg_line_length": 22.3333333333, "ext": "agda", "hexsha": "4981d6c47a71a96d6f4ee3438cc1249f5e14da1d", "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 -v impossible:100 -v tc.lhs.imp:100 #-} -- {-# OPTIONS -v impossible:100 -v tc.cover:20 #-} -- {-# OPTIONS --copatterns #-} -- Andreas, 2015-08-26 on by default. module Issue957 where open import Common.Equality record _×_ (A B : Set) : Set where constructor _,_ field fst : A snd : B open _...
{ "alphanum_fraction": 0.5308176101, "avg_line_length": 22.3943661972, "ext": "agda", "hexsha": "2b4486b0ee5db533fce371beb611accc42720f71", "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 Logic where open import Type renaming (Type to Stmt ; Typeω to Stmtω) public
{ "alphanum_fraction": 0.7764705882, "avg_line_length": 21.25, "ext": "agda", "hexsha": "9e4a4b88a7d64d12ca6c1c3fd67f837cd0c3a9f1", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use -- Data.List.Relation.Binary.Equality.Setoid directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open impo...
{ "alphanum_fraction": 0.5224489796, "avg_line_length": 32.6666666667, "ext": "agda", "hexsha": "a9cce71633d7335d590d936a7ee7239877c47999", "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...
------------------------------------------------------------------------ -- A variant of Coherently with an erased field ------------------------------------------------------------------------ {-# OPTIONS --cubical --guardedness #-} import Equality.Path as P module Lens.Non-dependent.Higher.Coherently.Coinductive.E...
{ "alphanum_fraction": 0.4442417794, "avg_line_length": 38.548828125, "ext": "agda", "hexsha": "79c6cd1d34b3fb56e47c3f12ed2ddd58e30c992d", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-07-01T14:33:26.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-01T1...
postulate F : (Set → Set) → Set !_ : Set → Set !_,_ : Set → Set → Set X : Set syntax F (λ X → A) = X , A infix 1 F infix 2 !_ Foo : Set Foo = ! X , X -- This expression can be parsed in exactly one way. However, Agda -- rejects it: -- -- Expected variable name in binding position -- -- The error i...
{ "alphanum_fraction": 0.6564102564, "avg_line_length": 22.5, "ext": "agda", "hexsha": "319696614f10c369f4d3a87d64609b941dc95686", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0...
{-# OPTIONS --cubical --safe #-} open import Algebra open import Prelude open import HITs.PropositionalTruncation open import HITs.PropositionalTruncation.Sugar module Algebra.Construct.Cayley {a} (mon : Monoid a) where open Monoid mon 𝒞 : Type a 𝒞 = Σ[ f ⦂ (𝑆 → 𝑆) ] × ∀ x → ∥ f ε ∙ x ≡ f x ∥ ⟦_⇓⟧ : 𝒞 → 𝑆 ⟦...
{ "alphanum_fraction": 0.5412423625, "avg_line_length": 26.5405405405, "ext": "agda", "hexsha": "a05a7848e29db3363ead95e9f1210553e3a2163c", "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...
-- Agda program using the Iowa Agda library {-# OPTIONS --termination-depth=2 #-} module PROOF-gamelength where open import eq open import bool open import nat open import nat-thms open import list open import nondet open import nondet-thms --------------------------------------------------------------------------...
{ "alphanum_fraction": 0.528177458, "avg_line_length": 29.2631578947, "ext": "agda", "hexsha": "4bca6e9f711b6b7980bf55d4e6a01c95f84f26fb", "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 Equality where open import Function using (_∘_) open import Relation.Binary.PropositionalEquality using (_≡_) open import Data.Product using (_×_; _,_; ∃-syntax; proj₁; proj₂) open import Data.Bool using (Bool; true; false) open import Data.Nat using (ℕ) -- -- Relation -- record Relation (R : Set → Set) (A :...
{ "alphanum_fraction": 0.6038236856, "avg_line_length": 22.4166666667, "ext": "agda", "hexsha": "4d173c6ca7f5eee294dcaf24d565acc211b0d0e8", "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 -- -- Basic definitions for Characters ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Char.Base where ----------------------------------------...
{ "alphanum_fraction": 0.5445960126, "avg_line_length": 27.2285714286, "ext": "agda", "hexsha": "8cc4035ce4799e6f1cb1179ee82ee805bb9cb222", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
open import Nat open import Prelude open import List open import core open import contexts module lemmas-freevars where mutual -- if e successfully type-checks via analysis, under a context which -- can only bind x in the final position, then the free vars of e, with -- the context's last binder removed...
{ "alphanum_fraction": 0.5826538176, "avg_line_length": 53.96, "ext": "agda", "hexsha": "6dc9e4b0be8648d93c324316e4172ba428f3a6ed", "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 definitional interpreter that is instrumented with information -- about the stack size of the compiled program ------------------------------------------------------------------------ open import Prelude import Lambda.Syntax module Lambda....
{ "alphanum_fraction": 0.4553125851, "avg_line_length": 38.9434628975, "ext": "agda", "hexsha": "af6b0dc218cbec9d15d5a3fc6a2832dacdf6dbc0", "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 FOTC natural numbers type ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-}...
{ "alphanum_fraction": 0.4188481675, "avg_line_length": 30.8064516129, "ext": "agda", "hexsha": "9c8575c597263f92baab50cf0ab40596026af6aa", "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 --type-in-type #-} -- yes, there will be some cheating in this lecture module Lec3Start 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 == ...
{ "alphanum_fraction": 0.4338912134, "avg_line_length": 23.431372549, "ext": "agda", "hexsha": "07a8247a654bd67e776ca366e83f206d9784a17d", "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-13T2...
module Stack where open import Data.Bool using (Bool; true; false) open import Data.Nat using (ℕ; zero; suc) import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong) open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎; step-≡) module V1 where {- This first version introduces the Stack abst...
{ "alphanum_fraction": 0.5102988691, "avg_line_length": 25.1370558376, "ext": "agda", "hexsha": "500c028baa3002d38b1cd69b3b8c22e8010a6675", "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 --guardedness --safe #-} module Cubical.Codata.M.AsLimit.M.Properties where open import Cubical.Data.Unit open import Cubical.Data.Prod open import Cubical.Data.Nat as ℕ using (ℕ ; suc ; _+_ ) open import Cubical.Data.Sum open import Cubical.Data.Sigma open import Cubical.Foun...
{ "alphanum_fraction": 0.6078984485, "avg_line_length": 45.7419354839, "ext": "agda", "hexsha": "1cc3ce4f061a7fd8f8a810e2926b49111a7037a2", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-22T02:02:01.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-22T...
{-# OPTIONS --safe #-} module Cubical.Algebra.Ring.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.Equiv open import Cubical.Foundations.Equiv.HalfAdjoint open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphis...
{ "alphanum_fraction": 0.4057247259, "avg_line_length": 38.544600939, "ext": "agda", "hexsha": "5fffe6744ad97a548f2ef4a00b16ec19afb9367c", "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 Issue3295.Incomplete2 where open import Agda.Builtin.Nat {-# NON_COVERING #-} g : Nat → Nat g zero = zero
{ "alphanum_fraction": 0.7217391304, "avg_line_length": 14.375, "ext": "agda", "hexsha": "ff27c1ce3a61ef845d7e6dce9a64c180bfcfaaf0", "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...
-- WARNING: This file was generated automatically by Vehicle -- and should not be modified manually! -- Metadata -- - Agda version: 2.6.2 -- - AISEC version: 0.1.0.1 -- - Time generated: ??? {-# OPTIONS --allow-exec #-} open import Vehicle open import Vehicle.Data.Tensor open import Data.Product open import Data.S...
{ "alphanum_fraction": 0.6682330827, "avg_line_length": 31.2941176471, "ext": "agda", "hexsha": "630e97d1d75729c5a8b30b4697dc9240f16c14c2", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-11-16T14:30:47.000Z", "max_forks_repo_forks_event_min_datetime": "2021-03-15T...
module JamesChapman where infixr 50 _⟶_ data Ty : Set where ι : Ty _⟶_ : Ty -> Ty -> Ty data Tm : Ty -> Set where _$_ : {σ τ : Ty} -> Tm (σ ⟶ τ) -> Tm σ -> Tm τ data Nf : Ty -> Set where data _↓_ : {σ : Ty} -> Tm σ -> Nf σ -> Set where r$ : {σ τ : Ty} -> {t : Tm (σ ⟶ τ)} -> {f : Nf (σ ⟶ τ)} -> t ↓ f ->...
{ "alphanum_fraction": 0.3888888889, "avg_line_length": 25.3636363636, "ext": "agda", "hexsha": "663d2e08e28bd651fc58c2ad1df223be6a5ed54a", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-12T...
{-# OPTIONS --without-K #-} module sets.vec where open import sets.vec.core public open import sets.vec.properties public open import sets.vec.dependent public
{ "alphanum_fraction": 0.7763975155, "avg_line_length": 23, "ext": "agda", "hexsha": "731cd42bbf5a87686bd4e0af93a394183d6d01fc", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-05-04T19:31:00.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-02T12:17:00.00...
{-# OPTIONS --without-K --exact-split --allow-unsolved-metas #-} module 06-universes where import 05-identity-types open 05-identity-types public -- Section 4.1 Type theoretic universes {- Because of Agda's design we already had to introduce universes in the very first file. What is left to do here is to formali...
{ "alphanum_fraction": 0.5914019403, "avg_line_length": 32.450617284, "ext": "agda", "hexsha": "24501bb5ff866ae1c44e3ca9e768720b9607c188", "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 #-} module Cubical.Categories.NaturalTransformation where open import Cubical.Foundations.Prelude open import Cubical.Categories.Category open import Cubical.Categories.Functor private variable ℓ𝒞 ℓ𝒞' ℓ𝒟 ℓ𝒟' : Level module _ {𝒞 : Precategory ℓ𝒞 ℓ𝒞'} {𝒟 : Precategory ℓ𝒟 ℓ𝒟'} whe...
{ "alphanum_fraction": 0.538856305, "avg_line_length": 34.1, "ext": "agda", "hexsha": "ada608a85b5fe4e6ab027665dedb75fab42f9b32", "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": "ce...
-- {-# OPTIONS -v tc.with:40 #-} id : (A : Set) → A → A id A = {!id′!} -- C-c C-h produces: id′ : ∀ {A} → A -- when it should produce: id′ : ∀ {A} → A → A
{ "alphanum_fraction": 0.4207317073, "avg_line_length": 23.4285714286, "ext": "agda", "hexsha": "150032ea26ab1c138095f8f6156c5cfc96ed0625", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-12T...
-- Andreas, 2016-01-23, issue 1796 -- Need to run size constraint solver before with-abstraction open import Common.Size postulate anything : ∀{A : Set} → A mutual record IO i : Set where coinductive field force : ∀{j : Size< i} → IO' j data IO' i : Set where cons : IO i → IO' i mutual record...
{ "alphanum_fraction": 0.5908618899, "avg_line_length": 24.075, "ext": "agda", "hexsha": "06ce802cafd4077083cef06084dd7c463ea48fd2", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
{-# OPTIONS --safe --warning=error --without-K #-} open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Functions.Definition module Sets.EquivalenceRelations where Reflexive : {a b : _} {A : Set a} (r : Rel {a} {b} A) → Set (a ⊔ b) Reflexive {A = A} r = {x : A} → r x x Symmetric : {a b : _} {A : ...
{ "alphanum_fraction": 0.5711035267, "avg_line_length": 33.8076923077, "ext": "agda", "hexsha": "ff2cc44ae29a6f282d8915139697aa90660c5a92", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-29T...
{-# OPTIONS --warning=error --safe --without-K #-} open import LogicalFormulae open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Numbers.Naturals.Semiring open import Numbers.Naturals.Order open import Lists.Lists open import Numbers.Primes.PrimeNumbers open import Decidable.Relations open import ...
{ "alphanum_fraction": 0.7329479769, "avg_line_length": 28.8333333333, "ext": "agda", "hexsha": "7bbf63104bbb1f0c8e6d1c6ff58105400e3c3c4c", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-29T...
{-# OPTIONS --without-K #-} module equality.inspect where open import level open import equality.core data _of_is_ {i j}{A : Set i}{B : A → Set j} (f : (x : A) → B x)(x : A)(y : B x) : Set (i ⊔ j) where [_] : f x ≡ y → f of x is y inspect : ∀ {i j}{A : Set i}{B : A → Set j} → (f : (x : A)→ B x...
{ "alphanum_fraction": 0.4813829787, "avg_line_length": 25.0666666667, "ext": "agda", "hexsha": "14517928f33c3d436b351866e494723d2a77165f", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-02-26T06:17:38.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-11T...
------------------------------------------------------------------------ -- Equivalence relations ------------------------------------------------------------------------ module Eq where infix 4 _≡_ ------------------------------------------------------------------------ -- Definition record Equiv {a : Set} (_≈_ : ...
{ "alphanum_fraction": 0.3336275375, "avg_line_length": 25.75, "ext": "agda", "hexsha": "a4783ca3829bc756767ffacc0c256562a56d3671", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:...
{-# OPTIONS --without-K #-} module Explore.Examples where open import Type open import Level.NP open import Data.Maybe.NP open import Data.List open import Data.Zero open import Data.One open import Data.Two open import Data.Product open import Data.Sum.NP open import HoTT using (UA) open import Function.NP open impor...
{ "alphanum_fraction": 0.5672676838, "avg_line_length": 27.3106060606, "ext": "agda", "hexsha": "5a7ea1b35c03dac349d4f041f492ab22484a1155", "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 Esterel.Context.Properties where open import Esterel.Lang open import Esterel.Environment as Env using (Env ; Θ ; _←_ ; module SigMap ; module ShrMap ; module VarMap) open import Esterel.Context using (EvaluationContext ; EvaluationContext1 ; _⟦_⟧e ; _≐_⟦_⟧e ; Context ; Context1 ; _⟦_⟧c ; _≐_⟦_⟧c) ...
{ "alphanum_fraction": 0.5704171934, "avg_line_length": 46.2573099415, "ext": "agda", "hexsha": "9700a25c1ca4891be7dd93545b3bcb71344dc6c2", "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 RMonads.Modules where open import Library open import Categories open import Functors open import RMonads record Mod {a}{b}{c}{d}{C : Cat {a}{b}}{D : Cat {c}{d}}{J : Fun C D} (RM : RMonad J) : Set (a ⊔ c ⊔ d) where constructor mod open Cat open Fun open RMonad RM field M : Obj C → ...
{ "alphanum_fraction": 0.4830311483, "avg_line_length": 36.4576271186, "ext": "agda", "hexsha": "4b7dc773e29b02dcc1d1738a7d123474c51097e7", "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...
open import Nat open import Prelude open import List open import contexts open import core open import results-checks open import preservation module finality where finality : ∀{Δ Σ' Γ E e r k τ} → E env-final → Δ , Σ' , Γ ⊢ E → Δ , Σ' , Γ ⊢ e :: τ → E ⊢ ...
{ "alphanum_fraction": 0.5935769657, "avg_line_length": 53.1176470588, "ext": "agda", "hexsha": "9e5b6d4e5b2ccbbdfc3a4f0a899c6c4acf2e0b21", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --no-positivity-check #-} -- Formalization of OPLSS: Computational Type Theory (Robert Harper), 2018. module CTT where open import Function using (_$_) open import Level using (Level) open import Relation.Nullary open import Relation.Nullary.Negation open import Relation.Binary open import Relation.Binar...
{ "alphanum_fraction": 0.5210020516, "avg_line_length": 39.4925373134, "ext": "agda", "hexsha": "d5f4f1635d6b842d12b3957d8851a547c8cb8c1d", "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...
-- There was a bug where f (suc n) didn't reduce for neutral n. module Issue26 where data Nat : Set where zero : Nat suc : Nat -> Nat {-# BUILTIN NATURAL Nat #-} {-# BUILTIN ZERO zero #-} {-# BUILTIN SUC suc #-} f : Nat -> Nat f 0 = 0 f (suc n) = f n data _==_ {A : Set}(x : A) : A -> Set where ...
{ "alphanum_fraction": 0.5284974093, "avg_line_length": 17.5454545455, "ext": "agda", "hexsha": "e3ae17a782ee8f889e9dc6a08f5d4582a74f999e", "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 D : _ where D : _
{ "alphanum_fraction": 0.5652173913, "avg_line_length": 7.6666666667, "ext": "agda", "hexsha": "0b73e4b7836da7cc0aca3b16bb39b2dafcce8b17", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
------------------------------------------------------------------------ -- The Agda standard library -- -- Automatic solvers for equations over integers ------------------------------------------------------------------------ -- See README.Integer for examples of how to use this solver {-# OPTIONS --without-K --safe...
{ "alphanum_fraction": 0.579793341, "avg_line_length": 34.84, "ext": "agda", "hexsha": "476d98af73533e73a56a0561bb2c7c14cff3cc1f", "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": "0...
{-# OPTIONS --allow-unsolved-metas #-} module Issue107 where data Bool : Set where true : Bool false : Bool data False : Set where record True : Set where T : Bool -> Set T false = False T _ = True foo : ((a : Bool) -> T a) -> True foo f = f _
{ "alphanum_fraction": 0.6205533597, "avg_line_length": 14.8823529412, "ext": "agda", "hexsha": "37c70cc119766e8b9438f40d442643d409ab5927", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.ZCohomology.Properties where open import Cubical.ZCohomology.Base open import Cubical.HITs.S1 open import Cubical.HITs.Sn open import Cubical.Foundations.HLevels open import Cubical.Foundations.Function open import Cubical.Foundations.Equiv open import ...
{ "alphanum_fraction": 0.4939441811, "avg_line_length": 46.6012269939, "ext": "agda", "hexsha": "22953af969acc076bd6e4659d2e37795bd4f98dc", "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 FunctorComposition where open import Functor as F compose : {F₁ F₂ : Setoid → Setoid} → Functor F₁ → Functor F₂ → Functor (λ A → F₁ (F₂ A)) compose {F₁} {F₂} FF₁ FF₂ = record { map = map FF₁ ∘ map FF₂ ; identity = λ {A} → trans (F₁ (F₂ A) ⇨ F₁ (F₂ A)) {i = map FF₁ ⟨$⟩ (map ...
{ "alphanum_fraction": 0.447163515, "avg_line_length": 32.1071428571, "ext": "agda", "hexsha": "857ca2f31d7d46dfd6622ead7e21399607d6cb1e", "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...
module Pi.Properties 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.NoRepeat open import Pi.Invariants open import Pi.Eval open import Pi.Interp -- Forward evalu...
{ "alphanum_fraction": 0.5037866315, "avg_line_length": 44.0144927536, "ext": "agda", "hexsha": "eb99044491c69e510b481f2a40981cf3e480b132", "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 Propositional where open import Data.Nat open import Relation.Binary.PropositionalEquality open import Holes.Term using (⌞_⌟) open import Holes.Cong.Propositional open ≡-Reasoning -------------------------------------------------------------------------------- -- Some easy lemmas ---------------------------...
{ "alphanum_fraction": 0.3951492537, "avg_line_length": 35.2631578947, "ext": "agda", "hexsha": "7a55279f54c33240e607a76205f40cc61845bf9f", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-02T18:57:17.000Z", "max_forks_repo_forks_event_min_datetime": "2017-01-27T...
------------------------------------------------------------------------ -- The Agda standard library -- -- Printf ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Text.Printf where open import Level using (0ℓ; Lift) open import Data.List.Base as List...
{ "alphanum_fraction": 0.5982708934, "avg_line_length": 30.4385964912, "ext": "agda", "hexsha": "f2a628614ad3685b6877a3bc68ec8c90ef547063", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T...
{-# OPTIONS --cubical --safe #-} module Cubical.Data.Strict2Group.Categorical where open import Cubical.Foundations.Prelude open import Cubical.Categories.InternalCategory open import Cubical.Categories.Groups {-- Formalization of strict 2-groups as internal categories of the 1-category Grp of Groups. --} Strict2Gr...
{ "alphanum_fraction": 0.7872340426, "avg_line_length": 28.2, "ext": "agda", "hexsha": "1cfb7ccbfcb8f79b823114f1abeddfcf04a31be9", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "c...
{-# OPTIONS --cumulativity #-} open import Agda.Primitive -- Defaulting of level metas does not apply to interaction metas, so -- the type of test₁ should be `Set ?0`, not `Set`. test₁ : Set {!!} test₁ = {!!} postulate F : ∀ a (A : Set a) → A → Set -- In this example, t first argument of F should not default to l...
{ "alphanum_fraction": 0.6559405941, "avg_line_length": 23.7647058824, "ext": "agda", "hexsha": "d4838904d87e6dc840634fa0e3765a0bc915936b", "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 examplesPaperJFP.loadAllOOAgdaPart1 where -- This file loads the files containing the code examples in the ooAgda paper -- ordered by sections -- The code is divided into files -- loadAllOOAgdaPart1.agda and loadAllOOAgdaPart2.agda -- loadAllOOAgdaPart1.agda loads code from Sect. 1 - 7 -- loadAllOOAgdaPart2...
{ "alphanum_fraction": 0.7394170715, "avg_line_length": 30.9892473118, "ext": "agda", "hexsha": "8d101359271e38e3de550076bcdda16acf8e595e", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-01T...
{-# OPTIONS --without-K --safe #-} -- verbatim dual of Categories.Category.Construction.Properties.EilenbergMoore module Categories.Category.Construction.Properties.CoEilenbergMoore where open import Level import Relation.Binary.PropositionalEquality.Core as ≡ open import Categories.Adjoint open import Categories.Adj...
{ "alphanum_fraction": 0.6234693878, "avg_line_length": 32.3076923077, "ext": "agda", "hexsha": "512231851f960e360819d8798ffdc2529238d5b8", "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 Data.Nat.Properties.Simple using (+-comm; +-right-identity; +-assoc) open import RW.Language.RTerm open import Relation.Binary.PropositionalEquality open import RW.Strategy.PropEq open import RW.RW (≡-strat ∷ []) module PropEqTransitivityTest where open ≡-Reasoning -- This i...
{ "alphanum_fraction": 0.5891047297, "avg_line_length": 29.2345679012, "ext": "agda", "hexsha": "fe26cc83ca2be13fe8868ab6e1d234005df8f90a", "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 --type-in-type --no-termination-check #-} module Data where _-_ : {A : Set}{B : A -> Set}{C : (a : A) -> B a -> Set} -> ({a : A}(b : B a) -> C a b) -> (f : (a : A) -> B a) -> (a : A) -> C a (f a) f - g = \ x -> f (g x) id : {X : Set} -> X -> X id x = x konst : {S : Set}{T : S -> Set} -> ({x...
{ "alphanum_fraction": 0.3720982143, "avg_line_length": 32.4637681159, "ext": "agda", "hexsha": "c90ca72a7a60408bf15cfdf525465509e27ff17b", "lang": "Agda", "max_forks_count": 12, "max_forks_repo_forks_event_max_datetime": "2022-02-11T01:57:40.000Z", "max_forks_repo_forks_event_min_datetime": "2016-08-14...
{- small library for MGS 2021 -} {- products and sums -} infix 10 _×_ record _×_ (A B : Set) : Set where constructor _,_ field proj₁ : A proj₂ : B open _×_ public variable A B C M : Set curry : (A × B → C) → (A → B → C) curry f a b = f (a , b) -- C-c C-, uncurry : (A → B → C) → (A × B → C) uncurry f ...
{ "alphanum_fraction": 0.5115361263, "avg_line_length": 14.9049773756, "ext": "agda", "hexsha": "b61f6d7895659303a226e46cc7d9e7865e165b0d", "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 #-} module Number.Prelude.Nat where open import Cubical.Data.Nat.Order public using () renaming ( _<_ to _<ⁿᵗ_ ; <-trans to <ⁿ-trans -- TODO: use different version ; _≟_ to _≟ⁿ_ ; lt to ltⁿ ; gt to gtⁿ ; eq to eqⁿ ; ¬-<-zero to ¬-<ⁿ-ze...
{ "alphanum_fraction": 0.5937047757, "avg_line_length": 33.7073170732, "ext": "agda", "hexsha": "9a43f9819c2756b83cd32fed7fae0743b6e69748", "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...