cubical

An experimental library for Cubical Agda

https://github.com/agda/cubical

Science Score: 85.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, acm.org
  • Committers with academic emails
    9 of 114 committers (7.9%) from academic institutions
  • Institutional organization owner
    Organization agda has institutional domain (wiki.portal.chalmers.se)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary

Keywords

agda cubical-type-theory library

Keywords from Contributors

dependent-types programming-language proof-assistant type-theory proof
Last synced: 6 months ago · JSON representation ·

Repository

An experimental library for Cubical Agda

Basic Info
Statistics
  • Stars: 498
  • Watchers: 27
  • Forks: 154
  • Open Issues: 113
  • Releases: 8
Topics
agda cubical-type-theory library
Created over 7 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Citation

README.md

A standard library for Cubical Agda

The source code has a glorious clickable rendered version.

There is also a discord server, shared with agda-unimath and the 1lab.

Compiling, using and installing

This library checks with Agda version indicated in the table below. For detailed install instructions see the INSTALL file. If you want to use some specific release of Agda, the following table lists which releases of Agda are known to work with which release of this library. Most likely, a lot more combinations work as well. Agda versions as written below, correspond to tags.

| cubical library version | Agda versions | |-------------------------|--------------------------------| | current master | v2.8.0 | | v0.9 | v2.8.0 | | v0.8 | v2.6.4.1 v2.7.0.1 | | v0.7 | v2.6.4 v2.6.4.1 | | v0.6 | v2.6.4 | | v0.5 | v2.6.3 v2.6.4 | | v0.4 | v2.6.2.2 | | v0.3 | v2.6.2 | | v0.2 | v2.6.1.3 | | v0.1 | v2.6.0.1 |

For example, if you have Agda 2.6.2.2, you can switch to version 0.4 of the cubical library with git checkout v0.4

Learning materials

Theoretical background

For a paper with details about Cubical Agda, see Cubical Agda: a dependently typed programming language with univalence and higher inductive types by Andrea Vezzosi, Anders Mörtberg, and Andreas Abel.

The type theory that Cubical Agda implements is a variation of the cubical type theory of:

Cubical Type Theory: a constructive interpretation of the univalence axiom - Cyril Cohen, Thierry Coquand, Simon Huber, Anders Mörtberg.

The key difference is that the Kan composition operations are decomposed into homogeneous composition and generalized transport as in:

On Higher Inductive Types in Cubical Type Theory - Thierry Coquand, Simon Huber, Anders Mörtberg.

This makes it possible to directly represent higher inductive types.

Reviewing of pull requests

If you switch your draft pull request (PR) to 'ready to merge', or directly create an open PR, we should request a review, by one of the reviewers below. If that doesn't happen, you can also request a reviewer yourself (for reviewer expertise see below), to make us aware of the open PR. Feel free to use Discord to get in touch with a reviewer in case reviewing is taking a very long time.

| Reviewer | github handle | Area of expertise | |-------------------------------------------------------------------------|---------------|---------------------------------------------| | Anders Mörtberg | mortberg | Most topics | | Evan Cavallo | ecavallo | Most topics | | Felix Cherubini | felixwellen | Mainly algebra related topics | | Max Zeuner | mzeuner | Algebra related topics | | Axel Ljungström | aljungstrom | Synthetic homotopy theory and cohomology | | Andrea Vezzosi | Saizan | Inactive |

Overview of the current open PRs, descending time since last action.

Owner

  • Name: Agda Github Community
  • Login: agda
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- name: "The Agda Community"
title: "Cubical Agda Library"
version: 0.9
date-released: 2025-07-30
url: "https://github.com/agda/cubical"

GitHub Events

Total
  • Create event: 10
  • Release event: 1
  • Issues event: 23
  • Watch event: 47
  • Delete event: 2
  • Issue comment event: 170
  • Push event: 82
  • Pull request review event: 65
  • Pull request review comment event: 70
  • Pull request event: 101
  • Fork event: 20
