Grind rules for Computability.Automata.NA.Run

オープン
#174 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Digger-Rockwell がすでに取り組んでいます。

2026年11月18日 から。

  • #8 @Digger-Rockwell による — オープン
  • #1252 @Digger-Rockwell による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
領域
tooling

調査の方向性

既存のAPI補題と#168で議論されたgrindアノテーションから始め、その後、Cslib/Computability/Automata/NABuchiEquiv.lean:62の証明を調べてください。より具体的なgrind_patternルールによって、NA.Runの展開と手動での連言分解を避けられるか調査してください。完了の条件は、具体的なルールセットによって対象となる証明が改善され、記述された失敗を引き起こさないことです。

索引モデルが issue の本文から書いたものです。

説明

In #168 @ctchou and I worked on trying to write better grind rules for NA.Run. With a grind = annotation the definition is unfolded to the underlying propositions too eagerly, causing some proofs to fail. We added some API lemmas with annotations that work as a replacement in some cases, but there are a few places where you now have to intuit adding NA.Run to individual calls of grind. A particularly troubling example is this proof that requires an unintuitive manual split of a conjunction for grind to work.

Maybe there are some more specific rules that we can write using grind_pattern that can help here? We will probably need to wait for more usage to determine anything concrete.

主要言語
Lean
スター
847
フォーク
234
平均マージ
2日 21時間
マージ済み PR(30日)
49

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

leanprover/cslib のほかの issue

leanprover/cslib の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。