leanprover / leanprover/reference-manual

Document `where finally`

Open
#804 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc-request
Dominant language
Lean
Stars
129
Forks
67
Avg merge
1d 15h
Merged PRs (30d)
16

Description

How does one use where finally in the creation of defs?

On Zulip, #general > Block at end of `def` for solving holes in tactic mode, this feature was vaguely remembered by a user, but they didn't recall the syntax where finally. Several members of the community had no knowledge feature at all.

The reference manual should document the existence of this feature and basic usage, as well as any possible side effects of which the user should be aware (e.g., how is final term constructed? presumably not with have, but maybe haveI?).

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

Read the linked Zulip discussion and search the reference manual for where finally to identify its syntax and existing context. Document its existence, basic usage in def declarations, and the relevant effects on final-term construction, including whether have or haveI is involved.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.