leanprover / leanprover/reference-manual

Better document when `cases` can be used

Open
#283 0 comments 0 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

@kmill wrote a nice pithy summary on Zulip:

The rule is "cases will work if all the indices appearing in constructors are made of free variables and constructor applications (after unfolding everything)"

That should be in here.

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

Start by locating the reference-manual section that documents when cases can be used, then compare its current explanation with the Zulip summary quoted in the issue. Update the documentation to state the quoted rule clearly; done means the rule is present in the relevant section and the manual still builds or its documentation checks pass.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.