leanprover-community / leanprover-community/iris-lean

Evaluate possibilities for expression quotation

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

Nobody has claimed this yet.

feat
Dominant language
Lean
Stars
218
Forks
63
Avg merge
1d 23h
Merged PRs (30d)
22

Description

The tactic implementations need to destruct expressions (Expr), which is currently done by hand, i.e. using methods like isAppOf and getAppArgs in Iris/Std/Expr.lean. Using expression quotations would presumably simplify this process. One package to check out is quote4.

Contributor guide

No contributing guide indexed for this repository

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 hand-written expression destructuring in Iris/Std/Expr.lean, especially uses of isAppOf and getAppArgs. Then investigate Lean 4 expression quotations and the linked quote4 package. Done means documenting whether quotation can replace the current approach and outlining the viable direction for the tactic implementations.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
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.