rocq-prover / rocq-prover/stdlib

deprecating List.nth in favor of List.nth_default

Open
#243 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rocq Prover
Stars
42
Forks
38
Avg merge
14h 6m
Merged PRs (30d)
3

Description

These definitions are equivalent on ground terms, and we should pick one to recommend so that lemmas consolidate around it unless there is a strong reason to keep both.

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 examining the definitions of List.nth and List.nth_default and the lemmas that use them. Determine whether the issue calls for deprecation, recommendation, or broader lemma consolidation; done should mean the chosen API and the scope of any consolidation are explicitly agreed.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.