Search is not available for this dataset
text string | meta dict |
|---|---|
-- Andreas, 2014-04-12, Order of declaration mattered in the presence
-- of meta variables involving sizes
-- {-# OPTIONS -v tc.meta:10 -v tc.meta.assign:10 #-}
-- Error persists without option sized-types
{-# OPTIONS --sized-types #-}
module _ where
open import Common.Size
-- different error if we do not use the bui... | {
"alphanum_fraction": 0.6710900474,
"avg_line_length": 26.375,
"ext": "agda",
"hexsha": "dcd62faa00e1629a8b45c893a4f9a177455bafb0",
"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 Luau.OpSem where
open import Agda.Builtin.Equality using (_≡_)
open import FFI.Data.Maybe using (just)
open import Luau.Heap using (Heap; _≡_⊕_↦_; lookup; function_⟨_⟩_end)
open import Luau.Substitution using (_[_/_]ᴮ)
open import Luau.Syntax using (Expr; Stat; Block; nil; addr; var; function⟨_⟩_end; _$_; block... | {
"alphanum_fraction": 0.3587755102,
"avg_line_length": 26.3440860215,
"ext": "agda",
"hexsha": "dcd474bf834f389f776539f848f3a78ff5a73950",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Groups.Definition
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Order
open import Setoids.Setoids
open import Sets.EquivalenceRelations
open import Rings.Definition
open import Rings.IntegralDomains.Defini... | {
"alphanum_fraction": 0.663292488,
"avg_line_length": 65.2869565217,
"ext": "agda",
"hexsha": "6a15b3b16e98783312c3632cb25ff2e994898414",
"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-29T1... |
module Logic.Classical.Propositional where
open import Boolean
open import Data
open import Functional
import Lvl
-- Propositional logic. Working with propositions and their truth (whether they are true or false).
module ProofSystems {ℓ₁} {ℓ₂} {Proposition : Set(ℓ₁)} {Formula : Set(ℓ₁) → Set(ℓ₂)} (symbols : S... | {
"alphanum_fraction": 0.4427542034,
"avg_line_length": 40.1607717042,
"ext": "agda",
"hexsha": "a22ee359b405fc97684cc7b8587cb3186ab7108f",
"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
--
-- Coprimality
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- Disabled to prevent warnings from deprecated names
{-# OPTIONS --warn=noUserWarning #-}... | {
"alphanum_fraction": 0.5375036625,
"avg_line_length": 32.5047619048,
"ext": "agda",
"hexsha": "896b401c071e3ed525cc8a32dcd7131ffd197bf9",
"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... |
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.ImplShared.Base.Types
open import LibraBFT.Abstr... | {
"alphanum_fraction": 0.6610636784,
"avg_line_length": 52.2976744186,
"ext": "agda",
"hexsha": "2551eb3001dfad95ea58b0b6b00662a3ecdd026c",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
open import Data.Product using ( _×_ ; _,_ )
open import Data.Sum using ( _⊎_ )
open import Relation.Unary using ( _∈_ ; _∉_ )
open import Web.Semantic.DL.FOL using ( Formula ; true ; false ; _∧_ ; _∈₁_ ; _∈₁_⇒_ ; _∈₂_ ; _∈₂_⇒_ ; _∼_ ; _∼_⇒_ ; ∀₁ )
open import Web.Semantic.DL.Signature using ( Signature )
open import ... | {
"alphanum_fraction": 0.5337078652,
"avg_line_length": 40.4545454545,
"ext": "agda",
"hexsha": "3df87eec09adbde9903af55126972876b6924daf",
"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-03T... |
data Cx (U : Set) : Set where
∅ : Cx U
_,_ : Cx U → U → Cx U
data _∈_ {U : Set} (A : U) : Cx U → Set where
top : ∀ {Γ} → A ∈ (Γ , A)
pop : ∀ {B Γ} → A ∈ Γ → A ∈ (Γ , B)
infixr 3 _⇒_
data Ty : Set where
ι : Ty
_⇒_ : Ty → Ty → Ty
□_ : Ty → Ty
infix 1 _⊢_
data _⊢_ : Cx Ty → Ty → Set where
var : ∀... | {
"alphanum_fraction": 0.3889908257,
"avg_line_length": 27.25,
"ext": "agda",
"hexsha": "c3c1825ed6ea54e78f171618a64675bae54913bc",
"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 Numeral.Integer.Relation.Divisibility where
open import Functional
open import Logic.Propositional
import Numeral.Natural.Relation.Divisibility as ℕ
open import Numeral.Integer
open import Type
_∣_ = (ℕ._∣_) on₂ absₙ
_∤_ = (¬_) ∘₂ (_∣_)
| {
"alphanum_fraction": 0.764940239,
"avg_line_length": 22.8181818182,
"ext": "agda",
"hexsha": "3046b3c89b9f5a35e41fe8288a32800f4cd2c5dc",
"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 Oscar.Data.Product where
open import Data.Product public using (Σ; _,_; proj₁; proj₂; ∃; ∃₂; _×_)
| {
"alphanum_fraction": 0.7009345794,
"avg_line_length": 21.4,
"ext": "agda",
"hexsha": "81b6f6a1b431aa265f9b255c4aea92af5f92252c",
"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": "5... |
module BasicIPC.Metatheory.Gentzen-TarskiGluedClosedImplicit where
open import BasicIPC.Syntax.Gentzen public
open import BasicIPC.Semantics.TarskiGluedClosedImplicit public
open ImplicitSyntax (∅ ⊢_) public
-- Completeness with respect to a particular model.
module _ {{_ : Model}} where
reify : ∀ {A} → ⊩ A → ∅ ... | {
"alphanum_fraction": 0.5862068966,
"avg_line_length": 23.3870967742,
"ext": "agda",
"hexsha": "77aaf9099cce31f6147e1b1d630eba7f27929e0c",
"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... |
------------------------------------------------------------------------
-- Operations on and properties of decidable relations
------------------------------------------------------------------------
module Relation.Nullary.Decidable where
open import Data.Empty
open import Data.Function
open import Data.Bool
open i... | {
"alphanum_fraction": 0.5460069444,
"avg_line_length": 28.0975609756,
"ext": "agda",
"hexsha": "67bdbb7341d11a1fe122ceeb9b587ce4cf1691e1",
"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... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Induction.WellFounded where
open import Cubical.Foundations.Everything
Rel : ∀{ℓ} → Type ℓ → ∀ ℓ' → Type _
Rel A ℓ = A → A → Type ℓ
module _ {ℓ ℓ'} {A : Type ℓ} (_<_ : A → A → Type ℓ') where
WFRec : ∀{ℓ''} → (A → Type ℓ'') → A → Type _
WFRec P x ... | {
"alphanum_fraction": 0.4944055944,
"avg_line_length": 29.7916666667,
"ext": "agda",
"hexsha": "a442f007cf5eb7d8f5facd7f2b508d3488f590d0",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-22T02:02:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-22T... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Algebra.Monoid
module Cubical.Algebra.Monoid.Construct.Opposite {ℓ} (M : Monoid ℓ) where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Prod using (_,_)
open Monoid M
import Cubical.Algebra.... | {
"alphanum_fraction": 0.75,
"avg_line_length": 24.7058823529,
"ext": "agda",
"hexsha": "9e237d62d498a014f226a2e59b365c9cf9859d3b",
"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 Structure.Operator.Vector.LinearMap.Equiv where
open import Functional
open import Function.Proofs
open import Logic.Predicate
import Lvl
open import Structure.Category
open import Structure.Function
open import Structure.Function.Multi
open import Structure.Operator.Properties
open import Structure.Operat... | {
"alphanum_fraction": 0.7505995204,
"avg_line_length": 35.7428571429,
"ext": "agda",
"hexsha": "1381f7b8dcc22b2247e7adfe82169e2dd7df4754",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
data D (X : Set) : Set
data D (X : Set) where
-- Should complain about repeated type signature for X
| {
"alphanum_fraction": 0.6730769231,
"avg_line_length": 14.8571428571,
"ext": "agda",
"hexsha": "c61eae3f5236cc970e1f0e97cee4907b25d3768f",
"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... |
------------------------------------------------------------------------
-- Streams
------------------------------------------------------------------------
module Stream where
open import Codata.Musical.Stream public renaming (_∷_ to _≺_)
| {
"alphanum_fraction": 0.3016528926,
"avg_line_length": 30.25,
"ext": "agda",
"hexsha": "bf7182a271a88226a2581733884b0838d5955ec5",
"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 Data.Product using ( _×_ ; _,_ )
open import Relation.Unary using ( _∈_ )
open import Web.Semantic.DL.ABox using ( ABox ; ε ; _,_ ; _∼_ ; _∈₁_ ; _∈₂_ )
open import Web.Semantic.DL.ABox.Interp using ( ⌊_⌋ ; ind )
open import Web.Semantic.DL.ABox.Model using ( _⊨a_ )
open import Web.Semantic.DL.Concept.Model ... | {
"alphanum_fraction": 0.6490857947,
"avg_line_length": 47.4,
"ext": "agda",
"hexsha": "f62b76fd7a8fd6734497adf5db0b29185b2a0437",
"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-03T14:52:09.... |
module Control.Monad.Transformer where
open import Prelude
record Transformer {a b} (T : (Set a → Set b) → (Set a → Set b)) : Set (lsuc a ⊔ lsuc b) where
field
lift : {M : Set a → Set b} {{_ : Monad M}} {A : Set a} → M A → T M A
open Transformer {{...}} public
| {
"alphanum_fraction": 0.594095941,
"avg_line_length": 24.6363636364,
"ext": "agda",
"hexsha": "b115b753d9a1fcf67a6f86984ef718e2cc58d241",
"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-12T... |
{-# OPTIONS --without-K #-}
module Computability.Enumeration.Base where
open import Computability.Prelude
open import Computability.Function
record Enumerable (A : Set) : Set where
field
enum : ℕ → A
bijective : Bijective enum
open Enumerable
ℕ-Enumerable : Enumerable ℕ
enum ℕ-Enumerable n = n
proj₁ (bije... | {
"alphanum_fraction": 0.7352941176,
"avg_line_length": 22.1,
"ext": "agda",
"hexsha": "0a5e6919971f177efdc10af089193744353d26d7",
"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": "1... |
{-# OPTIONS --rewriting #-}
open import Common.Prelude
open import Common.Equality
{-# BUILTIN REWRITE _≡_ #-}
postulate
f g : Nat → Nat
f-zero : f zero ≡ g zero
f-suc : ∀ n → f n ≡ g n → f (suc n) ≡ g (suc n)
r : (n : Nat) → f n ≡ g n
r zero = f-zero
r (suc n) = f-suc n refl
where
rn : f n ≡ g n
... | {
"alphanum_fraction": 0.5282485876,
"avg_line_length": 17.7,
"ext": "agda",
"hexsha": "cead70498540bf95616158f76e2643756cac4eb9",
"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 --cubical-compatible #-}
module Common.Equality where
open import Agda.Builtin.Equality public
open import Common.Level
subst : ∀ {a p}{A : Set a}(P : A → Set p){x y : A} → x ≡ y → P x → P y
subst P refl t = t
cong : ∀ {a b}{A : Set a}{B : Set b}(f : A → B){x y : A} → x ≡ y → f x ≡ f y
cong f refl = refl... | {
"alphanum_fraction": 0.5319148936,
"avg_line_length": 26.1111111111,
"ext": "agda",
"hexsha": "c05635fb1ccd42746e7ba5cf2a0442e54f405c3c",
"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 _ {T : Type{ℓₒ}} ⦃ equiv : Equiv{ℓₑ}(T) ⦄ where
instance
PredSet-setLike : SetLike{C = PredSet{ℓ}(T) ⦃ equiv ⦄} (_∈_)
SetLike._⊆_ PredSet-setLike = _⊆_
SetLike._≡_ PredSet-setLike = _≡_
SetLike.[⊆]-membership PredSet-setLike = [↔]-intro intro _⊆_.proof
SetLike.[≡]-membership PredSet-setLik... | {
"alphanum_fraction": 0.6862871928,
"avg_line_length": 49.0793650794,
"ext": "agda",
"hexsha": "f86be87d64f01fd85ffe37d3b4e13bd083de6d1f",
"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.Structures.CommRing where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import Cubical.Foundations.SIP renaming (SNS-PathP to SNS)
open import Cubical.Structures... | {
"alphanum_fraction": 0.6587183308,
"avg_line_length": 30.5,
"ext": "agda",
"hexsha": "2350c23187375564eeae15a99e0d83beec363005",
"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": "c... |
{-# OPTIONS --cubical #-}
open import Cubical.Core.Glue
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Data.Empty
open import Cubical.Data.Unit
open imp... | {
"alphanum_fraction": 0.5038930355,
"avg_line_length": 33.0195035461,
"ext": "agda",
"hexsha": "123aba03793af34365f2ff689c791296871a7ce8",
"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
--
-- This module is DEPRECATED. Please use `Data.Vec.Functional` instead.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- Disabled to prevent warnings f... | {
"alphanum_fraction": 0.5739051095,
"avg_line_length": 36.5333333333,
"ext": "agda",
"hexsha": "0df7e54ada19c7540acb374a912dfbaf5a15d55e",
"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... |
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Unit
open import Oscar.Class.Leftunit
module Oscar.Class.Leftunit.ToUnit where
module _
{𝔞} {𝔄 : Ø 𝔞} {𝔢} {𝔈 : Ø 𝔢} {ℓ}
{_↦_ : 𝔄 → 𝔄 → Ø ℓ} (let _↦_ = _↦_; infix 4 _↦_)
{ε : 𝔈}
{_◃_ : 𝔈 → 𝔄 → 𝔄} (let _◃_ = _◃_; infix 16 _◃_... | {
"alphanum_fraction": 0.591611479,
"avg_line_length": 22.65,
"ext": "agda",
"hexsha": "63d5229bd40dd7197d984bfcb7328b3c91fb4f5d",
"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": "5... |
module Lectures.One where
-- Check background color
-- Check fontsize
-- Ask questions at *any* time
data ⊤ : Set where
tt : ⊤
data ⊥ : Set where
absurd : ⊥ → {P : Set} → P
absurd ()
-- Introduce most common key bindings
-- C-c C-l load
-- C-c C-, show context
-- C-c C-. show context + type
-- C-c C-... | {
"alphanum_fraction": 0.5592163847,
"avg_line_length": 16.5147058824,
"ext": "agda",
"hexsha": "6e928a760818091fa9fc63baab1d3b6465d509a3",
"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 --exact-split --allow-unsolved-metas #-}
module 13-propositional-truncation where
import 12-univalence
open 12-univalence public
-- Section 13 Propositional truncations, the image of a map, and the replacement axiom
-- Section 13.1 Propositional truncations
-- Definition 13.1.1
type-hom-Pr... | {
"alphanum_fraction": 0.5925559482,
"avg_line_length": 36.5318416523,
"ext": "agda",
"hexsha": "eae7466b26daa73b65319b6c65be12695976f95d",
"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
--
-- Convenient syntax for reasoning with a partial setoid
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Relation.Bin... | {
"alphanum_fraction": 0.4851390221,
"avg_line_length": 27.4473684211,
"ext": "agda",
"hexsha": "be686b19ea8b4f1eda398dab940dd037d9d6fae8",
"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 Issue1232.Fin where
data Fin : Set where
zero : Fin
| {
"alphanum_fraction": 0.7142857143,
"avg_line_length": 10.5,
"ext": "agda",
"hexsha": "c695f54820524ed503c04495227ff19c089b738e",
"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... |
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
import LibraBFT.Impl.Consensus.ConsensusTypes.Vote as Vote
... | {
"alphanum_fraction": 0.674,
"avg_line_length": 43.75,
"ext": "agda",
"hexsha": "5f36e103fb40f85d852a77237559651122f50cde",
"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": "a4674fc... |
{-# OPTIONS --without-K --safe #-}
module Polynomial.Simple.AlmostCommutativeRing where
import Algebra.Solver.Ring.AlmostCommutativeRing as Complex
open import Level
open import Relation.Binary
open import Algebra
open import Algebra.Structures
open import Algebra.FunctionProperties
import Algebra.Morphism as Morphis... | {
"alphanum_fraction": 0.5651170458,
"avg_line_length": 31.2680412371,
"ext": "agda",
"hexsha": "d59c338f2d76f54cb6b62965347243610dd4cca9",
"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-16T... |
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Bool
open import lib.types.Empty
open import lib.types.Paths
open import lib.types.Pi
open import lib.types.Sigma
{-
This file contains various lemmas that rely on lib.types.Paths or
functional extensionality f... | {
"alphanum_fraction": 0.438290254,
"avg_line_length": 32.6167883212,
"ext": "agda",
"hexsha": "86ef4538d0b91c50d083a070efd14d4084919bfe",
"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-10T... |
open import Signature
-- | One signature for terms and one for predicates.
module Logic (Σ Δ : Sig) (V : Set) where
open import Data.Empty renaming (⊥ to Ø)
open import Data.Unit
open import Data.Sum
open import Data.Product renaming (Σ to ∐)
open import Data.Nat
open import Data.Fin
FinSet : Set → Set
FinSet X = ∃ ... | {
"alphanum_fraction": 0.6318141197,
"avg_line_length": 16.7014925373,
"ext": "agda",
"hexsha": "bca5438b8a2ccaa4cef75fbbc93790cdd8354fa0",
"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, 2017-01-24, issue #2429
-- Respect subtyping also for irrelevant lambdas!
-- Subtyping: (.A → B) ≤ (A → B)
-- Where a function is expected, we can put one which does not use its argument.
id : ∀{A B : Set} → (.A → B) → A → B
id f = f
test : ∀{A B : Set} → (.A → B) → A → B
test f = λ .a → f a
-- Should w... | {
"alphanum_fraction": 0.5962566845,
"avg_line_length": 24.9333333333,
"ext": "agda",
"hexsha": "1dd1c054a64bc2094ce3cb55a002c843a24916ba",
"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.Empty.Properties where
open import Data.Empty.Base
open import Level
open import HLevels
isProp⊥ : isProp ⊥
isProp⊥ ()
isProp¬ : (A : Type a) → isProp (¬ A)
isProp¬ _ f g i x = isProp⊥ (f x) (g x) i
| {
"alphanum_fraction": 0.6506024096,
"avg_line_length": 16.6,
"ext": "agda",
"hexsha": "249a09694759c91090725e8e72779e179524dcd6",
"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.... |
------------------------------------------------------------------------
-- The Agda standard library
--
-- The type for booleans and some operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Bool.Base where
open import Data.Unit.Base usin... | {
"alphanum_fraction": 0.4857142857,
"avg_line_length": 21.1320754717,
"ext": "agda",
"hexsha": "201ac71e304a024836603e6cf5326769f6145419",
"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 prelude
open import ch6 using (Term ; var ; fun ; _$_ ; two ; four)
-- A stack is a list of values
-- Values are either closures or errors
data Value : Set where
error : Value
closure : List(Value) → Term → Value
Stack = List(Value)
lookup : (s : Stack) → (x : Nat) → Value
lookup nil x = error
look... | {
"alphanum_fraction": 0.4991807755,
"avg_line_length": 24.0921052632,
"ext": "agda",
"hexsha": "bd74f1b2671a5cdc933ccfabdd1af16db26bcd63",
"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... |
------------------------------------------------------------------------------
-- Agda-Prop Library.
-- Normal Forms.
------------------------------------------------------------------------------
open import Data.Nat using (ℕ)
module Data.PropFormula.NormalForms (n : ℕ) where
---------------------------------------... | {
"alphanum_fraction": 0.4979031643,
"avg_line_length": 26.4949494949,
"ext": "agda",
"hexsha": "6498295209ca303935cf6de4b9e15c9d00c448a3",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-12-01T17:01:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-03-30T... |
module Prelude.Equality.Inspect where
open import Prelude.Function using (id)
open import Prelude.Equality
open import Prelude.Product
module _ {a b} {A : Set a} {B : A → Set b} (f : ∀ x → B x) (x : A) where
-- The Graph idiom is more powerful than the old Inspect idiom
-- (defined in terms of Graph below), in ... | {
"alphanum_fraction": 0.6159346272,
"avg_line_length": 25.7631578947,
"ext": "agda",
"hexsha": "563d36b35685ebbcc59c8064b791d3b66a0ef3fd",
"lang": "Agda",
"max_forks_count": 24,
"max_forks_repo_forks_event_max_datetime": "2021-04-22T06:10:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-12... |
module Issue2492 where
open import Agda.Builtin.Nat
infix 0 _!
data Singleton {A : Set} : A → Set where
_! : (a : A) → Singleton a
_ : Singleton 10
_ = {!!}
| {
"alphanum_fraction": 0.6358024691,
"avg_line_length": 14.7272727273,
"ext": "agda",
"hexsha": "d8023e5120a9b74ffdff2dc82b7083bbbbec6a4f",
"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... |
------------------------------------------------------------------------
-- Application of substitutions
------------------------------------------------------------------------
open import Data.Universe.Indexed
module deBruijn.Substitution.Data.Application.Application
{i u e} {Uni : IndexedUniverse i u e} where
i... | {
"alphanum_fraction": 0.4776825303,
"avg_line_length": 32.8446601942,
"ext": "agda",
"hexsha": "01dca6a90e4f668661fe76d4e5bfd46f2eb07b15",
"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, 2021-10-08, first test case for unsupported generalization
variable
X : Set
Y = X
-- Expected:
-- Generalizable variable GeneralizeRHS.X is not supported here
-- when scope checking X
| {
"alphanum_fraction": 0.7412935323,
"avg_line_length": 18.2727272727,
"ext": "agda",
"hexsha": "73d615a71d2ad8eb44aad5c98d9cef1a739bffcb",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-0... |
module Text.XML.Everything where
-- Imported packages
import Web.URI.Everything
| {
"alphanum_fraction": 0.8048780488,
"avg_line_length": 13.6666666667,
"ext": "agda",
"hexsha": "8049889191a06130e01cb4ca53821ee9f03ba183",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:38:28.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-12T... |
open import bool
open import list
open import nat
_⇒_ : 𝕃 Set → Set → Set
[] ⇒ rettp = rettp
(x :: inputtps) ⇒ rettp = x → inputtps ⇒ rettp
_⇒𝕃_ : 𝕃 Set → Set → Set
inputtps ⇒𝕃 rettp = (map 𝕃 inputtps) ⇒ (𝕃 rettp)
eatInputs : {inputtps : 𝕃 Set}{rettp : Set} → inputtps ⇒𝕃 rettp
eatInputs {[]} {rettp₁} = []
e... | {
"alphanum_fraction": 0.5614886731,
"avg_line_length": 37.4545454545,
"ext": "agda",
"hexsha": "931c356a92dc16e02f6e189970c159a3da067913",
"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 Data.Tuple.Equiv where
import Lvl
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Structure.Function
open import Structure.Operator
open import Structure.Setoid
open import Type
private variable ℓ ℓₑ ℓₑ₁ ℓₑ₂ : Lvl.Level
private variable A B : Type{ℓ}
record Extensionality ⦃ equiv-A : Equiv{... | {
"alphanum_fraction": 0.688751926,
"avg_line_length": 32.45,
"ext": "agda",
"hexsha": "d7ad47b6a4846949c3ac5a7a0662b6dc69efc153",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "7... |
module PosFunction where
data Functor : Set1 where
|Id| : Functor
|K| : Set -> Functor
_|+|_ : Functor -> Functor -> Functor
_|x|_ : Functor -> Functor -> Functor
data _⊕_ (A B : Set) : Set where
inl : A -> A ⊕ B
inr : B -> A ⊕ B
data _×_ (A B : Set) : Set where
_,_ : A -> B -> A × B
-- The positiv... | {
"alphanum_fraction": 0.5008635579,
"avg_line_length": 23.16,
"ext": "agda",
"hexsha": "a666ed6cfba836d2b9065ca1c857ae36aa32b917",
"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 UniDB.Subst.Star where
open import UniDB.Subst.Core
open import UniDB.Morph.Star
module _
{T : STX} {{vrT : Vr T}} {{apTT : Ap T T}}
{Ξ : MOR} {{lkTΞ : Lk T Ξ}} {{upΞ : Up Ξ}}
where
instance
iLkStar : Lk T (Star Ξ)
lk {{iLkStar}} ε i = vr i
lk {{iLkStar}} (ξs ▻ ξ) i = ap {T} ξ (lk ... | {
"alphanum_fraction": 0.4859075536,
"avg_line_length": 29.5666666667,
"ext": "agda",
"hexsha": "835a76f5a30f03c099f4b6c03cbb22d845f83efa",
"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 Formalization.RecursiveFunction where
import Lvl
open import Data
open import Data.ListSized
open import Numeral.Finite
open import Numeral.Natural
open import Syntax.Number
open import Type{Lvl.𝟎}
-- Function(n) is a syntactic representation of recursive functions of type (ℕⁿ → ℕ).
-- The syntax
data Fu... | {
"alphanum_fraction": 0.5991573034,
"avg_line_length": 42.8915662651,
"ext": "agda",
"hexsha": "cce368c228d1c66c7854325c0b38d288661b12b5",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K #-}
module FinEquiv where
-- The goal is to establish that finite sets and equivalences form a
-- commutative semiring.
import Level using (zero)
open import Data.Empty using (⊥; ⊥-elim)
open import Data.Unit using (⊤; tt)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Data.Produc... | {
"alphanum_fraction": 0.4668234257,
"avg_line_length": 29.7139737991,
"ext": "agda",
"hexsha": "e30cb2c35f26aa6cf27f80be9add1cb5da78c804",
"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 -v tc.meta:30 --show-irrelevant #-}
-- Andreas, 2013-10-29 submitted by sanzhiyan
-- Documents need for different treating of DontCare in
-- linearity analysis of Miller unification.
-- Now, there can be DontCares stemming from irrelevant projections.
module Issue927 where
import Common.Level
module F... | {
"alphanum_fraction": 0.5591647332,
"avg_line_length": 26.1212121212,
"ext": "agda",
"hexsha": "00a4a67ea1bf824af4538ccad2ee3544a3aa6b93",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-03-05T20:02:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-05T... |
module Issue630 where
Test = (A : Set) → A → A
g : Test
g = λ _ x → {!!}
-- the goal should be displayed as ?1 : A
-- not ?1 : _
| {
"alphanum_fraction": 0.5378787879,
"avg_line_length": 13.2,
"ext": "agda",
"hexsha": "6bb5fd4a4e03d660c72f18c8584949e112ae291e",
"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... |
-- Here is a smaller test case. The error message is produced using
-- the latest (at the time of writing) development version of Agda.
module Issue183 where
postulate A : Set
T : Set
T = A → A
data L (A : Set) : Set where
data E (x : T) : T → Set where
e : E x x
foo : (f : A → A) → L (E f (λ x → f x))
foo = λ ... | {
"alphanum_fraction": 0.669793621,
"avg_line_length": 24.2272727273,
"ext": "agda",
"hexsha": "92175fa2df68aab9defb7ab186b746f4b7f50028",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hex... |
{-# OPTIONS --cubical --postfix-projections --safe #-}
open import Relation.Binary
open import Prelude hiding (tt)
module Data.List.Sort.Sorted {e} {E : Type e} {r₁ r₂} (totalOrder : TotalOrder E r₁ r₂) where
open import Relation.Binary.Construct.LowerBound totalOrder
open TotalOrder totalOrder renaming (refl to re... | {
"alphanum_fraction": 0.6037558685,
"avg_line_length": 40.1886792453,
"ext": "agda",
"hexsha": "14f631ea51de80e437be7fd96b9f149f681efa54",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-11T... |
module Holey where
open import Basics
open import Ix
open import All
open import Cutting
open import Interior
open import Recutter
open import Mask
module HOLEY {I}(C : I |> I) where
open _|>_ C
open INTERIOR C
open RECUTTER C
open MASK C
data Holey {I : Set}(P : I -> Set)(i : I) : Set where
hole : Ho... | {
"alphanum_fraction": 0.5942211055,
"avg_line_length": 21.5135135135,
"ext": "agda",
"hexsha": "8a3031fe7e87adb929c3bcf61073dc45d5f39099",
"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, 2019-10-13, issue 4125
-- Avoid unnecessary normalization in type checker.
-- Print to the user what they wrote, not its expanded form.
-- {-# OPTIONS -v tc:25 #-}
postulate
We-do-not-want-to : Set → Set
see-this-in-the-output : Set
A = We-do-not-want-to see-this-in-the-output
postulate
P : A → Se... | {
"alphanum_fraction": 0.6071887035,
"avg_line_length": 21.0540540541,
"ext": "agda",
"hexsha": "c64ed12173839a00ee4ff07f64942f2f923537bf",
"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 Numeric.Rational.Properties where
open import Prelude
open import Numeric.Rational
open import Numeric.Nat.Properties
open import Numeric.Nat.Divide
open import Numeric.Nat.Divide.Properties
open import Numeric.Nat.Prime
open import Numeric.Nat.Prime.Properties
open import Numeric.Nat.GCD
open import Numeric.N... | {
"alphanum_fraction": 0.4994492179,
"avg_line_length": 34.1278195489,
"ext": "agda",
"hexsha": "136b2d98ae041b5745e2d5a820d3a5355e19ad71",
"lang": "Agda",
"max_forks_count": 24,
"max_forks_repo_forks_event_max_datetime": "2021-04-22T06:10:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-12... |
-- BEGIN prelude.agda
-- the Haskell $ and .
($) (A::Set) (B::Set) (f :: A -> B) (a :: A) :: B
= f a
compose (B,C,A::Set)(f :: B -> C)(g :: A -> B) :: A -> C
= \ (x::A) -> f (g x)
{- hardwired into Agda
Integer :: Set
= ?
Bool :: Set
= data True | False
-}
not (b::Bool) :: Bool
= case b of {
(Tr... | {
"alphanum_fraction": 0.4980784012,
"avg_line_length": 20.5421052632,
"ext": "agda",
"hexsha": "ed87c2d855d98deb56efdd1524456133d0e1996e",
"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... |
------------------------------------------------------------------------------
-- Addition as a function constant
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #... | {
"alphanum_fraction": 0.4589700057,
"avg_line_length": 33.3396226415,
"ext": "agda",
"hexsha": "f925817b7b0d83b28d5471ec26449ec041b4c46e",
"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 sv20.assign2.SetTheory.Algebra where
open import sv20.assign2.SetTheory.Subset
open import sv20.assign2.SetTheory.Logic
open import sv20.assign2.SetTheory.ZAxioms
infix 6 _∪_
infix 6 _-_
infix 6 _∩_
-- Properties involving operations between sets, algebra of sets.
-- In this module some properties involving ... | {
"alphanum_fraction": 0.4677849193,
"avg_line_length": 27.9780701754,
"ext": "agda",
"hexsha": "746943b7b5e27be44e7ac0e5992c69fca182c0bf",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K #-}
module Types where
open import Level
using (_⊔_; Lift; lift; lower)
public
infix 1 _≡_
infixr 1 _⊎_
infixr 2 _×_
infix 3 ¬_
infixr 4 _,_
infixr 9 _∘_
-- The negative fragment.
Π : ∀ {a b} (A : Set a) → (A → Set b) → Set _
Π A B = (x : A) → B x
record Σ {a b} (A : Set a) (B : A → Se... | {
"alphanum_fraction": 0.4726862302,
"avg_line_length": 20.8962264151,
"ext": "agda",
"hexsha": "e274e27d6392fbf886f2beb3a48af74c485f6f9a",
"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... |
-- notes-04-thursday.agda
open import mylib
{-
Infinite datastructure
- streams, Stream A
0 ,1 , 2 ,3 ,4, ... : Stream ℕ
1, 1 , 2, 3 ,5 ,..
2, 3, 5, 7, 11,..
duality, categorical mirror
_×_ (products) and _⊎_ (coproducts, sums)
Inductive datatypes: finite datastructures
Coinductive datatypes: Stre... | {
"alphanum_fraction": 0.5387610619,
"avg_line_length": 17.7672955975,
"ext": "agda",
"hexsha": "282ed7936cb9b3962cd1c3f96a7820510fec60d5",
"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.Pi
open import lib.types.Pointed
module lib.types.Span where
record Span {i j k : ULevel} : Type (lsucc (lmax (lmax i j) k)) where
constructor span
field
A : Type i
B : Type j
C : Type k
f : C → A
g : C → B
private
sp... | {
"alphanum_fraction": 0.4135772749,
"avg_line_length": 32.9682539683,
"ext": "agda",
"hexsha": "8b2bc41cf9f1d0cbedbddd083332139e699a3f7d",
"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.Real.Order where
open import Assume
open import Data.Real.Base
open import Data.Bool using (T; T?)
open import Data.Unit using (⊤; tt)
open import Relation.Nullary using (Dec; yes; no; ¬_)
open import Relation.Binary.PropositionalEquality using (_≡_)
open import Relation.Binary
open import Level using (0ℓ... | {
"alphanum_fraction": 0.7105831533,
"avg_line_length": 27.78,
"ext": "agda",
"hexsha": "7d122b80ccab36f3579aeb297ee459b95127f604",
"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": "... |
------------------------------------------------------------------------
-- Various definitions of "true infinitely often", and some proofs
-- showing that this property commutes with binary sums (in the
-- double-negation monad, and sometimes with extra assumptions)
----------------------------------------------------... | {
"alphanum_fraction": 0.5207205525,
"avg_line_length": 33.1190108192,
"ext": "agda",
"hexsha": "36c9979dd2ee40cdf2a75bd554cf439fb515eb4b",
"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 Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; subst₂; cong)
open import Data.Nat.Base
open import Data.Fin hiding (_+_; #_)
open import Data.Product using (∃; _×_; _,_; ∃-syntax)
open import DeBruijn
open import Substitution using (rename-subst-commute; subst-commute)
open import Beta
... | {
"alphanum_fraction": 0.4237909135,
"avg_line_length": 25.4285714286,
"ext": "agda",
"hexsha": "e0c889abe0eb61835084519b9e17cb3ffe49370a",
"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... |
-- Basic intuitionistic propositional calculus, without ∨ or ⊥.
-- Hilbert-style formalisation of closed syntax.
-- Sequences of terms.
module BasicIPC.Syntax.ClosedHilbertSequential where
open import BasicIPC.Syntax.Common public
-- Derivations.
infix 3 ⊦⊢_
data ⊦⊢_ : Cx Ty → Set where
nil : ⊦⊢ ∅
mp : ∀ ... | {
"alphanum_fraction": 0.431670282,
"avg_line_length": 28.2244897959,
"ext": "agda",
"hexsha": "ae48238040d048f6016629c4e1570b2dad8ca64a",
"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 #-}
module Cubical.Algebra.Semigroup.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.SIP
open import Cubical.Data.Sigma
open import Cubical.R... | {
"alphanum_fraction": 0.6968911917,
"avg_line_length": 27.02,
"ext": "agda",
"hexsha": "7ec2bd84c08bc49d6c249ffa41100e1ab40e26f7",
"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 --copatterns --show-implicit #-}
module Issue940 where
module _ (A : Set) where
record Box : Set where
constructor box
field
unbox : A
open Box
postulate x : A
ex : Box
ex = box x -- works
ex' : Box
unbox ex' = x
-- Error WAS:
-- An internal error has occurred. Pleas... | {
"alphanum_fraction": 0.629707113,
"avg_line_length": 14.9375,
"ext": "agda",
"hexsha": "ce696363bf9d2224ce7b063bca76258ac2323b42",
"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 Issue558b where
data Nat : Set where
Z : Nat
S : Nat → Nat
data _≡_ {A : Set} (a : A) : A → Set where
Refl : a ≡ a
plus : Nat → Nat → Nat
plus Z n = n
plus (S n) m = S (plus n m)
data Addable (τ : Set) : Set where
addable : (τ → τ → τ) → Addable τ
plus' : {τ : Set} → Addable τ → τ → τ → τ
plus' (add... | {
"alphanum_fraction": 0.5503669113,
"avg_line_length": 22.7121212121,
"ext": "agda",
"hexsha": "6d00062b19a8ba60bcd102b75a50a158fc967e82",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:35:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-12T... |
-- Andreas, 2017-01-01, issue 2372, reported by m0davis
-- This file is imported by Issue2372ImportInst.
module Issue2372Inst where
postulate D : Set
record R : Set₁ where
field
r : Set
open R {{ ... }} public
instance iR = record { r = D }
| {
"alphanum_fraction": 0.6758893281,
"avg_line_length": 15.8125,
"ext": "agda",
"hexsha": "e6623e78fb7afa74494bc73c9c63b6b1a7535507",
"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... |
{-# OPTIONS --rewriting #-}
module Examples.Run where
open import Agda.Builtin.Equality using (_≡_; refl)
open import Luau.Syntax using (nil; var; _$_; function_⟨_⟩_end; return; _∙_; done)
open import Luau.Value using (nil)
open import Luau.Run using (run; return)
open import Luau.Heap using (emp; lookup-next; next-e... | {
"alphanum_fraction": 0.6942003515,
"avg_line_length": 29.9473684211,
"ext": "agda",
"hexsha": "bfa798394b51c7eae61ddc47d5b97a42e9a4043e",
"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 Issue5563 where
F : (@0 A : Set) → A → A
F A x =
let
y : A
y = x
in y
| {
"alphanum_fraction": 0.4555555556,
"avg_line_length": 10,
"ext": "agda",
"hexsha": "d66baf84240999c8e41fd7d78ff7de666c2ba8d3",
"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": "98c... |
module Cats.Category.Fun.Facts where
open import Cats.Category
open import Cats.Category.Cat using (_≈_)
open import Cats.Category.Fun using (Trans ; Fun ; ≈-intro ; ≈-elim)
open import Cats.Functor using (Functor)
open import Cats.Trans.Iso using (NatIso ; iso ; forth-natural ; back-natural)
open import Level using ... | {
"alphanum_fraction": 0.5627466456,
"avg_line_length": 21.8448275862,
"ext": "agda",
"hexsha": "0611058d4dba5379ad330dbf7deec75b6b811f6f",
"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 #-}
module Classifying where
open import Basics
open import Flat
open import lib.types.Sigma
open import lib.Equivalence2
open import lib.types.Truncation
BAut : ∀ {i} {X : Type i} (x : X) → Type i
BAut {X = X} x = Σ X $ (\y → ∥ x == y ∥)
♭-commutes-with-BAut : {... | {
"alphanum_fraction": 0.38359375,
"avg_line_length": 36.5714285714,
"ext": "agda",
"hexsha": "6f6edcd152c8764376c0add3142c1754f01e5ac1",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexs... |
module Section8 where
open import Section7 public
-- 8. Correctness of conversion between terms
-- ==========================================
--
-- The conversion rules for terms are sound:
-- Theorem 9.
postulate
thm₉ : ∀ {Γ A t₀ t₁} →
(M N : Γ ⊢ A) → t₀ 𝒟 M → t₁ 𝒟 N → Γ ⊢ t₀ ≊ t₁ ∷ A →
M... | {
"alphanum_fraction": 0.5499351492,
"avg_line_length": 26.5862068966,
"ext": "agda",
"hexsha": "c6b791c9d08037cd69736c4682e8914bd43cac5f",
"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.Primitive using (lzero; lsuc; _⊔_)
import SecondOrder.Arity
import SecondOrder.Signature
import SecondOrder.Metavariable
import SecondOrder.Renaming
import SecondOrder.Term
module SecondOrder.Theory
{ℓ}
{𝔸 : SecondOrder.Arity.Arity}
(Σ : SecondOrder.Signature.Signature ℓ 𝔸)
where
open Se... | {
"alphanum_fraction": 0.6610644258,
"avg_line_length": 31.7333333333,
"ext": "agda",
"hexsha": "3dcc87295a3375740a6258e9e4522eb4f081ff11",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
------------------------------------------------------------------------------
-- Properties for the bisimilarity relation
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polym... | {
"alphanum_fraction": 0.4462193823,
"avg_line_length": 32.3793103448,
"ext": "agda",
"hexsha": "092646cea8a8a63b7b12b043754606cf7dc070f4",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-19T... |
{-# OPTIONS --cubical --safe #-}
module Data.Binary.PerformanceTests.Multiplication where
open import Prelude
open import Data.Binary.Definition
open import Data.Binary.Addition using (_+_)
open import Data.Binary.Multiplication using (_*_)
open import Data.Binary.Increment using (inc)
one-thousand : 𝔹
one-thousand... | {
"alphanum_fraction": 0.6661742984,
"avg_line_length": 21.8387096774,
"ext": "agda",
"hexsha": "deada951a851702fe0e8897e46371392347f01a4",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-11T12:30:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-11T... |
{-# OPTIONS --without-K #-}
module Data.Tuple.Base where
open import Level using (_⊔_)
-- non-dependent pair; failed to reuse _×_
record Pair {a b} (A : Set a) (B : Set b) : Set (a ⊔ b) where
constructor _,_
field
fst : A
snd : B
{-# FOREIGN GHC type AgdaPair a b c d = (c , d) #-}
-- {-# COMPILE GHC Pair... | {
"alphanum_fraction": 0.6168831169,
"avg_line_length": 23.1,
"ext": "agda",
"hexsha": "dbead0787f0fa9e7993e2c2977bc28c6db1f814e",
"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... |
------------------------------------------------------------------------------
-- Group theory
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --wi... | {
"alphanum_fraction": 0.4842105263,
"avg_line_length": 30.6451612903,
"ext": "agda",
"hexsha": "e0b1f8f26908170399b51590794299821ab9028d",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-19T... |
{-# OPTIONS --safe --warning=error --without-K #-}
open import Setoids.Setoids
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Numbers.Naturals.Semiring
open import Sets.Cardinality.Finite.Definition
open import Groups.Definition
module Groups.FiniteGroups.Definition where
record FiniteGroup {... | {
"alphanum_fraction": 0.6601226994,
"avg_line_length": 45.2777777778,
"ext": "agda",
"hexsha": "6c2e43e99a4bcc0d10457f23d891fd7c64d50ea2",
"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... |
------------------------------------------------------------------------
-- A tiny library of derived combinators
------------------------------------------------------------------------
module TotalRecognisers.LeftRecursion.Lib (Tok : Set) where
open import Codata.Musical.Notation
open import Data.Bool hiding (_∧_; ... | {
"alphanum_fraction": 0.4996345029,
"avg_line_length": 30.2320441989,
"ext": "agda",
"hexsha": "4758e64f1d01d01d672ab3c969d16dcdb1accde7",
"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-06-08 issue #2006 (actually #289)
open import Common.Reflection
open import Common.Prelude
bla : Term → Term
bla = {!!} -- Splitting here should be fine
macro
comp : Term → Term → TC ⊤
comp x t = bindTC (quoteTC (bla x)) (λ y → unify t y)
foo : Term
foo = comp Set
| {
"alphanum_fraction": 0.6563573883,
"avg_line_length": 19.4,
"ext": "agda",
"hexsha": "bb5c6b118854fcd066e5223708e5c1e275fce922",
"lang": "Agda",
"max_forks_count": 371,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T19:00:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T14:04:0... |
{-# OPTIONS --rewriting #-}
module Luau.StrictMode where
open import Agda.Builtin.Equality using (_≡_)
open import FFI.Data.Maybe using (just; nothing)
open import Luau.Syntax using (Expr; Stat; Block; BinaryOperator; yes; nil; addr; var; binexp; var_∈_; _⟨_⟩∈_; function_is_end; _$_; block_is_end; local_←_; _∙_; done... | {
"alphanum_fraction": 0.4303076339,
"avg_line_length": 27.1443298969,
"ext": "agda",
"hexsha": "1b0280427b861381b4e19af707ee83599f900707",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
open import FRP.JS.RSet using ( RSet ; _⇒_ ; ⟦_⟧ ; ⟨_⟩ )
module FRP.JS.Event where
infixr 4 _∪_
postulate
Evt : RSet → RSet
map : ∀ {A B} → ⟦ A ⇒ B ⟧ → ⟦ Evt A ⇒ Evt B ⟧
∅ : ∀ {A} → ⟦ Evt A ⟧
_∪_ : ∀ {A} → ⟦ Evt A ⇒ Evt A ⇒ Evt A ⟧
accumBy : ∀ {A B} → ⟦ ⟨ B ⟩ ⇒ A ⇒ ⟨ B ⟩ ⟧ → B → ⟦ Evt A ⇒ Evt ⟨ B ⟩ ⟧
{-# ... | {
"alphanum_fraction": 0.5272373541,
"avg_line_length": 31.1515151515,
"ext": "agda",
"hexsha": "ed4d3e6072dc13d3a8a40c1255f7d32f38e5ffbf",
"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... |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Relation.Binary.Raw
module Cubical.Relation.Binary.Raw.Construct.NonStrictToStrict
{a ℓ} {A : Type a} (_≤_ : RawRel A ℓ) where
open import Cubical.Relation.Binary.Raw.Properties
open import Cubical.Foundation... | {
"alphanum_fraction": 0.5398122919,
"avg_line_length": 30.8691588785,
"ext": "agda",
"hexsha": "591500a3823eaa9d0c6aa4187f74899d78d8dd88",
"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 --erased-cubical #-}
module Common.Path where
open import Agda.Builtin.Cubical.Path public
open import Agda.Builtin.Cubical.HCompU
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMin to _∧_;
primHComp to hcomp; primTransp to tr... | {
"alphanum_fraction": 0.6063268893,
"avg_line_length": 43.7692307692,
"ext": "agda",
"hexsha": "3dc81348b7bf9daefbe1898adb01448bc7e17943",
"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 Agda.Primitive using (lzero; lsuc; _⊔_)
import SecondOrder.Arity
import SecondOrder.VContext
module SecondOrder.Signature
ℓ
(𝔸 : SecondOrder.Arity.Arity)
where
open SecondOrder.Arity.Arity 𝔸
-- a second-order algebraic signature
record Signature : Set (lsuc ℓ) where
-- a signature con... | {
"alphanum_fraction": 0.6626192541,
"avg_line_length": 32.0277777778,
"ext": "agda",
"hexsha": "8d98d97760e982b95cb011a72d57e581c255c98c",
"lang": "Agda",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-05-24T02:51:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-16T... |
--------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
open import Agda.Builtin.Equality
open import Data.Product
open import Level
open import Relation.Unary using (_⊆_)
module is-lib.InfSys.Induction {𝓁} where
private
variable
U : Se... | {
"alphanum_fraction": 0.5014492754,
"avg_line_length": 31.3636363636,
"ext": "agda",
"hexsha": "debdce851227252ed2ec6fd6d2ad630049b75d88",
"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 SizedPolyIO.ConsoleObject where
open import Size
open import Level using (_⊔_) renaming (suc to lsuc)
open import SizedPolyIO.Console
open import SizedPolyIO.Object
open import SizedPolyIO.IOObject
-- A console object is an IO object for the IO interface of console
ConsoleObject : ∀{μ ρ}(i : Size) → (iface... | {
"alphanum_fraction": 0.7593052109,
"avg_line_length": 26.8666666667,
"ext": "agda",
"hexsha": "898f941f8d4a91efbcd461a567c1585bc3c55bbd",
"lang": "Agda",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:41:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-01T... |
module _ where
open import Common.Equality
postulate
_def_ _more_ _less_ : Set → Set → Set
X : Set
infix 21 _more_
-- default fixity should be 20
infix 19 _less_
test : (X more X def X less X) ≡ _less_ (_def_ (_more_ X X) X) X
test = refl
module NoFix where
data NoFix : Set₁ where
_+_ : Set → Set → NoFi... | {
"alphanum_fraction": 0.6722222222,
"avg_line_length": 16.3636363636,
"ext": "agda",
"hexsha": "cd9f241c334b9a2aa1bfd69c4dd644e281df4e7b",
"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 --warning=error --without-K #-}
open import LogicalFormulae
open import Setoids.Setoids
open import Rings.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
module Rings.Units.Definition {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring S _+_ _*_) wher... | {
"alphanum_fraction": 0.6348039216,
"avg_line_length": 25.5,
"ext": "agda",
"hexsha": "ae5edb50e4c8c2bf843c9c5a09c5a90b8b28fa15",
"lang": "Agda",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-29T13:23:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-29T13:23:07.... |
------------------------------------------------------------------------------
-- Properties of the iter₀ function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism ... | {
"alphanum_fraction": 0.508864084,
"avg_line_length": 37.1463414634,
"ext": "agda",
"hexsha": "3295e030250342640898c1d48f483f65a9b376a4",
"lang": "Agda",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2018-03-14T08:50:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-19T1... |
module Common where
open import Data.Bool
open import Data.Maybe
open import Data.Sum
open import Data.Product
BoolQ : Set₁
BoolQ = (A : Set) -> A -> A -> A
unBoolQ : {A : Set} -> A -> A -> BoolQ -> A
unBoolQ a a' q = q _ a a'
trueQ : BoolQ
trueQ = \_ a a' -> a
falseQ : BoolQ
falseQ = \_ a a' -> a'
fromBoolQ : B... | {
"alphanum_fraction": 0.5423376623,
"avg_line_length": 21.6292134831,
"ext": "agda",
"hexsha": "7a77f33f5fdcb611d02fbb5e2907c604feb9f072",
"lang": "Agda",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_he... |
{-# OPTIONS --without-K #-}
module Music where
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import Data.Integer using (ℤ; +_)
open import Data.List using (List; foldr; []; _∷_; reverse)
open import Data.Product using (_×_; _,_)
open import Data.Vec using (Vec; []; _∷_; replicate; concat; map; z... | {
"alphanum_fraction": 0.6533989267,
"avg_line_length": 39.5752212389,
"ext": "agda",
"hexsha": "68902f7332436083664bdad4d60b40e6a8eed398",
"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 --without-K --safe #-}
module Categories.Category.Inverse where
open import Level using (Level; suc; _⊔_)
open import Categories.Category
open import Data.Product
import Categories.Morphism
record pseudo-iso {o ℓ e} (C : Category o ℓ e) : Set (o ⊔ ℓ ⊔ e) where
open Category C
open Definitions C
ope... | {
"alphanum_fraction": 0.5944584383,
"avg_line_length": 25.6129032258,
"ext": "agda",
"hexsha": "9421634b05b98c8964baa9f60b2f782b47054e46",
"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 Human.Char where
open import Human.Nat
open import Human.Bool
postulate Char : Set
{-# BUILTIN CHAR Char #-}
primitive
primIsLower : Char → Bool
primIsDigit : Char → Bool
primIsAlpha : Char → Bool
primIsSpace : Char → Bool
primIsAscii : Cha... | {
"alphanum_fraction": 0.583908046,
"avg_line_length": 33.4615384615,
"ext": "agda",
"hexsha": "7a30e1fc8f840c1d2174593c83026ac6aadade3e",
"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, 2019-12-03, issue #4200 reported and testcase by nad
open import Agda.Builtin.Bool
data D : Set where
c₁ : D
@0 c₂ : D
f : D → Bool
f c₁ = true
f c₂ = false
@0 _ : D
_ = c₂ -- OK.
_ : D
_ = c₂ -- Not allowed.
-- Expected error:
-- Identifier c₂ is declared erased, so it cannot be used here
-- w... | {
"alphanum_fraction": 0.6457765668,
"avg_line_length": 15.9565217391,
"ext": "agda",
"hexsha": "e3354b32677cbf95f5f9c1c1a57dd4cf673caa0f",
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.