Search is not available for this dataset
text string | meta dict |
|---|---|
open import Relation.Binary.Core
module TreeSort.Impl2.Correctness.Order {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import BBSTree _≤_
open import BBSTree.Properties _≤_ trans≤
open import Data.List
open import Functi... | {
"alphanum_fraction": 0.6522556391,
"avg_line_length": 25.3333333333,
"ext": "agda",
"hexsha": "67c5b79db29e0d6c4d57252f58cbc7ab0b3ed26e",
"lang": "Agda",
"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 Issue637 where
data Nat : Set where
zero : Nat
suc : Nat → Nat
infixl 60 _+_
_+_ : Nat → Nat → Nat
zero + n = n
suc m + n = suc (n + m)
data _≡_ {A : Set}(x : A) : A → Set where
refl : x ≡ x
`1 = suc zero
`2 = suc `1
`3 = suc `2
`4 = `2 + `2
`8 = `4 + `4
`16 = `8 + `8
`32 = `16 + `16
`50 = `32 + `16 +... | {
"alphanum_fraction": 0.4798099762,
"avg_line_length": 16.84,
"ext": "agda",
"hexsha": "d9c552f3bf1f8f808372d35ebb1e5dc38226ff71",
"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 plfa-exercises.Practice3 where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; trans; cong)
open Eq.≡-Reasoning using (_≡⟨⟩_; _≡⟨_⟩_; begin_; _∎)
open import Data.Bool using (Bool; true; false; T; _∧_; _∨_; not)
open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _∸_; _≤_; s≤s;... | {
"alphanum_fraction": 0.4609868533,
"avg_line_length": 36.7210031348,
"ext": "agda",
"hexsha": "757e5a39f520c735052a6610aeaaaa848280252f",
"lang": "Agda",
"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 #-}
-- The 'Trivial' instance, with a single arrow between objects
module Categories.Theory.Lawvere.Instance.Triv where
open import Data.Nat using (_*_)
open import Data.Unit.Polymorphic using (⊤; tt)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; isEquivalence)
... | {
"alphanum_fraction": 0.5221971407,
"avg_line_length": 27.1224489796,
"ext": "agda",
"hexsha": "40c6135f876fe119b213d8d8a1a38275c7d41dc6",
"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... |
{- 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 LibraBFT.Prelude
open import LibraBFT.Lemmas
-- TODO-2: The follow... | {
"alphanum_fraction": 0.6189591078,
"avg_line_length": 35.5283018868,
"ext": "agda",
"hexsha": "277d913ff8766d063f8099a31bf214618611b6ba",
"lang": "Agda",
"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 Agda.Builtin.Float where
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Int
open import Agda.Builtin.String
postulate Float : Set
{-# BUILTIN FLOAT Float #-}
primitive
primFloatEquality : Float → Float → Bool
primFloatLess : Float → Float → Bool
primNatToFloat ... | {
"alphanum_fraction": 0.6465408805,
"avg_line_length": 28.3928571429,
"ext": "agda",
"hexsha": "c37658a94301b5b6a8a3592060586a762de15640",
"lang": "Agda",
"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
--
-- Coinductive "natural" numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --guardedness --sized-types #-}
module Codata.Musical.Conat where
open import Coda... | {
"alphanum_fraction": 0.4890710383,
"avg_line_length": 24.6346153846,
"ext": "agda",
"hexsha": "a5f0049c45fddc15e3899cd289d30073bc1f1a65",
"lang": "Agda",
"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 index where
-- A formalisation of Haskell B. Curry’s thesis Grundlagen der Kombinatorischen
-- Logik. See <https://www.jstor.org/stable/2370619> (part 1) and
-- <https://www.jstor.org/stable/2370716> (part 2).
import CombinatoryLogic.Equality
import CombinatoryLogic.Forest
import CombinatoryLogic.Semantics
impo... | {
"alphanum_fraction": 0.8565980168,
"avg_line_length": 37.4571428571,
"ext": "agda",
"hexsha": "6ae5ea846d4f5f3df1420a7863bbbf9bd3431971",
"lang": "Agda",
"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
--
-- Membership predicate for fresh lists
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Data.List.Fresh.Membership.Se... | {
"alphanum_fraction": 0.5256588072,
"avg_line_length": 24.8620689655,
"ext": "agda",
"hexsha": "e974d45a4967ef430ae9ead83357039cadaac64b",
"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
--
-- Bijections on finite sets (i.e. permutations).
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Fin.Permutation where
open import Data.Emp... | {
"alphanum_fraction": 0.5130168453,
"avg_line_length": 35.1075268817,
"ext": "agda",
"hexsha": "0a79fa100d9a9ede8f18bf6650a5f928def27db4",
"lang": "Agda",
"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, 2016-01-27
-- After complaints of Wolfram Kahl and Aaron Stump
-- we decided it is imported to keep the rewrite behavior
-- that does not rewrite in rewrite terms.
open import Common.Equality
test : ∀{A : Set}{a : A}{f : A → A} (p : f a ≡ a) → f (f a) ≡ a
test p rewrite p = p
-- rewrite should not happen... | {
"alphanum_fraction": 0.6614583333,
"avg_line_length": 29.5384615385,
"ext": "agda",
"hexsha": "28d72d0bc4ad6465593a8667b3513ed9307b9bdf",
"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 Morphism where
open import Data.Nat
open import Data.Unit
open import Data.Product
open import Relation.Binary.PropositionalEquality
open import Prelude
open import Structure
module _ {A B : Set} (σᴬ : Struct A) (σᴮ : Struct B) where
open Struct σᴬ renaming (ℜ to ℜᴬ ; 𝔉 to 𝔉ᴬ)
open Struct σᴮ renaming (ℜ... | {
"alphanum_fraction": 0.5391470401,
"avg_line_length": 24.9365079365,
"ext": "agda",
"hexsha": "0a1061b58ef547b3cf109630a7e23e1fca42bd78",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import Numbers.Naturals.Order.Lemmas
open import Numbers.Naturals.Order.WellFounded
open import Numbers.Primes.PrimeNumbers
open import Semirings.Definition
open ... | {
"alphanum_fraction": 0.7223912074,
"avg_line_length": 89.0144404332,
"ext": "agda",
"hexsha": "7ff4a5d34c9cc161ee000d0f15bd49cabc4e46d9",
"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... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Streams
------------------------------------------------------------------------
module Data.Stream where
open import Coinduction
open import Data.Colist using (Colist; []; _∷_)
open import Data.Vec using (V... | {
"alphanum_fraction": 0.4512109099,
"avg_line_length": 26.2530864198,
"ext": "agda",
"hexsha": "bc8dc41dde4b2028d090cc713357827ab8c7df40",
"lang": "Agda",
"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.Data.BinNat where
open import Cubical.Data.BinNat.BinNat public
| {
"alphanum_fraction": 0.7522123894,
"avg_line_length": 22.6,
"ext": "agda",
"hexsha": "45ad2a2b8fb5070d4e6f3ebdfa8cfa1113b4d1fa",
"lang": "Agda",
"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": "d... |
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Functor hiding (id)
-- Limit of a Cone over a Functor F : J → C
module Categories.Diagram.Limit
{o ℓ e} {o′ ℓ′ e′} {C : Category o ℓ e} {J : Category o′ ℓ′ e′} (F : Functor J C) where
private
module C = Category C
module ... | {
"alphanum_fraction": 0.5961117196,
"avg_line_length": 27.4586466165,
"ext": "agda",
"hexsha": "02c4239a07e2b48f7769d8df3aabe89576bc2273",
"lang": "Agda",
"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.Empty using ( ⊥ )
open import FRP.LTL.ISet.Core using ( ISet ; [_] ; _,_ )
module FRP.LTL.ISet.Empty where
F : ISet
F = [ (λ i → ⊥) , (λ i j i~j → λ ()) , (λ i j i⊑j → λ ()) ]
| {
"alphanum_fraction": 0.5726495726,
"avg_line_length": 26,
"ext": "agda",
"hexsha": "5e97d4bf880da15b20d8163bf62b7ace73964090",
"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.00... |
module ReducingConstructorsInWith where
data ⊤ : Set where
tt : ⊤
module RegExps where
data RegExp : Set where
_│_ : RegExp -> RegExp -> RegExp
open module R = RegExps
bypassable : (re : RegExp) -> ⊤
bypassable (re₁ │ re₂) with bypassable re₁
bypassable (re₁ │ re₂) | m = m
| {
"alphanum_fraction": 0.6712802768,
"avg_line_length": 17,
"ext": "agda",
"hexsha": "3264f0740419b4da4fb2444f6539c8de1a6efbde",
"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 MonoidalCat where
open import Library hiding (_×_)
open import Categories
open import Categories.Products
open import Functors
open import Naturals
record Monoidal {l}{m} : Set (lsuc (l ⊔ m)) where
field C : Cat {l}{m}
open Cat C
open Fun
open NatI
field ⊗ : Fun (C × C) C
I : Obj
I... | {
"alphanum_fraction": 0.3542635659,
"avg_line_length": 32.5210084034,
"ext": "agda",
"hexsha": "8322fe1ff21d93667e97645cb009f82011b85969",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-11-04T21:33:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-04T... |
module stateDependentObjects where
open import Size renaming (Size to AgdaSize)
open import Agda.Builtin.Equality
open import Data.Nat.Base as N hiding (_⊔_)
open import Data.Product
open import Data.Vec as Vec using (Vec; []; _∷_; head; tail)
open import Function
open import NativeIO
open import Relation.Binary.Propo... | {
"alphanum_fraction": 0.5487012987,
"avg_line_length": 28.3435582822,
"ext": "agda",
"hexsha": "94c8b9e5752cc310f32b14bbc7847e64b785b6d9",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-01T... |
{-# OPTIONS --without-K #-}
open import Data.Nat.Base using (ℕ)
open import Data.Product
open import HoTT
open import Function.Extensionality
open import Algebra.Group
open import Algebra.Group.Homomorphism
open import Algebra.Group.Isomorphism
open import Function using (id; _∘_ ; flip)
open import Relation.Binary.Pro... | {
"alphanum_fraction": 0.5746967071,
"avg_line_length": 26.9626168224,
"ext": "agda",
"hexsha": "be92544f5bb2c083bf1e8936e338d8e3772ea901",
"lang": "Agda",
"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
--
-- The universe polymorphic unit type and the total relation on unit
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Unit.Polymorphic where
... | {
"alphanum_fraction": 0.4148606811,
"avg_line_length": 32.3,
"ext": "agda",
"hexsha": "ba4f21ae0db39bb20be01628a2bfbdffab5d3e78",
"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.... |
open import Relation.Binary using (Decidable; DecSetoid)
open import Level
module CP.Session2 {a} (ChanSetoid : DecSetoid zero a) (Type : Set) where
Chan : Set
Chan = DecSetoid.Carrier ChanSetoid
_≟Chan_ = DecSetoid._≟_ ChanSetoid
_≈Chan_ = DecSetoid._≈_ ChanSetoid
_≉Chan_ = DecSetoid._≉_ ChanSetoid
infixl 5 _,_... | {
"alphanum_fraction": 0.3733705773,
"avg_line_length": 39.7777777778,
"ext": "agda",
"hexsha": "c5262ec7cd33f3941acd848db7f1410d80aff130",
"lang": "Agda",
"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 --without-K #-}
open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong; sym)
open import Relation.Nullary using (Dec; yes; no)
open import Relation.Nullary.Decidable using (fromWitness; toWitness)
open import Function using (_∘_)
open import Data.Empty using (⊥-elim)
import Data.F... | {
"alphanum_fraction": 0.4760156632,
"avg_line_length": 32.4285714286,
"ext": "agda",
"hexsha": "114ef7506122692682fd743b314f1ba51fca84bc",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-03-14T16:24:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-25T... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Conversion of _≤_ to _<_
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Relation.Binary.Construct.NonStrictToStri... | {
"alphanum_fraction": 0.5896601591,
"avg_line_length": 35.9220779221,
"ext": "agda",
"hexsha": "fb44fa0b638b6549c4403a61b8f1d5778d0cc2d6",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
-- Andreas 2012-09-27, reported by Fredrik Forsberg
{-# OPTIONS --sized-types #-}
module Issue701-c where
open import Common.Size
{- If I understand correctly, unconstrained sizes should be resolved to \infty.
If I define -}
data U : {i : Size} -> Set where
c : {i : Size} -> U {↑ i}
data V : {i : Size} ->... | {
"alphanum_fraction": 0.612804878,
"avg_line_length": 29.8181818182,
"ext": "agda",
"hexsha": "2e0071bcacc977ad43d71862116b744dd5f7d0ff",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03... |
open import Relation.Binary.Core using (Decidable ; _≡_)
module Precond (Carrier : Set) (deq : Decidable {A = Carrier} _≡_) where
open import Data.Nat using (ℕ)
open import Data.Fin using (Fin ; zero ; suc)
open import Data.Fin.Properties using (_≟_)
open import Data.List using (List ; [] ; _∷_)
open import Level usi... | {
"alphanum_fraction": 0.627832615,
"avg_line_length": 57.544,
"ext": "agda",
"hexsha": "70f294d3b9058f901ff217cfc4757e9bcaedfd82",
"lang": "Agda",
"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 Data.Real.Properties where
open import Data.Real.Base as ℝ
open import Data.Real.Order
open import Data.Real.Abstract.Structures
using (IsOrderedHeytingField; IsArchimedanHeytingField)
open import Assume
open import Algebra using (IsCommutativeRing; CommutativeRing)
open import Algebra.Module using (Module)
o... | {
"alphanum_fraction": 0.7274176408,
"avg_line_length": 32.4482758621,
"ext": "agda",
"hexsha": "313615c0c4915d4a4f774b3bca9232b022c84c86",
"lang": "Agda",
"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 MalformedModuleNameInIMPORT where
{-# IMPORT m #-}
| {
"alphanum_fraction": 0.7627118644,
"avg_line_length": 14.75,
"ext": "agda",
"hexsha": "7aaa40ea1d2202d42992c46fe53afc5fc8ddb268",
"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-05T20:02:38... |
module Numeral.Natural.TotalOper where
import Lvl
open import Logic.Propositional
open import Logic.Predicate
open import Numeral.Natural hiding (𝐏)
open import Numeral.Natural.Relation.Divisibility
open import Numeral.Natural.Relation.Divisibility.Proofs
open import Numeral.Natural.Relation
open import Numeral.Natur... | {
"alphanum_fraction": 0.6659482759,
"avg_line_length": 32,
"ext": "agda",
"hexsha": "b1f244e4b17a32e4720101f0113a2af3587bb988",
"lang": "Agda",
"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... |
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Groupoid
module Categories.Category.Groupoid.Properties {o ℓ e} (G : Groupoid o ℓ e) where
import Categories.Morphism as Morphism
import Categories.Morphism.Properties as MorphismProps
import Categories.Morphism.Reasoning as MR
open Groupoid G
open M... | {
"alphanum_fraction": 0.5741444867,
"avg_line_length": 25.6585365854,
"ext": "agda",
"hexsha": "f006270987ba92409fdc10e6f8aa59910de63256",
"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... |
module examplesPaperJFP.Coalgebra where
open import Size
F : Set → Set
mapF : ∀{A B} (f : A → B) → (F A → F B)
--- Dummy implementation to satisfy Agda's positivity checker.
F X = X
mapF f x = f x
S : Set
t : S → F S
data S′ : Set where
S = S′
t x = x
record νF : Set where
coinductive
fie... | {
"alphanum_fraction": 0.5741935484,
"avg_line_length": 16.0344827586,
"ext": "agda",
"hexsha": "ec139514fbf0f35f9a785166b16ebd6c79012761",
"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... |
------------------------------------------------------------------------
-- Semantics
------------------------------------------------------------------------
module RecursiveTypes.Semantics where
open import Codata.Musical.Notation
open import RecursiveTypes.Syntax
open import RecursiveTypes.Substitution
-- The se... | {
"alphanum_fraction": 0.4027072758,
"avg_line_length": 26.8636363636,
"ext": "agda",
"hexsha": "453e0ee061a5fd279d4670e3e7966d8a392cf885",
"lang": "Agda",
"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 iff-erasure where
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Data.Empty using (⊥-elim)
-- open import plfa.part1.Isomorphism using (_⇔_)
open import decidable using (Dec; yes; no; Bool; true; false; ⌊_⌋)
-- 同値 (equivalence)
record _⇔_ (A B : Set) : Set where
field
to ... | {
"alphanum_fraction": 0.5841121495,
"avg_line_length": 30.5714285714,
"ext": "agda",
"hexsha": "dc0de19c50f032120db07b68521152fa0acb2df5",
"lang": "Agda",
"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 Inductive Version of James Construction
This file contains:
- An inductive family 𝕁, and its direct colimit is equivalence to James;
(KANG Rongji, Feb. 2022)
- The family 𝕁 can be iteratively constructed as pushouts;
- Special cases of 𝕁 n for n = 0, 1 and 2;
- Connectivity of inclusion maps.
T... | {
"alphanum_fraction": 0.6710325921,
"avg_line_length": 26.6910569106,
"ext": "agda",
"hexsha": "f9ff07564f28547aa827f396f8873daa18e78c2b",
"lang": "Agda",
"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 #-}
open import Agda.Builtin.Cubical.Path
open import Agda.Primitive
open import Agda.Primitive.Cubical
variable
a p : Level
A : Set a
P : A → Set p
eq₁ u v x y : A
refl : x ≡ x
refl {x = x} = λ _ → x
subst : (P : A → Set p) → x ≡ y → P x → P y
subst P x≡y p... | {
"alphanum_fraction": 0.532247557,
"avg_line_length": 20.1973684211,
"ext": "agda",
"hexsha": "ca27958e19d635f165b71b99f10eaea56c5c4050",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03... |
module _ where
postulate
C : Set → Set
A : Set
i : C A
foo : {X : Set} {{_ : C X}} → X
bar : A
bar = let instance z = i in foo
| {
"alphanum_fraction": 0.5144927536,
"avg_line_length": 11.5,
"ext": "agda",
"hexsha": "1a59a4035e2e7c576ce6ac5cc7788cb01c99ead6",
"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... |
-- By default both sized types and constructor-based guardedness are
-- available.
open import Agda.Builtin.Size
record Stream (A : Set) : Set where
coinductive
field
head : A
tail : Stream A
open Stream
repeat : ∀ {A} → A → Stream A
repeat x .head = x
repeat x .tail = repeat x
record Sized-stream (A :... | {
"alphanum_fraction": 0.6598101266,
"avg_line_length": 19.75,
"ext": "agda",
"hexsha": "86d596115413a7ad68b6105114615537e3860719",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-09-15T14:36:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-09-15T14:36:15... |
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Polynomials.Multivariate.Equiv.Poly0-A where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat renaming (_+_ to _+n_; _·_ to _·n_)
open import Cubical.Data.Vec
open import Cub... | {
"alphanum_fraction": 0.5144840072,
"avg_line_length": 32.8118811881,
"ext": "agda",
"hexsha": "86bd3e98ea35b7119f2590cb1d79950be726eea0",
"lang": "Agda",
"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.Relation.Everything where
open import Cubical.Relation.Nullary public
open import Cubical.Relation.Nullary.DecidableEq public
open import Cubical.Relation.Binary public
| {
"alphanum_fraction": 0.8165137615,
"avg_line_length": 31.1428571429,
"ext": "agda",
"hexsha": "2ad6206b9ba3548ec34d3667d5da20b44a19d25a",
"lang": "Agda",
"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 Issue2229Base public
| {
"alphanum_fraction": 0.8787878788,
"avg_line_length": 16.5,
"ext": "agda",
"hexsha": "97d04c20282ebf3b0c9bd388ed07d953ae744289",
"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... |
-- Andreas, 2019-08-08, issue #3962 reported (+ test case) by guillaumebrunerie
-- Don't lex "{{" as instance braces if followed by "-", as this will confuse Emacs.
-- Rather lex "{{-" as "{" "{-".
postulate
A : Set
f : {{_ : A}} → Set
-x : A
B : Set
B = f {{-x}}
C : Set
C = ?
-- WAS: passes parser but confu... | {
"alphanum_fraction": 0.6100478469,
"avg_line_length": 20.9,
"ext": "agda",
"hexsha": "7bec100e6111b7b9fb47e426604452133736f808",
"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... |
module Numeral.Finite.Oper.Comparisons where
import Lvl
open import Data.Boolean
import Data.Boolean.Operators
open Data.Boolean.Operators.Programming
open import Functional
open import Numeral.Finite
open import Numeral.Sign
-- Compare
_⋚?_ : ∀{a b} → 𝕟(a) → 𝕟(b) → (−|0|+)
𝟎 ⋚? 𝟎 = 𝟎
𝟎 ... | {
"alphanum_fraction": 0.5337763012,
"avg_line_length": 22.0243902439,
"ext": "agda",
"hexsha": "4bd709efb9d55ffb7d305e7561d897a7530e2f1d",
"lang": "Agda",
"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 Universe.Utility.General where
open import lib.Basics
open import lib.NType2
open import lib.types.Nat hiding (_+_)
open import lib.types.Pi
open import lib.types.Sigma
open import lib.types.Unit
-- A readable notation for the join of universe levels.
infixr 8 _⊔_
_⊔_ : ULevel →... | {
"alphanum_fraction": 0.498981209,
"avg_line_length": 38.4086956522,
"ext": "agda",
"hexsha": "6c1f5e74f7cd5a40e315d1c66a55688a91bb43a2",
"lang": "Agda",
"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 Data.ByteString.Utf8 where
open import Data.ByteString.Primitive
open import Data.String using (String)
{-# FOREIGN GHC import qualified Data.ByteString #-}
{-# FOREIGN GHC import qualified Data.Text.Encoding #-}
postulate
packStrict : String → ByteStringStrict
unpackStrict : ByteStringStrict → String
{-# ... | {
"alphanum_fraction": 0.76,
"avg_line_length": 30,
"ext": "agda",
"hexsha": "1b0e4088d9e5974fb6991f0ba53f1b4159db40b1",
"lang": "Agda",
"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": "98a53f35fca... |
--------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
{-# OPTIONS --sized-types --guardedness #-}
open import Agda.Builtin.Equality
open import Data.Product
open import Data.Sum
open import Data.Empty
open import Data.Unit
open import Level
open imp... | {
"alphanum_fraction": 0.449943757,
"avg_line_length": 38.652173913,
"ext": "agda",
"hexsha": "591036d28bc6a8ae63745919444a7426ac8c1b10",
"lang": "Agda",
"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... |
?bug : Set
?bug = ?
-- Andreas, 2014-04-16
-- Issue 1104 reported by Fabien Renaud.
-- Emacs mode got confused by identifiers containing --
-- Problem: {!!} is not turned into hole
bug-- : Set
bug-- = ?
another : Set
another = (-- Senfgurke ?
{!!})-- Noch eine Senfgurke ?
_:--_ : Set → Set → Set
_:--_ =... | {
"alphanum_fraction": 0.5314009662,
"avg_line_length": 16.56,
"ext": "agda",
"hexsha": "349dd4c4e896a1cc1416edba1cd2bc6e7fe40a83",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:... |
{-# OPTIONS --without-K #-}
module hott.topology.loopspace where
open import hott.core
open import hott.types
open import hott.functions
-- The pointed loop space
Ω∙ : ∀{ℓ} → Type● ℓ → Type● ℓ
Ω∙ (A , a) = (a ≡ a , refl)
-- The loops space. It is obtained by suppressing the base point of
-- the corresponding poin... | {
"alphanum_fraction": 0.5171641791,
"avg_line_length": 24.3636363636,
"ext": "agda",
"hexsha": "a91421817c975e3091319a1cf787a1158afd98f4",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Foundations.HLevels
module Cubical.Algebra.Group.Construct.Free {ℓ} (Aˢ : hSet ℓ) where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Unival... | {
"alphanum_fraction": 0.586490939,
"avg_line_length": 41.8620689655,
"ext": "agda",
"hexsha": "bb51c05f773434a3b1ba4787231ae823938f0c4e",
"lang": "Agda",
"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 n2o.Network.Http where
| {
"alphanum_fraction": 0.6724137931,
"avg_line_length": 14.5,
"ext": "agda",
"hexsha": "c791c811edc3e703e7adcc7300320334434ebe23",
"lang": "Agda",
"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": "d... |
{-
This second-order term syntax was created from the following second-order syntax description:
syntax PDiff | PD
type
* : 0-ary
term
zero : * | 𝟘
add : * * -> * | _⊕_ l20
one : * | 𝟙
mult : * * -> * | _⊗_ l20
neg : * -> * | ⊖_ r50
pd : *.* * -> * | ∂_∣_
theory
(𝟘U⊕ᴸ) a |> add... | {
"alphanum_fraction": 0.4719056189,
"avg_line_length": 28.9075144509,
"ext": "agda",
"hexsha": "55172e0dea10c5b0ce79e05b26637c0486a31c92",
"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... |
module TruthValue where
open import OscarPrelude
record TruthValue : Set
where
constructor ⟨_⟩
field
truthValue : Bool
open TruthValue public
| {
"alphanum_fraction": 0.7612903226,
"avg_line_length": 11.9230769231,
"ext": "agda",
"hexsha": "0984b4e9c072cffcba02c12dc431d405e10eed46",
"lang": "Agda",
"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 Base.Free.Instance.Identity.Properties where
open import Relation.Binary.PropositionalEquality using (refl; cong)
open import Base.Free using (Free; pure; impure)
open import Base.Free.Instance.Identity renaming (Identity to IdentityF)
open impo... | {
"alphanum_fraction": 0.6649145861,
"avg_line_length": 36.2380952381,
"ext": "agda",
"hexsha": "d6e3a5ce91bb1ede6182dcbc7febbd3a350080ce",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-05-14T07:48:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-04-08T... |
module Nats.Multiply.Comm where
open import Nats
open import Equality
open import Function
open import Nats.Add.Comm
open import Nats.Add.Assoc
------------------------------------------------------------------------
-- internal stuffs
private
a*0=0*a : ∀ a → a * 0 ≡ 0
a*0=0*a zero = refl
a*0=0*a (suc a) ... | {
"alphanum_fraction": 0.4258271078,
"avg_line_length": 22.8536585366,
"ext": "agda",
"hexsha": "1ffd22b0948c2d4b391f0d333c8dd5b8454aab63",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
postulate
A : →.B
| {
"alphanum_fraction": 0.55,
"avg_line_length": 6.6666666667,
"ext": "agda",
"hexsha": "8a4f979e346512025d11574e2e7e2857c479f859",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0... |
{-# OPTIONS --without-K --exact-split #-}
module 13-propositional-truncation where
import 12-function-extensionality
open 12-function-extensionality public
-- Section 13 Propositional truncations, the image of a map, and the replacement axiom
-------------------------------------------------------------------------... | {
"alphanum_fraction": 0.57550514,
"avg_line_length": 35.6524486572,
"ext": "agda",
"hexsha": "eae63b547b7b94060df54ce0de65a362f4d2da1a",
"lang": "Agda",
"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 --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Structures where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels using (isSetΣ)
open import Cubical.Data.Sigma
open import Cubical.Categories.Category
_∋_ : ∀ {ℓ} ... | {
"alphanum_fraction": 0.5432038835,
"avg_line_length": 46.8181818182,
"ext": "agda",
"hexsha": "45de89b9b4fd55d453b9b0511517760272c238dc",
"lang": "Agda",
"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
--
-- The reader monad
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Level
module Category.Monad.Reader {r} (R : Set r) (a : Level) where
op... | {
"alphanum_fraction": 0.5874125874,
"avg_line_length": 30.947761194,
"ext": "agda",
"hexsha": "4863cd29b90192ff4f337e39dfff2c177d384f23",
"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-04T0... |
module Data.Real.Diff where
open import Level using (0ℓ)
import Data.Real as ℝ
open ℝ using (ℝ)
open import Data.Real.Properties
import Data.Nat as ℕ
open ℕ using (ℕ; suc; zero; _⊓_; _⊔_)
open import Data.Unit.Polymorphic using (tt; ⊤)
open import Data.Product using (_×_; _,_; proj₁; proj₂)
open import Function usi... | {
"alphanum_fraction": 0.5231910946,
"avg_line_length": 25.0697674419,
"ext": "agda",
"hexsha": "cffe8231f2eb0175c3aa95a14ba4155ffa6cac89",
"lang": "Agda",
"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... |
------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Sets of variables
------------------------------------------------------------------------
module Base.Syntax.Vars
(Type : Set)
where
-- The notion of sets of variables
--
-- This module is calculus-indepen... | {
"alphanum_fraction": 0.574137931,
"avg_line_length": 22.7450980392,
"ext": "agda",
"hexsha": "571675b7d1578c9a001465d0f31e546ca498773f",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-02-18T12:26:44.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-02-18T1... |
{-# OPTIONS --cubical --safe #-}
module Inspect where
open import Level
open import Path
record Reveal_·_is_ {A : Type a} {B : A → Type b} (f : (x : A) → B x) (x : A) (y : B x) : Type b where
constructor 〖_〗
field eq : f x ≡ y
inspect : {A : Type a} {B : A → Type b} (f : (x : A) → B x) (x : A) → Reveal f · x is... | {
"alphanum_fraction": 0.5431034483,
"avg_line_length": 24.8571428571,
"ext": "agda",
"hexsha": "9c088419259300c94bbccafc6126d24bf330c10b",
"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... |
open import Prelude
module Implicits.Resolution.Deterministic.Expressiveness where
open import Data.Fin.Substitution
open import Implicits.Syntax
open import Implicits.Syntax.Type.Unification
open import Implicits.Resolution.Ambiguous.Resolution as A
open import Implicits.Resolution.Deterministic.Resolution as D
open... | {
"alphanum_fraction": 0.6916201117,
"avg_line_length": 35.8,
"ext": "agda",
"hexsha": "f9a62c1ccd0d1d62f27ab06a5e06a85e8f60fcf7",
"lang": "Agda",
"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 --universe-polymorphism #-}
open import Common.Prelude
renaming (Nat to ℕ; module Nat to ℕ)
using (zero; suc; _+_; _∸_; List; []; _∷_; Bool; true; false)
open import Common.Level
open import Common.Reflect
module TermSplicing where
module Library where
data Box {a} (A : Set a) : Set a where
box... | {
"alphanum_fraction": 0.5149066288,
"avg_line_length": 25.1565934066,
"ext": "agda",
"hexsha": "5af90d04535ddc4c03d239baa68cf56420ccd66d",
"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 BHeap {A : Set}(_≤_ : A → A → Set) where
open import Bound.Lower A
open import Bound.Lower.Order _≤_
open import BTree {A} hiding (flatten)
open import Data.Nat hiding (_≤_)
open import Data.List
open import Data.Sum renaming (_⊎_ to _∨_)
open import Relation.Binary
open import Relation.Binary.Core
open import ... | {
"alphanum_fraction": 0.5619777159,
"avg_line_length": 28.72,
"ext": "agda",
"hexsha": "e66d700fbe4517caacb7a6a7f9180375cd0f0fa9",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "... |
open import SingleSorted.AlgebraicTheory
import SingleSorted.Interpretation as Interpretation
import SingleSorted.SyntacticCategory as SyntacticCategory
import SingleSorted.Substitution as Substitution
module SingleSorted.UniversalInterpretation
{ℓt}
{Σ : Signature}
(T : Theory ℓt Σ) where
open Theory T
o... | {
"alphanum_fraction": 0.7167947311,
"avg_line_length": 28.46875,
"ext": "agda",
"hexsha": "a4e20eadc1ed1e71440100a3193bedc1248b4819",
"lang": "Agda",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-05-24T02:51:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-16T13:43... |
open import Agda.Builtin.Unit
open import Agda.Builtin.Nat
open import Agda.Builtin.List
open import Agda.Builtin.Reflection renaming (bindTC to _>>=_)
open import Agda.Builtin.Equality
macro
macro₁ : Term -> TC ⊤
macro₁ goal = do
u ← quoteTC ((1 + 2) - 3)
u' ← onlyReduceDefs (quote _+_ ∷ []) (normalise... | {
"alphanum_fraction": 0.5736095965,
"avg_line_length": 27.7878787879,
"ext": "agda",
"hexsha": "6f8232595e4aac1fb9e4c880685712f10e124b2c",
"lang": "Agda",
"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
--
-- Homomorphism proofs for variables and constants over polynomials
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Tactic.RingSolver.Core.Po... | {
"alphanum_fraction": 0.5377113134,
"avg_line_length": 40.4736842105,
"ext": "agda",
"hexsha": "d57760c0e3271033cc6e0d793f90b03cd6b1c5d6",
"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... |
{-
Holey congruence for propositional equality.
-}
module Holes.Cong.Propositional where
open import Holes.Prelude
open PropEq using (_≡_; refl; cong; sym; trans)
import Holes.Cong.General as Cong
open Cong (quote cong) (quote sym) public
using (cong!)
| {
"alphanum_fraction": 0.7471264368,
"avg_line_length": 16.3125,
"ext": "agda",
"hexsha": "8364473c0d9fad35283eef29c36befae6341960d",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-02T18:57:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-01-27T14:57:... |
data N : Set where
suc : N → N
data Val : N → Set where
valSuc : ∀ n → Val (suc n)
record R : Set where
constructor wrap
field unwrap : N
data W (ft : R) : Set where
immed : (v : Val (R.unwrap ft)) → W ft
test : (fa : R) → W fa → R
test fa (immed (valSuc a)) = fa
postulate
Evaluate : ∀ (ft : R) (P : (... | {
"alphanum_fraction": 0.5596529284,
"avg_line_length": 17.7307692308,
"ext": "agda",
"hexsha": "2dd8ef7514bb6f07c69c7dd5477eebe9bcf23931",
"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 Operations.Combinatorial where
open import Data.Bool using (true; false)
import Data.Bool as B
import Data.Fin as F
open import Data.Nat using (ℕ; suc)
open import Data.Vec using ([]; _∷_)
import Data.Vec as V
open import Relation.Binary.PropositionalEquality
open import Types
open import Ev... | {
"alphanum_fraction": 0.5629453682,
"avg_line_length": 35.0833333333,
"ext": "agda",
"hexsha": "9f9460b93c9eff2ed7ff923d4fea33406862e0bf",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Group.Base where
open import Cubical.Homotopy.Loopspace
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.Foundations.Pointed.Homogeneous
open import Cubical.Foundations.HLevels
open impor... | {
"alphanum_fraction": 0.4919077828,
"avg_line_length": 39.2648845687,
"ext": "agda",
"hexsha": "59acba7fb6ecc3e765d53289af78af1da5f630de",
"lang": "Agda",
"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 --sized-types #-} -- no longer necessary
-- {-# OPTIONS --termination-depth=2 #-} -- no longer necessary
-- {-# OPTIONS -v term:10 #-}
module SizedBTree where
open import Common.Size
module Old where
data BTree (A : Set) : {size : Size} → Set where
leaf :... | {
"alphanum_fraction": 0.5446032528,
"avg_line_length": 30.2835820896,
"ext": "agda",
"hexsha": "33c2437ca04d46f0b8bac49cf9c487e35f2dab8f",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T... |
{-# OPTIONS --safe #-}
open import Relation.Ternary.Separation
module Relation.Ternary.Separation.Allstar
{i} {I : Set i}
{c} {C : Set c} {{rc : RawSep C}} {u} {{sc : IsUnitalSep rc u}}
where
open import Level
open import Data.Product
open import Data.List hiding (concat)
open import Relation.Unary
{- Inductiv... | {
"alphanum_fraction": 0.5521945433,
"avg_line_length": 34.4081632653,
"ext": "agda",
"hexsha": "94569716c002a931408b5dc86ba3eed617a21487",
"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-30T... |
------------------------------------------------------------------------------
-- Testing the translation of 11-ary predicates symbols
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-un... | {
"alphanum_fraction": 0.3941176471,
"avg_line_length": 34,
"ext": "agda",
"hexsha": "b071e50b5eaaff022b1347da80d352e507e2ef85",
"lang": "Agda",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-03T03:54:55.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-05-10T23:06:19.00... |
-- The bug documented below was exposed by the fix to issue 274.
{-# OPTIONS --universe-polymorphism #-}
module Issue274 where
postulate
Level : Set
zero : Level
suc : Level → Level
_⊔_ : Level → Level → Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO zero #-}
{-# BUILTIN LEVELSUC suc #-}
{... | {
"alphanum_fraction": 0.6088379705,
"avg_line_length": 16.9722222222,
"ext": "agda",
"hexsha": "086429d7241f3c52cfa4ea4aa259cc0c67f60cf4",
"lang": "Agda",
"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 HoTT
open import cohomology.ChainComplex
open import cohomology.Theory
open import groups.KernelImage
open import cw.CW
module cw.cohomology.ReconstructedFirstCohomologyGroup {i : ULevel} (OT : OrdinaryTheory i) where
open OrdinaryTheory OT
import cw.cohomology... | {
"alphanum_fraction": 0.6142212789,
"avg_line_length": 46.5308641975,
"ext": "agda",
"hexsha": "a1f5899de0b40d5eca96a559c5c78db707816c32",
"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 --without-K #-}
open import Base
open import Homotopy.Pointed
open import Homotopy.Connected
module Homotopy.Cover.HomotopyGroupSetIsomorphism {i}
(A⋆ : pType i) (A⋆-is-conn : is-connected⋆ ⟨0⟩ A⋆) where
open pType A⋆ renaming (∣_∣ to A ; ⋆ to a)
open import Algebra.Groups
open import Homotopy.Tr... | {
"alphanum_fraction": 0.5290192535,
"avg_line_length": 38.7789757412,
"ext": "agda",
"hexsha": "50484ce9839918f2ca9188e117888151749a176d",
"lang": "Agda",
"max_forks_count": 50,
"max_forks_repo_forks_event_max_datetime": "2022-02-14T03:03:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-10... |
{-# OPTIONS --safe #-}
module Cubical.HITs.Susp.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Path
open import Cubical.Foundations.Pointed
open import Cub... | {
"alphanum_fraction": 0.5272900158,
"avg_line_length": 43.4573002755,
"ext": "agda",
"hexsha": "f510599c11747e4d0a96f2009ee4a7d1d0c092bb",
"lang": "Agda",
"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... |
-- With functions are now inlined before termination checking.
module Issue59 where
open import Common.Prelude
open import Common.Equality
module Order (A : Set) (_≤_ : A → A → Bool) where
-- This now termination checks.
merge : List A → List A → List A
merge [] ys = ys
merge xs [] = xs
merge (x ∷ xs) (y ∷... | {
"alphanum_fraction": 0.5949868074,
"avg_line_length": 30.9387755102,
"ext": "agda",
"hexsha": "eba9c20436f17700dc9efbd568b4e783bb72972f",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T... |
{-# OPTIONS --without-K #-}
{-
Favonia: I was trying to generalize OneSkeleton but failed
to achieve what I wanted. Nicolai then told me this HIT
which is suitable for the constancy lemma I was looking for.
This construction should be attributed to Paolo Capriotti
and Nicolai Kraus. [1]
[1] Eliminating ... | {
"alphanum_fraction": 0.5379123584,
"avg_line_length": 31.488372093,
"ext": "agda",
"hexsha": "2be56f33fdae85be8174e1786ac181a4cc719fda",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hex... |
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.Strict2Group.Explicit.Interface where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Group.Base
open import Cubical.Data.Sigma
open import Cubical.Data.Strict2Group.Explicit.Base
open import Cubical.Data.Strict2Group.Explicit.Notation
module S2G... | {
"alphanum_fraction": 0.5068625868,
"avg_line_length": 39.9548387097,
"ext": "agda",
"hexsha": "c0c9fe57fcde8c9398a4e26799b814412de2d04b",
"lang": "Agda",
"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 FRP.LTL.ISet.Core using ( ISet ; ⌈_⌉ ; ⌊_⌋ )
open import FRP.LTL.RSet using ( RSet )
open import FRP.LTL.Time using ( Time ; _≤_ )
module FRP.LTL.ISet.Future where
data Future (A : RSet) (t : Time) : Set where
_,_ : ∀ {u} .(t≤u : t ≤ u) → A u → Future A t
◇ : ISet → ISet
◇ A = ⌈ Future ⌊ A ⌋ ⌉ | {
"alphanum_fraction": 0.5884244373,
"avg_line_length": 28.2727272727,
"ext": "agda",
"hexsha": "c2bb1fb65f7923aaa7d5a017bd38fef06ba2c24a",
"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-01T... |
module WarningOnUsage2 where
open import WarningOnUsage
λx→x₂ = λx→x
| {
"alphanum_fraction": 0.8028169014,
"avg_line_length": 11.8333333333,
"ext": "agda",
"hexsha": "ebf3997f9e1afc01459ae595488815c8b0fa3b37",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NConnected
open import lib.NType2
open import lib.types.FunctionSeq
open import lib.types.Span
open import lib.types.Pointed
open import lib.types.Pushout
open import lib.types.PushoutFlip
open import lib.types.PushoutFmap
open import lib.t... | {
"alphanum_fraction": 0.5152399232,
"avg_line_length": 30.86492891,
"ext": "agda",
"hexsha": "f667ef5449a7148b8dda6f0dd27739fb78ab7b51",
"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-10T0... |
-- Type interpretation and soundness of typing.
-- Proof of strong normalization for well-typed terms.
module Soundness where
open import Library
open import Terms
open import Substitution
open import SN
open import SN.AntiRename
open import DeclSN using (sn; fromSN)
open import SAT3
-- Type interpretation
⟦_⟧ : (... | {
"alphanum_fraction": 0.4861678005,
"avg_line_length": 26.8902439024,
"ext": "agda",
"hexsha": "36243774e22a30d7c6b90f02c705e33eadbe8f70",
"lang": "Agda",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2018-02-23T18:22:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-10T... |
{-# OPTIONS --safe #-}
module Cubical.Homotopy.Hopf where
open import Cubical.Homotopy.HSpace
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Transport
open import Cubical.Foundations.Function
open import Cubical.Foundations.Pointed
open import Cubical.F... | {
"alphanum_fraction": 0.49864682,
"avg_line_length": 41.9290780142,
"ext": "agda",
"hexsha": "0f07a73101c61c0b9376401352392ad5a209f705",
"lang": "Agda",
"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... |
{- Voevodsky's proof that univalence implies funext -}
{-# OPTIONS --cubical --safe #-}
module Cubical.Experiments.FunExtFromUA where
open import Cubical.Core.Everything
open import Cubical.Foundations.Everything
variable
ℓ ℓ' : Level
_∼_ : {X : Type ℓ} {A : X → Type ℓ'} → (f g : (x : X) → A x) → Type (ℓ-max ℓ ℓ')... | {
"alphanum_fraction": 0.4324675325,
"avg_line_length": 25.0406504065,
"ext": "agda",
"hexsha": "2c392b56090230882388bd95e474c6fbbdca4078",
"lang": "Agda",
"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 #-}
module _ where
-- Test case by Ulf Norell, 16/09/2020
open import Agda.Primitive.Cubical renaming (primIMin to _∧_)
open import Agda.Builtin.Cubical.Path using (_≡_)
data Nat : Set where
zero : Nat
suc : Nat → Nat
record Pos : Set where
constructor 1+_
field unpos : Nat
open P... | {
"alphanum_fraction": 0.5548654244,
"avg_line_length": 21.9545454545,
"ext": "agda",
"hexsha": "61ed1704063efe3a2d8dc4c4903d6dac2b123560",
"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... |
------------------------------------------------------------------------
-- Inductively defined beta-eta-equality
------------------------------------------------------------------------
import Level
open import Data.Universe
module README.DependentlyTyped.Beta-Eta
(Uni₀ : Universe Level.zero Level.zero)
where
o... | {
"alphanum_fraction": 0.4549805564,
"avg_line_length": 32.4563106796,
"ext": "agda",
"hexsha": "0eec7714b88dadab59a8e2765e52433deac23f25",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
-- Andreas, 2012-10-19 issue #719 blame correct module
-- Andreas, 2017-07-28 point to correct binding site ("as A")
module Issue719 where
import Common.Size as A
module M where
private open module A = M
-- WAS:
-- Duplicate definition of module A. Previous definition of module A
-- at .../Common/Size.agda:7,... | {
"alphanum_fraction": 0.7079646018,
"avg_line_length": 25.6818181818,
"ext": "agda",
"hexsha": "5313daf287421852a4335b278e43b718474178a2",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T... |
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core using (Category)
module Categories.Diagram.Coequalizer {o ℓ e} (𝒞 : Category o ℓ e) where
open Category 𝒞
open HomReasoning
open Equiv
open import Categories.Morphism 𝒞
open import Categories.Morphism.Reasoning 𝒞
open import Level
open imp... | {
"alphanum_fraction": 0.6140089419,
"avg_line_length": 33.8888888889,
"ext": "agda",
"hexsha": "fe7161ba8ea84e59d5a849592fb1cc859481e079",
"lang": "Agda",
"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 Numeral.Natural.Relation.Order.Proofs where
import Lvl
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Functional
open import Logic
open import Logic.Propositional
open import Logic.Propositional.Theorems
open import Logic.Predicate
open import Numeral.Natural
open import Numeral.Natural.Oper
open... | {
"alphanum_fraction": 0.5120604475,
"avg_line_length": 36.5092838196,
"ext": "agda",
"hexsha": "6cbf217dc44fcd80a9bbfbb074eb9473d06b5251",
"lang": "Agda",
"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, 2014-05-17
open import Common.Prelude
open import Common.Equality
postulate
bla : ∀ x → x ≡ zero
P : Nat → Set
p : P zero
f : ∀ x → P x
f x rewrite bla {!!} = {!!}
-- Expected: two interaction points!
| {
"alphanum_fraction": 0.6035242291,
"avg_line_length": 15.1333333333,
"ext": "agda",
"hexsha": "5ade8e711d6cc461ed2b0b14db41626745f74212",
"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, 2018-11-03, issue #3364
-- Andreas, 2019-02-23, issue #3457
--
-- Better error when trying to import with new qualified module name.
open import Agda.Builtin.Nat as Builtin.Nat
-- WAS: Error:
-- Not in scope:
-- as at ...
-- when scope checking as
-- NOW: Warning
-- `as' must be followed by an identifi... | {
"alphanum_fraction": 0.7227848101,
"avg_line_length": 27.2413793103,
"ext": "agda",
"hexsha": "1d01f2afaf8e4126adb42c23bf7c6e9907f4b600",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-01T18:30:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-01T... |
module _ where
record Semiring (A : Set) : Set where
infixl 6 _+_
field _+_ : A → A → A
open Semiring {{...}} public
infix 4 _≡_
postulate
Nat Bool : Set
_≡_ : Nat → Nat → Set
refl : ∀ {x} → x ≡ x
to : ∀ {x} (y : Nat) → x ≡ y
trans : {x y z : Nat} → x ≡ y → y ≡ z → x ≡ z
instance _ : Semiri... | {
"alphanum_fraction": 0.5335892514,
"avg_line_length": 19.2962962963,
"ext": "agda",
"hexsha": "58725d4f9890f4b78f31775b97f57cfcc8e9d5e3",
"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 Text.Greek.SBLGNT.Col where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΠΡΟΣ-ΚΟΛΟΣΣΑΕΙΣ : List (Word)
ΠΡΟΣ-ΚΟΛΟΣΣΑΕΙΣ =
word (Π ∷ α ∷ ῦ ∷ ∙λ ∷ ο ∷ ς ∷ []) "Col.1.1"
∷ word (ἀ ∷ π ∷ ό ∷ σ ∷ τ ∷ ο ∷ ∙λ ∷ ο ∷ ς ∷ []) "Col.1.1"
∷ wo... | {
"alphanum_fraction": 0.3288091068,
"avg_line_length": 44.5028284098,
"ext": "agda",
"hexsha": "445e816fddbc295037fcece8bdb747c0629c774b",
"lang": "Agda",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2017-06-11T11:25:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-27T... |
module ExCoinduction where
open import Coinduction
open import Relation.Binary.PropositionalEquality
open import Data.Stream
open import Data.Nat
open import Data.Bool
data Loc : Set where
A : Loc
DONE : Loc
record Values : Set where
field
x : ℕ
δ : ℕ
k : ℕ
data _Π_ (A B : Set) : Set where
<_,_> ... | {
"alphanum_fraction": 0.5220500596,
"avg_line_length": 23.6338028169,
"ext": "agda",
"hexsha": "15280562c454e976bc277819bd378f6f9431ad8f",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.Relation
module lib.types.SetQuotient where
module _ {i} {A : Type i} {j} where
private
data #SetQuotient-aux (R : Rel A j) : Type i where
#q[_] : A → #SetQuotient-aux R
data #SetQuotient (R : Rel A j) : Type i where
#setquot... | {
"alphanum_fraction": 0.5371997657,
"avg_line_length": 28.45,
"ext": "agda",
"hexsha": "bdabf3908744a83ca10e0d51b36020f9b0f18322",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "... |
-- Andreas, 2020-02-15
-- Test case by Jesper to prevent regressions when fixing #3541.
-- Jesper, 2019-09-12: The fix of #3541 introduced a regression: the
-- index of the equality type is treated as a positive argument.
postulate X : Set
module EqualityAsPredicate where
data _≡_ (A : Set) : Set → Set where
... | {
"alphanum_fraction": 0.6240487062,
"avg_line_length": 19.3235294118,
"ext": "agda",
"hexsha": "e55ec5f9ae60ead8faf012f85bbcb5abdf88576a",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.NaturalTransformation.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Univalence
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism renaming (iso to iIso)
open import... | {
"alphanum_fraction": 0.5106723586,
"avg_line_length": 38.2448979592,
"ext": "agda",
"hexsha": "4e7c3054a64d174234ebb351939ae8adbd67e814",
"lang": "Agda",
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.