rocq-prover / rocq-prover/platform-docs

Ltac2: How to write a reflection tactic

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

Nobody has claimed this yet.

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

Description

Explain how to what is a reflection tactic and how to write one using Ltac2.
Take inspiration from https://github.com/rocq-community/metaprogramming-rosetta-stone/blob/main/real_simplifier/ltac2_reflexive/theories/RealSimpl.v or maybe sth simpler ?

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 reading the issue and the referenced real_simplifier/ltac2_reflexive/theories/RealSimpl.v example. Document what a reflection tactic is and how to write one in Ltac2, using a simpler example if appropriate; done means the guide explains the concept and provides a usable tutorial.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.