Skip to content

Commit

Permalink
refactor: make TProd reducible (#12686)
Browse files Browse the repository at this point in the history
In various places we want `TProd α (i :: is) = α i × TProd α` to be transparent.
  • Loading branch information
eric-wieser committed May 6, 2024
1 parent b8ee9e3 commit 3e7a195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/Data/Prod/TProd.lean
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace List
variable (α)

/-- The product of a family of types over a list. -/
def TProd (l : List ι) : Type v :=
abbrev TProd (l : List ι) : Type v :=
l.foldr (fun i β => α i × β) PUnit
#align list.tprod List.TProd

Expand Down

0 comments on commit 3e7a195

Please sign in to comment.