leanprover / leanprover/fp-lean

namespaces `Nat.double` vs `_root_.Nat.double`

Open Beginner friendly
#296 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
192
Forks
73
PR merge metrics
No merged PRs in 30d

Description

As it is rendered, it suggests that the definition of Nat.double would allow (1 : Nat).double. This is not the case

https://github.com/leanprover/fp-lean/blob/02dbbeb2c0536eb85a080b07c30db734e43d26ec/book/FPLean/GettingToKnow/Conveniences.lean#L599-L600

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open book/FPLean/GettingToKnow/Conveniences.lean around lines 599–600 and compare the source with its rendered form. Clarify the explanation so it does not suggest that Nat.double supports (1 : Nat).double, then verify the rendered documentation reflects the distinction between Nat.double and root.Nat.double.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.