Git Product home page Git Product logo

lean-graded-rings's Introduction

Graded rings in Lean’s Dependent type theory

DOI:10.1007/978-3-031-16681-5_8

This repository contains an executable version of the source code from the paper of the same name, submitted to CICM 2022 with abstract

In principle, dependent type theory should provide an ideal foundation for formalizing graded rings, where each grade can be of a different type. However, the power of these foundations leaves a plethora of choices for how to proceed with such a formalization. This paper explores various different approaches to how formalization could proceed, and then demonstrates precisely how the authors formalized graded algebras in Lean's {\mathlib}. Notably, we show how this formalization was used as an API; allowing us to formalize graded structures such as those on tuples, free monoids, tensor algebras, and Clifford algebras.

Many of the files in this repo are virtually copies of the versions now found in mathlib; they have been separated out for convenience of presentation. Such files are indicated by a comment of the form From: https://github.com/leanprover-community/mathlib/blob/... in the first few lines. Other files are extract from in-progress pull requests. These are indicated with a similar comment. The purpose of this extraction is to aid with understanding the scope of the paper, and to make it easier to nagivate relevant code without having to search the entirety of mathlib.

This repository contains a .gitpod.yml file which allows it be explored with a full vscode + lean setup in-browser, by clicking on the button below:

Gitpod ready-to-code

Note: If you arrived here by following a permalink in our paper and the top of the page does not indicate you are looking at the "master" branch, you will be looking at precisely the version that was submitted for publication. See the master branch for any corrections or information on how to cite this work.

Slides

Contributors

Eric Wieser (@eric-wieser), Jujian Zhang (@jjaassoonn)

With thanks to Kevin Buzzard (@kbuzzard) for some initial exploration.

lean-graded-rings's People

Contributors

eric-wieser avatar jjaassoonn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.