leanprover / leanprover/verso

Hiding values of `let` declarations in Verso

Open
#396 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
384
Forks
124
Avg merge
22h 28m
Merged PRs (30d)
10

Description

CC: @anshula

Thanks for developing Verso! We were wondering — it seems sometimes set_option flags work within Verso, e.g.

set_option linter.unusedVariables false

But it seems that let-values still show in the tactic proof state even if we have

set_option pp.showLetValues false

We found that disabling the option in the lakefile does not seem to help.

Is this a bug, or is there some other avenue to accomplish this?

Thanks!

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

The report names no source file or test; begin by reproducing the behavior in a Verso mysection with set_option pp.showLetValues false and a tactic proof state containing let values. Determine whether the option is ignored or whether the behavior is expected, then make the result observable through a fix or documentation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.