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

`rify` タクティクを紹介する

Open
#806 2 comments 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

レイリーの定理の証明で以下のように役に立つ場面があった。

      /-
      x : ℕ
      r : ℝ
      xpos : x > 0
      rpos : r > 0
      nmem : x ∉ Beatty r
      M : ℕ := ⌊↑x / r⌋₊
      lem : 0 ≤ ↑x / r
      le : ↑M * r ≤ ↑x
      hx : ↑M * r = ↑x
      ⊢ M > 0
      -/
      

      -- これは `x > 0` より従う。
      rify at xpos ⊢
      nlinarith

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

The issue provides a Lean proof example using rify and nlinarith, but names no target file or existing documentation entry. First inspect the repository's documentation structure and related tactic pages; done means adding a clear Japanese introduction to rify based on this example and ensuring it fits the project's examples.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.