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

`guard_target` を紹介する

Open
#410 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

いままでゴールの状態をチェックするのに show を使っていたが, show は定義上等しい変形を許してしまい,正確なゴール変形を示すことはできない.たとえば dsimp によるゴール状態の変化はチェックできない.

guard_target は構文的に等しいかどうかをチェックできるので,より精密なゴール状態のアサートができる.既存の show によるコードを置き換えることも検討すべき

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 locating the existing examples that use show to check goal states. Document guard_target as the more precise option for syntactic target checks, and consider replacing the relevant show examples. Done means the examples explain the distinction and accurately demonstrate the intended goal-state assertions.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.