lean-ja / lean-ja/lean-by-example

lemmaではできなくてsimprocが必要な例

Open
#1,628 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

メタプログラミング メモ
Dominant language
Lean
Stars
188
Forks
15
Avg merge
9h 8m
Merged PRs (30d)
6

Description

282271** said:

Nash|240862** [said](https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/.22Missing.20Tactics.22.20list/near/500866120):
````quote
Surely we should be able to crush a goal like this with a single tactic?
````
How were you expecting this tactic to determine what value of `a'` it should use for the forward direction? Do we want an aesop rule that scans for `∃ a', ... ∧ a' = a ∧ ...`?

Actually I want a simproc that does this. I've wanted this since before simprocs existed, I think it's one of the best examples of something you can't do with lemmas alone (and in particular, it's an isabelle simproc since forever)

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

No files or tests are named. Start by reviewing the linked Zulip discussion and the issue's simproc proposal, then establish the intended behavior and implementation entry point. Done requires an agreed design and a working simproc for the described existential-equality case.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.