Dataset Viewer
Auto-converted to Parquet Duplicate
statement
stringlengths
7
7.82k
proof
stringlengths
0
7.11k
type
stringclasses
4 values
symbolic_name
stringlengths
1
43
library
stringclasses
37 values
filename
stringclasses
238 values
imports
listlengths
0
20
deps
listlengths
0
35
docstring
stringclasses
1 value
source_url
stringclasses
1 value
commit
stringclasses
1 value
_==_ {i} {A : Type i} (a : A) : A β†’ Type i where idp : a == a
data
_==_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
⊀ : Typeβ‚€ where instance constructor unit
record
⊀
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Typeβ‚€", "unit" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Ξ£ {i j} (A : Type i) (B : A β†’ Type j) : Type (lmax i j) where constructor _,_ field fst : A snd : B fst
record
Ξ£
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "fst", "snd" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ₯ : Typeβ‚€ where
data
βŠ₯
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Typeβ‚€" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
β„• : Typeβ‚€ where O : β„• S : (n : β„•) β†’ β„•
data
β„•
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Typeβ‚€" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Lift {i j} (A : Type i) : Type (lmax i j) where instance constructor lift field lower : A
record
Lift
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "lift" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
TLevel : Typeβ‚€ where ⟨-2⟩ : TLevel S : (n : TLevel) β†’ TLevel
data
TLevel
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Typeβ‚€", "⟨-2⟩" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Coprod {i j} (A : Type i) (B : Type j) : Type (lmax i j) where inl : A β†’ Coprod A B inr : B β†’ Coprod A B
data
Coprod
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Ptd (i : ULevel) : Type (lsucc i) where constructor βŠ™[_,_] field deβŠ™ : Type i pt : deβŠ™
record
Ptd
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "deβŠ™", "pt" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Phantom {i} {A : Type i} (a : A) : Typeβ‚€ where phantom : Phantom a {- Numeric literal overloading This enables writing numeric literals -}
data
Phantom
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "Typeβ‚€" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
FromNat {i} (A : Type i) : Type (lsucc i) where field in-range : β„• β†’ Type i read : βˆ€ n β†’ ⦃ _ : in-range n ⦄ β†’ A
record
FromNat
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
FromNeg {i} (A : Type i) : Type (lsucc i) where field in-range : β„• β†’ Type i read : βˆ€ n β†’ ⦃ _ : in-range n ⦄ β†’ A
record
FromNeg
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Type : (i : ULevel) β†’ Set (lsucc i)
Type i = Set i
function
Type
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
of-type : βˆ€ {i} (A : Type i) (u : A) β†’ A
of-type A u = u
function
of-type
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
⟨⟩ : βˆ€ {i} {A : Type i} {{a : A}} β†’ A
⟨⟩ {{a}} = a {- Identity type The identity type is called [Path] and [_==_] because the symbol [=] is reserved in Agda. The constant path is [idp]. Note that all arguments of [idp] are implicit. -}
function
⟨⟩
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
J : βˆ€ {i j} {A : Type i} {a : A} (B : (a' : A) (p : a == a') β†’ Type j) (d : B a idp) {a' : A} (p : a == a') β†’ B a' p
J B d idp = d
function
J
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
J' : βˆ€ {i j} {A : Type i} {a : A} (B : (a' : A) (p : a' == a) β†’ Type j) (d : B a idp) {a' : A} (p : a' == a) β†’ B a' p
J' B d idp = d
function
J'
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βˆ™_ : βˆ€ {i} {A : Type i} {x y z : A} β†’ (x == y β†’ y == z β†’ x == z)
function
_βˆ™_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
PathOver : βˆ€ {i j} {A : Type i} (B : A β†’ Type j) {x y : A} (p : x == y) (u : B x) (v : B y) β†’ Type j
PathOver B idp u v = (u == v)
function
PathOver
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
ap : βˆ€ {i j} {A : Type i} {B : Type j} (f : A β†’ B) {x y : A} β†’ (x == y β†’ f x == f y)
ap f idp = idp
function
ap
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
ap↓ : βˆ€ {i j k} {A : Type i} {B : A β†’ Type j} {C : A β†’ Type k} (g : {a : A} β†’ B a β†’ C a) {x y : A} {p : x == y} {u : B x} {v : B y} β†’ (u == v [ B ↓ p ] β†’ g u == g v [ C ↓ p ])
ap↓ g {p = idp} p = ap g p {- [apd↓] is defined in lib.PathOver. Unlike [ap↓] and [ap], [apd] is not definitionally a special case of [apd↓] -}
function
ap↓
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "ap", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
apd : βˆ€ {i j} {A : Type i} {B : A β†’ Type j} (f : (a : A) β†’ B a) {x y : A} β†’ (p : x == y) β†’ f x == f y [ B ↓ p ]
apd f idp = idp {- An equality between types gives two maps back and forth -}
function
apd
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
coe : βˆ€ {i} {A B : Type i} (p : A == B) β†’ A β†’ B
coe idp x = x
function
coe
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
coe! : βˆ€ {i} {A B : Type i} (p : A == B) β†’ B β†’ A
coe! idp x = x {- The operations of transport forward and backward are defined in terms of [ap] and [coe], because this is more convenient in practice. -}
function
coe!
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
transport : βˆ€ {i j} {A : Type i} (B : A β†’ Type j) {x y : A} (p : x == y) β†’ (B x β†’ B y)
transport B p = coe (ap B p)
function
transport
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "ap", "coe" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
transport! : βˆ€ {i j} {A : Type i} (B : A β†’ Type j) {x y : A} (p : x == y) β†’ (B y β†’ B x)
transport! B p = coe! (ap B p) {- Ξ -types Shorter notation for Ξ -types. -}
function
transport!
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "ap", "coe!" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Ξ  : βˆ€ {i j} (A : Type i) (P : A β†’ Type j) β†’ Type (lmax i j)
Ξ  A P = (x : A) β†’ P x {- Ξ£-types Ξ£-types are defined as a record so that we have definitional Ξ·. -}
function
Ξ 
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ₯-elim : βˆ€ {i} {P : βŠ₯ β†’ Type i} β†’ ((x : βŠ₯) β†’ P x)
function
βŠ₯-elim
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Β¬ : βˆ€ {i} (A : Type i) β†’ Type i
Β¬ A = A β†’ βŠ₯
function
Β¬
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_β‰ _ : βˆ€ {i} {A : Type i} β†’ (A β†’ A β†’ Type i)
function
_β‰ _
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
idf : βˆ€ {i} (A : Type i) β†’ (A β†’ A)
idf A = Ξ» x β†’ x
function
idf
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
cst : βˆ€ {i j} {A : Type i} {B : Type j} (b : B) β†’ (A β†’ B)
cst b = Ξ» _ β†’ b
function
cst
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_∘_ : βˆ€ {i j k} {A : Type i} {B : A β†’ Type j} {C : (a : A) β†’ (B a β†’ Type k)} β†’ (g : {a : A} β†’ Ξ  (B a) (C a)) β†’ (f : Ξ  A B) β†’ Ξ  A (Ξ» a β†’ C a (f a))
function
_∘_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_$_ : βˆ€ {i j} {A : Type i} {B : A β†’ Type j} β†’ (βˆ€ x β†’ B x) β†’ (βˆ€ x β†’ B x)
function
_$_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
curry : βˆ€ {i j k} {A : Type i} {B : A β†’ Type j} {C : Ξ£ A B β†’ Type k} β†’ (βˆ€ s β†’ C s) β†’ (βˆ€ x y β†’ C (x , y))
curry f x y = f (x , y)
function
curry
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
uncurry : βˆ€ {i j k} {A : Type i} {B : A β†’ Type j} {C : βˆ€ x β†’ B x β†’ Type k} β†’ (βˆ€ x y β†’ C x y) β†’ (βˆ€ s β†’ C (fst s) (snd s))
uncurry f (x , y) = f x y {- Truncation levels The type of truncation levels is isomorphic to the type of natural numbers but "starts at -2". -}
function
uncurry
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "fst", "snd" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
⟨_βŸ©β‚‹β‚‚ : β„• β†’ β„•β‚‹β‚‚
function
⟨_βŸ©β‚‹β‚‚
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "β„•β‚‹β‚‚" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Dec : βˆ€ {i} (P : Type i) β†’ Type i
Dec P = P βŠ” Β¬ P {- Pointed types and pointed maps. [A βŠ™β†’ B] was pointed, but it was never used as a pointed type. -}
function
Dec
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
ptd : βˆ€ {i} (A : Type i) β†’ A β†’ Ptd i
ptd = βŠ™[_,_]
function
ptd
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Ptd", "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βŠ™β†’_ : βˆ€ {i j} β†’ Ptd i β†’ Ptd j β†’ Type (lmax i j)
function
_βŠ™β†’_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Ptd", "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ™idf : βˆ€ {i} (X : Ptd i) β†’ X βŠ™β†’ X
βŠ™idf X = (Ξ» x β†’ x) , idp
function
βŠ™idf
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Ptd", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ™cst : βˆ€ {i j} {X : Ptd i} {Y : Ptd j} β†’ X βŠ™β†’ Y
βŠ™cst {Y = Y} = (Ξ» x β†’ pt Y) , idp {- Used in a hack to make HITs maybe consistent. This is just a parametrized unit type (positively) -}
function
βŠ™cst
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Ptd", "idp", "pt" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
β„•-reader : FromNat β„•
function
β„•-reader
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "FromNat" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
TLevel-reader : FromNat TLevel
function
TLevel-reader
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "FromNat", "TLevel" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
TLevel-neg-reader : FromNeg TLevel
function
TLevel-neg-reader
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "FromNeg", "TLevel" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Typeβ‚€ = Type lzero
function
Typeβ‚€
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Type0 = Type lzero
function
Type0
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Type₁ = Type (lsucc lzero)
function
Type₁
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Type1 = Type (lsucc lzero) {- There is no built-in or standard way to coerce an ambiguous term to a given type (like [u : A] in ML), the symbol [:] is reserved, and the Unicode [∢] is really a bad idea. So we’re using the symbol [_:>_], which has the advantage that it can micmic Coq’s [u = v :> A]. -}
function
Type1
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Path = _==_ {-# BUILTIN EQUALITY _==_ #-} {- Paulin-Mohring J rule At the time I’m writing this (July 2013), the identity type is somehow broken in Agda dev, it behaves more or less as the Martin-LΓΆf identity type instead of behaving like the Paulin-Mohring identity type. So here is the Paulin-Mohring J rule -}
function
Path
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "_==_" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
idp βˆ™ q = q {- Rewriting This is a new pragma added to Agda to help create higher inductive types. -}
function
idp
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Unit = ⊀ {-# BUILTIN UNIT ⊀ #-} {- Dependent paths The notion of dependent path is a very important notion. If you have a dependent type [B] over [A], a path [p : x == y] in [A] and two points [u : B x] and [v : B y], there is a type [u == v [ B ↓ p ]] of paths from [u] to [v] lying over the path [p]. By definition...
function
Unit
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
pair= : βˆ€ {i j} {A : Type i} {B : A β†’ Type j} {a a' : A} (p : a == a') {b : B a} {b' : B a'} (q : b == b' [ B ↓ p ]) β†’ (a , b) == (a' , b')
pair= idp q = ap (_ ,_) q
function
pair=
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "ap", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
pairΓ—= : βˆ€ {i j} {A : Type i} {B : Type j} {a a' : A} (p : a == a') {b b' : B} (q : b == b') β†’ (a , b) == (a' , b')
pairΓ—= idp q = pair= idp q {- Empty type We define the eliminator of the empty type using an absurd pattern. Given that absurd patterns are not consistent with HIT, we will not use empty patterns anymore after that. -}
function
pairΓ—=
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "idp", "pair=" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Empty = βŠ₯
function
Empty
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Empty-elim = βŠ₯-elim {- Negation and disequality -}
function
Empty-elim
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "βŠ₯-elim" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
x β‰  y = Β¬ (x == y) {- Natural numbers -}
function
x
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Nat = β„• {-# BUILTIN NATURAL β„• #-} {- Lifting to a higher universe level The operation of lifting enjoys both Ξ² and Ξ· definitionally. It’s a bit annoying to use, but it’s not used much (for now). -}
function
Nat
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_=⟨_⟩_ : βˆ€ {i} {A : Type i} (x : A) {y z : A} β†’ x == y β†’ y == z β†’ x == z
function
_=⟨_⟩_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_ =⟨ idp ⟩ idp = idp
_ =∎ = idp
function
_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_=∎ : βˆ€ {i} {A : Type i} (x : A) β†’ x == x
function
_=∎
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
g ∘ f = Ξ» x β†’ g (f x) -- Application
function
g
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
f $ x = f x -- (Un)curryfication
function
f
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
β„•β‚‹β‚‚ = TLevel
function
β„•β‚‹β‚‚
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "TLevel" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
⟨ O βŸ©β‚‹β‚‚ = ⟨-2⟩
⟨ S n βŸ©β‚‹β‚‚ = S ⟨ n βŸ©β‚‹β‚‚ {- Coproducts and case analysis -}
function
⟨
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "⟨-2⟩" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βŠ”_ = Coprod
function
_βŠ”_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Coprod" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
ptd= : βˆ€ {i} {A A' : Type i} (p : A == A') {a : A} {a' : A'} (q : a == a' [ idf _ ↓ p ]) β†’ βŠ™[ A , a ] == βŠ™[ A' , a' ]
ptd= idp q = ap βŠ™[ _ ,_] q
function
ptd=
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Type", "ap", "idf", "idp", "βŠ™[" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Ptdβ‚€ = Ptd lzero
function
Ptdβ‚€
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "Ptd" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ™[ A , aβ‚€ ] βŠ™β†’ βŠ™[ B , bβ‚€ ] = Ξ£ (A β†’ B) (Ξ» f β†’ f aβ‚€ == bβ‚€)
function
_βŠ™β†’_
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
FromNat.in-range β„•-reader _ = ⊀
FromNat.in-range TLevel-reader _ = ⊀
function
FromNat.in-range
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "TLevel-reader", "β„•-reader" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
FromNat.read β„•-reader n = n
FromNat.read TLevel-reader n = S (S ⟨ n βŸ©β‚‹β‚‚)
function
FromNat.read
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "TLevel-reader", "β„•-reader" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
FromNeg.in-range TLevel-neg-reader O = ⊀
FromNeg.in-range TLevel-neg-reader 1 = ⊀ FromNeg.in-range TLevel-neg-reader 2 = ⊀ FromNeg.in-range TLevel-neg-reader (S (S (S _))) = βŠ₯
function
FromNeg.in-range
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "TLevel-neg-reader" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
FromNeg.read TLevel-neg-reader O = S (S ⟨-2⟩)
FromNeg.read TLevel-neg-reader 1 = S ⟨-2⟩ FromNeg.read TLevel-neg-reader 2 = ⟨-2⟩
function
FromNeg.read
core.lib
core/lib/Base.agda
[ "Agda.Primitive" ]
[ "TLevel-neg-reader", "⟨-2⟩" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
htpy-natural : βˆ€ {i j} {A : Type i} {B : Type j} {x y : A} {f g : A β†’ B} (p : βˆ€ x β†’ (f x == g x)) (q : x == y) β†’ ap f q βˆ™ p y == p x βˆ™ ap g q
htpy-natural p idp = ! (βˆ™-unit-r _)
function
htpy-natural
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "ap", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_≃_ : βˆ€ {i j} (A : Type i) (B : Type j) β†’ Type (lmax i j)
function
_≃_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
idf-is-equiv : βˆ€ {i} (A : Type i) β†’ is-equiv (idf A)
idf-is-equiv A = record {g = idf A; f-g = (Ξ» _ β†’ idp); g-f = (Ξ» _ β†’ idp); adj = (Ξ» _ β†’ idp)}
function
idf-is-equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "idf", "idp", "is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
ide : βˆ€ {i} (A : Type i) β†’ A ≃ A
ide A = idf A , idf-is-equiv A
function
ide
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "idf", "idf-is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
transport-equiv : βˆ€ {i j} {A : Type i} (B : A β†’ Type j) {x y : A} (p : x == y) β†’ (B x ≃ B y)
transport-equiv B idp = ide _
function
transport-equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "ide", "idp" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_∘e_ : βˆ€ {i j k} {A : Type i} {B : Type j} {C : Type k} β†’ B ≃ C β†’ A ≃ B β†’ A ≃ C
function
_∘e_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_∘ise_ : βˆ€ {i j k} {A : Type i} {B : Type j} {C : Type k} {f : A β†’ B} {g : B β†’ C} β†’ is-equiv g β†’ is-equiv f β†’ is-equiv (g ∘ f)
function
_∘ise_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
is-equiv-inverse : βˆ€ {i j} {A : Type i} {B : Type j} {f : A β†’ B} β†’ (f-is-equiv : is-equiv f) β†’ is-equiv (is-equiv.g f-is-equiv)
is-equiv-inverse {f = g} ise = record { g = _ ; M } where module M where f = is-equiv.g ise abstract f-g : βˆ€ b β†’ f (g b) == b f-g = is-equiv.g-f ise g-f : βˆ€ a β†’ g (f a) == a g-f = is-equiv.f-g ise adj : βˆ€ a β†’ ap f (g-f a) == f-g (f a) adj = is-equiv.adj' ise
function
is-equiv-inverse
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "ap", "is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_⁻¹ : βˆ€ {i j} {A : Type i} {B : Type j} β†’ (A ≃ B) β†’ (B ≃ A)
function
_⁻¹
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_β‰ƒβŸ¨_⟩_ : βˆ€ {i j k} (A : Type i) {B : Type j} {C : Type k} β†’ A ≃ B β†’ B ≃ C β†’ A ≃ C
function
_β‰ƒβŸ¨_⟩_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_β‰ƒβˆŽ : βˆ€ {i} (A : Type i) β†’ A ≃ A
_β‰ƒβˆŽ = ide {- lifting is an equivalence -}
function
_β‰ƒβˆŽ
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "ide" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
lower-equiv : βˆ€ {i j} {A : Type i} β†’ Lift {j = j} A ≃ A
lower-equiv = equiv lower lift (Ξ» _ β†’ idp) (Ξ» _ β†’ idp) {- Any contractible type is equivalent to (all liftings of) the unit type -}
function
lower-equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Lift", "Type", "idp", "lift" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
∼-preserves-equiv : βˆ€ {i j} {A : Type i} {B : Type j} {fβ‚€ f₁ : A β†’ B} β†’ fβ‚€ ∼ f₁ β†’ is-equiv fβ‚€ β†’ is-equiv f₁
∼-preserves-equiv homotopy f-ise = is-eq _ g (Ξ» b β†’ ! (homotopy (g b)) βˆ™ f-g b) (Ξ» a β†’ ap g (! (homotopy a)) βˆ™ g-f a) where open is-equiv f-ise {- Pointed equivalences -}
function
∼-preserves-equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "ap", "is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βŠ™β‰ƒ_ : βˆ€ {i j} β†’ Ptd i β†’ Ptd j β†’ Type (lmax i j)
function
_βŠ™β‰ƒ_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd", "Type" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
≃-to-βŠ™β‰ƒ : βˆ€ {i j} {X : Ptd i} {Y : Ptd j} (e : deβŠ™ X ≃ deβŠ™ Y) (p : –> e (pt X) == pt Y) β†’ X βŠ™β‰ƒ Y
≃-to-βŠ™β‰ƒ (f , ie) p = ((f , p) , ie)
function
≃-to-βŠ™β‰ƒ
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd", "deβŠ™", "pt" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ™ide : βˆ€ {i} (X : Ptd i) β†’ (X βŠ™β‰ƒ X)
βŠ™ide X = βŠ™idf X , idf-is-equiv (deβŠ™ X)
function
βŠ™ide
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd", "deβŠ™", "idf-is-equiv", "βŠ™idf" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βŠ™βˆ˜e_ : βˆ€ {i j k} {X : Ptd i} {Y : Ptd j} {Z : Ptd k} (g : Y βŠ™β‰ƒ Z) (f : X βŠ™β‰ƒ Y) β†’ X βŠ™β‰ƒ Z
function
_βŠ™βˆ˜e_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βŠ™β‰ƒβŸ¨_⟩_ : βˆ€ {i j k} (X : Ptd i) {Y : Ptd j} {Z : Ptd k} β†’ X βŠ™β‰ƒ Y β†’ Y βŠ™β‰ƒ Z β†’ X βŠ™β‰ƒ Z
function
_βŠ™β‰ƒβŸ¨_⟩_
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
_βŠ™β‰ƒβˆŽ : βˆ€ {i} (X : Ptd i) β†’ X βŠ™β‰ƒ X
_βŠ™β‰ƒβˆŽ = βŠ™ide
function
_βŠ™β‰ƒβˆŽ
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd", "βŠ™ide" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
is-cs-equiv : βˆ€ {iβ‚€ i₁ jβ‚€ j₁} {Aβ‚€ : Type iβ‚€} {A₁ : Type i₁} {Bβ‚€ : Type jβ‚€} {B₁ : Type j₁} {fβ‚€ : Aβ‚€ β†’ Bβ‚€} {f₁ : A₁ β†’ B₁} {hA : Aβ‚€ β†’ A₁} {hB : Bβ‚€ β†’ B₁} β†’ CommSquare fβ‚€ f₁ hA hB β†’ Type (lmax (lmax iβ‚€ i₁) (lmax jβ‚€ j₁))
is-cs-equiv {hA = hA} {hB} _ = Ξ£ (is-equiv hA) (Ξ» _ β†’ is-equiv hB)
function
is-cs-equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "CommSquare", "Type", "is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
CommSquareEquiv : βˆ€ {iβ‚€ i₁ jβ‚€ j₁} {Aβ‚€ : Type iβ‚€} {A₁ : Type i₁} {Bβ‚€ : Type jβ‚€} {B₁ : Type j₁} (fβ‚€ : Aβ‚€ β†’ Bβ‚€) (f₁ : A₁ β†’ B₁) (hA : Aβ‚€ β†’ A₁) (hB : Bβ‚€ β†’ B₁) β†’ Type (lmax (lmax iβ‚€ i₁) (lmax jβ‚€ j₁))
CommSquareEquiv fβ‚€ f₁ hA hB = Ξ£ (CommSquare fβ‚€ f₁ hA hB) is-cs-equiv
function
CommSquareEquiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "CommSquare", "Type", "is-cs-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
is-βŠ™cs-equiv : βˆ€ {iβ‚€ i₁ jβ‚€ j₁} {Xβ‚€ : Ptd iβ‚€} {X₁ : Ptd i₁} {Yβ‚€ : Ptd jβ‚€} {Y₁ : Ptd j₁} {fβ‚€ : Xβ‚€ βŠ™β†’ Yβ‚€} {f₁ : X₁ βŠ™β†’ Y₁} {hX : Xβ‚€ βŠ™β†’ X₁} {hY : Yβ‚€ βŠ™β†’ Y₁} β†’ βŠ™CommSquare fβ‚€ f₁ hX hY β†’ Type (lmax (lmax iβ‚€ i₁) (lmax jβ‚€ j₁))
is-βŠ™cs-equiv {hX = hX} {hY} _ = Ξ£ (is-equiv (fst hX)) (Ξ» _ β†’ is-equiv (fst hY))
function
is-βŠ™cs-equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd", "Type", "fst", "is-equiv", "βŠ™CommSquare" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
βŠ™CommSquareEquiv : βˆ€ {iβ‚€ i₁ jβ‚€ j₁} {Xβ‚€ : Ptd iβ‚€} {X₁ : Ptd i₁} {Yβ‚€ : Ptd jβ‚€} {Y₁ : Ptd j₁} (fβ‚€ : Xβ‚€ βŠ™β†’ Yβ‚€) (f₁ : X₁ βŠ™β†’ Y₁) (hX : Xβ‚€ βŠ™β†’ X₁) (hY : Yβ‚€ βŠ™β†’ Y₁) β†’ Type (lmax (lmax iβ‚€ i₁) (lmax jβ‚€ j₁))
βŠ™CommSquareEquiv fβ‚€ f₁ hX hY = Ξ£ (βŠ™CommSquare fβ‚€ f₁ hX hY) is-βŠ™cs-equiv
function
βŠ™CommSquareEquiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Ptd", "Type", "is-βŠ™cs-equiv", "βŠ™CommSquare" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
htpy-natural-app=idf : βˆ€ {i} {A : Type i} {f : A β†’ A} (p : βˆ€ (x : A) β†’ f x == x) β†’ (βˆ€ x β†’ ap f (p x) == p (f x))
htpy-natural-app=idf {f = f} p x = anti-whisker-right (p x) $ htpy-natural p (p x) βˆ™ ap (p (f x) βˆ™_) (ap-idf (p x))
function
htpy-natural-app=idf
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "Type", "ap", "ap-idf", "htpy-natural" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
A ≃ B = Ξ£ (A β†’ B) is-equiv
A β‰ƒβŸ¨ u ⟩ v = v ∘e u
function
A
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "is-equiv" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
Equiv = _≃_
function
Equiv
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "_≃_" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
e1 ∘e e2 = (–> e1 ∘ –> e2) , record {g = (<– e2 ∘ <– e1); M} where module M where f = –> e1 ∘ –> e2 g = <– e2 ∘ <– e1 abstract f-g : βˆ€ c β†’ f (g c) == c f-g c = ap (–> e1) (<–-inv-r e2 (<– e1 c)) βˆ™ <–-inv-r e1 c g-f : βˆ€ a β†’ g (f a) == a g-f a = ap (<– e2) (<–-inv-l e1 (–> e2 a)) βˆ™ <...
function
e1
core.lib
core/lib/Equivalence.agda
[ "lib.Base", "lib.NType", "lib.PathFunctor", "lib.PathGroupoid", "lib.Function" ]
[ "ap", "ap-idf", "htpy-natural" ]
https://github.com/HoTT/HoTT-Agda
1037d82edcf29b620677a311dcfd4fc2ade2faa6
End of preview. Expand in Data Studio

Agda-HoTT

Structured dataset from HoTT-Agda β€” Homotopy Type Theory.

Source

Schema

Column Type Description
statement string Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof
proof string Verbatim proof/body, empty if the declaration has none
type string Declaration keyword
symbolic_name string Declaration identifier
library string Sub-library
filename string Repository-relative source path
imports list[string] File-level Require/Import modules
deps list[string] Intra-corpus identifiers referenced
docstring string Preceding documentation comment, empty if absent
source_url string Upstream repository
commit string Upstream commit extracted

Statistics

  • Entries: 2,324
  • With proof: 1,901 (81.8%)
  • With docstring: 0 (0.0%)
  • Libraries: 37

By type

Type Count
function 2,196
record 67
data 36
postulate 25

Example

⟨⟩ : βˆ€ {i} {A : Type i} {{a : A}} β†’ A
⟨⟩ {{a}} = a

{- Identity type

The identity type is called [Path] and [_==_] because the symbol [=] is
reserved in Agda.
The constant path is [idp]. Note that all arguments of [idp] are implicit.
-}
  • type: function | symbolic_name: ⟨⟩ | core/lib/Base.agda

Use

Each declaration is split into a statement (signature/claim) and a proof (body) that are disjoint and together form the complete declaration, for proof modeling, autoformalization, retrieval, and dependency analysis via deps.

Citation

@misc{agda_hott_dataset,
  title  = {Agda-HoTT},
  author = {Norton, Charles},
  year   = {2026},
  note   = {Extracted from https://github.com/HoTT/HoTT-Agda, commit 1037d82edcf2},
  url    = {https://huggingface.co/datasets/phanerozoic/Agda-HoTT}
}
Downloads last month
16

Collection including phanerozoic/Agda-HoTT