Search is not available for this dataset
text string | meta dict |
|---|---|
open import Relation.Binary.Core
module TreeSort.Impl2.Correctness.Permutation {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_) where
open import BBSTree _≤_
open import Bound.Total A
open import Bound.Total.Order _≤_
open import Data.List
open import Data.Sum
open import List.P... | {
"alphanum_fraction": 0.6183574879,
"avg_line_length": 34.5,
"ext": "agda",
"hexsha": "4373215c7d7e482dce204a26d5b86ec73f0552bd",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "b... |
-- Jesper, 2017-01-24: if we allow a variable to be instantiated with a value
-- of a supertype, the resulting dot pattern won't be type-correct.
open import Common.Size
data D (i : Size) : (j : Size< ↑ i) → Set where
c : ∀ (j : Size< ↑ i) (k : Size< ↑ j)
→ D i j
→ D j k
→ D i k
split : ∀ i ... | {
"alphanum_fraction": 0.5505376344,
"avg_line_length": 24.4736842105,
"ext": "agda",
"hexsha": "768397b9ef43120a924572c9b7ea17073b23b7ab",
"lang": "Agda",
"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 homotopy.EilenbergMacLane
module cohomology.CupProduct.OnEM.InLowDegrees2 {i} {j} (G : AbGroup i) (H : AbGroup j) where
private
module G = AbGroup G
module H = AbGroup H
module G⊗H = TensorProduct G H
open EMExplicit G⊗H.abgroup
open import ... | {
"alphanum_fraction": 0.6383467279,
"avg_line_length": 26.3939393939,
"ext": "agda",
"hexsha": "0b61e755fb073c8d03f1e6bf92ce9b305a5dd2ae",
"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... |
------------------------------------------------------------------------------
-- Axiomatic PA propositional equality
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphi... | {
"alphanum_fraction": 0.4080100125,
"avg_line_length": 31.96,
"ext": "agda",
"hexsha": "bae651150ee34346558accb95fd2065da5988999",
"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 Numeral.Natural.Oper.Proofs where
import Lvl
open import Functional
open import Logic
open import Logic.Propositional
open import Logic.Predicate
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Numeral.Natural.Induction
open import Relator.Equals
open import Relator.Equals.Proofs
open i... | {
"alphanum_fraction": 0.473231228,
"avg_line_length": 40.4273972603,
"ext": "agda",
"hexsha": "118ae9240b278078f3c9d52327002aca08e96c0a",
"lang": "Agda",
"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
--
-- The basic code for equational reasoning with a single relation
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Rel... | {
"alphanum_fraction": 0.5563853622,
"avg_line_length": 28.4893617021,
"ext": "agda",
"hexsha": "6b38b3fd865dc721595e01cd7bc8490a150efa30",
"lang": "Agda",
"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 PatternSynonymUnderapplied where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
pattern suc' x = suc x
f : Nat -> Nat
f zero = zero
f suc' = zero | {
"alphanum_fraction": 0.6604938272,
"avg_line_length": 14.7272727273,
"ext": "agda",
"hexsha": "9f763e2d2bde5a7d58a68253374968720162d8ea",
"lang": "Agda",
"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 #-}
-- Normalization by Evaluation for Graded Call-By-Push-Value.
module GradedCBPV where
-- Imports from the Agda standard library.
open import Library hiding (_×̇_)
pattern here! = here refl
open import Data.Nat using (ℕ)
open import Data.Fin using (Fin)
open import ProMonoid as _
-- We... | {
"alphanum_fraction": 0.4329323581,
"avg_line_length": 29.3315602837,
"ext": "agda",
"hexsha": "8dbcc4e8b2ac8d3bdc0d163e8ca77ce803256d69",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-25T20:39:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-11-13T... |
{-# OPTIONS --without-K #-}
module Lecture8 where
import Lecture7
open Lecture7 public
-- Section 8.1 Propositions
is-prop : {i : Level} (A : UU i) → UU i
is-prop A = (x y : A) → is-contr (Id x y)
is-prop-empty : is-prop empty
is-prop-empty ()
is-prop-unit : is-prop unit
is-prop-unit = is-prop-is-contr is-contr-u... | {
"alphanum_fraction": 0.5342828751,
"avg_line_length": 29.8910891089,
"ext": "agda",
"hexsha": "bff45f66b9f888d6dd70f5a037ec022b4b10bde6",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2018-06-25T15:05:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-02-22T... |
module MLib.Fin.Parts.Nat where
open import MLib.Prelude
open import MLib.Fin.Parts.Core
open Nat using (_*_; _+_; _<_)
open Fin using (fromℕ≤)
open Table
module Impl where
tryLookup : ∀ {n} {a} {A : Set a} → A → Table A n → ℕ → A
tryLookup {n = zero} z t _ = z
tryLookup {n = suc n} z t zero = lookup t zero
... | {
"alphanum_fraction": 0.5663244901,
"avg_line_length": 44.6488095238,
"ext": "agda",
"hexsha": "632792cbb1c867dbd4f1be932c682d75b703d6bb",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
Type-of : {A : Set} → A → Set
Type-of {A = A} _ = A
module _ (A : Set) where
Foo : A → Set
Foo a with Type-of a
... | B = B
| {
"alphanum_fraction": 0.4812030075,
"avg_line_length": 13.3,
"ext": "agda",
"hexsha": "164638f2e62b78bf2772904de26e172c8f8fb442",
"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 RecordPatternMatching where
record _×_ (A B : Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B
data Unit : Set where
unit : Unit
foo : Unit × Unit → Unit
foo (x , y) = {!!}
record Box (A : Set) : Set where
constructor [_]
field
proj : A
bar : Box Unit → Unit
bar [ x ] = {!!}
| {
"alphanum_fraction": 0.5875,
"avg_line_length": 14.5454545455,
"ext": "agda",
"hexsha": "44cea86bfe1afcd0df2d6fabd79a62d9d1894008",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:0... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Unary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Unary where
open import Data.Empty
open import Data.Unit.Base using (... | {
"alphanum_fraction": 0.4933458588,
"avg_line_length": 21.432885906,
"ext": "agda",
"hexsha": "ffee3d05c8f60b6cd5d574a4a1d25a78833f83c6",
"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... |
-- Andreas, 2016-06-20, issue #1891
-- Computation of which variables are splittable was wrong
-- in the presence of a where-module.
-- {-# OPTIONS -v interaction.case:20 #-}
data D : Set where
c : D
test : (x : D) → D
test x = {!x!} -- C-c C-c
where
y = c
-- WAS:
-- Splitting on x reports:
-- Not a (split... | {
"alphanum_fraction": 0.5822368421,
"avg_line_length": 17.8823529412,
"ext": "agda",
"hexsha": "79f3b708c3c58065bd8f4e5b35d2aed292c6de13",
"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.Nat using (ℕ; _+_) renaming (_≤?_ to _≤?ₙ_)
open import Data.Bool using (Bool; true; false; not; _∧_)
open import Data.String using (String; _≟_)
open import Data.Sum using (_⊎_; [_,_]′; inj₁; inj₂)
open import Data.Product using (_×_; _,_)
open import Relation.Nullary u... | {
"alphanum_fraction": 0.5121442125,
"avg_line_length": 38.1884057971,
"ext": "agda",
"hexsha": "6e46e639fa05be63634457572b04bcb8e868ef73",
"lang": "Agda",
"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 Category.Monoidal where
open import Category.NatIsomorphism
| {
"alphanum_fraction": 0.8550724638,
"avg_line_length": 13.8,
"ext": "agda",
"hexsha": "5829e96324aa243003201bd3daf8060ad4633971",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "b... |
-- {-# OPTIONS --show-implicit --show-irrelevant #-}
module Data.QuadTree.FoldableProofs.FoldableProof where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Logic
open import Data.QuadTree.Implementation.Definition
open import Data.QuadTree.Implementation.ValidTypes
open import Data.QuadTre... | {
"alphanum_fraction": 0.5472388556,
"avg_line_length": 45.7186311787,
"ext": "agda",
"hexsha": "7ebae150040dc43fd393d85d2fd894e159f27497",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
open import Nat
open import Prelude
open import List
open import contexts
open import core
-- This file is a glorious testament to all of agda's greatest strengths -
-- a beautiful work that will shine brightly throughout the ages and instill
-- hope for the future in many generations to come. May I never use any oth... | {
"alphanum_fraction": 0.4434611954,
"avg_line_length": 45.7924836601,
"ext": "agda",
"hexsha": "fe187abc7030f3df789b52be2381e18e29531a7e",
"lang": "Agda",
"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 --experimental-lossy-unification #-}
module Cubical.ZCohomology.Groups.Wedge where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.GroupStructure
open import Cubical.ZCohomology.Properties
open import Cubical.Foundations.HLevels
open import Cubical.Fo... | {
"alphanum_fraction": 0.4581565099,
"avg_line_length": 48.887966805,
"ext": "agda",
"hexsha": "faf2762465ab794b8a89e1da074568a7ebdc8f9f",
"lang": "Agda",
"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
--
-- Consequences of a monomorphism between group-like structures
------------------------------------------------------------------------
-- See Data.Nat.Binary.Properties for examples of how this and similar
-- mod... | {
"alphanum_fraction": 0.5780445969,
"avg_line_length": 34.7023809524,
"ext": "agda",
"hexsha": "2a29f03dda28b9e09091f8824cbcbf130ecbc679",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-04T06:54:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-04T... |
{-# OPTIONS --without-K --safe #-}
module Loop.Bundles where
open import Algebra.Core
open import Relation.Binary
open import Level
open import Loop.Structures
open import Algebra.Bundles
open import Algebra.Structures
record LeftBolLoop c ℓ : Set (suc (c ⊔ ℓ)) where
field
Carrier : Set c
_≈_ : Rel Ca... | {
"alphanum_fraction": 0.6243093923,
"avg_line_length": 21.9393939394,
"ext": "agda",
"hexsha": "d16e8a77750c9c89f39b03ea7940dbb574d1cb43",
"lang": "Agda",
"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... |
------------------------------------------------------------------------
-- Support for reflection
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module TC-monad
{reflexive} (eq : ∀ {a p} → Equality-with-J a p reflexive) where
impor... | {
"alphanum_fraction": 0.5761472681,
"avg_line_length": 33.5207877462,
"ext": "agda",
"hexsha": "d497ab1f10b91136e2358951df012398a14a0cd6",
"lang": "Agda",
"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 irrelevance axiom
------------------------------------------------------------------------
module Irrelevance where
import Level
------------------------------------------------------------------------
-- ... | {
"alphanum_fraction": 0.4041745731,
"avg_line_length": 25.0952380952,
"ext": "agda",
"hexsha": "2a39b8438068bb189cdc5939e69af36ce76f5c00",
"lang": "Agda",
"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.Bool
test1 : Nat → Nat
test1 zero = 0
test1 (suc zero) = 1
test1 (suc n) = {!n!}
test2 : Nat → Nat → Nat
test2 zero zero = zero
test2 zero (suc y) = y
test2 x y = {!x!}
test3 : Bool → Bool → Bool → Bool
test3 true true true = true
test3 x ... | {
"alphanum_fraction": 0.5717592593,
"avg_line_length": 21.6,
"ext": "agda",
"hexsha": "959ff6fc9507731bfb99c792e85138bde227a65f",
"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... |
-- 2013-12-28 Andreas, issue reported by Christian Sattler
{-# OPTIONS --allow-unsolved-metas #-}
{-# OPTIONS -v tc.cc:15 #-} -- Keep! Debug printing triggered the problem.
record Σ (A : Set) (B : A → Set) : Set where
field
fst : A
snd : B fst
test : {A : Set} → Σ A (λ {_ → A})
test = _
-- This used to tr... | {
"alphanum_fraction": 0.6602112676,
"avg_line_length": 27.0476190476,
"ext": "agda",
"hexsha": "7c406e489f98fd747a292c1c3eb9fed081c5c056",
"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 --universe-polymorphism #-}
module Desc where
--********************************************
-- Prelude
--********************************************
-- Some preliminary stuffs, to avoid relying on the stdlib
--****************
-- Universe polymorphism
--****************
data Level : Set where
z... | {
"alphanum_fraction": 0.4650167688,
"avg_line_length": 30.0243055556,
"ext": "agda",
"hexsha": "5fad120cd4d4473dd5a259268f5b0f4732b37924",
"lang": "Agda",
"max_forks_count": 12,
"max_forks_repo_forks_event_max_datetime": "2022-02-11T01:57:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-08-14... |
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
postulate +-comm : ∀ m n → m + n ≡ n + m
-- Note that the following does not work because
-- p+q is not abstracted over in `+-comm p q` which means
-- Agda gets stuck trying to unify `p + q` and `q + p`
-- Cf. test/Succeed/UsingEq.agda
rew : ∀ m n p q →... | {
"alphanum_fraction": 0.61352657,
"avg_line_length": 29.5714285714,
"ext": "agda",
"hexsha": "7b4b8aeaacb5eed03f0f23e0cacefc89f46998cd",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T... |
{-# OPTIONS --rewriting #-}
postulate _↦_ : ∀ {a} {A : Set a} → A → A → Set
{-# BUILTIN REWRITE _↦_ #-}
open import Agda.Primitive
postulate
mekker : Level → Level → Set
moomoo : Level → Set → Set
rew : (a b : Level) → moomoo (a ⊔ b) (mekker a b) ↦ (Level → Level)
{-# REWRITE rew #-}
works : {a b : Level} → ... | {
"alphanum_fraction": 0.5752808989,
"avg_line_length": 22.25,
"ext": "agda",
"hexsha": "84596e371f3ccf3a4042c291274497e05cdd16b3",
"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... |
{-# OPTIONS --without-K #-}
-- Finite types and paths between them
module FT where
open import Data.Empty
open import Data.Unit
open import Data.Nat
open import Data.Sum
open import Data.Product
infixl 10 _◎_
------------------------------------------------------------------------------
-- Finite types
data FT : ... | {
"alphanum_fraction": 0.4720290293,
"avg_line_length": 29.2654867257,
"ext": "agda",
"hexsha": "e2fdc2500572f1a38eef0504f4819e0d79986ded",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2019-09-10T09:47:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-05-29T... |
module sum where
open import level
open import bool
open import eq
open import maybe
open import product
----------------------------------------------------------------------
-- datatypes
----------------------------------------------------------------------
data _⊎_ {ℓ ℓ'} (A : Set ℓ) (B : Set ℓ') : Set (ℓ ⊔ ℓ') w... | {
"alphanum_fraction": 0.3904333606,
"avg_line_length": 35.9705882353,
"ext": "agda",
"hexsha": "e54d26e2b39a7aca2af5e4094e5074e49937168d",
"lang": "Agda",
"max_forks_count": 17,
"max_forks_repo_forks_event_max_datetime": "2021-11-28T20:13:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-12-03... |
open import Nat
open import Prelude
open import List
open import contexts
open import core
open import lemmas-env
module preservation where
preservation : ∀{⛽ Δ Σ' Γ E e r k τ} →
Δ , Σ' , Γ ⊢ E →
Δ , Σ' , Γ ⊢ e :: τ →
E ⊢ e ⌊ ⛽ ⌋⇒ r ⊣ k →
... | {
"alphanum_fraction": 0.6649916248,
"avg_line_length": 46.8235294118,
"ext": "agda",
"hexsha": "0bafaf7510289f635524659f3a1769538e04448c",
"lang": "Agda",
"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.IO
open import Common.Unit
open import Common.String
open import Common.Nat
record Stream (A : Set) : Set where
coinductive
field
head : A
tail : Stream A
open Stream public
repeat : Stream String
head repeat = "hello"
tail repeat = repeat
lookup : ∀ {A} → Stream A → Nat → A
lookup xs... | {
"alphanum_fraction": 0.6960556845,
"avg_line_length": 17.9583333333,
"ext": "agda",
"hexsha": "ec9c5303688ecb393e1a76cd6e754828e4fa7599",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
-- | An implementation of the Marketoritative PCM
module Relation.Ternary.Separation.Construct.Market where
open import Level hiding (Lift)
open import Data.Product
open import Relation.Unary
open import Relation.Binary hiding (_⇒_)
open import Relation.Binary.PropositionalEquality as P
open import Relation.Ternary.... | {
"alphanum_fraction": 0.5391713092,
"avg_line_length": 35.2392638037,
"ext": "agda",
"hexsha": "caa5d4766e28b6e38ed359557b9a9513a3fe705a",
"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... |
open import FRP.JS.List using ( List ; [] ; _∷_ ; build ) renaming ( length to llength )
open import FRP.JS.Char using ( Char ) renaming ( _<_ to _<C_ ; _≟_ to _≟C_ )
open import FRP.JS.Nat using ( ℕ )
open import FRP.JS.Bool using ( Bool ; true ; false ; _∧_ ; _∨_ )
module FRP.JS.String where
infixr 5 _++_
infix 4 _... | {
"alphanum_fraction": 0.6125554851,
"avg_line_length": 27.1896551724,
"ext": "agda",
"hexsha": "e5323450deaf9954e3c2033e0b807b5b0150c2e6",
"lang": "Agda",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-11-07T... |
open import Level using () renaming (zero to ℓ₀)
open import Relation.Binary using (DecSetoid)
module BFFPlug (A : DecSetoid ℓ₀ ℓ₀) where
open import Data.Nat using (ℕ ; _≟_ ; _+_ ; zero ; suc ; ⌈_/2⌉)
open import Data.Maybe using (Maybe ; just ; nothing)
open import Data.Vec using (Vec)
open import Data.Product usin... | {
"alphanum_fraction": 0.6095003085,
"avg_line_length": 45.661971831,
"ext": "agda",
"hexsha": "0d697237a50883761d0f55a990562f27694c173d",
"lang": "Agda",
"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... |
------------------------------------------------------------------------------
-- Subtraction using the rec combinator
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorph... | {
"alphanum_fraction": 0.4671909243,
"avg_line_length": 31.5325203252,
"ext": "agda",
"hexsha": "b3d6458acf2ec866b292587eb5cec8560f949afa",
"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 Types4 where
open import Basics public
{-----------------------------------------------------------------------}
-- balanced search trees (based on my ICFP '14 paper
-- How to Keep Your Neighbours in Order
-- but the point here is to watch what the types buy us
{-------------------------... | {
"alphanum_fraction": 0.4493357645,
"avg_line_length": 13.5176056338,
"ext": "agda",
"hexsha": "6b3ded3f6c8da65d66476a74b9b4cab0474d5347",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-06-09T05:39:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-09T... |
{-# OPTIONS --cubical --allow-unsolved-metas #-}
module TranspPiOnMeta where
open import Agda.Primitive.Cubical
open import Agda.Builtin.Cubical.Path
-- Transporting along a function type with unknown sort of
-- domain/codomain shouldn't result into an impossible being thrown.
-- We equate to Set to trigger reducti... | {
"alphanum_fraction": 0.6118644068,
"avg_line_length": 22.6923076923,
"ext": "agda",
"hexsha": "ec5dc9252c96bd226e6981796bad4169226b5400",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
{-# OPTIONS --safe #-}
module tmp where
open import Relation.Nullary
open import Data.List public
data Suf {X : Set} : List X → List X → Set where
sinit : ∀ l → Suf l l
scons : ∀ x l l' → Suf l l' → Suf (x ∷ l) l'
lemma : ∀ {X} (x : X) l l' → Suf l (x ∷ l') → Suf l l'
lemma x .(x ∷ l') l' (sinit .(x ∷ l')) = sco... | {
"alphanum_fraction": 0.5218800648,
"avg_line_length": 30.85,
"ext": "agda",
"hexsha": "92d81b65d8a67b1fc250661a6aa6281ba6becee3",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-12-13T04:50:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-12-13T04:50:46... |
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Group
open import lib.types.Unit
open import lib.groups.Homomorphisms
open import lib.groups.Lift
module lib.groups.Unit where
Unit-group-structure : GroupStructure Unit
Unit-group-structure = record
{ ident = unit
; inv = λ _ → unit
; co... | {
"alphanum_fraction": 0.6053333333,
"avg_line_length": 25,
"ext": "agda",
"hexsha": "02c3e26fd698a37d19bbc8bfc55ff81457f58b89",
"lang": "Agda",
"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": "bc8... |
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Library.Data.Product where
open import Light.Level using (Level ; Setω)
open import Light.Variable.Sets
open import Light.Variable.Levels
import Light.Library.Data.Both as Both
open import Light.Library.Relation.Binary
... | {
"alphanum_fraction": 0.5334233626,
"avg_line_length": 36.1219512195,
"ext": "agda",
"hexsha": "59375b404ae368d8093c50e35ff5e6b6dc7113a8",
"lang": "Agda",
"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
--
-- An irrelevant version of ⊥-elim
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Empty.Irrelevant where
open import Data.Empty hiding (⊥-e... | {
"alphanum_fraction": 0.3989637306,
"avg_line_length": 25.7333333333,
"ext": "agda",
"hexsha": "3cc0d65669156dee5eede5eab1aa0114b08b569a",
"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 _^_ where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎)
open import Naturals using (ℕ; zero; suc; _*_)
_^_ : ℕ → ℕ → ℕ
_ ^ zero = 1
m ^ (suc n) = m * (m ^ n)
_ : 3 ^ 4 ≡ 81
_ =
begin
3 ^ 4
≡⟨⟩
3 * (3 ^ 3)
≡⟨⟩
3 * (3 *... | {
"alphanum_fraction": 0.4175824176,
"avg_line_length": 15.1666666667,
"ext": "agda",
"hexsha": "8a3749acc9e4e37289716e07a136b72a7bb365af",
"lang": "Agda",
"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, 2011-10-03
-- Defining a universe for dependent types
-- where the El function only depends on the type code but not on its
-- proof of well-formedness
{-# OPTIONS --experimental-irrelevance --show-implicit --show-irrelevant #-}
module TerminationOnIrrelevantArgument where
data ⊥ : Set where
data D : Set ... | {
"alphanum_fraction": 0.5524296675,
"avg_line_length": 27.2790697674,
"ext": "agda",
"hexsha": "075a40d8a3c472322e6437ac720e9198194fde61",
"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 --rewriting --prop #-}
open import Agda.Builtin.Nat
data ⊥ : Prop where
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
{-# BUILTIN REWRITE _≡_ #-}
infix 4 _≡_
⊥-elim : {A : Set} → ⊥ → A
⊥-elim ()
ok : (n : Nat) (p : ⊥) → (n + n) ≡ 0
ok n p = ⊥-elim p
{-# REWRITE ok #-}
notok : (n : Nat) →... | {
"alphanum_fraction": 0.5039577836,
"avg_line_length": 14.5769230769,
"ext": "agda",
"hexsha": "b44ab8a41e9dc68bd7ffd737888df325d6412408",
"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 SystemF.Syntax.Term where
open import Prelude
open import SystemF.Syntax.Type
infixl 9 _[_] _·_
data Term (ν n : ℕ) : Set where
var : (x : Fin n) → Term ν n
Λ : Term (suc ν) n → Term ν n
λ' : Type ν → Term ν (suc n) → Term ν n
_[_] : Term ν n → Type ν → Term ν n
_·_ : Term ν n → Term ν n → Ter... | {
"alphanum_fraction": 0.5889570552,
"avg_line_length": 25.0769230769,
"ext": "agda",
"hexsha": "f603a812522c539c4d6a059b1659c15be388d651",
"lang": "Agda",
"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 Mockingbird.Forest.Base where
open import Algebra using (Op₂; Congruent₂; LeftCongruent; RightCongruent)
open import Level using (_⊔_) renaming (suc to lsuc)
open import Relation.Binary using (Rel; IsEquivalence; Setoid)
open import Relation.Nullary using (¬_)
record IsForest {b ℓ} (Bird : Set b) (_≈_ : Rel Bi... | {
"alphanum_fraction": 0.6342692585,
"avg_line_length": 26.2075471698,
"ext": "agda",
"hexsha": "1db0bdc8478cdb2e2fe60699328d63ca48c729be",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
module Data.BitVector where
open import Algebra.FunctionProperties.Core using (Op₁; Op₂)
open import Data.Bool public hiding (_≟_) renaming (Bool to Bit; false to 0#; true to 1#)
open import Data.Nat using (ℕ)
renaming (_+_ to _N+_; _*_ to _N*_; zero to Nzero; suc to Nsuc)
open import Data.Product... | {
"alphanum_fraction": 0.5458953931,
"avg_line_length": 25.1043478261,
"ext": "agda",
"hexsha": "9c8b547032521ce4cfe162aace8106c66a4e8980",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-11-12T01:40:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-05-25T... |
module Subst (Gnd : Set)(U : Set)(El : U -> Set) where
open import Basics
open import Pr
open import Nom
import Kind
open Kind Gnd U El
import Cxt
open Cxt Kind
import Loc
open Loc Kind
import Term
open Term Gnd U El
import Shift
open Shift Gnd U El
import Inst
open Inst Gnd U El
data _-[_]_ : Cxt -> Kind -> Cxt -> S... | {
"alphanum_fraction": 0.4433573635,
"avg_line_length": 31.3225806452,
"ext": "agda",
"hexsha": "291b8479737b90d87b15dca9ace739f00831198b",
"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 #-}
module Ch2-4 where
open import Level hiding (lift)
open import Ch2-1
open import Ch2-2
open import Ch2-3
-- Definition 2.4.1 (homotopy)
infixl 8 _~_
_~_ : ∀ {a b} {A : Set a} {P : A → Set b}
→ (f g : (z : A) → P z)
→ Set (a ⊔ b)
_~_ {a} {b} {A} {P} f g = ∀ (x : A) → f x ≡ g x
-- Le... | {
"alphanum_fraction": 0.3993847459,
"avg_line_length": 24.8078947368,
"ext": "agda",
"hexsha": "97e511bb74b5afdb5ec780cfe553819086f98a6c",
"lang": "Agda",
"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-07-08 testing the access to definitions in where blocks
-- Anonymous where modules do export
pub0 = priv0
module _ where
priv0 = Set
works = priv0 -- Should succeed
-- Unnamed where modules don't export
pub = priv
where
priv = Set
fail = priv -- Should fail
| {
"alphanum_fraction": 0.6962457338,
"avg_line_length": 16.2777777778,
"ext": "agda",
"hexsha": "7542cbea5119e2af9c489045c3c5350d6145f0b6",
"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 HoTT
open import cw.CW
open import homotopy.DisjointlyPointedSet
open import cohomology.Theory
open import cohomology.ChainComplex
module cw.cohomology.ReconstructedCochainsIsoCellularCochains {i : ULevel}
(OT : OrdinaryTheory i) where
open OrdinaryTheory OT
... | {
"alphanum_fraction": 0.633847232,
"avg_line_length": 46.7868852459,
"ext": "agda",
"hexsha": "5e010c641fd706c74a3a17992f815cb5aaf6c889",
"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-26T2... |
{-# OPTIONS --without-K #-}
module Examples.BooleanCircuits where
open import Data.Empty using (⊥)
open import Data.Unit using (⊤; tt)
open import Data.Sum using (_⊎_; inj₁; inj₂; [_,_]′)
open import Data.Product using (_×_; _,_; proj₁; proj₂)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym;... | {
"alphanum_fraction": 0.4236176195,
"avg_line_length": 29.5217391304,
"ext": "agda",
"hexsha": "168420abe81f49971b175d027fdb9fb15d7a0688",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2019-09-10T09:47:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-05-29T... |
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Primitive
open import Prelude
import GSeTT.Typed-Syntax
import Globular-TT.Syntax
{- Type theory for globular sets -}
module Globular-TT.Eqdec-syntax {l}
(index : Set l) (eqdec-index : eqdec index) where
open import Globular-TT.Syntax index
eqdec-Ty :... | {
"alphanum_fraction": 0.4228438228,
"avg_line_length": 45.6382978723,
"ext": "agda",
"hexsha": "0c3ac1080b8ca7b244023c9d6819e505d330a22f",
"lang": "Agda",
"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
-- an attempt to speed up [QuotGroup (quot-of-sub (ker-prop ...) (im-nprop ...))]
-- which removes most intermediate constructions
module groups.KernelImage {i j k}
{G : Group i} {H : Group j} {K : Group k}
(ψ : H →ᴳ K) (φ : G →ᴳ H) (H-ab : is-abelian H) w... | {
"alphanum_fraction": 0.4874647186,
"avg_line_length": 41.2534246575,
"ext": "agda",
"hexsha": "3e1a6a4397cf0f4c8aca358aeab6cfdd056ac3f1",
"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... |
open import Data.Graph
module Data.Graph.Path.Search {ℓᵥ ℓₑ} (g : FiniteGraph ℓᵥ ℓₑ) where
open import Data.Graph.Path.Cut g
open import Data.Graph.Path.Finite g
open import Data.Product as Σ
open import Data.Sum as ⊎
open import Data.Vec as Vec
open import Finite
open import Function
open import Level
open import Re... | {
"alphanum_fraction": 0.5620233859,
"avg_line_length": 33.6239316239,
"ext": "agda",
"hexsha": "c74cfbe9477a23d35887b5d00786da5c0353a369",
"lang": "Agda",
"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.Bool
impor Agda.Builtin.Nat
import Agda.Builtin.Sigma
module issue4888 where
| {
"alphanum_fraction": 0.819047619,
"avg_line_length": 13.125,
"ext": "agda",
"hexsha": "c15f2ab5a02a9e58975c2a16f2047c3fe97a81df",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "... |
{-# OPTIONS --without-K --safe #-}
module Data.Binary.Tests.Addition where
import Data.Binary.Operations.Addition as 𝔹
open import Data.Binary.Tests.Helpers
open import Relation.Binary.PropositionalEquality
import Data.Nat as ℕ
_ : 𝔹._+_ ≡⌈ 60 ⌉₂≡ ℕ._+_
_ = refl
| {
"alphanum_fraction": 0.7443609023,
"avg_line_length": 22.1666666667,
"ext": "agda",
"hexsha": "e8b9f6641fcc5bb673aabfe9e4e7d52d0cd728f6",
"lang": "Agda",
"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
--
-- An example of how the Record module can be used
------------------------------------------------------------------------
-- Taken from Randy Pollack's paper "Dependently Typed Records in Type
-- Theory".
module... | {
"alphanum_fraction": 0.4837092732,
"avg_line_length": 28.5,
"ext": "agda",
"hexsha": "ff680f1744a99c41d31bb68971396b95156a6619",
"lang": "Agda",
"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": "9... |
module Golden.FstSnd where
open import Agda.Builtin.Nat
data Tuple a b : Set where
Tup : a -> b -> Tuple a b
fst : {a b : Set} -> Tuple a b -> a
fst (Tup x x₁) = x
snd : {a b : Set} -> Tuple a b -> b
snd (Tup x b) = b
tup1 : Tuple Nat Nat
tup1 = Tup 0 1
a = fst tup1
b = snd tup1
| {
"alphanum_fraction": 0.5868055556,
"avg_line_length": 15.1578947368,
"ext": "agda",
"hexsha": "811c24006477b8ee11d0f095a0a38346ffeb108d",
"lang": "Agda",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:39:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-05-24T... |
{-# OPTIONS --cubical #-}
module _ where
open import Agda.Builtin.Equality
-- Option --cubical implies --without-K
uip : {A : Set} {x : A} (p : x ≡ x) → p ≡ refl
uip refl = refl
| {
"alphanum_fraction": 0.6166666667,
"avg_line_length": 20,
"ext": "agda",
"hexsha": "1e4c83e6a38506f76c76d969a3ba260e2c7146b1",
"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.... |
-- Check that checking of left-hand sides are postponed properly
-- when the type of an argument that is matched on is a meta.
data Nat : Set where
zero : Nat
suc : Nat → Nat
data X : Set where
zero : X
easy : _ → Nat
easy (suc n) = n
easy zero = zero
-- TODO: uncomment below once LHS postponing is actua... | {
"alphanum_fraction": 0.5901328273,
"avg_line_length": 19.5185185185,
"ext": "agda",
"hexsha": "c6a6c5f7e76f11eaf32feffc88430b1af9a5f7fa",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --allow-unsolved-metas #-}
open import Data.Nat -- using (ℕ; suc; zero; s≤s ; z≤n )
module FLComm (n : ℕ) where
open import Level renaming ( suc to Suc ; zero to Zero ) hiding (lift)
open import Data.Fin hiding ( _<_ ; _≤_ ; _-_ ; _+_ ; _≟_)
open import Data.Fin.Properties hiding ( <-trans ; ≤-refl ; ≤-tr... | {
"alphanum_fraction": 0.5386566804,
"avg_line_length": 47.3028571429,
"ext": "agda",
"hexsha": "4984f676edbf0b638d5cfec0b9e07ae4b9ea4295",
"lang": "Agda",
"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 Common.Prelude renaming (_∸_ to _-_) -- work-around for #1855
data Acc {a} {A : Set a} (_<_ : A → A → Set) (x : A) : Set a where
acc : (∀ y → y < x → Acc _<_ y) → Acc _<_ x
data _<_ : Nat → Nat → Set where
zero : ∀ {n} → zero < suc n
suc : ∀ {n m} → n < m → suc n < suc m
_≤_ : Nat... | {
"alphanum_fraction": 0.5456130157,
"avg_line_length": 24.9420289855,
"ext": "agda",
"hexsha": "236953fc00934b841d3f9565f5685b76230e1ff8",
"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 Data.Star.Indexed where
open import Relation.Binary
open import Function
open import Level
infixr 10 _◅_
data Star {i a t}(I : Set i){A : I → Set a}
(T : ∀ n m → REL (A n) (A m) t) : ∀ {n m : I} → REL (A n) (A m) (i ⊔ a ⊔ t) where
ε : ∀ {i}{x : A i} → Star I T x x
_◅_ : ∀ {n m k : I}{x : A n}{y : A ... | {
"alphanum_fraction": 0.5160427807,
"avg_line_length": 31.1666666667,
"ext": "agda",
"hexsha": "a6348f727b7c34400c8c305739f778a228a36af9",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-12-28T17:38:05.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-12-28T... |
open import Nat
open import Prelude
open import core
open import lemmas-gcomplete
module lemmas-complete where
-- no term is both complete and indeterminate
lem-ind-comp : ∀{d} → d dcomplete → d indet → ⊥
lem-ind-comp DCVar ()
lem-ind-comp DCConst ()
lem-ind-comp (DCLam comp x₁) ()
lem-ind-comp (DCAp comp... | {
"alphanum_fraction": 0.6446914527,
"avg_line_length": 44.2203389831,
"ext": "agda",
"hexsha": "a655a13d177ec7c4d1fbae0b8b8e3873152ef501",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-09-13T18:20:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-13T... |
-- Andreas, 2020-03-27, issue #4534
-- Better error message for quote.
open import Agda.Builtin.Reflection
quote₀ : Set → Name
quote₀ X = quote X
-- Cannot quote a variable X
-- when checking that the expression quote X has type Name
| {
"alphanum_fraction": 0.7341772152,
"avg_line_length": 21.5454545455,
"ext": "agda",
"hexsha": "82b48dafe45f92dd433981916dd83a6b8b2b0d16",
"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 #-}
module well-typed-syntax-context-helpers where
open import common
open import well-typed-syntax
open import well-typed-syntax-helpers
□_ : Typ ε → Set
□_ T = Term {Γ = ε} T
| {
"alphanum_fraction": 0.7178217822,
"avg_line_length": 22.4444444444,
"ext": "agda",
"hexsha": "3a7a99671944928f6ff46e7fe85f7768b56a2c3a",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-07-17T18:53:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-17T... |
open import Everything
module Test.Surjidentity where
module _
{𝔬₁ 𝔯₁ 𝔬₂ 𝔯₂ ℓ₂}
{𝔒₁ : Ø 𝔬₁}
(_∼₁_ : 𝔒₁ → 𝔒₁ → Ø 𝔯₁)
{𝔒₂ : Ø 𝔬₂}
(_∼₂_ : 𝔒₂ → 𝔒₂ → Ø 𝔯₂)
(_∼₂'_ : 𝔒₂ → 𝔒₂ → Ø 𝔯₂)
(_∼̇₂_ : ∀ {x y} → x ∼₂ y → x ∼₂ y → Ø ℓ₂)
(_∼̇₂'_ : ∀ {x y} → x ∼₂' y → x ∼₂' y → Ø ℓ₂)
(ε₁ : Reflexivit... | {
"alphanum_fraction": 0.5928143713,
"avg_line_length": 33.921875,
"ext": "agda",
"hexsha": "a2a0ef004386e1bd9b62a508405e06f5601d56e9",
"lang": "Agda",
"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
--
-- Convenient syntax for reasoning with a partial setoid
------------------------------------------------------------------------
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everyth... | {
"alphanum_fraction": 0.5030364372,
"avg_line_length": 31.8709677419,
"ext": "agda",
"hexsha": "c4243b62356c7c093d29cc891535ac8c640fc15b",
"lang": "Agda",
"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.Bool
open import Agda.Builtin.Equality
open import Agda.Builtin.Float
NaN : Float
NaN = primFloatDiv 0.0 0.0
defNaN : NaN ≡ NaN
defNaN = refl
primEqNaN : primFloatEquality NaN NaN ≡ true
primEqNaN = refl
| {
"alphanum_fraction": 0.7639484979,
"avg_line_length": 16.6428571429,
"ext": "agda",
"hexsha": "cb0d762e677bfa0cfe498ef56662e6731ed1a133",
"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-15T... |
module Lemmachine where
open import Lemmachine.Request public
open import Lemmachine.Response public
open import Lemmachine.Resource public
open import Lemmachine.Resource.Configure public
open import Lemmachine.Resolve
open import Lemmachine.Utils public
open import Lemmachine.Runner public
open import Data.Bool publ... | {
"alphanum_fraction": 0.8344988345,
"avg_line_length": 28.6,
"ext": "agda",
"hexsha": "a6144c0538f7051262eeeca5959c8e8aa599a8d7",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:54:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T16:37:58.... |
open import Prelude
module Implicits.Semantics.Preservation where
open import Implicits.Syntax
open import Implicits.WellTyped
open import Implicits.Semantics.Type
open import Implicits.Semantics.Context
open import Implicits.Semantics.Lemmas
open import Implicits.Semantics.RewriteContext
open import Implicits.Semant... | {
"alphanum_fraction": 0.5619004111,
"avg_line_length": 46.5744680851,
"ext": "agda",
"hexsha": "1b70a3a797e8affb007b27e2e3c37106740ed8f0",
"lang": "Agda",
"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-03-09, example by Ulf
{-# OPTIONS -v tc.conv.irr:50 -v tc.decl.ax:10 -v tc.decl.mutual:20 #-}
module Issue351-5 where
open import Common.Prelude
open import Common.Equality
open import Common.Irrelevance
postulate
foo : (x : Squash Nat) → ((r : Squash Nat) → r ≡ squash (suc (unsquash x))) → Set
b... | {
"alphanum_fraction": 0.6770538244,
"avg_line_length": 29.4166666667,
"ext": "agda",
"hexsha": "0f51630a8cbaa933a46477b392c6d73c06e87d2a",
"lang": "Agda",
"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 Path where
open import Basics hiding (_==_)
open import Proc
import Graph
private open module G = Graph Nat
data Node : Set where
node : Nat -> Node
stop : Node
_==_ : Node -> Node -> Bool
stop == stop = true
node zero == node zero = true
node (suc n) == node (suc m) = node n == no... | {
"alphanum_fraction": 0.527734375,
"avg_line_length": 20.8130081301,
"ext": "agda",
"hexsha": "b918435fcd9cb16659867dd96bca5599be9ed79e",
"lang": "Agda",
"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 --warning=error --without-K #-}
open import Setoids.Setoids
open import Groups.Definition
open import Sets.EquivalenceRelations
module Groups.Lemmas {a b : _} {A : Set a} {_·_ : A → A → A} {S : Setoid {a} {b} A} (G : Group S _·_) where
open Setoid S
open Group G
open Equivalence eq
groupsHaveLeft... | {
"alphanum_fraction": 0.6028571429,
"avg_line_length": 41.0344827586,
"ext": "agda",
"hexsha": "da792fc342ba48adf12dfd3142b619dc0abaf9b8",
"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... |
open import MLib.Algebra.PropertyCode
module MLib.Algebra.PropertyCode.Dependent {k c ℓ} {code : Code k} (struct : Struct code c ℓ) where
open import MLib.Prelude
open import MLib.Algebra.PropertyCode.Core
open import Function.Equivalence using (Equivalence)
open Struct struct
private
module FuncBased {c′ ℓ′} (d... | {
"alphanum_fraction": 0.5837239029,
"avg_line_length": 36.671875,
"ext": "agda",
"hexsha": "2e125944cff3420ece1e06f8986063b563e03e83",
"lang": "Agda",
"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 Nat where
data ℕ : Set where
zero : ℕ
succ : ℕ → ℕ
{-# BUILTIN NATURAL ℕ #-}
_+_ : ℕ → ℕ → ℕ
zero + b = b
succ a + b = succ (a + b)
_×_ : ℕ → ℕ → ℕ
zero × b = zero
succ a × b = (a × b) + b
open import Relation.Binary.PropositionalEquality
0-is-right-identity-of-+ : ∀ (n : ℕ) → n + zero ≡ n
0-is-ri... | {
"alphanum_fraction": 0.5513413506,
"avg_line_length": 22.0612244898,
"ext": "agda",
"hexsha": "ab6f04098af1d31543d938d560e00e478f519fe8",
"lang": "Agda",
"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 #-}
open import Categories.Category
open import Categories.Functor hiding (id)
-- category of cones "over a Functor F"
module Categories.Category.Construction.Cones
{o ℓ e} {o′ ℓ′ e′} {C : Category o ℓ e} {J : Category o′ ℓ′ e′} (F : Functor J C) where
open import Data.Product
import... | {
"alphanum_fraction": 0.5468795356,
"avg_line_length": 27.3412698413,
"ext": "agda",
"hexsha": "1610b81697c951bee055dc1d83de3be548d10583",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Pointed
module lib.types.Lift where
⊙Lift : ∀ {i j} → Ptd i → Ptd (lmax i j)
⊙Lift {j = j} (A , a) = ⊙[ Lift {j = j} A , lift a ]
⊙lift : ∀ {i j} {X : Ptd i} → fst (X ⊙→ ⊙Lift {j = j} X)
⊙lift = (lift , idp)
⊙lower : ∀ {i j} {X : Ptd i} → fs... | {
"alphanum_fraction": 0.5396270396,
"avg_line_length": 27.6774193548,
"ext": "agda",
"hexsha": "c7ef9b17e3ca0473017a0052aa5a61edf415c1ab",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
module Data.Num.Binary where
-- open import Data.Product using (_×_; Σ; _,_)
open import Data.List
open import Data.Unit
open import Data.Empty
-- open import Data.Nat renaming (_+_ to _⊹_)
--
-- data Bin : Set where
-- [] : Bin
-- 0- : Bin → Bin
-- 1- : Bin → Bin
--
-- carry : Bin → Bin
-- carry [] = 1- ... | {
"alphanum_fraction": 0.3989197531,
"avg_line_length": 22.3448275862,
"ext": "agda",
"hexsha": "825103b23d51003f8512f47d6ee4a8faefa33221",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-05-30T05:50:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-05-30T... |
{-# OPTIONS --without-K --safe #-}
module Fragment.Examples.CSemigroup.Arith.Reasoning where
open import Fragment.Examples.CSemigroup.Arith.Base
+-direct : ∀ {m n} → (m + 2) + (3 + n) ≡ m + (n + 5)
+-direct {m} {n} = begin
(m + 2) + (3 + n)
≡⟨ fragment CSemigroupFrex +-csemigroup ⟩
m + (n + 5)
∎
open im... | {
"alphanum_fraction": 0.5049365303,
"avg_line_length": 27.2692307692,
"ext": "agda",
"hexsha": "0fb776acdd4c099560afd695488473a167dc11a7",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-06-16T08:04:31.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-15T... |
import Lvl
module Structure.Semicategory {ℓₒ ℓₘ ℓₑ : Lvl.Level} where
open import Functional using (swap)
open import Logic
import Structure.Categorical.Names as Names
open import Structure.Categorical.Properties
open import Structure.Operator
import Structure.Relator.Names as Names
open import Structu... | {
"alphanum_fraction": 0.7069499779,
"avg_line_length": 37.65,
"ext": "agda",
"hexsha": "5b5a3cd6625a801503b73b2233e8b15b7b940d53",
"lang": "Agda",
"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 New.LangOps where
open import New.Lang
open import New.Changes
open import New.LangChanges
oplusτo : ∀ {Γ} τ → Term Γ (τ ⇒ Δt τ ⇒ τ)
ominusτo : ∀ {Γ} τ → Term Γ (τ ⇒ τ ⇒ Δt τ)
onilτo : ∀ {Γ} τ → Term Γ (τ ⇒ Δt τ)
onilτo τ = abs (app₂ (ominusτo τ) (var this) (var this))
-- Do NOT try to read this, such terms ... | {
"alphanum_fraction": 0.5665209244,
"avg_line_length": 44.0642201835,
"ext": "agda",
"hexsha": "498270d06fdf52d578b3c0ed5813b37b9cece4bb",
"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... |
{-# OPTIONS --without-K #-}
module FunExt where
open import HIT.Interval
open import PathOperations
open import PathStructure.Id.Tr
open import Types
funext : ∀ {a b} {A : Set a} {B : A → Set b} {f g : (x : A) → B x} →
(∀ x → f x ≡ g x) → f ≡ g
funext {A = A} {B = B} {f = f} {g = g} p = ap h seg
where
h : I →... | {
"alphanum_fraction": 0.528150134,
"avg_line_length": 24.8666666667,
"ext": "agda",
"hexsha": "239dc5bbf3baa5b63ce97d2fd93605f3d0e67e4e",
"lang": "Agda",
"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 --exact-split #-}
module 09-fundamental-theorem where
import 08-contractible-types
open 08-contractible-types public
-- Section 8.1 Families of equivalences
{- Any family of maps induces a map on the total spaces. -}
tot :
{i j k : Level} {A : UU i} {B : A → UU j} {C : A → UU k} →
((x :... | {
"alphanum_fraction": 0.5304646182,
"avg_line_length": 35.776387803,
"ext": "agda",
"hexsha": "50789ad7f76d64807ffb3d81916a8f86997a82bd",
"lang": "Agda",
"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 Test where
open import Pitch
open import Interval
open import Counterpoint
open import Data.Vec using (Vec; []; _∷_; zip)
open import Data.Fin using (zero; suc)
open import Relation.Binary.PropositionalEquality using (refl)
-- Last five notes of Yamanote melody
cantusFirmus : Vec Pitch 5
cantusFirmus = c 5 ∷... | {
"alphanum_fraction": 0.5498046875,
"avg_line_length": 30.1176470588,
"ext": "agda",
"hexsha": "a8e5fcd5d25e97204ecd860834321dc4aec49b9e",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-11-10T04:04:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-01-12T... |
{-# OPTIONS --type-in-type #-}
open import Data.Unit
open import Data.Product hiding ( curry ; uncurry )
open import Data.List hiding ( concat )
open import Data.String
open import Relation.Binary.PropositionalEquality
open import Function
module Spire.Examples.PropLev where
-------------------------------------------... | {
"alphanum_fraction": 0.4877179081,
"avg_line_length": 27.8126721763,
"ext": "agda",
"hexsha": "5410b96f54d352d393f764de19cc2ec8c587e721",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-08-17T21:00:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-08-17T... |
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Category.Cocomplete.Finitely {o ℓ e} (C : Category o ℓ e) where
open import Level
open import Categories.Category.Cocartesian C
open import Categories.Diagram.Coequalizer C
open import Categories.Diagram.Pushout C
open import Categ... | {
"alphanum_fraction": 0.7110352673,
"avg_line_length": 30.3103448276,
"ext": "agda",
"hexsha": "78bf7b40f99a53fe435ac5df79d9f74ab6a42288",
"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 nodcap.NF.Cut where
open import Algebra
open import Data.Environment
open import Data.Nat as ℕ using (ℕ; suc; zero)
open import Data.Pos as ℕ⁺
open import Data.List as L using (List; []; _∷_; _++_)
open import Data.List.Any as LA using (Any; here; there)
open import Data.List.Any.BagAndSetEquality as B
open imp... | {
"alphanum_fraction": 0.4814814815,
"avg_line_length": 30.816254417,
"ext": "agda",
"hexsha": "f5aff0dc6d6208c9885533d9936ce6460692a73a",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-09-05T08:58:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-05T0... |
{-# OPTIONS --without-K --safe #-}
open import Algebra
open import Data.Bool.Base using (Bool; if_then_else_)
open import Function.Base using (_∘_)
open import Data.Integer.Base as ℤ
using (ℤ; +_; +0; +[1+_]; -[1+_])
import Data.Integer.Properties as ℤP
open import Data.Integer.DivMod as ℤD
open import Data.Nat as ℕ ... | {
"alphanum_fraction": 0.3413344913,
"avg_line_length": 60.7109090909,
"ext": "agda",
"hexsha": "b64ac889b05dedb612019b40a8472520d3c9eb72",
"lang": "Agda",
"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 #-}
{-
The main definitions of this module are:
* explore⊎
* explore⊎-ind
* ⟦explore⊎⟧
* Σᵉ⊎-ok
* Πᵉ⊎-ok
-}
open import Type hiding (★)
open import Function.NP
open import Function.Extensionality
open import Data.Nat using (_+_)
open import Level.NP
open import Type.Iden... | {
"alphanum_fraction": 0.5085688849,
"avg_line_length": 34.0378787879,
"ext": "agda",
"hexsha": "16e8685f8c609cbd987ec2e549ccd12df48ea163",
"lang": "Agda",
"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.Nat using (ℕ; _+_) renaming (_≤?_ to _≤?ₙ_)
open import Data.Bool using (Bool; true; false; not; _∧_)
open import Data.String using (String)
open import Data.Sum using (_⊎_; [_,_]; inj₁; inj₂)
open import Relation.Binary using (Decidable)
open import Relation.Nullary using (yes; no; ¬... | {
"alphanum_fraction": 0.4699630003,
"avg_line_length": 41.4066852368,
"ext": "agda",
"hexsha": "38e807ef5ee7efe5c50d5ac22f64db55cb997813",
"lang": "Agda",
"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 Issue784.Context where
open import Data.List using (List; []; _∷_; _++_; [_]; filter) renaming (map to mapL)
import Level
open import Issue784.Values
record Context ℓ : Set (Level.suc ℓ) where
constructor context
field get : Values ℓ
signature : ∀ {ℓ} → Context ℓ → Types ℓ
signature = types ∘ Context.get... | {
"alphanum_fraction": 0.6238145416,
"avg_line_length": 35.1481481481,
"ext": "agda",
"hexsha": "4426a9324a57a93e9dbe6074cd9ac2190cef1c2c",
"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 Data.Boolean.Functions where
open import Data.Boolean
open import Type
| {
"alphanum_fraction": 0.835443038,
"avg_line_length": 15.8,
"ext": "agda",
"hexsha": "b837b5979d09fcc20edd845de65b2b274dc01033",
"lang": "Agda",
"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": "70... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- A definition for the permutation relation using setoid equality
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Da... | {
"alphanum_fraction": 0.5577772007,
"avg_line_length": 32.0916666667,
"ext": "agda",
"hexsha": "fedc89ee42356f63ad9a64c77e3851dd47118bcb",
"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 Issue919 where
open import Common.Prelude
Zero : Nat → Set
Zero 0 = ⊤
Zero (suc _) = ⊥
test : (n : Nat) {p : Zero n} → Set → Set
test 0 A = A
test (suc _) {()}
-- Horrible error for first clause:
-- Cannot eliminate type Set with pattern {(implicit)} (did you supply
-- too many arguments?)
-- when... | {
"alphanum_fraction": 0.678,
"avg_line_length": 23.8095238095,
"ext": "agda",
"hexsha": "73e8cca26f2e38b0d01975323c339f5ec09d9987",
"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 --no-termination-check #-}
module Issue137 where
record Foo : Set1 where
field
foo : {x : Set} → Set
record Bar : Set1 where
field
bar : Foo
record Baz (P : Bar) : Set1 where
field
baz : Set
postulate
P : Bar
Q : Baz P
f : Baz.baz Q → Set
f r with f r
f r | A = A
-- The bug was:
... | {
"alphanum_fraction": 0.6151142355,
"avg_line_length": 16.7352941176,
"ext": "agda",
"hexsha": "d0d3ec84d8dd932fa3415ab7cd65dc85b61712e0",
"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, AIM XXIII 2016-04-21 Overloaded projections
-- Milestone 1: Check overloaded projections on rhs (without postponing).
{-# OPTIONS --allow-unsolved-metas #-}
module _ (A : Set) (a : A) where
record R B : Set where
field f : B
open R
record S B : Set where
field f : B
open S
r : R A
R.f r = a
s : S... | {
"alphanum_fraction": 0.5962910128,
"avg_line_length": 14.6041666667,
"ext": "agda",
"hexsha": "0911e26a74801b469d9adb76868f3b38bb8d7f9f",
"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
--
-- Properties satisfied by strict partial orders
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Relation.Binary.Prop... | {
"alphanum_fraction": 0.5510718789,
"avg_line_length": 29.3703703704,
"ext": "agda",
"hexsha": "c782aedd1260222a064a36944bc62baa24f938a8",
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.