Skip to content

Commit 35638f9

Browse files
committed
chore(Tactic/ComputeAsymptotics): avoid defeq abuse in destruct_eq_cons (leanprover-community#37459)
Avoid defeq abuse in the proof of `ComputeAsymptotics.MultiseriesExpansion.Multiseries.destruct_eq_cons`.
1 parent 5ba24f2 commit 35638f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Mathlib/Tactic/ComputeAsymptotics/Multiseries

Mathlib/Tactic/ComputeAsymptotics/Multiseries/Defs.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ theorem destruct_eq_cons {basis_hd : ℝ → ℝ} {basis_tl : Basis} {ms : Multi
221221
{exp : ℝ} {coef : MultiseriesExpansion basis_tl} {tl : Multiseries basis_hd basis_tl}
222222
(h : destruct ms = some (exp, coef, tl)) : ms = cons exp coef tl := by
223223
apply Stream'.Seq.destruct_eq_cons
224-
simp [destruct] at h
225-
grind
224+
rw [destruct_eq_destruct_map, h]
225+
rfl
226226

227227
@[simp]
228228
theorem head_nil {basis_hd : ℝ → ℝ} {basis_tl : Basis} :

0 commit comments

Comments
 (0)