[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"AhsyNMT1Gw":3},"# add-combi\n\n![GitHub CI](https://github.com/leanprover-community/add-combi/actions/workflows/build.yml/badge.svg?branch=master)\n[![project chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://leanprover.zulipchat.com)\n\n[add-combi](https://leanprover-community.github.io/add-combi) is a user-maintained library for the [Lean theorem prover](https://leanprover.github.io)\ndestined to cover [additive combinatorics](https://en.wikipedia.org/wiki/Additive_combinatorics).\n\nIt builds on [mathlib](https://leanprover-community.github.io) and follows its documentation,\ncontribution and style guidelines.\n\n## Installation\n\nYou can find detailed instructions to install Lean, mathlib, add-combi, and supporting tools on\n[our website](https://leanprover-community.github.io/get_started.html). Alternatively, click on one\nof the buttons below to open a GitHub Codespace or an Ona workspace containing the project.\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/leanprover-community/add-combi)\n\n[![Open in Ona](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/leanprover-community/add-combi)\n\n## Experimenting\n\nGot everything installed? Why not start with the [tutorial project](https://leanprover-community.github.io/install/project.html)?\n\nFor more pointers, see [Learning Lean](https://leanprover-community.github.io/learn.html).\n\n## Documentation\n\nBesides the installation guides above and\n[Lean's general documentation](https://docs.lean-lang.org/lean4/doc/), the documentation of\nadd-combi consists of:\n* [The add-combi docs](https://leanprover-community.github.io/add-combi/index.html): documentation\n  [generated automatically](https://github.com/leanprover/doc-gen4) from the source `.lean` files.\n* Some [extra Lean documentation](https://leanprover-community.github.io/learn.html) not specific to\n  add-combi (see \"Miscellaneous topics\").\n* Documentation for people who would like to [contribute](https://leanprover-community.github.io/contribute/index.html).\n\nMuch of the discussion surrounding Lean, mathlib and add-combi occurs in a\n[Zulip chat room](https://leanprover.zulipchat.com/), and you are welcome to join, or read along\nwithout signing up. Questions from users at all levels of expertise are welcome!\n\n## Contributing\n\nadd-combi follows [the same contribution guide as mathlib](https://leanprover-community.github.io/contribute/index.html).\n\nThe process is different from other projects where one should not fork the repository.\nInstead write permission for non-master branches should be requested on [Zulip](https://leanprover.zulipchat.com)\nby introducing yourself, providing your GitHub handle and what contribution you are planning on doing.\nYou may want to subscribe to the `mathlib4` stream\n\n* To obtain precompiled `olean` files, run `lake exe cache get`.\n  (Skipping this step means the next step will be very slow.)\n* To build `AddCombi` run `lake build`.\n* You can use `lake build AddCombi.Import.Path` to build a particular file, e.g.\n  `lake build AddCombi.DiscreteAnalysis.Convolution.Defs`.\n* If you add a new file, run the following command to update `AddCombi.lean`\n\n  ```shell\n  lake exe mk_all\n  ```\n\n### Guidelines\n\nadd-combi follows the same guidelines and conventions as mathlib:\n*-* The [style guide](https://leanprover-community.github.io/contribute/style.html)\n*-* A guide on the [naming convention](https://leanprover-community.github.io/contribute/naming.html)\n*-* The [documentation style](https://leanprover-community.github.io/contribute/doc.html)\n\n### Downloading cached build files\n\nYou can run `lake exe cache get` to download cached build files that are computed by mathlib's\nautomated workflow. Note that no cache is available to download for add-combi for the time being.\n\nIf something goes mysteriously wrong, you can try one of `lake clean` or `rm -rf .lake` before\ntrying `lake exe cache get` again.\n\nCall `lake exe cache` to see its help menu.\n\n### Dependencies\n\nIf you are an add-combi contributor and want to update dependencies, use `lake update`.\nThis will update the `lake-manifest.json` file correctly.\nYou will need to make a PR after committing the changes to this file.\n\n## Maintainers:\n\n* Yaël Dillies (@YaelDillies)\n* Bhavik Mehta (@b-mehta)\n",1780113384665]