Skip to content

Commit 2f5cc10

Browse files
Update Mathlib/Algebra/Free.lean
Co-authored-by: Monica Omar <23701951+themathqueen@users.noreply.github.com>
1 parent 480f2d6 commit 2f5cc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mathlib/Algebra/Free.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ a semigroup `β`. -/
521521
homomorphism `FreeAddSemigroup α → β` given an additive semigroup `β`. -/]
522522
def lift : (α → β) ≃ (FreeSemigroup α →ₙ* β) where
523523
toFun f :=
524-
{ toFun := fun x ↦ x.2.foldl (fun a b ↦ a * f b) (f x.1)
524+
{ toFun x := x.2.foldl (fun a b ↦ a * f b) (f x.1)
525525
map_mul' := by simp [← List.foldl_map, List.foldl_assoc] }
526526
invFun f := f ∘ of
527527

0 commit comments

Comments
 (0)