Last Year
  • Create event: 10
  • Release event: 1
  • Issues event: 23
  • Watch event: 47
  • Delete event: 2
  • Issue comment event: 170
  • Push event: 82
  • Pull request review event: 65
  • Pull request review comment event: 70
  • Pull request event: 101
  • Fork event: 20

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 1,895
  • Total Committers: 114
  • Avg Commits per committer: 16.623
  • Development Distribution Score (DDS): 0.869
Past Year
  • Commits: 65
  • Committers: 21
  • Avg Commits per committer: 3.095
  • Development Distribution Score (DDS): 0.677
Top Committers
Name Email Commits
Anders Mörtberg a****g@g****m 249
Felix Cherubini f****i@p****e 242
aljungstrom a****m@h****m 213
ecavallo e****o@c****u 200
KANG Rongji s****g@g****m 130
mzeuner 5****r 63
Andrea Vezzosi s****n@g****m 63
dan-iel-lee l****l@s****u 60
Dan Doel d****l@g****m 59
Matthew Yacavone m****w@y****t 44
ice1000 i****n@f****m 42
Matthias Hutzler m****r@p****t 39
Andreas Nuyts a****s@k****e 34
Trebor-Huang t****g@f****m 22
Liang-Ting Chen l****w@g****m 22
Jonathan Sterling j****n@j****m 18
Jordan Mitchell Barrett 9****2 18
Andreas Nuyts a****s@v****e 18
Guilherme Silva g****s@h****m 16
Josselin Poiret d****v@j****z 16
Thomas Lamiaux 8****x 15
Arseniy Alekseyev r****r@g****m 14
3abc 4****c 13
Oleg Grenrus o****s@i****i 13
Fabian Endres f****e@w****e 13
KANG Rongji 9****i 12
WorldSEnder W****r 11
Andrew Swan w****n@g****m 11
Zesen Qian r****n 11
LuuBluum b****n@h****m 10
and 84 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 30
  • Total pull requests: 222
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 13
  • Total pull request authors: 37
  • Average comments per issue: 1.73
  • Average comments per pull request: 1.58
  • Merged pull requests: 117
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 16
  • Pull requests: 131
  • Average time to close issues: 3 days
  • Average time to close pull requests: about 1 month
  • Issue authors: 5
  • Pull request authors: 31
  • Average comments per issue: 1.13
  • Average comments per pull request: 1.28
  • Merged pull requests: 56
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • anshwad10 (11)
  • felixwellen (6)
  • maxsnew (3)
  • stschaef (1)
  • onestruggler (1)
  • pthariensflame (1)
  • mortberg (1)
  • jordydickinson (1)
  • FernandoChu (1)
  • plt-amy (1)
  • mzeuner (1)
  • Trebor-Huang (1)
  • MatthiasHu (1)
Pull Request Authors
  • anshwad10 (48)
  • felixwellen (26)
  • aljungstrom (20)
  • marcinjangrzybowski (13)
  • anuyts (12)
  • mzeuner (11)
  • Freek98 (8)
  • ecavallo (8)
  • awswan (8)
  • LuuBluum (5)
  • stschaef (5)
  • mortberg (4)
  • mzhang28 (4)
  • maxsnew (4)
  • stefaniatadama (3)
Top Labels
Issue Labels
discuss (3) refactor (2) new content (1) good first issue (1)
Pull Request Labels
agda (5)

Dependencies

.github/workflows/ci-nix.yml actions
  • actions/checkout v3 composite
  • cachix/install-nix-action v17 composite
.github/workflows/ci-ubuntu.yml actions
  • JamesIves/github-pages-deploy-action 4.1.8 composite
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • haskell/actions/setup v2 composite
cubical-utils.cabal hackage
  • base >=4.9.0.0 && <4.18
  • directory >=1.0.0.0 && <1.4