lean-ja / lean-ja/lean-by-example
grind ext でしか動作しない例
Open
Nobody has claimed this yet.
コード例
タクティク
- Dominant language
- Lean
- Stars
- 188
- Forks
- 15
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 6
Description
This works:
variable (C : Type) [Subsingleton C]
attribute [ext, grind ext] Subsingleton.elim
theorem foo (a b : C) : a = b := by
grind -- succeeds
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Lean snippet from the issue and compare its behavior with and without the grind ext attribute. The issue names no repository file or test, and it does not state whether the expected outcome is a bug fix, documentation, or an explanation; completion would require clarifying that scope and adding an appropriate regression check if a fix is requested.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100