Skip to content

Commit 34acbe6

Browse files
kim-emclaude
andcommitted
chore(RingTheory/Bialgebra/TensorProduct): enable backward.defeqAttrib.useBackward for comm
The `rw [comul a]` inside `comm` no longer matches after upstream changes to defeq attribute handling. Locally re-enabling the backward behaviour with `set_option backward.defeqAttrib.useBackward true` restores the previous elaboration and lets the existing proof go through. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 794ec9a commit 34acbe6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Mathlib/RingTheory/Bialgebra/TensorProduct.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ end Heterogeneous
167167
section Homogeneous
168168
variable (R S A B) [Bialgebra R A] [Bialgebra R B]
169169

170+
set_option backward.defeqAttrib.useBackward true in
170171
/-- The tensor product of `R`-bialgebras is commutative, up to bialgebra isomorphism. -/
171172
@[expose] def comm : A ⊗[R] B ≃ₐc[R] B ⊗[R] A :=
172173
.ofAlgEquiv (Algebra.TensorProduct.comm R A B) (by ext <;> simp) <| by

0 commit comments

Comments
 (0)