https://github.com/b-mehta/unit-fractions
https://github.com/b-mehta/unit-fractions
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/b-mehta/unit-fractions
- Owner: b-mehta
- Created: 2022-01-29T01:46:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-03T17:22:28.000Z (over 1 year ago)
- Last Synced: 2024-08-10T14:12:28.999Z (10 months ago)
- Language: Lean
- Size: 2.73 MB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unit fractions
This project contains a formalized version of the proof of result on unit fractions, proved by Bloom in the preprint available [here](https://arxiv.org/abs/2112.03726): any set of integers of positive density contains a solution to $1=1/n_1+\cdots+1/n_k$ where the $n_1,\ldots,n_k$ are distinct denominators from the set. This proves a conjecture of Erdos and Graham. Details can be found on the [project website](https://b-mehta.github.io/unit-fractions/).
Much of the project infrastructure has been adapted from the [sphere eversion project](https://leanprover-community.github.io/sphere-eversion/) and the [liquid tensor experiment](https://leanprover-community.github.io/lean-liquid/).
# Build the Lean files
To build the Lean files of this project, you need to have a working version of Lean.
See [the installation instructions](https://leanprover-community.github.io/get_started.html) (under Regular install).To obtain this repo, run `leanproject get https://github.com/b-mehta/unit-fractions`. If you already have the repo, you can
update it with `git pull` followed by `leanproject get-mathlib-cache`.To build the repo, run `leanproject build`.
# Build the blueprint
To build the web version of the blue print, you need a working LaTeX installation.
Furthermore, you need some packages:
```
sudo apt install graphviz libgraphviz-dev
pip3 install invoke pandoc
cd .. # go to folder where you are happy clone git repos
git clone [email protected]:plastex/plastex
pip3 install ./plastex
git clone [email protected]:PatrickMassot/leanblueprint
pip3 install ./leanblueprint
cd unit-fractions
```To actually build the blueprint, run
```
leanproject get-mathlib-cache
leanproject build
inv all
```To view the web-version of the blueprint locally, run `inv serve` and navigate to
`http://localhost:8000/` in your favorite browser.