2-groups-agda

A mechanized study of coherent 2-groups

https://github.com/phart3/2-groups-agda

Science Score: 44.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
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary

Keywords

agda category-theory homotopy-type-theory
Last synced: 6 months ago · JSON representation ·

Repository

A mechanized study of coherent 2-groups

Basic Info
  • Host: GitHub
  • Owner: PHart3
  • Language: Agda
  • Default Branch: main
  • Homepage:
  • Size: 4.3 MB
Statistics
  • Stars: 9
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Topics
agda category-theory homotopy-type-theory
Created about 1 year ago · Last pushed 6 months ago
Metadata Files
Readme Citation

README.md

Overview

We construct a fully verified biequivalence between 1. the (2,1)-category of coherent 2-groups 2. the (2,1)-category of 2-truncated connected pointed types.

We also derive a verified equality between them by way of univalence.

The code has been checked with Agda 2.6.4.3. A preprint outlining our mechanization is located here.

Organization

The library has three main components, each component depending on the previous ones. It also has a fourth component collecting the main theorems.

  • HoTT-Agda/

A stripped down version of Andrew Swan's HoTT-Agda branch, with many changes and additions motivated by our construction of the biequivalence.

See HoTT-Agda/README.md for details and for the license of the work inside this directory.

  • Bicats/

A collection of basic notions and facts about (2,1)-categories, which we also call bicategories in this work.

See Bicats/README.md for details and for the license of the work inside this directory.

  • Two-groups/

Our formalization of the biequivalence and the induced equality.

See Two-groups/README.md for details and for the license of the work inside this directory.

  • Final/

A single file containing the final biequivalence and equality.

See Final/README.md for details and for the license of the work inside this directory.

Type-checking

We have successfully tested the following Docker container on Linux with 16 GB of RAM and 100 GB of swap space.

  1. Build Docker image:

bash docker build . -t 2group

Our machine uses as much as 28.7 GB of physical memory and takes about 8 hours to build the image.

  1. Generate HTML files:

bash mkdir -p ./html docker run --mount type=bind,source=./html,target=/Two-groups/html 2group

This may take a few minutes. The HTML files will be under html/, and html/Final-thms.agda.html will be the entry point.

If you can avoid the overhead of Docker, we suggest that you do so even if you have lots of available RAM.

We have found that type-checking directly on a MacOS with an M1 chip is much faster (see Final/README.md).

Acknowledgement

This material is based upon work supported by the Air Force Office of Scientific Research under award number FA9550-21-1-0009. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the United States Air Force.

Owner

  • Name: Perry Hart
  • Login: PHart3
  • Kind: user
  • Location: Minneapolis

PhD student in computer science at UMN

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: A mechanized study of coherent 2-groups
message: Please cite this software using these metadata.
type: software
authors:
  - given-names: Perry
    family-names: Hart
    email: hart1262@umn.edu
    affiliation: 'University of Minnesota, Twin Cities'
    orcid: 'https://orcid.org/0000-0002-7247-362X'
repository-code: 'https://github.com/PHart3/2-groups-agda'

GitHub Events

Total
  • Watch event: 9
  • Delete event: 4
  • Public event: 1
  • Push event: 41
  • Pull request event: 8
  • Create event: 6
Last Year
  • Watch event: 9
  • Delete event: 4
  • Public event: 1
  • Push event: 41
  • Pull request event: 8
  • Create event: 6