Zulip Chat Archive
Stream: mathlib4
Topic: rw? small regression in v4.8.0-rc1
Asei Inoue (May 04 2024 at 06:25):
The following code success in Lean v4.7.0 and mathlib tagged v4.7.0, but fails in Lean v4.8.0-rc1
import Mathlib.Tactic
set_option says.verify true
variable (n m : Nat)
example (h : n + m = 0) : n = 0 ↔ m = 0 := by
rw? says
rw [propext (eq_zero_iff_eq_zero_of_add_eq_zero h)]
Ruben Van de Velde (May 04 2024 at 06:47):
rw?
was reimplemented in core, as I understand it, so no longer mathlib's fault :)
Asei Inoue (May 04 2024 at 06:47):
@Ruben Van de Velde Oh, you are right.
Asei Inoue (May 04 2024 at 06:48):
This is not so much a bug... However, it is a phenomenon that I thought developers should be aware of, so I submitted it.
Asei Inoue (May 04 2024 at 06:49):
I don't think there was a using
syntax in rw?
.
Kim Morrison (May 04 2024 at 07:16):
Can you open an issue?
Asei Inoue (May 04 2024 at 07:17):
I will try to find an example without mathlib dependencies before opening an issue.
Asei Inoue (May 04 2024 at 07:29):
rw?
is in mathlib4 tagged v4.7.0
?
Asei Inoue (May 04 2024 at 07:29):
I get an "unknown tactic" error on rw?
Damiano Testa (May 04 2024 at 07:43):
v4.7.0 is a vintage edition from the day before yesterday. :smile:
Asei Inoue (May 04 2024 at 07:44):
@Damiano Testa What do you mean? rw?
is in Lean v4.7.0?
Asei Inoue (May 04 2024 at 07:46):
I submitted an issue.
https://github.com/leanprover/lean4/issues/4062
Damiano Testa (May 04 2024 at 07:46):
I was just joking about the fact that Mathlib is on v4.8.0 since yesterday. :smile:
Asei Inoue (May 04 2024 at 07:51):
@Kim Morrison issue is here https://github.com/leanprover/lean4/issues/4062
Kim Morrison (May 04 2024 at 07:52):
Please remove the says
, that is obscuring the actual output.
Asei Inoue (May 04 2024 at 07:56):
@Kim Morrison done!
Last updated: May 02 2025 at 03:31 UTC