rocq-prover / rocq-prover/platform-docs

What is the difference between induction and destruct, and when to use what

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

Nobody has claimed this yet.

documentation Help Wanted Wish
Dominant language
Rocq Prover
Stars
26
Forks
25
Avg merge
2d 22h
Merged PRs (30d)
1

Description

Sth that seems to be regularly coming up is the difference between induction and destruct, why both and exists and if one should not use induction all the time. Might be good to have a tutorial about it.

https://coq.zulipchat.com/#narrow/channel/237977-Coq-users/topic/Subgoals.20with.20an.20arbitrary.20Prop.20.28.60H.20-.3E.20G.20.5C.2F.20~H.20-.3E.20G.60.29/near/479555570

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

Review the existing short tutorials and how-to guides in this repository, then read the linked Coq Zulip discussion for the recurring question. The finished work should be a tutorial explaining the difference between induction and destruct and when to use each.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.