Skip to content

Commit d8d00bd

Browse files
committed
broken
1 parent ed193c6 commit d8d00bd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Mathlib/Algebra/MvPolynomial/Monad.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,10 @@ instance lawfulFunctor : LawfulFunctor fun σ => MvPolynomial σ R where
338338
id_map := by intros; simp [(· <$> ·)]
339339
comp_map := by intros; simp [(· <$> ·)]
340340

341+
set_option allowUnsafeReducibility true in
342+
attribute [local reducible] MvPolynomial in
341343
instance lawfulMonad : LawfulMonad fun σ => MvPolynomial σ R where
342-
pure_bind := by intros; simp [pure, bind]
344+
pure_bind a p := by intros; simp [pure, bind, bind₁, MvPolynomial.aeval_X]
343345
bind_assoc := by intros; simp [bind, ← bind₁_comp_bind₁]
344346
seqLeft_eq _ _ := by
345347
simp [SeqLeft.seqLeft, Seq.seq, (· <$> ·), bind₁_rename]; simp [rename_eq]; rfl

Mathlib/RepresentationTheory/Equiv.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ variable (k G) in
3535
on `k[H]` is equivalent to the trivial representation. -/
3636
def ofMulActionSubsingletonEquivTrivial : (ofMulAction k G H).Equiv (trivial k G k) :=
3737
letI : Unique H := uniqueOfSubsingleton 1
38-
.mk (Finsupp.LinearEquiv.finsuppUnique _ _ _) fun g ↦ by
39-
ext a; simp [Subsingleton.elim (g • a) a]
38+
.mk (MonoidAlgebra.uniqueLinearEquiv k G).toLinearEquiv fun g ↦ _
39+
-- ext a; simp [Subsingleton.elim (g • a) a]
4040

4141
@[simp]
4242
lemma ofMulActionSubsingletonEquivTrivial_apply (f : H →₀ k) :

0 commit comments

Comments
 (0)