Search is not available for this dataset
text string | meta dict |
|---|---|
module plfa-exercises.part1.Decidable where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; cong)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; pred)
open import Data.Product using (_×_) renaming (_,_ to ⟨_,_⟩)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import R... | {
"alphanum_fraction": 0.4719722091,
"avg_line_length": 25.743902439,
"ext": "agda",
"hexsha": "59cb9f34e7e10aac67ff77cffd26bbe070da660f",
"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... |
-- Andreas, 2014-08-28, reported by Jacques Carette
{-# OPTIONS --cubical-compatible #-}
-- {-# OPTIONS -v term:20 #-}
module _ where
data Bool : Set where true false : Bool
data List (A : Set) : Set where
[] : List A
_∷_ : A → List A → List A
module Sort (A : Set) ( _≤_ : A → A → Bool) where
insert : A →... | {
"alphanum_fraction": 0.5873873874,
"avg_line_length": 22.2,
"ext": "agda",
"hexsha": "be09451c2094cded122ccc24cbb43b65674711f3",
"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... |
data _≡_ {ℓ}{A : Set ℓ} (x : A) : A → Set ℓ where
refl : x ≡ x
record Box (B : Set) : Set₁ where
constructor box
field
unbox : B
open Box public
=box :{B : Set}{Γ₀ Γ₁ : Box B} → _≡_ {A = B} (unbox Γ₀) (unbox Γ₁) → Γ₀ ≡ Γ₁
=box {b} {box unbox} {box .unbox} refl = ?
-- WAS: internal error at src/full/Agda... | {
"alphanum_fraction": 0.6157635468,
"avg_line_length": 25.375,
"ext": "agda",
"hexsha": "f7e7fce12888503a1c7e6e110150dec2cd171f25",
"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 _ where
open import Agda.Builtin.Nat hiding (_+_)
import Agda.Builtin.Nat as N
open import Agda.Builtin.TrustMe
open import Agda.Builtin.Equality
open import Agda.Builtin.Sigma
data ⊥ : Set where
module SimplifiedTestCase where
record Fin : Set where
constructor mkFin
field m .p : Nat
module _ ... | {
"alphanum_fraction": 0.5065096094,
"avg_line_length": 22.095890411,
"ext": "agda",
"hexsha": "9bf2f6846f0c4af7730a9ffa2518e0a0fdc84100",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T2... |
{-
This second-order term syntax was created from the following second-order syntax description:
syntax UTLC | Λ
type
* : 0-ary
term
app : * * -> * | _$_ l20
lam : *.* -> * | ƛ_ r10
theory
(ƛβ) b : *.* a : * |> app (lam (x.b[x]), a) = b[a]
(ƛη) f : * |> lam (x.app (f, x)) = f
(lβ) b ... | {
"alphanum_fraction": 0.520846494,
"avg_line_length": 24.5426356589,
"ext": "agda",
"hexsha": "23e4ce3007eb989d68cabd25f5f05653d961174a",
"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-09T2... |
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Properties.Reduction {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Typed
open import Definition.Typed.Properties
import Definition.Typed.Weakening as Wk
open import Definition.... | {
"alphanum_fraction": 0.4723210755,
"avg_line_length": 40.464,
"ext": "agda",
"hexsha": "fe326f0e62ec9144ad25edb4802540b0a9cb8322",
"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": ... |
------------------------------------------------------------------------
-- Call-by-value (CBV) reduction in Fω with interval kinds.
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module FOmegaInt.Reduction.Cbv where
open import Data.Fin.Substitution
open ... | {
"alphanum_fraction": 0.5376044568,
"avg_line_length": 32.6363636364,
"ext": "agda",
"hexsha": "72565aed2b064743068165f82c91e802f325c39f",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-05-14T10:25:05.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-13T... |
module int-tests where
open import int
open import eq
open import product
three : ℤ
three = , next next unit{pos}
-two : ℤ
-two = , next unit{neg}
one = -two +ℤ three
one-lem : one ≡ ,_ { a = nonzero pos } unit
one-lem = refl
six = three +ℤ three
-four = -two +ℤ -two
| {
"alphanum_fraction": 0.6413043478,
"avg_line_length": 12.5454545455,
"ext": "agda",
"hexsha": "50c327ac52fdef87e03cb1ac027f1b4bea1963bb",
"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... |
module Luau.Heap where
open import Agda.Builtin.Equality using (_≡_)
open import FFI.Data.Maybe using (Maybe; just)
open import FFI.Data.Vector using (Vector; length; snoc; empty)
open import Luau.Addr using (Addr)
open import Luau.Var using (Var)
open import Luau.Syntax using (Block; Expr; Annotated; FunDec; nil; add... | {
"alphanum_fraction": 0.6293352601,
"avg_line_length": 27.68,
"ext": "agda",
"hexsha": "12f8dab07b931fdec0a39426b4b6b3b0b398770f",
"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 Functional hiding (Domain)
import Structure.Logic.Classical.NaturalDeduction
import Structure.Logic.Classical.SetTheory.ZFC
module Structure.Logic.Classical.SetTheory.ZFC.BinaryRelatorSet {ℓₗ} {Formula} {ℓₘₗ} {Proof} {ℓₒ} {Domain} ⦃ classicLogic : _ ⦄ (_∈_ : Domain → Domain → Formula) ⦃ signature... | {
"alphanum_fraction": 0.6342161775,
"avg_line_length": 37.7567567568,
"ext": "agda",
"hexsha": "dd807214f9bfc86abcbe44e4e52c766fa6341bbb",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
open import Data.Bool using ( Bool ; true ; false ; _∧_ )
open import Data.Product using ( _×_ )
open import Relation.Binary.PropositionalEquality using ( _≡_ )
open import Relation.Unary using ( _∈_ )
open import Web.Semantic.DL.Concept using
( Concept ; ⟨_⟩ ; ¬⟨_⟩ ; ⊤ ; ⊥ ; _⊓_ ; _⊔_ ; ∀[_]_ ; ∃⟨_⟩_ ; ≤1 ; >1 )
ope... | {
"alphanum_fraction": 0.431670282,
"avg_line_length": 31.0288461538,
"ext": "agda",
"hexsha": "cbdc0a4377dd63906550e7b914280550364c5520",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:40:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-12-03T1... |
-- Jesper, 2018-05-17: Fixed internal error. Now the second clause is
-- marked as unreachable (which is perhaps reasonable) and the first
-- clause is marked as not satisfying --exact-split (which is perhaps
-- unreasonable). To fix this properly, we would need to keep track of
-- excluded literals for not just patte... | {
"alphanum_fraction": 0.729981378,
"avg_line_length": 38.3571428571,
"ext": "agda",
"hexsha": "7bd5cc478867a6e64e29a849f01668b58bada662",
"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... |
------------------------------------------------------------------------------
-- We only translate first-order definitions
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-poly... | {
"alphanum_fraction": 0.3620933522,
"avg_line_length": 29.4583333333,
"ext": "agda",
"hexsha": "d944f1e3532538d38fb8bfcc1afa00db974b3224",
"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-10T... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- "Finite" sets indexed on coinductive "natural" numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --sized-types #-}
module Codata.Cofin where
open i... | {
"alphanum_fraction": 0.5323782235,
"avg_line_length": 30.6140350877,
"ext": "agda",
"hexsha": "3e408fb8bfdbeb29d04376ef0dfd0a1cf3c21dab",
"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-11-02, issue #2290
postulate
A : Set
a : A
F : Set → Set
mutual
data D : A → _ where
FDa = F (D a)
-- ERROR WAS:
-- The sort of D cannot depend on its indices in the type A → Set _7
-- Should pass.
mutual
data E : (x : A) → _ where
FEa = F (E a)
| {
"alphanum_fraction": 0.5744680851,
"avg_line_length": 14.1,
"ext": "agda",
"hexsha": "dbb38c7a8dfce912a9a5cb8f5d697f78ec331447",
"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... |
open import Agda.Primitive using (_⊔_)
-- Set being type of all types (which is infinitely nested as Set₀ Set₁ etc
postulate
String : Set
{-# BUILTIN STRING String #-}
data bool : Set where
tt : bool
ff : bool
ex₀ : bool → String
ex₀ tt = "true"
ex₀ ff = "false"
-- parameterization over all "Sets"
-- other... | {
"alphanum_fraction": 0.5349022736,
"avg_line_length": 19.5859375,
"ext": "agda",
"hexsha": "6f9920b0deb6eb8e1115350107ba0a3525ee8032",
"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_hexsh... |
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import groups.Cokernel
open import groups.Image
import homotopy.ConstantToSetExtendsToProp as ConstExt
-- A collection of useful lemmas about exactness
module groups.Exactness where
module Exact {i j k} {G : Group i} {H : Group j} {K : Group k}
{φ : G ... | {
"alphanum_fraction": 0.4979247645,
"avg_line_length": 38.3308080808,
"ext": "agda",
"hexsha": "558abb4ef50786441ec8acdcde8d356ddaecc833",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-12-26T21:31:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-12-26T... |
module Extensions.VecFirst where
open import Data.Vec
open import Data.Product
open import Level
open import Relation.Nullary
open import Function using (_∘_; _$_)
-- proof that an element is the first in a vector to satisfy the predicate B
data First {a b} {A : Set a} (B : A → Set b) : ∀ {n} (x : A) → Vec A n → Set ... | {
"alphanum_fraction": 0.5530191458,
"avg_line_length": 42.4375,
"ext": "agda",
"hexsha": "36b25545000f38577fb2afaccd7fcb988b4be313",
"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-28T17:38:... |
{-# OPTIONS --without-K #-}
module function.core where
open import level
-- copied from Agda's standard library
infixr 9 _∘'_
infixr 0 _$_
_∘'_ : ∀ {a b c}
{A : Set a} {B : A → Set b} {C : {x : A} → B x → Set c} →
(∀ {x} (y : B x) → C y) → (g : (x : A) → B x) →
((x : A) → C (g x))
f ∘' g = λ x → f... | {
"alphanum_fraction": 0.4815400844,
"avg_line_length": 24.3076923077,
"ext": "agda",
"hexsha": "7c408990c513508b5a2c8e20bfd635852ab2ab0a",
"lang": "Agda",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2019-05-04T19:31:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-02T... |
module _ where
record Semiring (A : Set) : Set where
infixl 6 _+_
field _+_ : A → A → A
open Semiring {{...}} public
infix 4 _≡_
postulate
Ord : Set → Set
Nat Bool : Set
zero : Nat
_≡_ : Nat → Nat → Set
refl : ∀ {x} → x ≡ x
to : ∀ {x} y → x ≡ y
trans : {x y z : Nat} → x ≡ y → y ≡ z → x ≡ ... | {
"alphanum_fraction": 0.5442176871,
"avg_line_length": 16.8,
"ext": "agda",
"hexsha": "89e68fa5e4fa025d68967ff8ee3c2ac0dcc6e8a2",
"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 Itse.Checking where
open import Itse.Grammar
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
open import Data.Unit
open import Data.Bool
open import Data.List hiding (lookup)
open import Data.Product
open import Data.Maybe
{-
# Checking
-}
{-
## Context
-}
data Context : Set
... | {
"alphanum_fraction": 0.4005975014,
"avg_line_length": 19.0777202073,
"ext": "agda",
"hexsha": "d170ddc7711bdb7bae18410019e46be789402e20",
"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-22, issue 1790
-- Projections should be highlighted as such everywhere,
-- even in the parts of a record declaration that
-- make the record constructor type.
record Σ A (B : A → Set) : Set where
field
fst : A
snd : B fst -- fst should be highlighted as projection here
-- Should also wo... | {
"alphanum_fraction": 0.6735966736,
"avg_line_length": 26.7222222222,
"ext": "agda",
"hexsha": "588b6b85031bd33f53ff1cacbc50a275e9f2805a",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T... |
{-# OPTIONS --cubical --safe #-}
module Data.Tuple.Base where
open import Prelude hiding (⊤; tt)
open import Data.Unit.UniversePolymorphic
open import Data.Fin
Tuple : ∀ n → (Lift a (Fin n) → Type b) → Type b
Tuple zero f = ⊤
Tuple {a = a} {b = b} (suc n) f = f (lift f0) × Tuple {a = a} {b = b} n (f ∘ lift ∘ fs ∘... | {
"alphanum_fraction": 0.5461147422,
"avg_line_length": 33.5853658537,
"ext": "agda",
"hexsha": "2a0c40c01b5927fe197c91ce7c4b5d8f64e31fff",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-05T... |
import Issue2217.M
{-# TERMINATING #-}
A : Set
A = ?
a : A
a = ?
| {
"alphanum_fraction": 0.5147058824,
"avg_line_length": 6.8,
"ext": "agda",
"hexsha": "291dd527628222354ea640ca14db31e1e3e84717",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:08... |
{-# OPTIONS --without-K #-}
open import HoTT
module cohomology.WithCoefficients where
→Ω-group-structure : ∀ {i j} (X : Ptd i) (Y : Ptd j)
→ GroupStructure (fst (X ⊙→ ⊙Ω Y))
→Ω-group-structure X Y = record {
ident = ⊙cst;
inv = λ F → ((! ∘ fst F) , ap ! (snd F));
comp = λ F G → ⊙conc ⊙∘ ⊙×-in F G;
unitl = ... | {
"alphanum_fraction": 0.4777660138,
"avg_line_length": 34.6605504587,
"ext": "agda",
"hexsha": "34ca481895438ecb71664b4a5356906950fd4882",
"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
--
-- Support for reflection
------------------------------------------------------------------------
{-# OPTIONS --with-K #-}
module Reflection where
open import Data.Unit.Base using (⊤)
open import Data.Bool.Base ... | {
"alphanum_fraction": 0.5331630097,
"avg_line_length": 33.27,
"ext": "agda",
"hexsha": "553165f3d250def9893aaf2db30e05a72f7b5494",
"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 --cubical --safe #-}
module Data.Empty.UniversePolymorphic where
open import Prelude hiding (⊥)
import Data.Empty as Monomorphic
data ⊥ {ℓ} : Type ℓ where
Poly⊥⇔Mono⊥ : ∀ {ℓ} → ⊥ {ℓ} ⇔ Monomorphic.⊥
Poly⊥⇔Mono⊥ .fun ()
Poly⊥⇔Mono⊥ .inv ()
Poly⊥⇔Mono⊥ .leftInv ()
Poly⊥⇔Mono⊥ .rightInv ()
| {
"alphanum_fraction": 0.6253968254,
"avg_line_length": 21,
"ext": "agda",
"hexsha": "11861a8b8792987f9d1c031b9f3851f62a772ef7",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-05T14:05:30.00... |
module Cats.Util.Reflection where
open import Reflection public
open import Data.List using ([])
open import Data.Unit using (⊤)
open import Function using (_∘_)
open import Level using (zero ; Lift)
open import Cats.Util.Monad using (RawMonad ; _>>=_ ; _>>_ ; return ; mapM′)
instance
tcMonad : ∀ {l} → RawMonad ... | {
"alphanum_fraction": 0.7025580012,
"avg_line_length": 28.4915254237,
"ext": "agda",
"hexsha": "506bdc7fcd489f39ad12e65c999ea85e55446ae5",
"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 --postfix-projections #-}
module Demos.Binary where
open import Data.Nat
open import Testers
open import Prelude
infixl 5 _1𝕓 _2𝕓
data 𝔹 : Type where
0𝕓 : 𝔹
_1𝕓 : 𝔹 → 𝔹
_2𝕓 : 𝔹 → 𝔹
⟦_⇓⟧ : 𝔹 → ℕ
⟦ 0𝕓 ⇓⟧ = 0
⟦ n 1𝕓 ⇓⟧ = 1 + ⟦ n ⇓⟧ * 2
⟦ n 2𝕓 ⇓⟧ = 2 + ⟦ n ⇓⟧ * 2
inc ... | {
"alphanum_fraction": 0.5031674208,
"avg_line_length": 21.25,
"ext": "agda",
"hexsha": "a4de5bc9bfa4d4df21fdcaafa3e383f456b2ee58",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-11T12:30:21... |
-- This contains material which used to be in the Sane module, but is no
-- longer used. It is not junk, so it is kept here, as we may need to
-- resurrect it.
module Obsolete where
import Data.Fin as F
--
open import Data.Empty
open import Data.Unit
open import Data.Unit.Core
open import Data.Nat renaming (_⊔_ to _... | {
"alphanum_fraction": 0.5242444594,
"avg_line_length": 37.7918781726,
"ext": "agda",
"hexsha": "abc1fa9ad4c6b1fb3f374b9d446062292706775c",
"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 --without-K --safe #-}
module Math.NumberTheory.Summation.Nat.Properties.Lemma where
-- agda-stdlib
open import Data.Nat
open import Data.Nat.Properties
open import Data.Nat.Solver
open import Relation.Binary.PropositionalEquality
open import Function.Base
lemma₁ : ∀ n → n * (1 + n) * (1 + 2 * n) + 6 * (... | {
"alphanum_fraction": 0.5456081081,
"avg_line_length": 31.1578947368,
"ext": "agda",
"hexsha": "36bb6e1570c33e66e541200c6d617f2a8565de1f",
"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 dynamics-core
open import contexts
open import htype-decidable
open import lemmas-matching
open import lemmas-consistency
open import disjointness
open import typed-elaboration
module elaborability where
mutual
elaborability-synth : {Γ : tctx} {e : hexp} {τ ... | {
"alphanum_fraction": 0.528887087,
"avg_line_length": 51.3854166667,
"ext": "agda",
"hexsha": "4c407a1aa426ab8a6ce42ba88775047a4f4e5776",
"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 DFA where
open import Level
open import Data.Unit
open import Data.List using (List; []; _∷_)
open import Data.Bool using (Bool; true; false; _∧_; _∨_; T; not)
open import Function
open import Relation.Nullary using (Dec; yes; no; ¬_)
open import Relation.Nullary.Negation using (contradiction)
open import Relat... | {
"alphanum_fraction": 0.4291352093,
"avg_line_length": 34.587537092,
"ext": "agda",
"hexsha": "8dc7e4397dc8e292ec2c7d9a5cc427658242a399",
"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 --no-qualified-instances #-}
module CF.Transform.Compile.Expressions where
open import Function using (_∘_)
open import Level
open import Data.Unit
open import Data.Bool
open import Data.Product as P
open import Data.List as L hiding (null; [_])
open import Data.List.Membership.Propositional
open im... | {
"alphanum_fraction": 0.6087540279,
"avg_line_length": 31.2941176471,
"ext": "agda",
"hexsha": "36d25c83154e393c50fcf1806b6a7a132b872fad",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-12-28T17:37:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-12-28T... |
module _ where
record _×_ (A B : Set) : Set where
field
fst : A
snd : B
open _×_
partial : ∀ {A B} → A → A × B
partial x .fst = x
open import Agda.Builtin.Equality
theorem : ∀ {A} (x : A) → partial x .snd ≡ x
theorem x = refl
| {
"alphanum_fraction": 0.5743801653,
"avg_line_length": 13.4444444444,
"ext": "agda",
"hexsha": "c16744418dde3df7fd367def891797b49f934b18",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core using (Category)
open import Categories.Monad using (Monad)
module Categories.Adjoint.Construction.Kleisli {o ℓ e} {C : Category o ℓ e} (M : Monad C) where
open import Categories.Category.Construction.Kleisli using (Kleisli)
open import Categori... | {
"alphanum_fraction": 0.4356768886,
"avg_line_length": 47.75,
"ext": "agda",
"hexsha": "d1d6b6e0839ef20fd77a84d9caeadca889881750",
"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 TrailingImplicits where
-- see also https://lists.chalmers.se/pipermail/agda-dev/2015-January/000041.html
open import Common.IO
open import Common.Unit
open import Common.Nat
f : (m : Nat) {l : Nat} -> Nat
f zero {l = l} = l
f (suc y) = y
main : IO Unit
main = printNat (f 0 {1}) ,,
putStr "\n" ,,
printNa... | {
"alphanum_fraction": 0.6576576577,
"avg_line_length": 19.5882352941,
"ext": "agda",
"hexsha": "0551b3c34ec3470c56daad60302790c6f5807271",
"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 Prelude
open import Level using (Level; _⊔_; Lift) renaming (zero to lz; suc to ls)
open import Data.Maybe using (Maybe; nothing; just)
module RW.Utils.Monads where
---------------------
-- Monad Typeclass --
---------------------
record Monad {a}(M : Set a → Set a) : Set (ls a) where
infixl ... | {
"alphanum_fraction": 0.4352996036,
"avg_line_length": 25.081871345,
"ext": "agda",
"hexsha": "837ca69cddc03cd9ca8ba07f78f6abfdcef7ed81",
"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 FStream.FVec where
------------------------------------------------------------------------
-- Dissecting effectful streams
------------------------------------------------------------------------
open import Library
open import FStream.Core
open import Data.Fin
infixr 5 _▻_
infix 6 ⟨_▻⋯
infix 7 _⟩
data FVec... | {
"alphanum_fraction": 0.4762040467,
"avg_line_length": 35.4444444444,
"ext": "agda",
"hexsha": "dcae8076b53e4a0e661b2b045820e1a4c09c0624",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-12-13T15:56:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-12-13T... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Integers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Integer where
import Data.Nat.Show as ℕ
open import Data.Sign as Sign using (Sig... | {
"alphanum_fraction": 0.4291808874,
"avg_line_length": 26.6363636364,
"ext": "agda",
"hexsha": "691db53d568fd83279416bca8621e3e2ec13daaa",
"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 Lists.Lists
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Naturals
open import Numbers.Naturals.Order
open import Numbers.BinaryNaturals.Definition
open import Semirings.Definition
open import Orders.Total.D... | {
"alphanum_fraction": 0.6600884655,
"avg_line_length": 70.6490384615,
"ext": "agda",
"hexsha": "a0a7c84b653976f1d841c01b66587da2827a2870",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-29T... |
{-# OPTIONS --without-K --safe #-}
open import Level
open import Data.Quiver using (Quiver)
-- The Category of (free) paths over a Quiver
module Categories.Category.Construction.PathCategory {o ℓ e} (G : Quiver o ℓ e) where
open import Function.Base using (_$_)
open import Relation.Binary.Construct.Closure.Reflexive... | {
"alphanum_fraction": 0.5962680237,
"avg_line_length": 29.475,
"ext": "agda",
"hexsha": "ed7dfe903e3b196dc324108bcb0c69181002707f",
"lang": "Agda",
"max_forks_count": 64,
"max_forks_repo_forks_event_max_datetime": "2022-03-14T02:00:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-02T16:58:... |
-- Andreas, 2019-02-03, issue #3541:
-- Treat indices like parameters in positivity check.
data Works (A : Set) : Set where
nest : Works (Works A) → Works A
data Foo : Set → Set where
foo : ∀{A} → Foo (Foo A) → Foo A
-- Should pass.
| {
"alphanum_fraction": 0.6333333333,
"avg_line_length": 21.8181818182,
"ext": "agda",
"hexsha": "b086fcc65a57d4670795fb1f3f2520cfa6f95e87",
"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... |
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core
open import Categories.Object.Terminal hiding (up-to-iso)
module Categories.Object.NaturalNumber {o ℓ e} (𝒞 : Category o ℓ e) (𝒞-Terminal : Terminal 𝒞) where
open import Level
open import Categories.Morphism 𝒞
open import Categories.Morphis... | {
"alphanum_fraction": 0.5659197499,
"avg_line_length": 29.0757575758,
"ext": "agda",
"hexsha": "6362992022cb42a5761147dff881505258d17675",
"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... |
-- A Beth model of normal forms
open import Library
module NfModelCaseTreeConv (Base : Set) where
import Formulas ; open module Form = Formulas Base
import Derivations; open module Der = Derivations Base
-- Beth model
data Cover (P : Cxt → Set) (Γ : Cxt) : Set where
returnC : (p : P Γ) → Cover P Γ
falseC... | {
"alphanum_fraction": 0.5485923334,
"avg_line_length": 31.1237623762,
"ext": "agda",
"hexsha": "f7837c29a6787a544f4c16505b57fcdb57b2f463",
"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... |
------------------------------------------------------------------------
-- Compatibility lemmas
------------------------------------------------------------------------
open import Atom
module Compatibility (atoms : χ-atoms) where
open import Bag-equivalence hiding (trans)
open import Equality.Propositional
open im... | {
"alphanum_fraction": 0.4447244094,
"avg_line_length": 26.6806722689,
"ext": "agda",
"hexsha": "185f44aa68e55f43c245bf6e23a39de449883e89",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
{-# OPTIONS --allow-unsolved-metas #-}
open import Optics.All
open import Libra... | {
"alphanum_fraction": 0.6321464903,
"avg_line_length": 43.1140350877,
"ext": "agda",
"hexsha": "bbf96f177f9b8ecd26d7b058d21a66be66794f42",
"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
module Categories.Morphism.Properties {o ℓ e} (𝒞 : Category o ℓ e) where
open import Data.Product using (_,_; _×_)
open Category 𝒞
open HomReasoning
import Categories.Morphism as M
open M 𝒞
open import Categories.Morphism.Reasoning 𝒞
private
... | {
"alphanum_fraction": 0.4632352941,
"avg_line_length": 24.4494382022,
"ext": "agda",
"hexsha": "0b5986de697c1d0508f8b24d4ded49cc3d7faac9",
"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-26, issue 2215, reported by effectfully
data Term : Set where
abs : Term → Term
Type = Term
f : Type → Term
f (abs b@(abs _)) = b
-- WAS: Panic: Pattern match failure in AsPatterns.conPattern
-- due to a missing reduce
-- Should work.
| {
"alphanum_fraction": 0.6755725191,
"avg_line_length": 17.4666666667,
"ext": "agda",
"hexsha": "5cf76332728e3f849d276f9da37b82d7124563c1",
"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, 2016-10-01, issue #2231
-- The termination checker should not always see through abstract definitions.
abstract
data Nat : Set where
zero' : Nat
suc' : Nat → Nat
-- abstract hides constructor nature of zero and suc.
zero = zero'
suc = suc'
data D : Nat → Set where
c1 : ∀ n → D n → D (... | {
"alphanum_fraction": 0.6297420334,
"avg_line_length": 26.36,
"ext": "agda",
"hexsha": "43853de0cae4f6ac6d710571383ecb4dbac973a5",
"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 --rewriting #-}
open import HoTT
open import homotopy.Bouquet
open import homotopy.FinWedge
open import cohomology.Theory
module cohomology.SubFinBouquet (OT : OrdinaryTheory lzero) where
open OrdinaryTheory OT
open import cohomology.Sphere OT
open import cohomology.SubFinWedge cohomology-the... | {
"alphanum_fraction": 0.5416848538,
"avg_line_length": 47.7291666667,
"ext": "agda",
"hexsha": "136e4d5579338a02ba102ba10c73d63476fce0d1",
"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... |
open import FRP.LTL.RSet.Core using ( RSet )
open import FRP.LTL.Time using ( _+_ )
module FRP.LTL.RSet.Next where
○ : RSet → RSet
○ A t = A (t + 1)
| {
"alphanum_fraction": 0.6447368421,
"avg_line_length": 16.8888888889,
"ext": "agda",
"hexsha": "8d19cf322a8f15d3e0edd5568232d5688fd73a6d",
"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 Issue1436-2 where
module A where
infixl 19 _↑_
infixl 1 _↓_
data D : Set where
● : D
_↓_ _↑_ : D → D → D
module B where
infix -1000000 _↓_
data D : Set where
_↓_ : D → D → D
open A
open B
rejected = ● ↑ ● ↓ ● ↑ ● ↓ ● ↑ ●
| {
"alphanum_fraction": 0.5094339623,
"avg_line_length": 11.5217391304,
"ext": "agda",
"hexsha": "2ed544dcf72466a7c443b923bd2456b9cbc20065",
"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, 2017-05-17, issue #2574 reported by G. Allais
-- This file is intentionally without module header.
private
postulate A : Set
| {
"alphanum_fraction": 0.7304964539,
"avg_line_length": 20.1428571429,
"ext": "agda",
"hexsha": "aaa6cd2ffc731562bd1f6596459650eb1870c369",
"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 Prelude
open import Nat
open import Agda.Primitive using (Level; lzero; lsuc) renaming (_⊔_ to lmax)
module List where
-- definitions
data List (A : Set) : Set where
[] : List A
_::_ : A → List A → List A
_++_ : {A : Set} → List A → List A → List A
[] ++ l₂ = l₂
(h :: l₁) ++ l₂ = h :: ... | {
"alphanum_fraction": 0.4070460018,
"avg_line_length": 36.0319634703,
"ext": "agda",
"hexsha": "36060671b9ce14d3b35c88f1c4a091964ade9563",
"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 HoTT
module homotopy.3x3.PushoutPushout where
-- Numbering is in row/column form
-- A span^2 is a 5 × 5 table (numbered from 0 to 4) where
-- * the even/even cells are types
-- * the odd/even and even/odd cells are functions
-- * the odd/odd cells are equalities between functi... | {
"alphanum_fraction": 0.4867129205,
"avg_line_length": 48.0440251572,
"ext": "agda",
"hexsha": "7f2a630c8bd65a7ab3cb1c50e11c18605215e80e",
"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 #-}
-- This module packages up all the stuff that's passed to the other
-- modules in a convenient form.
module Polynomial.Parameters where
open import Function
open import Algebra
open import Relation.Unary
open import Level
open import Algebra.Solver.Ring.AlmostCommutativeRing
open im... | {
"alphanum_fraction": 0.7105263158,
"avg_line_length": 30.4,
"ext": "agda",
"hexsha": "5dad8fc42b473443ef7e6782c526cdef3d0e9717",
"lang": "Agda",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2022-01-20T07:07:11.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-16T02:23:16.... |
module Prelude.Erased where
data [erased]-is-only-for-printing : Set where
[erased] : [erased]-is-only-for-printing
| {
"alphanum_fraction": 0.7333333333,
"avg_line_length": 20,
"ext": "agda",
"hexsha": "f5eac45173bd814475894d16d781c9e48477b6dd",
"lang": "Agda",
"max_forks_count": 24,
"max_forks_repo_forks_event_max_datetime": "2021-04-22T06:10:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-12T18:03:45.0... |
module Common.ContextPair where
open import Common.Context public
-- Context pairs.
infix 4 _⁏_
record Cx² (U V : Set) : Set where
constructor _⁏_
field
int : Cx U
mod : Cx V
open Cx² public
∅² : ∀ {U V} → Cx² U V
∅² = ∅ ⁏ ∅
-- Context inclusion.
module _ {U V : Set} where
infix 3 _⊆²_
_⊆²_ : C... | {
"alphanum_fraction": 0.4735812133,
"avg_line_length": 18.5818181818,
"ext": "agda",
"hexsha": "c5644280fc3efdfb808b740e50126e163a61a726",
"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.ZCohomology.S1.S1 where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.Properties
open import Cubical.HITs.S1
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.HITs.SetTruncation
open import Cubi... | {
"alphanum_fraction": 0.6464454976,
"avg_line_length": 28.5135135135,
"ext": "agda",
"hexsha": "029a6eeed7dd0791c55247a5800c924afdec52e3",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
-- Generic term traversals
module Syntax.Substitution.Lemmas where
open import Syntax.Types
open import Syntax.Context
open import Syntax.Terms
open import Syntax.Substitution.Kits
open import Syntax.Substitution.Instances
open import Data.Sum
open import Relation.Binary.PropositionalEquality as ≡
using (_≡_ ; r... | {
"alphanum_fraction": 0.4138349515,
"avg_line_length": 37.8850574713,
"ext": "agda",
"hexsha": "0508bd221cb4ddfb933f263cdbcc79d1abf4406e",
"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... |
-- Record modules for no-eta records should not be irrelevant in
-- record even if all fields are irrelevant (cc #392).
open import Agda.Builtin.Equality
postulate A : Set
record Unit : Set where
no-eta-equality
postulate a : A
record Irr : Set where
no-eta-equality
field .unit : Unit
postulate a : A
re... | {
"alphanum_fraction": 0.6846543002,
"avg_line_length": 17.9696969697,
"ext": "agda",
"hexsha": "c6a9f613f47facb8f1188d1a0c05d3153e53f433",
"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... |
open import Data.Bool using (Bool; true; false)
open import Data.Float using (Float)
open import Avionics.Maybe using (Maybe; just; nothing; _>>=_; map)
--open import Data.Maybe using (Maybe; just; nothing; _>>=_; map)
open import Data.Nat using (ℕ)
open import Function using (_∘_)
open import Level using (0ℓ; _⊔_) ren... | {
"alphanum_fraction": 0.6112380082,
"avg_line_length": 27.7088607595,
"ext": "agda",
"hexsha": "4c6e1e109b2ba6fa5e57a0d31749fd74dab7a917",
"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, 2018-05-27, issue #3090, reported by anka-213
-- Parser should not raise internal error for invalid symbol in name
{-# BUILTIN NATURAL ( #-}
-- Should fail with a parse error, not internal error
| {
"alphanum_fraction": 0.7224880383,
"avg_line_length": 29.8571428571,
"ext": "agda",
"hexsha": "ed2372efa54be6e63149cf2839d58b4a871df762",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
--------------------------------------------------------------------------------
-- This file contains functions to convert between agda terms and meta-cedille
-- terms
--------------------------------------------------------------------------------
module Conversion where
open import Class.Monad.Except
open import D... | {
"alphanum_fraction": 0.6760785137,
"avg_line_length": 49.3626943005,
"ext": "agda",
"hexsha": "7184544c3b5962c9741139e57b144d88de3cf50d",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-10-20T10:46:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-27T... |
{-# OPTIONS --cubical --safe #-}
module Algebra.Construct.Free.Semilattice.Homomorphism where
open import Prelude
open import Algebra
open import Path.Reasoning
open import Algebra.Construct.Free.Semilattice.Definition
open import Algebra.Construct.Free.Semilattice.Eliminators
open import Algebra.Construct.Free.Semi... | {
"alphanum_fraction": 0.4827586207,
"avg_line_length": 30.2888888889,
"ext": "agda",
"hexsha": "e91d6906322d886c7c5e279fbc457cf56b58fc0b",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-05T14:05:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-05T... |
module BTA5 where
open import Data.Nat hiding (_<_)
open import Data.Bool
open import Data.List
open import Data.Nat.Properties
open import Relation.Nullary
-----------------
-- CLEANUP (∈) : this is surely in the standard library
-----------------
-- More general purpose definitions (should also be in standard lib... | {
"alphanum_fraction": 0.4943685238,
"avg_line_length": 34.5025906736,
"ext": "agda",
"hexsha": "863f44a7e0a797753bf4c4a20a6c47f5040c1f4d",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-10-15T09:01:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-10-15T... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- Argument relevance used in the reflection machinery
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Reflection.Argument.Relevance where
open i... | {
"alphanum_fraction": 0.5158013544,
"avg_line_length": 30.5517241379,
"ext": "agda",
"hexsha": "1897007afa4a5a47d39c68060cca5fc1a12249e6",
"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 --rewriting #-}
open import lib.Base
open import lib.Function
open import lib.Equivalence
open import lib.Univalence
open import lib.NType
open import lib.PathGroupoid
{-
A proof of function extensionality from the univalence axiom.
-}
module lib.Funext {i} {A : Type i} where
-- Naive non de... | {
"alphanum_fraction": 0.4775583483,
"avg_line_length": 27.1707317073,
"ext": "agda",
"hexsha": "e7616563fffeb25dbc5719b7b19a84737fe2f29a",
"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 Lec6Done where
open import Lec1Done
data List (X : Set) : Set where
[] : List X
_,-_ : X -> List X -> List X
infixr 4 _,-_
-- ListF : Set -> Set -> Set
-- ListF X T = One + (X * T)
mkList : {X : Set} -> One + (X * List X) -> List X
mkList (inl <>) = []
mkList (inr (x , xs)) = x ,- xs
foldr : {... | {
"alphanum_fraction": 0.5238642898,
"avg_line_length": 24.8428571429,
"ext": "agda",
"hexsha": "a81e60c33379366fb66e4dd5a4e41c979c4e889a",
"lang": "Agda",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2021-09-21T15:58:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-04-13T... |
{-
This file contains:
- Properties of 2-groupoid truncations
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.2GroupoidTruncation.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Fo... | {
"alphanum_fraction": 0.5717529519,
"avg_line_length": 31.9130434783,
"ext": "agda",
"hexsha": "edd391dcb605281fbbb5bb68e2acf8dc0ed50fce",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-22T02:02:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-22T... |
-- This module introduces parameterised datatypes.
module DataParameterised where
-- First some of our old friends.
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data Bool : Set where
false : Bool
true : Bool
-- A datatype can be parameterised over a telescope, (A : Set) in the case of
-- lists. The ... | {
"alphanum_fraction": 0.6564748201,
"avg_line_length": 24.1739130435,
"ext": "agda",
"hexsha": "2a1775d909d718deb571c84eb55e72f4eedd5956",
"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... |
------------------------------------------------------------------------------
-- Testing the translation of scheme's instances
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-... | {
"alphanum_fraction": 0.4379263302,
"avg_line_length": 29.32,
"ext": "agda",
"hexsha": "dbf281fd49a17b670d24e6aee3a68cafdd24bc3b",
"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... |
{-# OPTIONS --without-K --rewriting #-}
module hSet where
open import lib.Basics
open import lib.Funext
open import lib.NType2
open import lib.types.Truncation
open import lib.types.Bool
open import PropT
_is-a-set : {i : ULevel} (A : Type i) → Type i
A is-a-set = is-set A
-- To get an element a... | {
"alphanum_fraction": 0.5256544503,
"avg_line_length": 26.5277777778,
"ext": "agda",
"hexsha": "93445ee1d498c839d1c6edd25f2ddd4de79a84bd",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --cubical --no-import-sorts #-}
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Relation.Nullary.Base renaming (¬_ to ¬ᵗ_)-- ¬ᵗ_
open import Cubical.Relation.Binary.Base
open import Cubical.Data.Sum.Base renaming (_⊎_ to infixr 4 _⊎_)
open import Cub... | {
"alphanum_fraction": 0.3946349558,
"avg_line_length": 59.9337016575,
"ext": "agda",
"hexsha": "324ead55588d84d5cf04f10a630236d697aa9994",
"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... |
------------------------------------------------------------------------
-- Convenient syntax for equational reasoning
------------------------------------------------------------------------
-- Example use:
-- n*0≡0 : ∀ n → n * 0 ≡ 0
-- n*0≡0 zero = refl
-- n*0≡0 (suc n) =
-- begin
-- suc n * 0
-- ≈⟨ byDe... | {
"alphanum_fraction": 0.4014925373,
"avg_line_length": 22.3333333333,
"ext": "agda",
"hexsha": "a121546e099b4d0ad86d20fc5de2c6eb2788274f",
"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-21T... |
-- In this document we'll show that having `ifix :: ((k -> *) -> k -> *) -> k -> *` is enough to
-- get `fix :: (k -> k) -> k` for any particular `k`.
module IFixIsEnough where
open import Agda.Primitive
-- First, the definition of `IFix`:
{-# NO_POSITIVITY_CHECK #-}
data IFix {α φ} {A : Set α} (F : (A -> Set φ) ->... | {
"alphanum_fraction": 0.5431467828,
"avg_line_length": 36.2796352584,
"ext": "agda",
"hexsha": "d8fc43d8a6d0432ed72dab5c9114b08e83c91596",
"lang": "Agda",
"max_forks_count": 399,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T11:18:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-0... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Presheaf.Properties where
open import Cubical.Categories.Category
open import Cubical.Categories.NaturalTransformation
open import Cubical.Categories.Instances.Sets
open import Cubical.Categories.Instances.Functors
open import Cubical.Catego... | {
"alphanum_fraction": 0.4555971021,
"avg_line_length": 43.8871794872,
"ext": "agda",
"hexsha": "d296b1ced337f5bf9ca3b18f3aecf56090c77fcd",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
import Lvl
open import Type
module Data.IndexedList {ℓ ℓᵢ} (T : Type{ℓ}) {I : Type{ℓᵢ}} where
private variable i : I
record Index : Type{ℓᵢ Lvl.⊔ ℓ} where
constructor intro
field
∅ : I
_⊰_ : T → I → I
module _ ((intro ∅ᵢ _⊰ᵢ_) : Index) where
data IndexedList : I → Type{ℓᵢ Lvl.⊔ ℓ} where
∅ ... | {
"alphanum_fraction": 0.598173516,
"avg_line_length": 25.7647058824,
"ext": "agda",
"hexsha": "ef6b6c75511a79dfadf21077fc3f3a1b3516408b",
"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 _ where
open import Common.Prelude
open import Common.Reflection
const : ∀ {a b} {A : Set a} {B : Set b} → A → B → A
const x _ = x
id : ∀ {a} {A : Set a} → A → A
id x = x
first : Tactic
first = give (def (quote const) [])
second : Tactic
second = give (def (quote const) (arg (argInfo visible relevant) (def... | {
"alphanum_fraction": 0.630733945,
"avg_line_length": 18.1666666667,
"ext": "agda",
"hexsha": "6ec51600b017c5f743845992cf907a9e13cb8e9d",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T2... |
{-# OPTIONS --universe-polymorphism #-}
module Categories.Presheaf where
open import Categories.Category
open import Categories.Functor
Presheaf : ∀ {o ℓ e} {o′ ℓ′ e′} (C : Category o ℓ e) (V : Category o′ ℓ′ e′) → Set _
Presheaf C V = Functor C.op V
where module C = Category C | {
"alphanum_fraction": 0.6914893617,
"avg_line_length": 31.3333333333,
"ext": "agda",
"hexsha": "79b91380ee86cca139384093534488a8709ae449",
"lang": "Agda",
"max_forks_count": 23,
"max_forks_repo_forks_event_max_datetime": "2021-11-11T13:50:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-05... |
-- Andreas, 2018-10-13, re issue #3244
--
-- Error should be raised when --no-prop and trying to use Prop
-- (universe-polymorphic or not).
{-# OPTIONS --no-prop #-}
data False {ℓ} : Prop ℓ where
-- Expected: Failure with error message
| {
"alphanum_fraction": 0.6736401674,
"avg_line_length": 21.7272727273,
"ext": "agda",
"hexsha": "d5f6cc2d6e80b2086e2f2b7d00b4f6890f78eb1d",
"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 (ℕ)
open import Data.Vec using (Vec; []; _∷_; map)
open import Dipsy.Polarity renaming (pos to +; neg to -)
module Dipsy.Form
(FOp : {n : ℕ} (as : Vec Polarity n) (b : Polarity) → Set)
where
data Form : Set where
op : {n : ℕ} {as : Vec Polarity n} {b : Polarity}
→ FOp as b → Vec ... | {
"alphanum_fraction": 0.6167664671,
"avg_line_length": 27.8333333333,
"ext": "agda",
"hexsha": "78d61a830567c54567d67397ea896aa22122d5af",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Monoidal.Structure where
open import Level
open import Categories.Category
open import Categories.Category.Monoidal.Core
open import Categories.Category.Monoidal.Braided
open import Categories.Category.Monoidal.Symmetric
record MonoidalCategory o ℓ e : S... | {
"alphanum_fraction": 0.7007822686,
"avg_line_length": 25.5666666667,
"ext": "agda",
"hexsha": "d67e3d9758c8fe3f5a2eec2e8de72ff63e7db1fe",
"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 Level
-- This is really a degenerate version of Categories.Category.Instance.One
-- Here SingletonSet is not given an explicit name, it is an alias for Lift o ⊤
module Categories.Category.Instance.SingletonSet where
open import Data.Unit using (⊤; tt)
open import Relati... | {
"alphanum_fraction": 0.7185990338,
"avg_line_length": 30.6666666667,
"ext": "agda",
"hexsha": "25a066421c9c676960104020d9b54d88856b3980",
"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... |
------------------------------------------------------------------------------
-- Well-founded induction on the relation LTC
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-pol... | {
"alphanum_fraction": 0.5520186335,
"avg_line_length": 39.0303030303,
"ext": "agda",
"hexsha": "18bab93b5fde75c87bb04c90c5fafe79e40b25aa",
"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... |
------------------------------------------------------------------------
-- Binary trees
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Tree {c⁺} (eq : ∀ {a p} → Equality-with-J a p c⁺) where
open Derived-definitions-and-proper... | {
"alphanum_fraction": 0.4471288515,
"avg_line_length": 34.2035928144,
"ext": "agda",
"hexsha": "a5c17d263c7a53aedbc5a232feda7eb3962fb421",
"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 lib.Basics
open import lib.cubical.Square
open import lib.types.Bool
open import lib.types.Cofiber
open import lib.types.Lift
open import lib.types.Paths
open import lib.types.Pointed
open import lib.types.PushoutFmap
open import lib.types.Sigma
open import lib.types... | {
"alphanum_fraction": 0.5228384992,
"avg_line_length": 36.5191489362,
"ext": "agda",
"hexsha": "a65149a5ce43f8509fecf9fe5e4be74a8613e1d2",
"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 --universe-polymorphism #-}
module Categories.Functor.Constant where
open import Categories.Category
open import Categories.Functor
Constant : ∀ {o′ ℓ′ e′} {D : Category o′ ℓ′ e′} (x : Category.Obj D) → ∀ {o ℓ e} {C : Category o ℓ e} → Functor C D
Constant {D = D} x = record
{ F₀ = λ ... | {
"alphanum_fraction": 0.4741935484,
"avg_line_length": 36.4705882353,
"ext": "agda",
"hexsha": "775e9a26b1ad421b7afbf49c5a8861e13b8ed1ca",
"lang": "Agda",
"max_forks_count": 23,
"max_forks_repo_forks_event_max_datetime": "2021-11-11T13:50:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-05... |
{-# OPTIONS --allow-unsolved-metas #-}
postulate
A : Set
a : A
record Q .(x : A) : Set where
field q : A
record R : Set where
field s : Q _
t : A
t = Q.q s
| {
"alphanum_fraction": 0.5438596491,
"avg_line_length": 12.2142857143,
"ext": "agda",
"hexsha": "28ee3e3647cd45fe81a22047dc0bed0dc0f3bee8",
"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 LinkedList.Properties where
open import LinkedList
open import Data.Nat
open import Data.Nat.Properties.Simple
open import Relation.Nullary.Decidable using (False)
open import Relation.Binary.PropositionalEquality as PropEq
using (_≡_; _≢_; refl; cong; cong₂; trans; sym; inspect)
open PropEq.≡-Reasoning
... | {
"alphanum_fraction": 0.5500963391,
"avg_line_length": 32.4375,
"ext": "agda",
"hexsha": "e5e48ff3fdc0912f34c9bc764f6519eaedc98737",
"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-30T05:50:... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Nat.Order.Recursive where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Data.Empty
open import Cubical.Data.Unit
open import Cubical.Data.Nat.Base
open import Cubical.Data.Nat.Properties
ope... | {
"alphanum_fraction": 0.530711445,
"avg_line_length": 23.3298969072,
"ext": "agda",
"hexsha": "c604f7dcf6dbedae5f623dea0cce98ec3e28e25c",
"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 --show-irrelevant #-}
module Control.Category.Product where
open import Level using (suc; _⊔_)
open import Relation.Binary hiding (_⇒_)
open import Control.Category
open Category using () renaming (Obj to obj; _⇒_ to _▹_⇒_)
-- Pre-Product
-- Given a category C and two objects A, B in C we can define a ... | {
"alphanum_fraction": 0.5686444348,
"avg_line_length": 27.325443787,
"ext": "agda",
"hexsha": "d78ca81af880c65d0c9d1f62d930c74c2c6c042f",
"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... |
-- Andreas, 2012-05-04
module PruningNonMillerPatternFail where
data _≡_ {A : Set}(a : A) : A -> Set where
refl : a ≡ a
data Nat : Set where
zero : Nat
suc : Nat -> Nat
-- bad variable y is not in head position under lambda, so do not prune
fail4 : let X : Nat -> Nat -> Nat
X = _ -- λ x y → suc x
... | {
"alphanum_fraction": 0.4526445264,
"avg_line_length": 32.52,
"ext": "agda",
"hexsha": "ec6024bb11a6910bfeb313bd12e1b41958c85f60",
"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 --safe #-}
module Data.Binary.Operations.Unary where
open import Data.Binary.Definitions
open import Function
inc⁺⁺ : 𝔹⁺ → 𝔹⁺
inc⁺⁺ 1ᵇ = O ∷ 1ᵇ
inc⁺⁺ (O ∷ xs) = I ∷ xs
inc⁺⁺ (I ∷ xs) = O ∷ inc⁺⁺ xs
inc⁺ : 𝔹 → 𝔹⁺
inc⁺ 0ᵇ = 1ᵇ
inc⁺ (0< x) = inc⁺⁺ x
inc : 𝔹 → 𝔹
inc x = 0< inc⁺ x
dec⁺⁺ :... | {
"alphanum_fraction": 0.5139442231,
"avg_line_length": 15.6875,
"ext": "agda",
"hexsha": "89b65c1f89fd71154d07655ccb5f9989aa2faa4e",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Group.S3 where
{-
This file contains a summary of what remains for π₄S³≅ℤ/2 to be proved.
See the module π₄S³ at the end of this file.
-}
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.... | {
"alphanum_fraction": 0.5530612245,
"avg_line_length": 32.131147541,
"ext": "agda",
"hexsha": "41757fc04fbf25d90f09318e92b2f2a35e17c9cb",
"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... |
-- Andreas, 2021-05-06, issue #5365
-- Error message for incomplete binding in do-block.
postulate _>>=_ : Set
test = do
x ←
-- Expected: proper error like
--
-- Incomplete binding x ←
-- <EOF><ERROR>
-- ...
| {
"alphanum_fraction": 0.6338028169,
"avg_line_length": 15.2142857143,
"ext": "agda",
"hexsha": "0b75a9804314a50b3144eae1088be671e753b767",
"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, 2017-10-19, issue #2808
-- The fix of #1077 was not general enough.
-- module _ where -- If this is added, we get the error about duplicate module
postulate A : Set -- Accepted if this is deleted
module Issue2808 where
record Issue2808 : Set where
-- Expected error: (at the postulate)
-- Illegal decl... | {
"alphanum_fraction": 0.729787234,
"avg_line_length": 27.6470588235,
"ext": "agda",
"hexsha": "6ecc8417b87031e8cb77fa25d630967aa01fbfcf",
"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... |
------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Standard evaluation for MTerm
------------------------------------------------------------------------
import Parametric.Syntax.Type as Type
import Parametric.Syntax.Term as Term
import Parametric.Denotation.Value ... | {
"alphanum_fraction": 0.6320662768,
"avg_line_length": 31.0909090909,
"ext": "agda",
"hexsha": "ace3956baef2f407fe592f01ed226559f659901b",
"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... |
{- Denotational semantics of the types in the category of temporal types. -}
module Semantics.Types where
open import Syntax.Types
open import CategoryTheory.Instances.Reactive hiding (_+_)
open import TemporalOps.Box
open import TemporalOps.Diamond
-- Denotation of types
⟦_⟧ₜ : Type -> τ
⟦ Unit ⟧ₜ = ⊤
⟦ A & B ... | {
"alphanum_fraction": 0.601750547,
"avg_line_length": 25.3888888889,
"ext": "agda",
"hexsha": "f845d17294a547f8707f5935221d11e4c329d19f",
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.