leanprover-community / leanprover-community/mathlib4
Doc bug: "Using mathlib4 as a dependency" tutorial command failed
Open
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 4.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there!
I tried the command recommended here:
lake +leanprover-community/mathlib4:lean-toolchain new my_project_name math
And it failed with
info: downloading component 'lean'
Error(Download(HttpStatus(404)), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
error: could not download nonexistent lean version `leanprover-community-mathlib4-lean-toolchain`
info: caused by: could not download file from 'https://github.com/leanprover-community/mathlib4/releases/expanded_assets/lean-toolchain' to '/home/james/.elan/tmp/6thtp_96151it0z7_file'
info: caused by: http request returned an unsuccessful status code: 404
I was able to workaround by just creating an empty project and using the "In an existing project" instructions instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked wiki page, especially the “In a new project” section, and reproduce the listed lake command to confirm the 404 and nonexistent toolchain error. Compare it with the working “In an existing project” instructions; the documentation is done when the new-project command uses a valid toolchain and succeeds.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100