Zulip Chat Archive
Stream: mathlib4
Topic: ac_refl
Scott Morrison (Nov 30 2022 at 03:02):
In Order.BooleanAlgebra
, we encounter a whole pile of proofs by ac_refl
. ac_refl
uses the machinery that cc
develops. I think we've been punting on cc
for a while. Do we have ideas for porting / replacing this?
Mario Carneiro (Nov 30 2022 at 03:03):
Note that there is a lean 4 tactic by the name ac_rfl
Mario Carneiro (Nov 30 2022 at 03:03):
it's a from-scratch implementation though so no promises that it closes the same goals
Scott Morrison (Nov 30 2022 at 03:19):
ac_rfl
does in fact work, once you realise the mathlib4's IsAssociative
is not the same as Lean.IsAssociative
...
Scott Morrison (Nov 30 2022 at 03:22):
I am not going to attempt to unify them, just add instances from mathlib's versions to core's versions.
Scott Morrison (Nov 30 2022 at 03:28):
It works perfectly in Order.BooleanAlgebra
.
Patrick Massot (Jun 16 2023 at 19:36):
What is the current status of porting ac_refl
? I don't see it tracked on https://github.com/leanprover-community/mathlib4/issues/430. One of the MSRI projects would have been a lot nicer with this tactic.
Yury G. Kudryashov (Jun 16 2023 at 19:39):
git grep ac_rfl
shows many matches
Patrick Massot (Jun 16 2023 at 23:37):
Oh, it's ac_rfl
, not ac_refl
! Thanks!
Last updated: Dec 20 2023 at 11:08 UTC