You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
depends on
- [x] depends on: #1407
- [ ] depends on: #1415 otherwise simp cannot unify past a panic
would be nice:
- [ ] leanprover/lean4#2017 will simplify `bitwise_assoc_tac`
Co-authored-by: Calvin Lee <calvins.lee@utah.edu>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: ART0 <18333981+0Art0@users.noreply.github.com>
FWIW, we explicitly removed and_assoc and or_assoc from the simp set in Lean 3. It's only consistent to do the same for Bool.and_assoc and Bool.or_assoc.
jcommelin
pushed a commit
to leanprover-community/mathlib4
that referenced
this issue
Jan 23, 2023
depends on
- [x] depends on: #1407
- [ ] depends on: #1415 otherwise simp cannot unify past a panic
would be nice:
- [ ] leanprover/lean4#2017 will simplify `bitwise_assoc_tac`
Co-authored-by: Calvin Lee <calvins.lee@utah.edu>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: ART0 <18333981+0Art0@users.noreply.github.com>
Prerequisites
Description
Bool.or_assoc
andBool.and_assoc
are not marked as@[simp]
even though they are defined inInit.SimpLemmas
lean4/src/Init/SimpLemmas.lean
Lines 117 to 120 in a095dab
This causes a digression in behavior between the simplifier in Lean3 and Lean4.
Versions
version observed:
Lean (version 4.0.0-nightly-2023-01-06, commit fedf235cba35, Release)
OS:
Linux 6.1.2-arch1-1 GNU/Linux
Additional Information
Related mathport PR: leanprover-community/mathlib4#1404
The text was updated successfully, but these errors were encountered: