leanprover / leanprover/reference-manual

nested anonymous constructor syntax

Open
#227 0 comments 1 reaction 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

Reading the section https://lean-lang.org/doc/reference/latest/The-Type-System/Inductive-Types/#anonymous-constructor-syntax left me wonder about the feature where one can omit the nesting of these constructors, at least sometimes?

(If it is documented elsewhere a pointer from this section would help.)

I noticed this while discussing https://github.com/leanprover/lean4/issues/6555.

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 with the Anonymous Constructor Syntax section in the linked reference manual and read the discussion in leanprover/lean4#6555. Determine what nested anonymous constructor behavior the issue is asking about and whether it is documented elsewhere. Done means the behavior is explained in the relevant section or a pointer is added to its existing documentation.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.