Skip to content

Commit 4a84152

Browse files
committed
loop_language_eq
1 parent 31204e7 commit 4a84152

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Cslib/Computability/Automata/NA/Loop.lean

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,10 @@ theorem loop_language_eq [Inhabited Symbol] :
145145
rintro xs ⟨ss, h_run, h_acc⟩
146146
obtain ⟨k, h1, h2⟩ : ∃ k > 0, (ss k).isLeft :=
147147
by grind [FinAcc.loop, frequently_atTop'.mp h_acc 0]
148-
obtain ⟨n, _⟩ := loop_run_one_iter h_run h1 h2
149-
refine ⟨xs.take n, by grind, xs.drop n, ?_, by simp⟩
148+
#adaptation_note
149+
/-- A grind regression found moving to nightly-2026-03-31 (changes from lean#13166) -/
150+
obtain ⟨n, _, h, _⟩ := loop_run_one_iter h_run h1 h2
151+
refine ⟨xs.take n, h, xs.drop n, ?_, by simp⟩
150152
refine ⟨ss.drop n, by grind, ?_⟩
151153
apply (drop_frequently_iff_frequently n).mpr
152154
grind

0 commit comments

Comments
 (0)