Plain-language statement
A grind regression found moving to nightly-2026-03-31 (changes from lean#13166)
Exact Lean statement
@[scoped grind =] theorem kstar_sub_one : l∗ - 1 = (l - 1) * l∗
Formal artifact
Lean source
@[scoped grind =]theorem kstar_sub_one : l∗ - 1 = (l - 1) * l∗ := by ext x; constructor · rintro ⟨h1, h2⟩ obtain ⟨xl, rfl, h_xl⟩ := kstar_def_nonempty l ▸ h1 have h3 : ¬ xl = [] := by grind [one_def] obtain ⟨x, xl', h_xl'⟩ := exists_cons_of_ne_nil h3 subst h_xl' refine ⟨x, mem_preimage.mp (h_xl x ?_), xl'.flatten, join_mem_kstar ?_, ?_⟩ <;> grind · rintro ⟨y, ⟨h_y, h_1⟩, z, h_z, rfl⟩ refine ⟨?_, ?_⟩ · apply (show l * l∗ ≤ l∗ by exact mul_kstar_le_kstar) exact ⟨y, h_y, z, h_z, rfl⟩ · grind [one_def, append_eq_nil_iff]- Project
- Lean Computer Science Library
- License
- Apache-2.0
- Commit
- f36649cff2c9
- Source
- Cslib/Computability/Languages/Language.lean:106-119
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Unique minimal
Cslib.Automata.DA.FinAcc.unique_minimal
Plain-language statement
The minimal DFA M accepting the language l is unique up to unique isomorphism.
Source project: Lean Computer Science Library
Person-level attribution pending.
Buchi Family cover
Cslib.Automata.NA.Buchi.buchiFamily_cover
Project documentation
na.buchiFamily is a cover if na has only finitely many states. This theorem uses the Ramsey theorem for infinite graphs and does not depend on any details of na.BuchiCongruence other than that it is of finite index.
Source project: Lean Computer Science Library
Person-level attribution pending.
Buchi Family saturation
Cslib.Automata.NA.Buchi.buchiFamily_saturation
Plain-language statement
na.buchiFamily saturates the ω-language accepted by na.
Source project: Lean Computer Science Library
Person-level attribution pending.