Zulip Chat Archive

Stream: mathlib4

Topic: Rewriting/simplification issue in v4.29.0-rc2


Palalansoukî (Feb 25 2026 at 10:25):

In v4.29.0-rc2, I encountered a strange change in behavior regarding rewriting/simplification. Previously (at least v4.28.0-rc1), the following theorem could be proven just using simp, but in v4.29.0-rc2, it cannot be rewritten even using rw or grind. congr and try? also fails.

import Mathlib

open List List.Vector

example (P :   Prop) (v : List.Vector  (n + 1)) (i : Fin n) :
    P (v.get i.succ)  P (v.tail.get i) := by
  simp [get_tail_succ] -- fail
  rw [get_tail_succ] -- fail
  grind [get_tail_succ] -- fail
  sorry

Is this change in behavior intentional? Also, what method should be used in such cases?

Violeta Hernández (Feb 25 2026 at 10:48):

set_option backward.isDefEq.respectTransparency false

Violeta Hernández (Feb 25 2026 at 10:49):

#general > backward.isDefEq.respectTransparency

Eric Wieser (Feb 25 2026 at 20:56):

Is this one reported in that thread?

Violeta Hernández (Feb 25 2026 at 21:57):

Seems very similar to this


Last updated: Feb 28 2026 at 14:05 UTC