Search is not available for this dataset
text
string
meta
dict
module Not-named-according-to-the-Haskell-lexical-syntax where postulate IO : Set -> Set {-# BUILTIN IO IO #-} {-# COMPILE GHC IO = type IO #-} postulate return : {A : Set} -> A -> IO A {-# COMPILE GHC return = \ _ -> return :: a -> IO a #-} data Unit : Set where unit : Unit {-# COMPILE GHC Unit = data () (...
{ "alphanum_fraction": 0.5823170732, "avg_line_length": 18.2222222222, "ext": "agda", "hexsha": "9c7d53760bd7088e8156eeec62edaab176123903", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K --rewriting #-} module NotNot where open import Basics open import lib.NType2 {- The definitions here follow Penon's paper "Infinitesimaux et Intuitionisme". -} -- Since double negation is always proposition valued, we just define it that way -- for convenience. ¬¬ : ∀ {i} ...
{ "alphanum_fraction": 0.467141726, "avg_line_length": 34.4454545455, "ext": "agda", "hexsha": "a9af7fb813f92e7ecc5e5370246a0329cc99283e", "lang": "Agda", "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 -- -- Examples of pretty printing ------------------------------------------------------------------------ module README.Text.Pretty where open import Size open import Data.Bool.Base open import Data.List.Base as Li...
{ "alphanum_fraction": 0.5806004619, "avg_line_length": 34.1842105263, "ext": "agda", "hexsha": "64f46c8802fa7458833b6acdaebdefb1c3d1b156", "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...
------------------------------------------------------------------------ -- The Agda standard library -- -- Automatic solvers for equations over naturals ------------------------------------------------------------------------ -- See README.Nat for examples of how to use this solver {-# OPTIONS --without-K --safe #-}...
{ "alphanum_fraction": 0.6135792121, "avg_line_length": 29.825, "ext": "agda", "hexsha": "ab5a38a74fdd0fb91d80278d237f1f9ceacf4ae0", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T06:54:4...
module Data.List.Categorical where import Lvl open import Functional open import Function.Equals open import Data.List open import Data.List.Functions open import Data.List.Proofs open import Data.List.Equiv.Id open import Lang.Instance open import Logic open import Logic.Propositional open import Relator.Equals open ...
{ "alphanum_fraction": 0.7341597796, "avg_line_length": 37.2307692308, "ext": "agda", "hexsha": "76bc6ec0c41818de8351e7ccba5291bd766f505b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import Util.Prelude module LibraBFT.Impl.OBM.ECP-LBFT-OBM-Diff.ECP-LBFT...
{ "alphanum_fraction": 0.7669376694, "avg_line_length": 28.3846153846, "ext": "agda", "hexsha": "9a277d5f3f42cfdbd15bcf2de6159d6a0e0eca9f", "lang": "Agda", "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 --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module DiscriminationRules where open import Data.Bool.Base open import Data.List open import Data.Nat open import Relation.Binary.PropositionalEq...
{ "alphanum_fraction": 0.5, "avg_line_length": 23.9130434783, "ext": "agda", "hexsha": "557b5280df9977d3ccae851dd548683f7ab8064b", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T14:18:30....
module Everything where import Prelude import Stack import Syntax import Semantics import Convertibility import Correctness
{ "alphanum_fraction": 0.8582677165, "avg_line_length": 11.5454545455, "ext": "agda", "hexsha": "ff415639752045a3f9a51f1b7b15fc3b070a213f", "lang": "Agda", "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...
-- Axiomatic embedding of guarded recursion in Agda module guarded-recursion.embedding where open import guarded-recursion.prelude renaming (O to zero; S to suc) open Coe module M (▹_ : ∀ {a} → Type_ a → Type_ a) (▸ : ∀ {a} → ▹ (Type_ a) → Type_ a) (next : ∀ {a} {A : Type_ a} → A → ▹ A) (▸-rule :...
{ "alphanum_fraction": 0.4074679304, "avg_line_length": 28.4627906977, "ext": "agda", "hexsha": "032b45bdd2bd28a740e94c7aeee78fa902481476", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-11-16T16:21:54.000Z", "max_forks_repo_forks_event_min_datetime": "2015-08-19T...
module Issue644 where postulate A : Set record R : Set₁ where field P : A → Set module M₁ (r : R) where postulate Foo₁ : ((x : A) → R.P r x) → Set module M₂ (r : R) where open R r postulate Foo₂ : ((x : A) → P x) → Set postulate r : R open R r open M₁ r open M₂ r foo₂ : Set foo₂ = Foo₂ r -...
{ "alphanum_fraction": 0.5488372093, "avg_line_length": 11.3157894737, "ext": "agda", "hexsha": "8d9707cccdb77cd367efafc71d46ae37b8ebdceb", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --without-K --safe #-} module Categories.Category.Instance.Properties.Setoids.CCC where open import Level open import Data.Product using (Σ ; _,_) open import Function.Equality as ⟶ using (Π; _⟶_) open import Relation.Binary using (Setoid) open import Categories.Category open import Categories.Category.M...
{ "alphanum_fraction": 0.5497685185, "avg_line_length": 31.4181818182, "ext": "agda", "hexsha": "b56d2c9b5472ea9ad32092af498d9e97dcaecd31", "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 Lec8 where open import CS410-Prelude open import CS410-Functor open import CS410-Monoid open import CS410-Nat data Maybe (X : Set) : Set where yes : X -> Maybe X no : Maybe X maybeFunctor : Functor Maybe maybeFunctor = record { map = \ { f (yes x) -> yes (f x) ; f no -> no ...
{ "alphanum_fraction": 0.4629552114, "avg_line_length": 30.6282051282, "ext": "agda", "hexsha": "5931adde7d83016d1b98ebba83cb4dbd1da6d7d1", "lang": "Agda", "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 OutsideIn.Prelude open import OutsideIn.X module OutsideIn.Inference.Separator(x : X) where import OutsideIn.Constraints as C open C(x) open X(x) open import Data.List hiding (map) mutual data SeparatedConstraint (n : Set) : Shape → Set where SC : ∀ {s} → QConstraint n → Implications n ...
{ "alphanum_fraction": 0.558496732, "avg_line_length": 51, "ext": "agda", "hexsha": "2222cc8169baf9b81a23e491999280ae5ddd70af", "lang": "Agda", "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": "fc1f...
-- submitted by Nisse, 2011-06-21 module Issue423 where ------------------------------------------------------------------------ -- Prelude data _≡_ {A : Set} (x : A) : A → Set where refl : x ≡ x record Σ (A : Set) (B : A → Set) : Set where constructor _,_ field proj₁ : A proj₂ : B proj₁ -- Andreas: c...
{ "alphanum_fraction": 0.4703947368, "avg_line_length": 22.8, "ext": "agda", "hexsha": "a4f6bfc3558072214e30521b5ebf3a1c06fe42b6", "lang": "Agda", "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": "2...
module Oscar.Category.Category where open import Oscar.Category.Setoid open import Oscar.Category.Semigroupoid open import Oscar.Level module _ {𝔬 𝔪 𝔮} (semigroupoid : Semigroupoid 𝔬 𝔪 𝔮) where open Semigroupoid semigroupoid record IsCategory (ε : ∀ {x} → x ↦ x) : Set (𝔬 ⊔ 𝔪 ⊔ 𝔮) where instan...
{ "alphanum_fraction": 0.6448598131, "avg_line_length": 23.40625, "ext": "agda", "hexsha": "b826af997fb5b534ac60280c8fc7a169e85ba296", "lang": "Agda", "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 Diff where open import Data.Nat using (ℕ; zero; suc) open import Data.Float open import Function using (_∘_) postulate post : ∀ {a} {A : Set a} → A -- Need to generalize for bilinear forms data _Is_DiffAt_ (f : Float → Float) : ℕ → Float → Set where continuous : ∀ x → f Is zero DiffAt x d : ∀ f' {n} x ...
{ "alphanum_fraction": 0.5215208034, "avg_line_length": 23.2333333333, "ext": "agda", "hexsha": "ccd55c9da1a16c79519fdab3323a8084e7befe6a", "lang": "Agda", "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...
-- New NO_POSITIVITY_CHECK pragma for data definitions and mutual -- blocks -- Skipping an old-style mutual block: Before the `mutual` keyword. {-# NO_POSITIVITY_CHECK #-} mutual data Cheat : Set where cheat : Oops → Cheat data Oops : Set where oops : (Cheat → Cheat) → Oops
{ "alphanum_fraction": 0.6989619377, "avg_line_length": 24.0833333333, "ext": "agda", "hexsha": "a736a7f8c95d333e87fb9dd17b6171eebae7de75", "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 -- -- The free monad construction on indexed containers ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --guardedness #-} module Data.Container.Indexed.FreeMona...
{ "alphanum_fraction": 0.5157736605, "avg_line_length": 28.9420289855, "ext": "agda", "hexsha": "7cf942c36ee00733c05c086819bddcea8d6c5cc2", "lang": "Agda", "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.Nat postulate T : Set C₁ : Set instance I₁ : C₁ C₂ : Nat → Set instance I₂ : ∀ {n} → C₂ n it : {A : Set} {{_ : A}} → A it {{x}} = x postulate f₁ : {{_ : Nat → C₁}} → T f₂ : {{_ : ∀ n → C₂ n}} → T works₁ : T works₁ = f₁ -- f₁ {{λ _ → I₁}} fails₁ : T ...
{ "alphanum_fraction": 0.4967602592, "avg_line_length": 14.0303030303, "ext": "agda", "hexsha": "3357c25663b1f4817b1c9330e2f6b62525983202", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T...
module UniDB.Subst.Pair where open import UniDB.Subst.Core open import UniDB.Morph.Pair instance iLkPair : {T : STX} {{apTT : Ap T T}} {Ξ : MOR} {{lkTΞ : Lk T Ξ}} {Ζ : MOR} {{lkTΖ : Lk T Ζ}} {{upΖ : Up Ζ}} → Lk T (Pair Ξ Ζ) lk {{iLkPair {T}}} (ξ ⊗ ζ) i = ap {T} ζ (lk {T} ξ i) iLkRenPair : ...
{ "alphanum_fraction": 0.4424800797, "avg_line_length": 43.652173913, "ext": "agda", "hexsha": "0bbaae82dcf94a68e789fc714e7253495037fce7", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
-- This file is the source Agda file -- Edit this file not Common.hs -- The warning below will be written to Common.hs {- Description : Property based testing Name Utilities This file contains various naming related utilities used for generating Zerepoch Core types and terms. -} module ZerepochCore.Generators.NEAT....
{ "alphanum_fraction": 0.6816232267, "avg_line_length": 27.3063063063, "ext": "agda", "hexsha": "6e79288fbb471478f7cdc81f9d1e6e43ec6981fb", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-02-21T16:38:59.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-13T...
-- AIM XXXV, 2022-05-06, issue #5891: -- SizeUniv : SizeUniv was causing non-termination and inhabitation of Size< 0. -- This is inconsistent; proof by Jonathan Chan. {-# OPTIONS --sized-types #-} open import Agda.Primitive open import Agda.Builtin.Size data ⊥ : Set where -- Original exploit: -- data False : SizeUn...
{ "alphanum_fraction": 0.556407448, "avg_line_length": 21.2325581395, "ext": "agda", "hexsha": "370dc712a9c8c14c45094a8eb263e146e68ab246", "lang": "Agda", "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 Demos.Live where
{ "alphanum_fraction": 0.6538461538, "avg_line_length": 10.4, "ext": "agda", "hexsha": "f30a6134e0cd1f6ec962519d71f44b9639200ee5", "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-11T12:30:21....
module Issue784.RefAPI where open import Issue784.Values public hiding (seq) open import Issue784.Context -- that should be private open import Issue784.Transformer public open import Data.List public using (List; []; _∷_; [_]) open import Data.Nat open import Relation.Binary.PropositionalEquality.TrustMe private ...
{ "alphanum_fraction": 0.5122123062, "avg_line_length": 45.2978723404, "ext": "agda", "hexsha": "98e90abe684ab87988e30940f390d6d1df4a2578", "lang": "Agda", "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...
------------------------------------------------------------------------------ -- Properties for the bisimilarity relation ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polym...
{ "alphanum_fraction": 0.437642369, "avg_line_length": 31.0796460177, "ext": "agda", "hexsha": "2c4d54c1b56764afee4cff0736e6a73bb5cb98ee", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-19T1...
open import Prelude module Implicits.Substitutions.Type where open import Implicits.Syntax.Type open import Data.Fin.Substitution open import Data.Star as Star hiding (map) open import Data.Star.Properties open import Data.Vec module TypeApp {T} (l : Lift T Type) where open Lift l hiding (var) infixl 8 _/_ ...
{ "alphanum_fraction": 0.4903059026, "avg_line_length": 30.5394736842, "ext": "agda", "hexsha": "592519970e2c4af0f76a520f418acf107d57354c", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Thesis.SIRelBigStep.FundamentalProperty where open import Data.Product open import Relation.Binary.PropositionalEquality open import Thesis.SIRelBigStep.IlcSILR rfundamentalV3v : ∀ {Γ τ} (x : Var Γ τ) → (n : ℕ) → ∀ ρ1 dρ ρ2 (ρρ : rrelρ3 Γ ρ1 dρ ρ2 n) → rrelV3 τ (⟦ x ⟧Var ρ1) (D.⟦ x ⟧Var dρ) (⟦ x ⟧Var ρ2) n rf...
{ "alphanum_fraction": 0.6127915452, "avg_line_length": 60.9777777778, "ext": "agda", "hexsha": "f8b7293a741a17ad6b70a12e46d71819c1bec132", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-02-18T12:26:44.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-18T...
------------------------------------------------------------------------ -- The Agda standard library -- -- Properties satisfied by decidable total orders ------------------------------------------------------------------------ open import Relation.Binary module Relation.Binary.Properties.DecTotalOrder {d₁ d...
{ "alphanum_fraction": 0.5888625592, "avg_line_length": 31.2592592593, "ext": "agda", "hexsha": "13673c0bc6b9373c21d5ec83857c0e2c6be4350d", "lang": "Agda", "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 IO main = run (putStr "Hacktoberfest")
{ "alphanum_fraction": 0.7307692308, "avg_line_length": 13, "ext": "agda", "hexsha": "8b76003155c6355617a2a047262424f9c30e1756", "lang": "Agda", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2021-10-02T05:07:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-10-01T15:13:01.00...
{-# OPTIONS --show-implicit --show-irrelevant #-} -- {-# OPTIONS -v tc.conv.irr:20 -v tc.constr.findInScope:20 -v tc.meta:20 -v tc.conv.type:50 -v tc.conv.term:30 -v tc.conv.atom:50 -v tc.inj.use:20 #-} module Issue631 where import Common.Level -- for debug messages data Bool : Set where false true : Bool F : Boo...
{ "alphanum_fraction": 0.6395112016, "avg_line_length": 22.3181818182, "ext": "agda", "hexsha": "526677ea2b52e1cba02866e0a10bce505207c3c4", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
{-# OPTIONS --cubical --safe #-} module Data.Vec where open import Prelude private variable n m : ℕ infixr 5 _∷_ data Vec (A : Type a) : ℕ → Type a where [] : Vec A zero _∷_ : A → Vec A n → Vec A (suc n) head : Vec A (suc n) → A head (x ∷ _) = x foldr : (A → B → B) → B → Vec A n → B foldr f b [] = b fol...
{ "alphanum_fraction": 0.5378151261, "avg_line_length": 16.2272727273, "ext": "agda", "hexsha": "9b122c143bc9f7f7dbf38de1794d280dffb05b5f", "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 GUIgeneric.GUIFeaturesPart3 where open import GUIgeneric.Prelude renaming (addButton to addButton') open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add) open import GUIgeneric.GUI open import GUIgeneric.GUIExampleLib open import StateSizedIO.GUI.WxGraphicsLibLevel3 renaming (addButton to a...
{ "alphanum_fraction": 0.6070467335, "avg_line_length": 40.87, "ext": "agda", "hexsha": "bd69d5069bf69cc5b489b0ded0a6ed5adde2143c", "lang": "Agda", "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 -- -- Properties satisfied by strict partial orders ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Relation.Binary module Relation.Binary.Prop...
{ "alphanum_fraction": 0.6006528836, "avg_line_length": 31.6896551724, "ext": "agda", "hexsha": "7785c5ec6ad4051d3ff55cba0f83b04986be960c", "lang": "Agda", "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 parse-tree where open import lib record ParseTreeRec : Set lone where field ParseTreeT : Set isParseTree : ParseTreeT → 𝕃 char → string → Set ParseTreeToString : ParseTreeT → string
{ "alphanum_fraction": 0.7268292683, "avg_line_length": 20.5, "ext": "agda", "hexsha": "723c93f8242128a2f040d53b608c98cd92d7a0e9", "lang": "Agda", "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...
module List where data Bool : Set where true : Bool false : Bool if_then_else_ : {A : Set} -> Bool -> A -> A -> A if true then x else y = x if false then x else y = y boolElim : (P : Bool -> Set) -> P true -> P false -> (b : Bool) -> P b boolElim P t f true = t boolElim P t f false = f data False : Set where ...
{ "alphanum_fraction": 0.5255781359, "avg_line_length": 28.9256756757, "ext": "agda", "hexsha": "ccbe545b191eed0d457cbf80f0c6550f50ca6c4c", "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 -- -- This module is DEPRECATED. Please use -- Data.List.Relation.Binary.Permutation.Inductive directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} mod...
{ "alphanum_fraction": 0.5892255892, "avg_line_length": 33, "ext": "agda", "hexsha": "353c955e693cf343801e0234a6cb7f1e94ed9da0", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-04T06:54:45.00...
------------------------------------------------------------------------ -- A variant of the development in "Internalizing Representation -- Independence with Univalence" (by Angiuli, Cavallo, Mörtberg and -- Zeuner) with support for erasure ------------------------------------------------------------------------ -- T...
{ "alphanum_fraction": 0.4792981888, "avg_line_length": 36.6627101879, "ext": "agda", "hexsha": "57ef13a9b6c667e681b5d8a6e4fd17c8c8258ace", "lang": "Agda", "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 Leftovers.Leftovers where open import Function using (_$_) open import Data.Bool import Data.String as String open import Leftovers.TraverseTerm open import Leftovers.Utils import Level as Level open import Reflection open import Reflection.Term open import Reflection.TypeChecking....
{ "alphanum_fraction": 0.6280709868, "avg_line_length": 40.5128805621, "ext": "agda", "hexsha": "3b0624478a2fd92f0930fa50820814f9cff86f8b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --cubical --safe #-} module Cubical.HITs.Pushout.Base where open import Cubical.Core.Glue open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Isomorphism open import Cubical.Data.Unit open import Cubical.HITs.Susp data Pushout {ℓ ℓ' ℓ''} {A : Ty...
{ "alphanum_fraction": 0.6682464455, "avg_line_length": 35.8301886792, "ext": "agda", "hexsha": "ed18bf81217a7c9d062e1f6f3744fbe596461200", "lang": "Agda", "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...
{- Generic UARel, DUARel, and SubstRel: the path relation is always univalent -} {-# OPTIONS --safe #-} module Cubical.Displayed.Generic where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Transport open import Cubical.Displayed.Base open import Cubi...
{ "alphanum_fraction": 0.6692233941, "avg_line_length": 28.1891891892, "ext": "agda", "hexsha": "d28d705bcf1af92aa86f820ca14c5f47170266b6", "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 --copatterns #-} mutual data D : Set where c : R → D record R : Set where coinductive field out : D open R mutual d : D d = c r r : R out r = d f : D → {A : Set} → A f (c x) = f (out x) -- should not termination check absurd : {A : Set} → A absurd = f d
{ "alphanum_fraction": 0.5165562914, "avg_line_length": 11.6153846154, "ext": "agda", "hexsha": "f5ef5e3b4c8aab914b0cb047f9db007ec32682b1", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T...
module _ (A : Set) where record R : Set where data D : Set where open R (record {}) F : D → Set₃ F _ with Set₁ F _ | _ = Set₂
{ "alphanum_fraction": 0.5909090909, "avg_line_length": 11, "ext": "agda", "hexsha": "bd3a4c13fef9139fbbef860d83cc65211b9c231a", "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....
open import SOAS.Metatheory.Syntax -- Second-order equational logic library module SOAS.Metatheory.SecondOrder.Equality {T : Set} (Syn : Syntax {T}) where open import SOAS.Common open import SOAS.Families.Core {T} open import SOAS.Context open import SOAS.Variable open import SOAS.Metatheory.FreeMonoid Syn open im...
{ "alphanum_fraction": 0.4311521477, "avg_line_length": 32.6331877729, "ext": "agda", "hexsha": "a9e569d975c340ad71ab1bba32cc085fd02c1fb6", "lang": "Agda", "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.Reflection open import Agda.Builtin.Equality open import Agda.Builtin.Int open import Agda.Builtin.String open import Common.Prelude getFixity = primQNameFixity infixl -1729 _to_ _to_ : Set → Set → Set A to B = A → B data Check : Set₁ where equal : {A : Set} (x y : A) → x ≡ y → Check pat...
{ "alphanum_fraction": 0.6720647773, "avg_line_length": 29.4047619048, "ext": "agda", "hexsha": "7b1ff72c42fbaa5973822b45530f861a4c0df4b8", "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...
-- 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 Data.Rational as ℝ using () renaming (ℚ to ℝ) module monotonic...
{ "alphanum_fraction": 0.68, "avg_line_length": 24.1379310345, "ext": "agda", "hexsha": "b95010e0e774f034e4139ce352dbb8448967ec64", "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-15T15:22:31...
-- Operations on natural number {-# OPTIONS --without-K --safe #-} -- agad-stdlib open import Relation.Binary.PropositionalEquality module TypeTheory.Nat.Operations {a} -- | Type of natural number (N : Set a) -- | Zero (zero : N) -- | Successor function (suc : N → N) -- | Induction principle (ind :...
{ "alphanum_fraction": 0.5060745706, "avg_line_length": 20.7565217391, "ext": "agda", "hexsha": "96d0583ca9de0ebda83ae97aae5c9054d258ef02", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --without-K --rewriting #-} open import PathInduction open import Pushout module JamesSecondComposite {i} (A : Type i) (⋆A : A) where open import JamesTwoMaps A ⋆A public -- Second composite to-ε∞ : to ε∞ == εJ to-ε∞ = idp to-α∞-in∞ : (a : A) (n : ℕ) (x : J n) → to (α∞ a (in∞ n x)) == αJ a (inJ n x) t...
{ "alphanum_fraction": 0.4032945186, "avg_line_length": 54.3783783784, "ext": "agda", "hexsha": "0bb1ccb7e6126acc97946fb3fb28fd9f0b2e715a", "lang": "Agda", "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 Relation.Ternary.Separation.Bigstar where open import Level open import Data.Bool open import Data.Product open import Relation.Unary open import Relation.Ternary.Separation open import Relation.Ternary.Separation.Monad open import Relation.Ternary.Separation.Monad.Error open import Relation.Ternary.Separation....
{ "alphanum_fraction": 0.5668173015, "avg_line_length": 31.612244898, "ext": "agda", "hexsha": "99f3fdede454e3ea764886954009e0bb36a9b200", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-05-23T00:34:36.000Z", "max_forks_repo_forks_event_min_datetime": "2020-01-30T1...
------------------------------------------------------------------------ -- A partial order ------------------------------------------------------------------------ {-# OPTIONS --sized-types #-} open import Prelude module Delay-monad.Partial-order {a} {A : Type a} where open import Equality.Propositional as E open ...
{ "alphanum_fraction": 0.5033634001, "avg_line_length": 36.5418994413, "ext": "agda", "hexsha": "7a629cb9bdc874ecb76f96abf9df02d609084c12", "lang": "Agda", "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.Relation.Binary.Base open import Cubical.Core.Everything module Cubical.Relation.Binary.Structures {a ℓ} {A : Type a} -- The underlying type (_<>_ : Rel A ℓ) -- The relation where open import Cubical.Foundations.Prelude using (refl; sym; ...
{ "alphanum_fraction": 0.6302090949, "avg_line_length": 25.2361623616, "ext": "agda", "hexsha": "6eff13f11208edd0cbf5393e68f52fefea21f2e7", "lang": "Agda", "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...
{- Formal verification of authenticated append-only skiplists in Agda, version 1.0. Copyright (c) 2020 Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import Data.Unit.NonEta open import Data.Empty open import Data...
{ "alphanum_fraction": 0.5256268502, "avg_line_length": 38.5653370014, "ext": "agda", "hexsha": "dd81d13e564aa8a9139d904c21c33badcb7e14df", "lang": "Agda", "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...
import Oscar.Class.Transextensionality.Proposequality -- FIXME why not use the instance here? open import Oscar.Class open import Oscar.Class.IsPrecategory open import Oscar.Class.Transextensionality open import Oscar.Class.Transitivity open import Oscar.Data.Proposequality open import Oscar.Prelude open import Oscar....
{ "alphanum_fraction": 0.7973079968, "avg_line_length": 36.0857142857, "ext": "agda", "hexsha": "98a1e91ac33d11d9e8348ddcff6ccb5234df75df", "lang": "Agda", "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 -- -- Heterogeneous N-ary Functions ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Function.Nary.NonDependent where -------------------------------...
{ "alphanum_fraction": 0.4883099532, "avg_line_length": 30.2424242424, "ext": "agda", "hexsha": "3485aa2b780d2a9191cecbdd7399d2e22d385900", "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...
{- Functions building UARels and DUARels on Σ-types -} {-# OPTIONS --safe #-} module Cubical.Displayed.Sigma where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Data.Sigma open import Cubical.Displayed.Base open import Cubical.Displayed.Subst open import Cubica...
{ "alphanum_fraction": 0.5623659209, "avg_line_length": 27.4201680672, "ext": "agda", "hexsha": "d62834baa122ed177a056a816d3684a3ec92e1ba", "lang": "Agda", "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...
-- Martin-Löf identity type without the K axiom -- (we do not assume uniqueness of identity proofs). {-# OPTIONS --without-K --safe #-} module Tools.PropositionalEquality where -- We reexport Agda's builtin equality type. open import Agda.Builtin.Equality public using (_≡_; refl) open import Tools.Empty -- Inequal...
{ "alphanum_fraction": 0.508687837, "avg_line_length": 25.2878787879, "ext": "agda", "hexsha": "11cda996f6d611a5abb005758d62f2ae5e3a09d7", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --safe #-} open import Cubical.Foundations.Everything renaming (Iso to _≅_) open import Cubical.Data.List open import Cubical.Data.Unit open import Cubical.Data.Prod hiding (map) open import Cubical.Data.Nat module Cubical.Data.List.Dependent where open _≅_ data ListP {ℓA ℓB} {A : Type ℓA} (B : A → Type...
{ "alphanum_fraction": 0.5781659389, "avg_line_length": 44.6103896104, "ext": "agda", "hexsha": "1ee3b7c85d5ad571157aa99355376c0f43e357bf", "lang": "Agda", "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 --cubical #-} module Data.Unit.UniversePolymorphic where open import Level record ⊤ {ℓ} : Type ℓ where constructor tt
{ "alphanum_fraction": 0.7214285714, "avg_line_length": 17.5, "ext": "agda", "hexsha": "d968bf42552bcfc8d57aac2b3d5145cf66af7925", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-05T14:05:30....
{-# OPTIONS --without-K #-} module Formalization where open import Agda.Primitive using (lsuc) open import Relation.Binary.PropositionalEquality open Relation.Binary.PropositionalEquality.≡-Reasoning open import Level -- Recall Lemma 1.12 ind₌ : ∀{a b}{A : Set a} → (C : (x y : A) → (x ≡ y) → Set b) → ((x : A) → C...
{ "alphanum_fraction": 0.5139235385, "avg_line_length": 34.0160550459, "ext": "agda", "hexsha": "3748ed6d4c6858ea4bbe42c3939f826bca8edf79", "lang": "Agda", "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 UniDB.Morph.WeakenOne where open import UniDB.Spec -------------------------------------------------------------------------------- data Weaken₁ : MOR where weaken₁ : {γ : Dom} → Weaken₁ γ (suc γ) instance iLkWeaken₁ : {T : STX} {{vrT : Vr T}} → Lk T Weaken₁ lk {{iLkWeaken₁ {T}}} weaken₁ i = vr {T} (s...
{ "alphanum_fraction": 0.4338521401, "avg_line_length": 27.0526315789, "ext": "agda", "hexsha": "94e666464e991873ccf6de5d6b89c370e3f40989", "lang": "Agda", "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 type for values that should be erased at run-time ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality import Erased.Basics import Erased.Level-1 module Erased {...
{ "alphanum_fraction": 0.5415841584, "avg_line_length": 28.0555555556, "ext": "agda", "hexsha": "935ff0410d6d2a6ad4e6dcff45cd835a67e385bd", "lang": "Agda", "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.Level postulate ℓ : Level data D : Set (lsuc ℓ) where c : (ℓ : Level) → Set ℓ → D -- Bad error: -- The type of the constructor does not fit in the sort of the -- datatype, since Set (lsuc ℓ) is not less or equal than Set (lsuc ℓ) -- when checking the constructor c in the declaration of D -- J...
{ "alphanum_fraction": 0.6789667897, "avg_line_length": 30.1111111111, "ext": "agda", "hexsha": "c1163ee313a4e6748cfb422b034688148d97444a", "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 Data.Bool using ( Bool ; true ; false ; if_then_else_ ) open import Data.Product using ( _×_ ; _,_ ) open import Data.Sum using ( inj₁ ; inj₂ ) open import Relation.Unary using ( _∈_ ) open import Web.Semantic.DL.Concept using ( Concept ; ⟨_⟩ ; ¬⟨_⟩ ; ⊤ ; ⊥ ; _⊓_ ; _⊔_ ; ∀[_]_ ; ∃⟨_⟩_ ; ≤1 ; >1 ; neg ) open...
{ "alphanum_fraction": 0.5739665186, "avg_line_length": 51.350877193, "ext": "agda", "hexsha": "95923342f8a779e57a853091cf90ee8557e23e09", "lang": "Agda", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:40:03.000Z", "max_forks_repo_forks_event_min_datetime": "2017-12-03T1...
{-# OPTIONS --allow-unsolved-metas #-} module finiteSet where open import Data.Nat hiding ( _≟_ ) open import Data.Fin renaming ( _<_ to _<<_ ) hiding (_≤_) -- open import Data.Fin.Properties hiding ( ≤-refl ) open import Data.Empty open import Relation.Nullary open import Relation.Binary.Definitions open import Rel...
{ "alphanum_fraction": 0.5647291942, "avg_line_length": 35.2093023256, "ext": "agda", "hexsha": "0d3fa289a73778f14a3a1bb7a3a7f21e341a7672", "lang": "Agda", "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...
import cedille-options open import general-util module spans (options : cedille-options.options) {mF : Set → Set} {{mFm : monad mF}} where open import cedille-types open import constants open import conversion open import ctxt open import free-vars open import syntax-util open import type-util open import to-string op...
{ "alphanum_fraction": 0.6444925924, "avg_line_length": 46.4680272109, "ext": "agda", "hexsha": "7847477bae85775b8ab9578ec2416aab1e29c621", "lang": "Agda", "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 --confluence-check #-} -- Let us assume that extensionality of functions cannot be proved -- inside "plain" Agda. In that case the code below shows that the -- REWRITE functionality is not a conservative extension, even if we -- only use propositional equality as the rewriting relation, and do...
{ "alphanum_fraction": 0.5959367946, "avg_line_length": 22.7179487179, "ext": "agda", "hexsha": "bacca0d4cc1a0ce04ee3254b231d61a98259b4c2", "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 #15 where {- Show that indiscernability of identicals follows from path induction -} open import Data.Product open import Relation.Binary.PropositionalEquality id : ∀{x}{A : Set x} → A → A id x = x ind₌ : ∀{a}{A : Set a} → (C : (x y : A) → (x ≡ y) → Set) → ((x : A) → C x x refl) → (x y : A) → (p : x ≡ y) →...
{ "alphanum_fraction": 0.5090252708, "avg_line_length": 34.625, "ext": "agda", "hexsha": "a39cd85acb08bd0e7950a32303432b17c6e7e22a", "lang": "Agda", "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 #-} module Cubical.Categories.Instances.CommRings where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Algebra.Ring open import Cubical.Algebra.CommRing open import Cubical.Categories.Category open Category open CommRingHoms CommRingsCategory...
{ "alphanum_fraction": 0.6765714286, "avg_line_length": 36.4583333333, "ext": "agda", "hexsha": "085fc579cc1be4e5a67be59aaf4bd0de684f57f3", "lang": "Agda", "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.Bool as Bool using (Bool; false; true; if_then_else_; not) open import Data.String using (String) open import Data.Nat using (ℕ; _+_; _≟_; suc; _>_; _<_; _∸_) open import Relation.Nullary.Decidable using (⌊_⌋) open import Data.List as l using (List; filter; map; take; foldl; length) open import Data.Li...
{ "alphanum_fraction": 0.6578419575, "avg_line_length": 35.1126760563, "ext": "agda", "hexsha": "3d714f4877970224ac6f61abf6b5efa39c78f6c2", "lang": "Agda", "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-termination-check #-} module optionsPragma where -- Only goes through with the termination checker turned off. Foo : Set Foo = Foo
{ "alphanum_fraction": 0.7333333333, "avg_line_length": 18.75, "ext": "agda", "hexsha": "9821c84ffafb5faa3d908a2cdaf20524c345f4d5", "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:...
data ⊥ : Set where data Bool : Set where false true : Bool data _≡_ (x : Bool) : Bool → Set where refl : x ≡ x true≠false : false ≡ true → ⊥ true≠false () data Maybe (A : Set) : Set where nothing : Maybe A just : A → Maybe A data Eq {A : Set} (_≈_ : A → A → Set) : Maybe A → Maybe A → Set where just :...
{ "alphanum_fraction": 0.5280898876, "avg_line_length": 22.25, "ext": "agda", "hexsha": "40201d9001bfda75c1ca7191aa0018785a240376", "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:...
module Control.Monad.Writer where open import Prelude open import Control.Monad.Zero open import Control.Monad.Identity open import Control.Monad.Transformer record WriterT {a} (W : Set a) (M : Set a → Set a) (A : Set a) : Set a where no-eta-equality constructor writerT field runWriterT : M (A × W) open Write...
{ "alphanum_fraction": 0.5828897338, "avg_line_length": 32.0731707317, "ext": "agda", "hexsha": "c1ffb9560cd7ee0db078e9171c3e3508757a0b82", "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...
------------------------------------------------------------------------------ -- A Peano arithmetic proof without using a where clause ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-u...
{ "alphanum_fraction": 0.4078303426, "avg_line_length": 29.1904761905, "ext": "agda", "hexsha": "3973eafe9462cda3ba36254bc14efdb966434003", "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 747Decidable where -- Library import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; sym) -- added sym open Eq.≡-Reasoning open import Data.Nat using (ℕ; zero; suc; _≤_; z≤n; s≤s) open import Data.Product using (_×_) renaming (_,_ to ⟨_,_⟩) open import Data.Sum using (_⊎_; inj₁; inj₂) ope...
{ "alphanum_fraction": 0.5299524044, "avg_line_length": 20.31, "ext": "agda", "hexsha": "72e71509c12418dcbe76ac15850883d74d74da22", "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-13T21:40:15...
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.SuspProduct open import homotopy.SuspSmash open import homotopy.JoinSusp open import cohomology.Theory module cohomology.SphereProduct {i} (CT : CohomologyTheory i) (n : ℤ) (m : ℕ) (X : Ptd i) where open CohomologyTheory CT open impo...
{ "alphanum_fraction": 0.5067524116, "avg_line_length": 37.9268292683, "ext": "agda", "hexsha": "1ee81bd289a3cc52c5ff0e053ebfd403cba5feda", "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...
module Examples.Parity where open import Relation.Nullary open import Relation.Binary.PropositionalEquality open import Data.Empty open import Data.Bool hiding (not) open import Data.Nat open import Data.Fin hiding (_+_) open import Data.Product hiding (map) open import Data.List hiding (and; or; sum; map; [_]) open im...
{ "alphanum_fraction": 0.5814911952, "avg_line_length": 23.6194690265, "ext": "agda", "hexsha": "9315bd95adac3bcb9de0dd34d944e13b6ec3a998", "lang": "Agda", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-12T11:53:14.000Z", "max_forks_repo_forks_event_min_datetime": "2018-04-17T...
-- Andreas, 2017-02-20, issue #2467 -- Proper error on missing BUILTIN REWRITE {-# OPTIONS --rewriting #-} postulate A : Set {-# REWRITE A #-} -- Should fail with error like
{ "alphanum_fraction": 0.6629213483, "avg_line_length": 16.1818181818, "ext": "agda", "hexsha": "64de029c613f0dba1a89980bf6c88fcebe415b33", "lang": "Agda", "max_forks_count": 371, "max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-0...
-- Andreas, 2019-05-29, issue #3818, reported by Matthew Daggitt -- An external module name, i.e., the object of `import`, -- should not be considered clashing with an internal module name. module _ where module Issue3818 where module M where -- Internal module Issue3818.M. open import Issue3818.M -- Nam...
{ "alphanum_fraction": 0.7424593968, "avg_line_length": 30.7857142857, "ext": "agda", "hexsha": "db51ac100e7e098b1d8e7d2ec16901ec9cbcaa36", "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 rewriting where open import cedille-types open import constants open import conversion open import ctxt open import general-util open import free-vars --open import lift open import rename open import subst open import syntax-util open import type-util --open import erase open import datatype-util rewrite-mk-p...
{ "alphanum_fraction": 0.6237264829, "avg_line_length": 42.8927613941, "ext": "agda", "hexsha": "c873cac951682a0ea78e7c75279d83980b0fef91", "lang": "Agda", "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.Unit open import Agda.Builtin.Reflection renaming (bindTC to _>>=_) open import Agda.Builtin.List open import Agda.Builtin.Sigma open import Agda.Builtin.Equality infix 0 case_of_ case_of_ : ∀ {a b}{A : Set a}{B : Set b} → A → (A → B) → B case x of f = f x map : ...
{ "alphanum_fraction": 0.5981701286, "avg_line_length": 26.2597402597, "ext": "agda", "hexsha": "59237ceac539e1305e37ed6382bd30764d333bd5", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-18T13:34:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-18T...
module Pi.Invariants where open import Data.Empty open import Data.Unit open import Data.Sum open import Data.Product open import Data.List as L hiding (_∷_) open import Relation.Binary.PropositionalEquality open import Pi.Syntax open import Pi.Opsem open import Pi.NoRepeat -- Get the type of the deepest context get𝕌...
{ "alphanum_fraction": 0.5694530444, "avg_line_length": 38.1496062992, "ext": "agda", "hexsha": "4090184ee9b85f5b828c4c47798b9114f0257de1", "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 Thesis.SIRelBigStep.ArithExtra where open import Relation.Binary.PropositionalEquality open import Data.Nat public open import Data.Nat.Properties public open import Relation.Binary hiding (_⇒_) lt1 : ∀ {k n} → k < n → k ≤ n lt1 (s≤s p) = ≤-step p m∸n≤m : ∀ m n → m ∸ n ≤ m m∸n≤m m zero = ≤-refl m∸n≤m zero (su...
{ "alphanum_fraction": 0.5687203791, "avg_line_length": 28.7727272727, "ext": "agda", "hexsha": "d6413a375976927831cee07cbf7383e103e4f813", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-02-18T12:26:44.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-18T...
------------------------------------------------------------------------ -- An implementation of the Fibonacci sequence using tail ------------------------------------------------------------------------ module SingletonChunks where open import Codata.Musical.Notation open import Codata.Musical.Stream as S using (Str...
{ "alphanum_fraction": 0.4771707575, "avg_line_length": 36.2583732057, "ext": "agda", "hexsha": "ffe6884ca9994255c6e2303ea3b1122a083b0f2b", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.Sn.Base where open import Cubical.HITs.Susp open import Cubical.Foundations.Pointed open import Cubical.Data.Nat open import Cubical.Data.NatMinusOne open import Cubical.Data.Empty open import Cubical.Foundations.Prelude S : ℕ₋₁ → Type₀ S neg1 = ⊥...
{ "alphanum_fraction": 0.6791208791, "avg_line_length": 21.6666666667, "ext": "agda", "hexsha": "ffaa31527cd29405a4e1c143a6a097a19d0206f2", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
module Function.Domains.Functions where import Lvl open import Function.Domains open import Function.Domains.Id open import Structure.Relator.Properties open import Structure.Setoid open import Type open import Type.Dependent private variable ℓₒ₁ ℓₒ₂ ℓₑ₁ ℓₑ₂ : Lvl.Level module _ {X : Type{ℓₒ₁}} {Y : Type{ℓₒ₂}} ...
{ "alphanum_fraction": 0.5045672031, "avg_line_length": 34.8333333333, "ext": "agda", "hexsha": "40da83183826d6080a712e6cb95fcfcf9a5022e5", "lang": "Agda", "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 --show-implicit #-} -- {-# OPTIONS -v tc.meta:50 -v tc.conv:20 -v tc.conv.type:50 #-} module Issue659 where postulate Level : Set lzero : Level lsuc : Level → Level _⊔_ : Level → Level → Level {-# BUILTIN LEVEL Level #-} {-# BUILTIN LEVELZERO lzero #-} {-# BUILTIN LEVELSUC lsuc #-} {-#...
{ "alphanum_fraction": 0.5640074212, "avg_line_length": 19.962962963, "ext": "agda", "hexsha": "dedcd678c95826899562f6a3efe19783c330e42f", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hex...
{-# OPTIONS --without-K --safe #-} module Data.Binary.Proofs.Addition where open import Relation.Binary.PropositionalEquality open import Data.Binary.Operations.Unary open import Data.Binary.Operations.Addition open import Data.Binary.Proofs.Unary open import Data.Binary.Proofs.Semantics open import Data.Binary.Defin...
{ "alphanum_fraction": 0.5376344086, "avg_line_length": 63.3191489362, "ext": "agda", "hexsha": "ed6dcb0aaef838b8e36fa01dcfc37dc4be5b5638", "lang": "Agda", "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.Core module BBHeap.Equality.Properties {A : Set}(_≤_ : A → A → Set) where open import BBHeap _≤_ open import BBHeap.Equality _≤_ open import Bound.Lower A refl≈ : {b : Bound}{h : BBHeap b} → h ≈ h refl≈ {b} {leaf} = ≈leaf refl≈ {b} {left b≤x l⋘r} = ≈left b≤x b≤x l⋘r l⋘r refl≈ refl≈ refl≈...
{ "alphanum_fraction": 0.4173106646, "avg_line_length": 75.4833333333, "ext": "agda", "hexsha": "74d10e5b7f4cda336effda1878f140bb2aafc95a", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_he...
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Prelude open import LibraBFT.Base.Types import ...
{ "alphanum_fraction": 0.6163067263, "avg_line_length": 45.2086021505, "ext": "agda", "hexsha": "79e1856565f222e40a0d6b2836ecf97784a31c89", "lang": "Agda", "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 Array open import Array.APL using (reduce-1d) open import Data.Nat as N open import Data.Nat.Properties open import Data.Vec as V hiding (_>>=_; _++_) open import Data.Fin using (Fin; zero; suc; raise; inject+; #_) open import Relation.Binary.PropositionalEquality open import ...
{ "alphanum_fraction": 0.4885688569, "avg_line_length": 35.608974359, "ext": "agda", "hexsha": "3963edfcfe73bf98c6e1f0906f68473485cbe9c5", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-10-12T07:19:48.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-12T0...
-- Compiled things must be a postulate module CompiledMustBePostulate where postulate A : Set foo : Set foo = A {-# COMPILED foo bar #-}
{ "alphanum_fraction": 0.7062937063, "avg_line_length": 11.9166666667, "ext": "agda", "hexsha": "0395961e6f765e0df4216a8eab2593bc096ebfc4", "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 --cubical --cumulativity #-} module equalities where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Equiv open import Cubical.Foundations.Univalence open import Cubical.Data.Equality module _ {a ℓ} {A : Set a} where ≣-Type = A → A → S...
{ "alphanum_fraction": 0.5576208178, "avg_line_length": 25.8653846154, "ext": "agda", "hexsha": "cdb20a7cedd2922d7ced6b5e2a9082e39d65ccb0", "lang": "Agda", "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...
import Issue4267.M using () -- foo : {!Issue4267.M.R!} -- cannot give, but this is the solution foo = record { f = Set}
{ "alphanum_fraction": 0.6446280992, "avg_line_length": 24.2, "ext": "agda", "hexsha": "9437f14b00f67b4120f9e9bc2b6027d7fe4db47f", "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 --safe #-} module Cubical.Algebra.Group.Instances.Int where open import Cubical.Foundations.Prelude open import Cubical.Data.Int renaming (ℤ to ℤType ; _+_ to _+ℤ_ ; _-_ to _-ℤ_; -_ to -ℤ_ ; _·_ to _·ℤ_) open import Cubical.Algebra.Group.Base open GroupStr ℤ : Group₀ fst ℤ = ℤType 1g (snd ℤ) = 0 _·_ (snd...
{ "alphanum_fraction": 0.6009463722, "avg_line_length": 28.8181818182, "ext": "agda", "hexsha": "03db1b2f073187f5d725615ee2c629ba930b67f0", "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...
{- revised nomenclature -} module Oscar.Data4 where record ⊤ : Set where constructor tt Const_ : ∀ {a} {A : Set a} {b} {B : Set b} → B → A → B Const_ x _ = x infixr 20 _∷_ -- List data ⟦_⟧ {a} (A : Set a) : Set a where ∅ : ⟦ A ⟧ _∷_ : A → ⟦ A ⟧ → ⟦ A ⟧ -- Nat ⟦⟧ = ⟦ ⊤ ⟧ infix 21 ¡_ pattern ¡_ ⟦A⟧ = tt ∷ ⟦A⟧...
{ "alphanum_fraction": 0.384351799, "avg_line_length": 22.164556962, "ext": "agda", "hexsha": "0514a30e9876ac39af1f03d46ddb5a601a2c9293", "lang": "Agda", "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...
{-# OPTIONS --show-irrelevant --subtyping #-} module Issue2170-unify-subtyping where data _≡_ {A : Set} (x : A) : A → Set where refl : x ≡ x record Squash (A : Set) : Set where constructor squash field .unsquash : A open Squash record UnSquash (A : Set) (s : A → Squash A) : Set where constructor inverse f...
{ "alphanum_fraction": 0.6398362892, "avg_line_length": 27.1481481481, "ext": "agda", "hexsha": "c9cd020cc17e2f2d69b47e264a3f68b4012bf235", "lang": "Agda", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-18T13:34:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-18T...
------------------------------------------------------------------------ -- Normal and neutral terms ------------------------------------------------------------------------ open import Level using (zero) open import Data.Universe module README.DependentlyTyped.NormalForm (Uni₀ : Universe zero zero) where open imp...
{ "alphanum_fraction": 0.4896049896, "avg_line_length": 29.4489795918, "ext": "agda", "hexsha": "cf0a5fe1d57a1657d5c2d4d85aa36830d76a5663", "lang": "Agda", "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...
------------------------------------------------------------------------ -- Semantics of the parsers ------------------------------------------------------------------------ -- Currently it is only specified when a string is _accepted_ by a -- parser; semantic actions are not included. module RecursiveDescent.Inducti...
{ "alphanum_fraction": 0.4652873563, "avg_line_length": 37.5, "ext": "agda", "hexsha": "8af94cc7d5c087608e0776b47444fbad480dc22f", "lang": "Agda", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "7...
{-# OPTIONS --without-K #-} module algebra.group where open import algebra.group.core public open import algebra.group.morphism public open import algebra.group.gset public open import algebra.group.classifying public
{ "alphanum_fraction": 0.8045454545, "avg_line_length": 27.5, "ext": "agda", "hexsha": "3c8c80372b51c18d414971b000d47a132539e633", "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....
-- ---------------------------------------------------------------------- -- The Agda σ-library -- -- Substitutions -- ---------------------------------------------------------------------- module Sigma.Subst.Core where open import Sigma.Renaming.Base open import Data.Nat using (ℕ; _+_) open import Data.Fin using (...
{ "alphanum_fraction": 0.4169611307, "avg_line_length": 22.9459459459, "ext": "agda", "hexsha": "a52eeca0215a767f91d6dce296f4ced26df407eb", "lang": "Agda", "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 Util.Relation.Binary.Closure.SymmetricTransitive where open import Relation.Binary using (Rel) open import Util.Prelude data SymTrans {α ρ} {A : Set α} (R : Rel A ρ) : Rel A (α ⊔ℓ ρ) where `base : ∀ {x y} → R x y → SymTrans R x y `sym : ∀ {x y} → SymTrans R y x → SymTra...
{ "alphanum_fraction": 0.6284289277, "avg_line_length": 30.8461538462, "ext": "agda", "hexsha": "9a9cfcce6d1643c14a1ecbda2af2aaf7f07b222e", "lang": "Agda", "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...