GithubHelp home page GithubHelp logo

drruisseau / multi-poly-cats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxsnew/cubical-categorical-logic

0.0 1.0 0.0 440 KB

Multicategories (someday Polycategories?) in Cubical Agda

TeX 5.82% Agda 93.99% Makefile 0.19%

multi-poly-cats's Introduction

Cubical formalization of Basic Categorical Type Theory

Trying out cubical agda formalizations of different approaches to categorical semantics of type theories.

Cubical Version

This development heavily relies on some extensions to the cubical agda stdlib that covers representability of presheaves which are under `Cubical/`. I expect these to be merged upstream eventually.

Style and Build Tests, Or : How to Get a Green Checkmark

To fit with the Cubical style, we have a check that the displayed text in each Agda file fits within 80 characters width. This is complicated by the use of unicode characters, so in .github/workflows/main.yml we run a python script that calculates the width of each line accounting for the variable size of unicode characters. If you’re currently reading this sentence it means, I have not written anything to do this locally (until then please be good and keep things withing 80 characters).

There are also style constraints on whitespace that are used upstream, so we check those with the fix-whitespace whitespace utility. This checks things like trailing whitespace, tabs v. spaces, etc. To run the check for this, execute fix-whitespace --check. If you remove the check flag it will automatically fix any issues it finds.

To check if all of the repository compiles, run make test. If you want a list of which files do not compiles, run make test-and-report. Note that make test is what is ran on each push, so it also does the above whitespace checks.

multi-poly-cats's People

Contributors

maxsnew avatar stschaef avatar genericmonkey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.