Zulip Chat Archive
Stream: general
Topic: tsum_bool
Yaël Dillies (Jul 08 2023 at 08:42):
Why does docs#tsum_bool use decidable.to_bool false/decidable.to_bool true instead of ff/tt?
Shreyas Srinivas (Jul 08 2023 at 08:48):
Isn't tt and ff a lean 3 thing?
Ruben Van de Velde (Jul 08 2023 at 08:51):
Yes. docs3#tsum_bool has the same issue, so this is a faithful translation. Still weird, though.
Reid Barton (Jul 08 2023 at 08:51):
The original Lean 3 source has lemma tsum_bool (f : bool → α) : ∑' i : bool, f i = f false + f true := so it looks like an oversight there.
Last updated: May 02 2025 at 03:31 UTC