Search is not available for this dataset
text
string
meta
dict
{-# OPTIONS --universe-polymorphism #-} module Data.BitVector.Properties where open import Algebra using (CommutativeRing) open import Data.Bool using (_∧_; _∨_; _xor_) renaming (Bool to Bit; false to 0#; true to 1#) open import Data.Nat using (ℕ) renaming (zero to Nzero; suc to Nsuc) open import Da...
{ "alphanum_fraction": 0.4540680994, "avg_line_length": 52.78, "ext": "agda", "hexsha": "6079084d1aeebbfc62501cca4a761cb5f21e7dbb", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-12T01:40:57.000Z", "max_forks_repo_forks_event_min_datetime": "2016-05-25T00:15:43...
open import Signature import Logic module Model (Σ Δ : Sig) (V : Set) (Φ : Logic.Program Σ Δ V) where open import Function open import Data.Empty renaming (⊥ to Ø) open import Data.Sum open import Data.Product renaming (Σ to ∐) open import Relation.Unary open import Relation.Binary.PropositionalEquality hiding ([_]) ...
{ "alphanum_fraction": 0.5183946488, "avg_line_length": 27.5394736842, "ext": "agda", "hexsha": "89ee76043d0ca011d84721ba92fcca10b859c6ff", "lang": "Agda", "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...
------------------------------------------------------------------------ -- Parsing of mixfix operators ------------------------------------------------------------------------ -- This module defines a grammar for the precedence graph g. open import RecursiveDescent.Hybrid.Mixfix.Expr module RecursiveDescent.Hybrid....
{ "alphanum_fraction": 0.645236251, "avg_line_length": 33.1025641026, "ext": "agda", "hexsha": "13274579864116f9ea5869dcd359cc4cd88ed587", "lang": "Agda", "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 Refactoring where open import ParseTree hiding (after) open import Data.List open import Data.String hiding (_++_) open import Data.Sum hiding (map) open import Data.Product open import ScopeParseTree open import MatchUpNames open import ScopeState open import Data.Nat open import InterpretCommand open import Da...
{ "alphanum_fraction": 0.7612140747, "avg_line_length": 36.5, "ext": "agda", "hexsha": "97617ab200b7500e3d8340ad31d9f822c837c74f", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-01-31T08:40:41.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-31T08:40:41....
{-# OPTIONS --safe --warning=error --with-K #-} open import Sets.EquivalenceRelations open import Groups.Definition open import Orders open import Rings.Definition open import Numbers.Integers.Integers open import Numbers.Integers.Multiplication open import Setoids.Setoids open import LogicalFormulae open import Sets....
{ "alphanum_fraction": 0.6938211209, "avg_line_length": 67.1642857143, "ext": "agda", "hexsha": "e25229d75a9b5ccbc4ce73111a22fbe91287f0de", "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 --universe-polymorphism #-} module Categories.Monoidal.Cartesian where open import Data.Product using (proj₁; proj₂) renaming (_×_ to _×₀_) open import Data.Fin using (zero) open import Categories.Category open import Categories.Monoidal open import Categories.Object.BinaryProducts open import Categories....
{ "alphanum_fraction": 0.5886755613, "avg_line_length": 29.2666666667, "ext": "agda", "hexsha": "918fa2142596d8d3d7b3aa73e70335db6d292d33", "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 --sized-types #-} open import Relation.Binary.Core module Heapsort.Impl1.Correctness.Permutation {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) (trans≤ : Transitive _≤_) where open import BBHeap _≤_ hiding (forget ; flatten) open import BBHeap.Heap...
{ "alphanum_fraction": 0.5755573906, "avg_line_length": 55.6781609195, "ext": "agda", "hexsha": "6607af6cb281f34ab9bbedc137b6465b46f758c8", "lang": "Agda", "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 test : "foo" ≡ "bar" → Set₁ test refl = Set
{ "alphanum_fraction": 0.72, "avg_line_length": 16.6666666667, "ext": "agda", "hexsha": "f6358fa0762c52c7bdbf3d12859da254628bd61b", "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:...
-- 2012-02-22 module CorrectPrintingOfVariablesInSortCheckingForData where data Bool : Set where true false : Bool if_then_else_ : {A : Set2} → Bool → A → A → A if true then a else b = a if false then a else b = b data foo : (y : Bool) → if y then Set else Set data foo where bar : foo true -- This should pr...
{ "alphanum_fraction": 0.6550868486, "avg_line_length": 21.2105263158, "ext": "agda", "hexsha": "66fdfc5c6dfef93be8154ddec99f563c5b6ed4f5", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Numbers.Naturals.Semiring -- for length open import Lists.Definition open import Lists.Fold.Fold module Lists.Length where length : {a : _} {A : Set a} (l : List A) → ℕ length [] = zero length (x :: l) = succ (length l) lengt...
{ "alphanum_fraction": 0.6337522442, "avg_line_length": 27.85, "ext": "agda", "hexsha": "d770c9aad3d0d663795f4b6470ea26687c4a6bb5", "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 --without-K --safe #-} module Categories.Functor.Bifunctor where -- Bifunctor, aka a Functor from C × D to E open import Level open import Categories.Category open import Categories.Functor open import Categories.Functor.Construction.Constant open import Categories.Category.Product private variable ...
{ "alphanum_fraction": 0.6623376623, "avg_line_length": 29.4411764706, "ext": "agda", "hexsha": "abe71a2bc51aa0e42d7e8a9dcfa1a4070f4192a4", "lang": "Agda", "max_forks_count": 64, "max_forks_repo_forks_event_max_datetime": "2022-03-14T02:00:59.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-02...
{-# OPTIONS --without-K #-} module Agda.Builtin.Sigma where open import Agda.Primitive record Σ {a b} (A : Set a) (B : A → Set b) : Set (a ⊔ b) where constructor _,_ field fst : A snd : B fst open Σ public infixr 4 _,_ {-# BUILTIN SIGMA Σ #-}
{ "alphanum_fraction": 0.601532567, "avg_line_length": 14.5, "ext": "agda", "hexsha": "51f8ad7f3b6603f1089165728252ded06f7f4b3e", "lang": "Agda", "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": "f7...
------------------------------------------------------------------------ -- Code for converting Vec₁ n A → B to and from n-ary functions ------------------------------------------------------------------------ -- I want universe polymorphism. module Data.Vec.N-ary1 where open import Data.Nat open import Data.Vec1 op...
{ "alphanum_fraction": 0.420331651, "avg_line_length": 32.6352941176, "ext": "agda", "hexsha": "1f24a645bbb2d456852ab7ccda8737d83b424baa", "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-21T1...
{-# OPTIONS --without-K --safe #-} module PlainPi where open import Data.Empty open import Data.Unit open import Data.Sum open import Data.Product open import Relation.Binary.PropositionalEquality infixr 70 _×ᵤ_ infixr 60 _+ᵤ_ infixr 50 _⊚_ ---------------------------------------------------------------------------...
{ "alphanum_fraction": 0.4795821462, "avg_line_length": 32.2346938776, "ext": "agda", "hexsha": "6589a2e144c3fd7bb0922286f07048f5d57d9e99", "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 --erased-cubical --safe #-} module Transformation where open import Data.Integer using (ℤ; +_; _-_; -_) open import Data.List using (List; _∷_; []; map; reverse) open import Data.Product using (_,_) open import Note using (Note; tone; rest) open import Pitch using (Pitch; transposePitch...
{ "alphanum_fraction": 0.5893108298, "avg_line_length": 37.4210526316, "ext": "agda", "hexsha": "62b6e0cff300d34e554045c48cca0d6b3aab642a", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-11-10T04:04:40.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-12T...
------------------------------------------------------------------------------ -- Properties of the divisibility relation ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymo...
{ "alphanum_fraction": 0.4574303406, "avg_line_length": 36.9142857143, "ext": "agda", "hexsha": "52f42a50820fd5b658651104504b683bfadec24a", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T...
{-# OPTIONS --without-K --safe #-} open import Categories.Category --(Binary) product of objects and morphisms module Categories.Object.Product {o ℓ e} (C : Category o ℓ e) where open import Categories.Object.Product.Core C public open import Categories.Object.Product.Morphisms C public
{ "alphanum_fraction": 0.7663230241, "avg_line_length": 29.1, "ext": "agda", "hexsha": "fe095f1d80476a08b995b36bbdb10c9f18fdc675", "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-02T16:58:15...
module examplesPaperJFP.finn where open import Data.Nat data Fin : ℕ → Set where zero : {n : ℕ} → Fin (suc n) suc : {n : ℕ} (i : Fin n) → Fin (suc n) mutual data Even : ℕ → Set where 0p : Even 0 sucp : {n : ℕ} → Odd n → Even (suc n) data Odd : ℕ → Set where sucp : {n : ℕ} → Even n...
{ "alphanum_fraction": 0.5176470588, "avg_line_length": 21.25, "ext": "agda", "hexsha": "5e0a4e41e59fa5d3c777f979ec98aa3c1a310a4f", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-01T15:02:37...
{-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module CombiningProofs.WhereTranslation where open import FOTC.Base open import FOTC.Data.Nat -- See Issue https://github.com/asr/apia/issues/81 ...
{ "alphanum_fraction": 0.5628299894, "avg_line_length": 27.8529411765, "ext": "agda", "hexsha": "e1f8b8b0c1e62bb7ec48ff4273654c3a6968a4a0", "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...
-- (Pre)abelian categories {-# OPTIONS --safe #-} module Cubical.Categories.Abelian.Base where open import Cubical.Categories.Additive.Base open import Cubical.Categories.Category.Base open import Cubical.Categories.Morphism open import Cubical.Data.Sigma.Base open import Cubical.Foundations.Prelude private variab...
{ "alphanum_fraction": 0.5815578065, "avg_line_length": 27.7961165049, "ext": "agda", "hexsha": "effa51a4f23b373e8d76c052df3d04ea6c92a2ca", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Prelude.Eq where open import Prelude.Level infix 4 _==_ data _==_ {l : Level}{A : Set l} (x : A) : A → Set l where refl : x == x cong : {A : Set}{B : Set}{x y : A}(f : A → B) → x == y → f x == f y cong f refl = refl {-# BUILTIN EQUALITY _==_ #-}
{ "alphanum_fraction": 0.5285171103, "avg_line_length": 16.4375, "ext": "agda", "hexsha": "4055bc492c585724649056843cd4c117d1a5a2c4", "lang": "Agda", "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 --rewriting #-} open import lib.Basics open import lib.NType2 open import lib.types.Group open import lib.types.Sigma open import lib.types.Truncation module lib.groups.SubgroupProp where record SubgroupProp {i} (G : Group i) j : Type (lmax i (lsucc j)) where private module G = Group G ...
{ "alphanum_fraction": 0.5940460081, "avg_line_length": 31.8992805755, "ext": "agda", "hexsha": "bc529037f100c3132eddf0355173e2e99dcd3f82", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-12-26T21:31:57.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-26T...
{-# OPTIONS --safe #-} open import Generics.Prelude open import Generics.Telescope open import Generics.Desc open import Generics.Mu module Generics.Mu.Fold {P I n} {D : DataDesc P I n} {c} (X : ⟦ P , I ⟧xtel → Set c) (alg : ∀ {pi} → ⟦ D ⟧Data X pi → X pi) where private variable p : ⟦ P ⟧tel tt V : E...
{ "alphanum_fraction": 0.5318930041, "avg_line_length": 26.2702702703, "ext": "agda", "hexsha": "ca0619e7095323b1f40490765cbefce269b9b93a", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-01-14T10:35:16.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-08T...
{-# OPTIONS --safe #-} module Cubical.Data.SumFin.Properties where open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Prelude open import Cubical.Foundations.Univalence open import Cubical.Data.Empty as ⊥ open impo...
{ "alphanum_fraction": 0.6071768815, "avg_line_length": 33.8602150538, "ext": "agda", "hexsha": "76df5fc8a3084da102cb734ec3cde2b1879db898", "lang": "Agda", "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 Basic.Compiler.Code where open import Basic.AST open import Basic.BigStep open import Utils.Decidable open import Utils.Monoid open import Data.Fin using (Fin; #_) open import Data.Vec hiding (_∷ʳ_; _++_; [_]) open import Data.Nat open import Data.Bool renaming (not to notBool; if_then_else_ to ifBool_then_el...
{ "alphanum_fraction": 0.4249217494, "avg_line_length": 35.2865671642, "ext": "agda", "hexsha": "67d817ecee41974723f03f3167f95bbef604ebc8", "lang": "Agda", "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 ListNat where data Nat : Set where zero : Nat succ : Nat -> Nat data List (a : Set) : Set where [] : List a _::_ : a -> List a -> List a infixr 30 _::_ [1,0,2] = one :: zero :: succ one :: [] where one = succ zero
{ "alphanum_fraction": 0.5137254902, "avg_line_length": 17, "ext": "agda", "hexsha": "487234d4074d282352511166bae85680c66264b2", "lang": "Agda", "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": "dc3...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Structures.Subtype where open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Data.NatPlusOne open import Cubical.Data.Nat open import Cubical.Data.Sigma private variable ℓ ℓ' : Level -- The type o...
{ "alphanum_fraction": 0.6525037936, "avg_line_length": 39.9393939394, "ext": "agda", "hexsha": "1f003feb6e9fc44605122ef17e604c8e44ef6004", "lang": "Agda", "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 higher.circle.properties where open import sum open import equality open import function.isomorphism open import sets.empty open import sets.bool open import hott.equivalence open import hott.univalence open import higher.circle.core non-simply-connected : ¬ (loop ≡ refl) non-simply...
{ "alphanum_fraction": 0.5228215768, "avg_line_length": 21.6282051282, "ext": "agda", "hexsha": "684024335d13e59b8a7ad9e84a40327dd019535c", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-05-04T19:31:00.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-02T...
-- Andreas, 2015-07-13 Better parse errors for illegal type signatures 1 : Set1 1 = Set
{ "alphanum_fraction": 0.7222222222, "avg_line_length": 18, "ext": "agda", "hexsha": "e189046cb8307400865701738ae108446f3ca0d6", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08....
{-# OPTIONS --without-K #-} module Model.Quantification where open import Model.RGraph as RG using (RGraph) open import Model.Size as MS using (_<_ ; ⟦_⟧Δ ; ⟦_⟧n ; ⟦_⟧σ) open import Model.Type.Core open import Source.Size.Substitution.Theory open import Source.Size.Substitution.Universe as SS using (Sub⊢ᵤ) open import...
{ "alphanum_fraction": 0.4393518519, "avg_line_length": 32.2388059701, "ext": "agda", "hexsha": "0e2b477eeeea3c2689cbeaa9783f05a40bac8151", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Tactic.Nat.Subtract.Refute where open import Prelude open import Builtin.Reflection open import Tactic.Reflection.Quote open import Tactic.Reflection.Substitute open import Tactic.Reflection open import Control.Monad.State open import Tactic.Nat.Reflect open import Tactic.Nat.NF open import Tactic.Nat.Exp ope...
{ "alphanum_fraction": 0.6285362854, "avg_line_length": 33.875, "ext": "agda", "hexsha": "094950c5c0f14d612ee2e497a30086d728b81642", "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-12T18:03:...
{-# OPTIONS --allow-unsolved-metas #-} module simple where module Nat where data Nat : Set where zero : Nat suc : Nat -> Nat _+_ : Nat -> Nat -> Nat zero + m = m suc n + m = suc (n + m) module N = Nat z = N._+_ (N.suc N.zero) (N.suc N.zero) zz = Nat._+_ (Nat.suc Nat.zero) (Nat.suc Nat.zero) mo...
{ "alphanum_fraction": 0.4640614096, "avg_line_length": 19.4965986395, "ext": "agda", "hexsha": "8f93e27030f6ac10da8b42b3dd524eaf5b89b130", "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 Numeral.Natural.LinearSearch where open import Data.Boolean open import Data.Boolean.Stmt open import Data.List import Data.List.Functions as List open import Data.List.Relation.Membership using (_∈_) open import Data.List.Relation.Membership.Proofs open import Data.List.Relation.Quantification open import...
{ "alphanum_fraction": 0.6506329114, "avg_line_length": 43.8888888889, "ext": "agda", "hexsha": "3d7ae9d208b14f15a1346d65bf3cff1ebda6153e", "lang": "Agda", "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 #-} record R : Set₁ where field A : Set f : A → A record Double {a} (A : Set a) : Set a where field double : A → A open Double {{...}} -- Type error (incomplete patterns in Patterns.Match) doubleR : Double R R.A (double {{doubleR}} x) = R.A x R.f (double {{double...
{ "alphanum_fraction": 0.5945419103, "avg_line_length": 22.3043478261, "ext": "agda", "hexsha": "c261d73e20ec7c17fed2358f9d98ba74de788d57", "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...
{- This files contains: - Facts about constructions on finite sets, especially when they preserve finiteness. -} {-# OPTIONS --safe #-} module Cubical.Data.FinSet.Constructors where open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv renaming (_∙ₑ_ t...
{ "alphanum_fraction": 0.6183340679, "avg_line_length": 29.3405172414, "ext": "agda", "hexsha": "332138f50a35a66c583e00cf1c076148bbb1e029", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Prelude.Int where open import Prelude.Unit open import Prelude.Empty open import Prelude.Nat open import Prelude.Number open import Prelude.String open import Prelude.Semiring open import Prelude.Equality open import Prelude.Equality.Inspect open import Prelude.Equality.Unsafe using (eraseEquality) open import...
{ "alphanum_fraction": 0.6002624672, "avg_line_length": 35.2777777778, "ext": "agda", "hexsha": "3571d6f842e57bd5b128b27646312fb3cbf43a22", "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...
{-# OPTIONS --safe #-} module Cubical.Algebra.Lattice where open import Cubical.Algebra.Lattice.Base public open import Cubical.Algebra.Lattice.Properties public
{ "alphanum_fraction": 0.8036809816, "avg_line_length": 27.1666666667, "ext": "agda", "hexsha": "2abec7db01686ce5bed4c913ad1c24c5c2b91fbf", "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-1...
{-# OPTIONS --without-K #-} module algebra.semigroup.morphism where open import level open import algebra.semigroup.core open import equality.core open import hott.level module _ {i}{j} {X : Set i}⦃ sX : IsSemigroup X ⦄ {Y : Set j}⦃ sY : IsSemigroup Y ⦄ where open IsSemigroup ⦃ ... ⦄ IsSemigro...
{ "alphanum_fraction": 0.6374781086, "avg_line_length": 30.0526315789, "ext": "agda", "hexsha": "cca55b69ac8296cdd79b579ca33e400fe92c8dec", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-05-04T19:31:00.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-02T...
{-# OPTIONS --safe #-} {- Constructions of "sets" in the cumulative hierarchy. Including: - the empty set - unions - ω - replacement - separation -} module Cubical.HITs.CumulativeHierarchy.Constructions where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations...
{ "alphanum_fraction": 0.63875, "avg_line_length": 33.7164750958, "ext": "agda", "hexsha": "03336f5c7ae2a4497838751f1e92acea892a6d8a", "lang": "Agda", "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 A1 where open import Data.Empty using (⊥) open import Relation.Binary.PropositionalEquality using (_≡_; refl; subst) open import Data.Unit using (⊤; tt) open import Data.Bool using (Bool; false; true; _xor_) open import Data.Sum using (_⊎_; inj₁; inj₂) open import Data.Product using (_×_; _,_; Σ; Σ-syntax) open...
{ "alphanum_fraction": 0.3910034602, "avg_line_length": 26.2727272727, "ext": "agda", "hexsha": "5ccc1ef58bbaccb560fe7f84a36025601eb6fe41", "lang": "Agda", "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 x02-842Induction-hc where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong; sym) open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎) open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _∸_) -- associativity _ : (3 + 4) + 5 ≡ 3 + (4 + 5) _ = begin (3 + 4) + 5 ≡⟨⟩ ...
{ "alphanum_fraction": 0.4083936007, "avg_line_length": 34.5681818182, "ext": "agda", "hexsha": "eaaeb35b5843e1d808ebc04fe0280cbb1242674e", "lang": "Agda", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-09-21T15:58:10.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-13T...
-- Instance arguments in records. module Issue509 where -- The instance version of _ ⋯ : {A : Set} {{ x : A }} → A ⋯ {{ x }} = x data ℕ : Set where zero : ℕ suc : ℕ → ℕ record T (n : ℕ) : Set where field nextPrime : ℕ T₁ : T (suc zero) T₁ = record { nextPrime = suc (suc zero) } T₂ : T (suc (suc zero)) T...
{ "alphanum_fraction": 0.6072695035, "avg_line_length": 22.1176470588, "ext": "agda", "hexsha": "689d69978a7f8c7594b4a3c49cba4f99f7113b92", "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 --exact-split --rewriting #-} open import lib.Basics open import lib.NConnected open import Graphs.Definition open import Coequalizers.Definition {- We will consider two properties of graphs: if they are trees and if they are connected, both are defined in terms of the geometric realisatio...
{ "alphanum_fraction": 0.7017082786, "avg_line_length": 38.05, "ext": "agda", "hexsha": "cb373bbc3115c87b123d89fd702b30889277fe8f", "lang": "Agda", "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 -- -- Integers, basic types and operations ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Integer.Base where open import Data.Nat.Base as ℕ ...
{ "alphanum_fraction": 0.3853267571, "avg_line_length": 20.6624203822, "ext": "agda", "hexsha": "4490e7bfe2ce27d44effc9a4dfbe2ffe9ad95816", "lang": "Agda", "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 DeBruijnExSubst where open import Prelude -- using (_∘_) -- composition, identity open import Data.Maybe open import Logic.Identity renaming (subst to subst≡) import Logic.ChainReasoning module Chain = Logic.ChainReasoning.Poly.Homogenous _≡_ (\x -> refl) (\x y z -> trans) open Chain open import DeBruijn...
{ "alphanum_fraction": 0.5372848948, "avg_line_length": 34.8666666667, "ext": "agda", "hexsha": "1c9685761194addcba6e963d9983de929a574621", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --safe --warning=error --without-K #-} open import Sets.EquivalenceRelations open import LogicalFormulae open import Orders.Total.Definition open import Orders.Partial.Definition open import Setoids.Setoids open import Functions.Definition open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) module...
{ "alphanum_fraction": 0.6601636249, "avg_line_length": 49.65625, "ext": "agda", "hexsha": "4a7750658ab26edf112dd926f681e5e30ed0f828", "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...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Data.Nat.Lower where open import Cubical.Foundations.Equiv open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Prelude open import Cubical.Foundati...
{ "alphanum_fraction": 0.5440578974, "avg_line_length": 29.2788104089, "ext": "agda", "hexsha": "abb8a88aa086d91df48c8cd59cc162f5b4533ffe", "lang": "Agda", "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...
------------------------------------------------------------------------ -- An observation about weak bisimilarity ------------------------------------------------------------------------ {-# OPTIONS --sized-types #-} module Delay-monad.Bisimilarity.Observation where open import Equality.Propositional open import Lo...
{ "alphanum_fraction": 0.4915970615, "avg_line_length": 31.546031746, "ext": "agda", "hexsha": "066aeba8e3817ad1165f521418254bb3ccbfc2c9", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
open import FRP.JS.String using ( String ) open import FRP.JS.Time using ( Time ) module FRP.JS.Date where postulate Date : Set fromTime : Time → Date toTime : Date → Time toString : Date → String toUTCString : Date → String {-# COMPILED_JS fromTime require("agda-frp-time").date #-} {-# COMPILED_JS toTime ...
{ "alphanum_fraction": 0.6773547094, "avg_line_length": 27.7222222222, "ext": "agda", "hexsha": "bcfc7efb8e804d02dd5b81f5d77105cf8d1c84fb", "lang": "Agda", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:38.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-07T...
open import Relation.Binary.PropositionalEquality using (_≡_; _≢_; refl; sym) module AKS.Nat.Combinatorial where open import AKS.Nat.Base using (ℕ; _+_; _∸_; _*_; _≤_) open ℕ open import AKS.Nat.Properties using (*-identityʳ) open import AKS.Nat.Properties using (0≤n; ≤-refl; m≤m+n; *-mono-≤; module ≤-Reasoning) open...
{ "alphanum_fraction": 0.4856046065, "avg_line_length": 26.05, "ext": "agda", "hexsha": "e8fa8d881fb5767d4ec9effdf9e31727d94eb613", "lang": "Agda", "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 #-} module Lecture6 where import Lecture5 open Lecture5 public -- Section 6.1 Contractible types is-contr : {i : Level} → UU i → UU i is-contr A = Sigma A (λ a → (x : A) → Id a x) center : {i : Level} {A : UU i} → is-contr A → A center (dpair c C) = c -- We make sure that the contraction i...
{ "alphanum_fraction": 0.5440797941, "avg_line_length": 39.8461538462, "ext": "agda", "hexsha": "b8e1e1e4675cfa3b6f82468f2bccb9180d80eaae", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2018-06-25T15:05:21.000Z", "max_forks_repo_forks_event_min_datetime": "2018-02-22T...
{-# OPTIONS --without-K --safe #-} open import Algebra.Construct.DirectProduct module Construct.DirectProduct where open import Algebra import Algebra.Construct.DirectProduct as DirectProduct open import Data.Product open import Data.Product.Relation.Binary.Pointwise.NonDependent open import Level using (Level; _⊔_)...
{ "alphanum_fraction": 0.6073401736, "avg_line_length": 35.1944444444, "ext": "agda", "hexsha": "4ac62a0f6e0418ab4f6297b33f7df6484a3727fb", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K #-} open import Base module Homotopy.PullbackDef where record pullback-diag (i : Level) : Set (suc i) where constructor diag_,_,_,_,_ field A : Set i B : Set i C : Set i f : A → C g : B → C pullback-diag-raw-eq : ∀ {i} {A A' : Set i} (p : A ≡ A') {B B' : Set i} (q :...
{ "alphanum_fraction": 0.4455899198, "avg_line_length": 31.7454545455, "ext": "agda", "hexsha": "baf7eeb89bf027fcb9c470315a8891cd9a7e8806", "lang": "Agda", "max_forks_count": 50, "max_forks_repo_forks_event_max_datetime": "2022-02-14T03:03:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-10...
-- Module shadowing using generated modules for records and datatypes module Issue260b where module R where record R : Set where
{ "alphanum_fraction": 0.8076923077, "avg_line_length": 21.6666666667, "ext": "agda", "hexsha": "71f9ba92842292bab5a1b836efa69ddac233d350", "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 UniDB.Subst.StarPrime where open import UniDB.Subst.Core open import UniDB.Morph.StarPrime open import UniDB.Morph.Depth module _ {T : STX} {{vrT : Vr T}} {{wkT : Wk T}} {{apTT : Ap T T}} {Ξ : MOR} {{lkTΞ : Lk T Ξ}} where mutual instance iLkStar* : Lk T (Star* Ξ) lk {{iLkStar*}} refl ...
{ "alphanum_fraction": 0.5684210526, "avg_line_length": 22.619047619, "ext": "agda", "hexsha": "3aaa3d6b9c8b0384afc51ef8f90f53088d619a19", "lang": "Agda", "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...
-- Basic intuitionistic propositional calculus, without ∨ or ⊥. -- Hilbert-style formalisation of syntax. -- Nested terms. module BasicIPC.Syntax.Hilbert where open import BasicIPC.Syntax.Common public -- Derivations. infix 3 _⊢_ data _⊢_ (Γ : Cx Ty) : Ty → Set where var : ∀ {A} → A ∈ Γ → Γ ⊢ A app : ∀...
{ "alphanum_fraction": 0.3829027872, "avg_line_length": 25.9207048458, "ext": "agda", "hexsha": "cf2a2c51ce779fb8264480e5309495758b1f10f8", "lang": "Agda", "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...
------------------------------------------------------------------------ -- Small parser combinator library used by Mixfix.Acyclic.Grammar ------------------------------------------------------------------------ -- Note that while Mixfix.Acyclic.Lib and Mixfix.Cyclic.Lib may appear -- to be very similar, there are som...
{ "alphanum_fraction": 0.4403535588, "avg_line_length": 40.7777777778, "ext": "agda", "hexsha": "84b99073ad1cbe080205c9572392d73be7162c21", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
------------------------------------------------------------------------ -- The Agda standard library -- -- A Categorical view of the Sum type (Left-biased) ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Level module Data.Sum.Categorical.Left {...
{ "alphanum_fraction": 0.5472589792, "avg_line_length": 26.7848101266, "ext": "agda", "hexsha": "2bd7f2b11b73c6346c231c906abd4bdb6a1f7ddb", "lang": "Agda", "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...
{-# REWRITE #-}
{ "alphanum_fraction": 0.4375, "avg_line_length": 8, "ext": "agda", "hexsha": "5b21f0f1aaf284c00e0e74ee577cc8320f0d401b", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08.000Z", ...
{-# OPTIONS --without-K --exact-split --allow-unsolved-metas #-} module SAT-solver where import 14-univalence open 14-univalence public {- The literates are atomic propositions or negations thereof. We simply use the natural numbers to encode the atomic propositions, and we use the booleans to tell whether i...
{ "alphanum_fraction": 0.6858093126, "avg_line_length": 31.9858156028, "ext": "agda", "hexsha": "56f84368a2d37da7c64c4c88351587fbabc4ccfb", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
open import Data.Product using ( _,_ ) open import Data.Unit using ( ⊤ ; tt ) open import FRP.LTL.ISet.Core using ( ISet ; [_] ; _,_ ) module FRP.LTL.ISet.Unit where T : ISet T = [ (λ i → ⊤) , (λ i j i~j t → (tt , tt)) , (λ i j i⊑j t → tt) ]
{ "alphanum_fraction": 0.5714285714, "avg_line_length": 24.5, "ext": "agda", "hexsha": "ce7ebfa4feed4920f429d8e48a3f652e3ddcefda", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-01T07:33:00....
------------------------------------------------------------------------ -- The Agda standard library -- -- Extensional pointwise lifting of relations to vectors ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Vec.Relation.Binary.Pointwise.Extens...
{ "alphanum_fraction": 0.4940759741, "avg_line_length": 35.5956521739, "ext": "agda", "hexsha": "da9f1c527dba0b6a29ee6f7696f37221ab721fdb", "lang": "Agda", "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 IPC.Metatheory.Hilbert-BasicTarski where open import IPC.Syntax.Hilbert public open import IPC.Semantics.BasicTarski public -- Soundness with respect to all models, or evaluation. eval : ∀ {A Γ} → Γ ⊢ A → Γ ⊨ A eval (var i) γ = lookup i γ eval (app t u) γ = (eval t γ) (eval u γ) eval ci γ = I eval c...
{ "alphanum_fraction": 0.4485368315, "avg_line_length": 39.64, "ext": "agda", "hexsha": "d36f621ee15dd4060ce18ccd625b6482a22d98f4", "lang": "Agda", "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 LogicalFormulae open import Groups.Definition open import Groups.Abelian.Definition open import Groups.FiniteGroups.Definition open import Numbers.Naturals.Semiring open import Numbers.Naturals.Order open import Numbers.Naturals.Order.Lemmas open import Se...
{ "alphanum_fraction": 0.7483815278, "avg_line_length": 51.4888888889, "ext": "agda", "hexsha": "5915c027213ad78ff6485cfd7eba73b8f2349382", "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...
------------------------------------------------------------------------------ -- Group theory properties ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# O...
{ "alphanum_fraction": 0.5384090133, "avg_line_length": 33.6666666667, "ext": "agda", "hexsha": "a1b0b94f2c188784bd9bea34c7e109c38f49d218", "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 --safe --experimental-lossy-unification #-} 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 impo...
{ "alphanum_fraction": 0.4329202779, "avg_line_length": 41.9249249249, "ext": "agda", "hexsha": "a66b40cf16b0f824f81ad56e44d36832ae5d5417", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module SystemF.Everything where open import SystemF.Syntax public open import SystemF.WellTyped public open import SystemF.Substitutions.Lemmas public open import SystemF.Substitutions public open import SystemF.NormalForm public open TypeLemmas public hiding (var)
{ "alphanum_fraction": 0.8576779026, "avg_line_length": 29.6666666667, "ext": "agda", "hexsha": "fcb8410f67ca0d6d3a36cea4ad8b5443c7ce92e1", "lang": "Agda", "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 Nat : Set where zero : Nat suc : Nat → Nat test : ∀{N M : Nat} → Nat → Nat → Nat test N M = {!.N N .M!}
{ "alphanum_fraction": 0.5087719298, "avg_line_length": 16.2857142857, "ext": "agda", "hexsha": "06f83433c237edf265a52384f6f40afe5e58d592", "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 nodcap.NF.Show where open import Data.String using (String) open import nodcap.Base open import nodcap.NF.Typing import nodcap.Show as S showTerm : {Γ : Environment} → ⊢ⁿᶠ Γ → String showTerm {Γ} x = S.showTerm (fromNF x)
{ "alphanum_fraction": 0.735042735, "avg_line_length": 19.5, "ext": "agda", "hexsha": "ca7575c06026778799e419538f037ffe955498b4", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-09-05T08:58:13.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-05T08:58:13.0...
{-# OPTIONS --without-K --safe #-} -- This module shows that D<: typing is undecidable. module DsubTermUndec where open import Data.List as List open import Data.List.All as All open import Data.Nat as ℕ open import Data.Maybe as Maybe open import Data.Product open import Data.Sum open import Data.Empty renaming (⊥ t...
{ "alphanum_fraction": 0.5140809012, "avg_line_length": 32.55, "ext": "agda", "hexsha": "26a0de32b98eef4118f3ebb2e32ccb94e1e05551", "lang": "Agda", "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 --warning=error --safe --without-K --guardedness #-} open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import LogicalFormulae open import Numbers.Integers.Integers open import Numbers.Naturals.Semiring open import Numbers.Naturals.Subtraction open import Numbers.Naturals.Naturals open import ...
{ "alphanum_fraction": 0.6453944908, "avg_line_length": 81.8673469388, "ext": "agda", "hexsha": "419293a8856d5918ffa79373db7a71e11d03baad", "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...
{- This second-order signature was created from the following second-order syntax description: syntax Monoid | M type * : 0-ary term unit : * | ε add : * * -> * | _⊕_ l20 theory (εU⊕ᴸ) a |> add (unit, a) = a (εU⊕ᴿ) a |> add (a, unit) = a (⊕A) a b c |> add (add(a, b), c) = add (a, add(b, c)) -} mod...
{ "alphanum_fraction": 0.6096491228, "avg_line_length": 16.6829268293, "ext": "agda", "hexsha": "4e3f5bfd55d65e62c09cf80586d0f514dc3c5d16", "lang": "Agda", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2022-01-24T12:49:17.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-09T...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Prelude open import Level using (0ℓ) -- This modu...
{ "alphanum_fraction": 0.4728523099, "avg_line_length": 37.33126294, "ext": "agda", "hexsha": "4e46b3a6ba5ffde39fd34151e06639028c537ed3", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexs...
{- 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 Haskell.Modules.Eq where open import Haskell.Modules.ToBool ---...
{ "alphanum_fraction": 0.5575221239, "avg_line_length": 32.2857142857, "ext": "agda", "hexsha": "4d8824685a5bd83a2547f19d78a0620c10f8d129", "lang": "Agda", "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 Cats.Category.Cat.Facts.Exponential where open import Data.Product using (_,_) open import Level using (_⊔_) open import Relation.Binary using (IsEquivalence) open import Cats.Bifunctor using (Bifunctor ; Bifunctor→Functor₁ ; transposeBifunctor₁ ; transposeBifunctor₁-resp) ...
{ "alphanum_fraction": 0.4898938491, "avg_line_length": 33.2222222222, "ext": "agda", "hexsha": "45dec570f6ea106eb6b2df7d7881c1302cf30151", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-18T15:35:07.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-18T...
module OlderBasicILP.Indirect.Translation where open import OlderBasicILP.Indirect public import OlderBasicILP.Indirect.Hilbert.Sequential as HS import OlderBasicILP.Indirect.Hilbert.Nested as HN import OlderBasicILP.Indirect.Gentzen as G open HS using () renaming (_⊢×_ to HS⟨_⊢×_⟩ ; _⊢_ to HS⟨_⊢_⟩) public open HN u...
{ "alphanum_fraction": 0.5150975047, "avg_line_length": 32.4421768707, "ext": "agda", "hexsha": "f635d4179e03a3f722930ca6cb982b75a5951aee", "lang": "Agda", "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 #-} open import Agda.Builtin.Nat open import Agda.Builtin.Equality data _≅_ {A : Set} (x : A) : {B : Set} → B → Set where refl : x ≅ x test₁ : (A : Set) (x y : A) (z : Nat) → x ≡ y → x ≅ (suc z) → y ≅ 1 → Nat test₁ A (suc z) (suc zero) .z refl refl refl = {!!} test₂ : (A : Set) ...
{ "alphanum_fraction": 0.5257009346, "avg_line_length": 30.5714285714, "ext": "agda", "hexsha": "91d5023b295c8175b462f138fc3403f14f1ccd91", "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 Nat open import Prelude open import List open import contexts open import unions module core where -- types data typ : Set where _==>_ : typ → typ → typ ⟨⟩ : typ ⟨_×_⟩ : typ → typ → typ D[_] : Nat → typ -- arrow type constructors bind very tightly infixr 25 _==>_ -- type co...
{ "alphanum_fraction": 0.3473978815, "avg_line_length": 44.4169944925, "ext": "agda", "hexsha": "006eaeb2968087ebc7a4f153d5e77a80864a9f6b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae module ClassicalLogic.ClassicalFive where em = {A : Set} → (A || (A → False)) dne = {A : Set} → ((A → False) → False) → A peirce = {A B : Set} → ((A → B) → A) → A iad = {A B : Set} → (A → B) → ((A → False) || B) dem = {A B : Set} → (((A ...
{ "alphanum_fraction": 0.5535714286, "avg_line_length": 31.2941176471, "ext": "agda", "hexsha": "b685a6654909833a632a821c6808a128e6ca6a26", "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...
{- 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.ImplShared.Base.Types open import LibraBFT.Abstra...
{ "alphanum_fraction": 0.5693907062, "avg_line_length": 53.5292887029, "ext": "agda", "hexsha": "167782ff7f6674e5333ee98093fc1f28435b5975", "lang": "Agda", "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 NativeInt where open import Data.Integer.Base hiding (_+_) postulate Int : Set toInt : ℤ -> Int fromInt : Int -> ℤ {-# COMPILE GHC Int = type Int #-} {-# COMPILE GHC toInt fromInteger #-} {-# COMPILE GHC fromInt toInteger #-}
{ "alphanum_fraction": 0.6611570248, "avg_line_length": 18.6153846154, "ext": "agda", "hexsha": "ca1569aef679399f3ab653b54d8a58cf98d87a41", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-01T...
module Numeral.Natural.Oper.FlooredDivision.Proofs.DivisibilityWithRemainder where open import Data open import Functional open import Numeral.Finite import Numeral.Finite.Proofs as 𝕟 open import Numeral.Natural open import Numeral.Natural.Oper open import Numeral.Natural.Oper.FlooredDivision open import Numeral...
{ "alphanum_fraction": 0.59609518, "avg_line_length": 49.6666666667, "ext": "agda", "hexsha": "aa32c5745387c77f61c76ea29cfa556ef1c88ec3", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexs...
module Miscellaneous.HeterogenousId where import Lvl open import Logic open import Logic.Propositional open import Functional open import Type -- TODO: Will this work for getting function extensionality? Probably not? data IdFn {ℓ} : ∀{T : Type{ℓ}} → T → T → Stmt{Lvl.𝐒(ℓ)} where IdFn-intro : ∀{T}{x : T} → (Id...
{ "alphanum_fraction": 0.6418269231, "avg_line_length": 32, "ext": "agda", "hexsha": "3eb47b7b26b1d7204e6a2c6e5a42115e59cbd2b2", "lang": "Agda", "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": "70f...
-- The part up to "data D" could be replaced by "open import -- Common.Prelude", but at the time of writing that seems to slow down -- the test by something like a factor of two or three (for the GHC -- backend, on one system). open import Agda.Builtin.IO open import Agda.Builtin.String open import Agda.Builtin.Unit ...
{ "alphanum_fraction": 0.6568047337, "avg_line_length": 24.1428571429, "ext": "agda", "hexsha": "0f90995e301e7308aa236a46a5f9edd0017b6213", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
------------------------------------------------------------------------ -- The Agda standard library -- -- Function setoids and related constructions ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Function.Equality where import Function as Fun open...
{ "alphanum_fraction": 0.5076215128, "avg_line_length": 28.975, "ext": "agda", "hexsha": "4f6242415d5d83576f4b376f0a833544398dda11", "lang": "Agda", "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 --allow-unsolved-metas #-} open import Prelude hiding (⊤) module Control.Monad.Free.State {ℓ} (S : Type ℓ) (isSetS : isSet S) where open import Control.Monad.Free.Quotiented open import Data.Unit.UniversePolymorphic open import Algebra open import Data.List open import Data.List.Syntax data StateF (A : ...
{ "alphanum_fraction": 0.5536471586, "avg_line_length": 28.0714285714, "ext": "agda", "hexsha": "7085f9895f8a0ff55d13f26a65d1e9c6d8bbd995", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-11T...
module my-list where open import level open import bool open import eq open import maybe open import nat open import nat-thms open import product-thms open import product data 𝕃 {ℓ} (A : Set ℓ) : Set ℓ where [] : 𝕃 A _::_ : (x : A) (xs : 𝕃 A) → 𝕃 A {-# BUILTIN LIST 𝕃 #-} {-# BUILTIN NIL [] #-} {-# BUILTI...
{ "alphanum_fraction": 0.4854028805, "avg_line_length": 30.2235294118, "ext": "agda", "hexsha": "b46900a9a5bc6f21c5fe3dc7c29d92c88f197c9d", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
open import Agda.Builtin.Nat open import Agda.Builtin.Sigma open import Agda.Builtin.Equality it : ∀ {a} {A : Set a} {{_ : A}} → A it {{p}} = p f : (a {b} {{c}} : Nat) → Nat f = λ a {b} → it g : (a b@(c , d) (e , f) : Σ Nat (λ _ → Nat)) → Nat g = λ a b@(c , d) x@(e , _) → f (fst a) {d} {{e}} h : ∀ {a} (b@(c , d) : ...
{ "alphanum_fraction": 0.4443561208, "avg_line_length": 22.4642857143, "ext": "agda", "hexsha": "cf4a81d691b26377fa867a107e260416d73f2e5c", "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...
{- This module converts between the path types and the inductively defined equality types. -} {-# OPTIONS --safe #-} module Cubical.Data.Equality where open import Cubical.Foundations.Prelude public hiding ( _≡_ ; _≡⟨_⟩_ ; _∎ ; isPropIsContr) renaming ( refl to reflPath ; transport to transportP...
{ "alphanum_fraction": 0.5878050855, "avg_line_length": 35.8506097561, "ext": "agda", "hexsha": "4e8609af5ec0ff9d6dcb3665501729e4c2a6e3df", "lang": "Agda", "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, issue #2482, reported by Guillaume Allais -- Internal error because of wrong value for -- number of parameters for data type. -- {-# OPTIONS -v tc.data.sort:50 #-} -- {-# OPTIONS -v tc.term.con:50 #-} data D {b} (B : Set b) : Set b -- This used to falsely compute the number of parameters to 1 data D B w...
{ "alphanum_fraction": 0.6358695652, "avg_line_length": 24, "ext": "agda", "hexsha": "90fcdaf104fb0896b825aca08d1ecece74418b02", "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 UniDB.Morph.Sub where open import UniDB.Spec open import UniDB.Morph.Depth -------------------------------------------------------------------------------- data Single (T : STX) : MOR where single : {γ : Dom} (t : T γ) → Single T (suc γ) γ instance iLkSingle : {T : STX} {{vrT : Vr T}} → Lk T (Single T) ...
{ "alphanum_fraction": 0.4250614251, "avg_line_length": 29.7804878049, "ext": "agda", "hexsha": "396b67cf9a8a2d0eacb972062a0c2f3c856a57c5", "lang": "Agda", "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, 2022-06-14, issue #4725 reported by nad -- The termination checker needs to recognize -- dotted variable and record patterns as patterns -- for this example to pass. -- These should be harmless even with --cubical -- (dotted constructor patterns are not, see #4606). -- Keep fingers crossed. {-# OPTIONS --...
{ "alphanum_fraction": 0.5107421875, "avg_line_length": 22.2608695652, "ext": "agda", "hexsha": "f2309ff6854b1a9c7420045e71780b14fe5ae43a", "lang": "Agda", "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.safeFibStackMachineObjectOriented where open import Data.Nat open import Data.List open import Data.Vec open import Data.Sum open import Data.Fin renaming (_+_ to _+f_) open import Data.Product open import examplesPaperJFP.StatefulObject open import examplesPaperJFP.StackBisim open import exam...
{ "alphanum_fraction": 0.606132879, "avg_line_length": 27.6886792453, "ext": "agda", "hexsha": "16bda22826dd3c8092fa971b018b4bbe11d5a2fd", "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-01T1...
-- Andreas, 2021-09-06, issue #5545, -- regression introduced by #5522 (fix for #5291). -- -- Note: this test requires that there is no newline at the end of file. -- So, it violates the whitespace requirement of fix-whitespace, -- and needs to be an exception in the configuration of fix-whitespace. {-# OPTIONS --allo...
{ "alphanum_fraction": 0.7004716981, "avg_line_length": 32.6153846154, "ext": "agda", "hexsha": "d11c1be61f1663ab5c0c9ea69cee3689bec29fed", "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 -} open import LibraBFT.Prelude import Data.Vec.Relation.Unary.All as ...
{ "alphanum_fraction": 0.6021921341, "avg_line_length": 46.6466165414, "ext": "agda", "hexsha": "22d5661f29f47946a06ebae8bba755c7e0082fb6", "lang": "Agda", "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 ZTF where infixr 40 _◎_ open import Data.Integer open import Data.Product open import Relation.Binary.PropositionalEquality ------------------------------------------------------------------------------ -- Zero totalized fields data B : Set where ZERO : B ONE : B PLUS : B → B → B TIMES : B ...
{ "alphanum_fraction": 0.4713463751, "avg_line_length": 27.5, "ext": "agda", "hexsha": "9552c33844166db1fbfebea3a3c10aadfdd2ff0f", "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-29T01:56:33....
------------------------------------------------------------------------ -- The unit type (in Set₁) ------------------------------------------------------------------------ module Data.Unit1 where record ⊤₁ : Set₁ where
{ "alphanum_fraction": 0.2387387387, "avg_line_length": 27.75, "ext": "agda", "hexsha": "dcc3a5f2104d29a2a2174d1569cbdd9d5f17d566", "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...
{-# OPTIONS --without-K #-} open import lib.Basics open import lib.types.Pi open import lib.types.Paths open import lib.types.Sigma module lib.types.Flattening {i j k} (A : Type i) (B : Type j) (f g : B → A) (C : A → Type k) (D : (b : B) → C (f b) ≃ C (g b)) where {- The base HIT -} import lib.types.Generic1HIT...
{ "alphanum_fraction": 0.5010416667, "avg_line_length": 34.0425531915, "ext": "agda", "hexsha": "a4db40cef5956e7bb3cc32546f3903afbc423dbd", "lang": "Agda", "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...
{- Definition of what it means to be a notion of relational structure -} {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Foundations.RelationalStructure where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Fo...
{ "alphanum_fraction": 0.6057034774, "avg_line_length": 39.0511363636, "ext": "agda", "hexsha": "938bbce4f453588e6709449ba5ebede73b9490da", "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 --cubical --safe #-} module Cubical.Relation.Nullary where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Data.Empty private variable ℓ : Level A : Type ℓ -- Negation infix 3 ¬_ ¬_ : Type ℓ → Type ℓ ¬ A = A → ⊥ isProp¬ : (A : Type ℓ) → isPr...
{ "alphanum_fraction": 0.5734138973, "avg_line_length": 26.2698412698, "ext": "agda", "hexsha": "8aa27eb4305a85f3895dd5cadc8e4abadc71cb24", "lang": "Agda", "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...